-
Notifications
You must be signed in to change notification settings - Fork 230
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move petvet sample application to samples-is
- Loading branch information
1 parent
5560e19
commit 9a2eebe
Showing
577 changed files
with
75,028 additions
and
0 deletions.
There are no files selected for viewing
22 changes: 22 additions & 0 deletions
22
petcare-sample/b2b/web-app/petvet/apis/ballerina/channel-service/.choreo/endpoints.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# +required Version of the endpoint configuration YAML | ||
version: 0.1 | ||
|
||
# +required List of endpoints to create | ||
endpoints: | ||
# +required Unique name for the endpoint. (This name will be used when generating the managed API) | ||
- name: Channel Service | ||
# +required Numeric port value that gets exposed via this endpoint | ||
port: 9091 | ||
# +required Type of the traffic this endpoint is accepting. Example: REST, GraphQL, etc. | ||
# Allowed values: REST, GraphQL, GRPC | ||
type: REST | ||
# +optional Network level visibility of this endpoint. Defaults to Project | ||
# Accepted values: Project|Organization|Public. | ||
networkVisibility: Public | ||
# +optional Context (base path) of the API that is exposed via this endpoint. | ||
# This is mandatory if the endpoint type is set to REST or GraphQL. | ||
context: / | ||
# +optional Path to the schema definition file. Defaults to wild card route if not provided | ||
# This is only applicable to REST endpoint types. | ||
# The path should be relative to the docker context. | ||
schemaFilePath: service_openapi.yaml |
4 changes: 4 additions & 0 deletions
4
petcare-sample/b2b/web-app/petvet/apis/ballerina/channel-service/.devcontainer.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"image": "ballerina/ballerina-devcontainer:2201.4.0", | ||
"extensions": ["WSO2.ballerina"], | ||
} |
14 changes: 14 additions & 0 deletions
14
petcare-sample/b2b/web-app/petvet/apis/ballerina/channel-service/Ballerina.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
[package] | ||
org = "WSO2" | ||
name = "channel_service" | ||
version = "1.0.0" | ||
export = ["channel_service"] | ||
distribution = "2201.5.0" | ||
|
||
[build-options] | ||
observabilityIncluded = true | ||
|
||
[[dependency]] | ||
org = "pubudu538" | ||
name = "choreo.user.info" | ||
version = "0.1.1" |
Oops, something went wrong.