Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add component.yaml file #147

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions chat-service-websocket/.choreo/component.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# +required The configuration file schema version
schemaVersion: 1.0

# +optional Incoming connection details for the component
endpoints:
# +required Unique name for the endpoint.
# This name will be used when generating the managed API
- name: websocket
# +optional Display name for the endpoint.
displayName: WebSocket
# +required Service section has the user service endpoint details
service:
# +optional Base path of the API that gets exposed via the endpoint.
# This is mandatory if the endpoint type is set to REST or GraphQL.
basePath: /chat
# +required Numeric port value that gets exposed via the endpoint
port: 9090
# +required Type of traffic that the endpoint is accepting.
# Allowed values: REST, GraphQL, GRPC, TCP, UDP, WS
type: WS
# +optional Network level visibilities of the endpoint.
# Takes priority over networkVisibility if defined.
# Accepted values: Project|Organization|Public(Default).
networkVisibilities:
- Public
# +optional The path to the schema definition file.
# Defaults to wildcard route if not specified.
# This is only applicable to REST endpoint types.
# The path should be relative to the docker context.
schemaFilePath: asyncapi.yaml
30 changes: 30 additions & 0 deletions content-based-router-news-mi/.choreo/component.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# +required The configuration file schema version
schemaVersion: 1.0

# +optional Incoming connection details for the component
endpoints:
# +required Unique name for the endpoint.
# This name will be used when generating the managed API
- name: news-api
# +optional Display name for the endpoint.
displayName: News API
# +required Service section has the user service endpoint details
service:
# +optional Base path of the API that gets exposed via the endpoint.
# This is mandatory if the endpoint type is set to REST or GraphQL.
basePath: /newsapi
# +required Numeric port value that gets exposed via the endpoint
port: 8290
# +required Type of traffic that the endpoint is accepting.
# Allowed values: REST, GraphQL, GRPC, TCP, UDP.
type: REST
# +optional Network level visibilities of the endpoint.
# Takes priority over networkVisibility if defined.
# Accepted values: Project|Organization|Public(Default).
networkVisibilities:
- Public
# +optional The path to the schema definition file.
# Defaults to wildcard route if not specified.
# This is only applicable to REST endpoint types.
# The path should be relative to the docker context.
schemaFilePath: news_openapi.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# +required The configuration file schema version
schemaVersion: 1.0

# +optional Incoming connection details for the component
endpoints:
# +required Unique name for the endpoint.
# This name will be used when generating the managed API
- name: data_store
# +optional Display name for the endpoint.
displayName: Data Store
# +required Service section has the user service endpoint details
service:
# +optional Base path of the API that gets exposed via the endpoint.
# This is mandatory if the endpoint type is set to REST or GraphQL.
basePath: /
# +required Numeric port value that gets exposed via the endpoint
port: 9090
# +required Type of traffic that the endpoint is accepting.
# Allowed values: REST, GraphQL, GRPC, TCP, UDP.
type: REST
# +optional Network level visibilities of the endpoint.
# Takes priority over networkVisibility if defined.
# Accepted values: Project|Organization|Public(Default).
networkVisibilities:
- Organization
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# +required The configuration file schema version
schemaVersion: 1.0

# +optional Incoming connection details for the component
endpoints:
# +required Unique name for the endpoint.
# This name will be used when generating the managed API
- name: loyalty_engine
# +optional Display name for the endpoint.
displayName: Loyalty Engine
# +required Service section has the user service endpoint details
service:
# +optional Base path of the API that gets exposed via the endpoint.
# This is mandatory if the endpoint type is set to REST or GraphQL.
basePath: /
# +required Numeric port value that gets exposed via the endpoint
port: 8080
# +required Type of traffic that the endpoint is accepting.
# Allowed values: REST, GraphQL, GRPC, TCP, UDP.
type: REST
# +optional Network level visibilities of the endpoint.
# Takes priority over networkVisibility if defined.
# Accepted values: Project|Organization|Public(Default).
networkVisibilities:
- Organization
# +optional The path to the schema definition file.
# Defaults to wildcard route if not specified.
# This is only applicable to REST endpoint types.
# The path should be relative to the docker context.
schemaFilePath: openapi.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# +required The configuration file schema version
schemaVersion: 1.0

# +optional Incoming connection details for the component
endpoints:
# +required Unique name for the endpoint.
# This name will be used when generating the managed API
- name: qrcode_generator
# +optional Display name for the endpoint.
displayName: QRCode Generator
# +required Service section has the user service endpoint details
service:
# +optional Base path of the API that gets exposed via the endpoint.
# This is mandatory if the endpoint type is set to REST or GraphQL.
basePath: /
# +required Numeric port value that gets exposed via the endpoint
port: 8080
# +required Type of traffic that the endpoint is accepting.
# Allowed values: REST, GraphQL, GRPC, TCP, UDP.
type: REST
# +optional Network level visibilities of the endpoint.
# Takes priority over networkVisibility if defined.
# Accepted values: Project|Organization|Public(Default).
networkVisibilities:
- Project
# +optional The path to the schema definition file.
# Defaults to wildcard route if not specified.
# This is only applicable to REST endpoint types.
# The path should be relative to the docker context.
schemaFilePath: openapi.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# +required The configuration file schema version
schemaVersion: 1.0

# +optional Incoming connection details for the component
endpoints:
# +required Unique name for the endpoint.
# This name will be used when generating the managed API
- name: reward_vendor
# +optional Display name for the endpoint.
displayName: Reward Vendor
# +required Service section has the user service endpoint details
service:
# +optional Base path of the API that gets exposed via the endpoint.
# This is mandatory if the endpoint type is set to REST or GraphQL.
basePath: /
# +required Numeric port value that gets exposed via the endpoint
port: 8080
# +required Type of traffic that the endpoint is accepting.
# Allowed values: REST, GraphQL, GRPC, TCP, UDP.
type: REST
# +optional Network level visibilities of the endpoint.
# Takes priority over networkVisibility if defined.
# Accepted values: Project|Organization|Public(Default).
networkVisibilities:
- Organization
# +optional The path to the schema definition file.
# Defaults to wildcard route if not specified.
# This is only applicable to REST endpoint types.
# The path should be relative to the docker context.
schemaFilePath: openapi.yaml
30 changes: 30 additions & 0 deletions docker-rest-user-service/.choreo/component.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# +required The configuration file schema version
schemaVersion: 1.0

# +optional Incoming connection details for the component
endpoints:
# +required Unique name for the endpoint.
# This name will be used when generating the managed API
- name: user_store
# +optional Display name for the endpoint.
displayName: User Store
# +required Service section has the user service endpoint details
service:
# +optional Base path of the API that gets exposed via the endpoint.
# This is manaatory if the endpoint type is set to REST or GraphQL.
basePath: /api/v1
# +required Numeric port value that gets exposed via the endpoint
port: 8080
# +required Type of traffic that the endpoint is accepting.
# Allowed values: REST, GraphQL, GRPC, TCP, UDP.
type: REST
# +optional Network level visibilities of the endpoint.
# Takes priority over networkVisibility if defined.
# Accepted values: Project|Organization|Public(Default).
networkVisibilities:
- Public
# +optional The path to the schema definition file.
# Defaults to wildcard route if not specified.
# This is only applicable to REST endpoint types.
# The path should be relative to the docker context.
schemaFilePath: docs/openapi.yaml
30 changes: 30 additions & 0 deletions docker-service-to-service-mtls/.choreo/component.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# +required The configuration file schema version
schemaVersion: 1.0

# +optional Incoming connection details for the component
endpoints:
# +required Unique name for the endpoint.
# This name will be used when generating the managed API
- name: go_mtls_greeter
# +optional Display name for the endpoint.
displayName: Go mTLS Greeter
# +required Service section has the user service endpoint details
service:
# +optional Base path of the API that gets exposed via the endpoint.
# This is mandatory if the endpoint type is set to REST or GraphQL.
basePath: /
# +required Numeric port value that gets exposed via the endpoint
port: 8443
# +required Type of traffic that the endpoint is accepting.
# Allowed values: REST, GraphQL, GRPC, TCP, UDP.
type: REST
# +optional Network level visibilities of the endpoint.
# Takes priority over networkVisibility if defined.
# Accepted values: Project|Organization|Public(Default).
networkVisibilities:
- Project
# +optional The path to the schema definition file.
# Defaults to wildcard route if not specified.
# This is only applicable to REST endpoint types.
# The path should be relative to the docker context.
schemaFilePath: server_openapi.yaml
22 changes: 22 additions & 0 deletions docker-tcp-service/.choreo/component.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# +required The configuration file schema version
schemaVersion: 1.0

# +optional Incoming connection details for the component
endpoints:
# +required Unique name for the endpoint.
# This name will be used when generating the managed API
- name: go_tcp_greeter
# +optional Display name for the endpoint.
displayName: Go TCP Greeter
# +required Service section has the user service endpoint details
service:
# +required Numeric port value that gets exposed via the endpoint
port: 8080
# +required Type of traffic that the endpoint is accepting.
# Allowed values: REST, GraphQL, GRPC, TCP, UDP.
type: TCP
# +optional Network level visibilities of the endpoint.
# Takes priority over networkVisibility if defined.
# Accepted values: Project|Organization|Public(Default).
networkVisibilities:
- Project
22 changes: 22 additions & 0 deletions docker-udp-service/.choreo/component.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# +required The configuration file schema version
schemaVersion: 1.0

# +optional Incoming connection details for the component
endpoints:
# +required Unique name for the endpoint.
# This name will be used when generating the managed API
- name: go_udp_greeter
# +optional Display name for the endpoint.
displayName: Go UDP Greeter
# +required Service section has the user service endpoint details
service:
# +required Numeric port value that gets exposed via the endpoint
port: 5050
# +required Type of traffic that the endpoint is accepting.
# Allowed values: REST, GraphQL, GRPC, TCP, UDP.
type: UDP
# +optional Network level visibilities of the endpoint.
# Takes priority over networkVisibility if defined.
# Accepted values: Project|Organization|Public(Default).
networkVisibilities:
- Project
30 changes: 30 additions & 0 deletions dotnet-greeter/.choreo/component.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# +required The configuration file schema version
schemaVersion: 1.0

# +optional Incoming connection details for the component
endpoints:
# +required Unique name for the endpoint.
# This name will be used when generating the managed API
- name: dotnet_greeter
# +optional Display name for the endpoint.
displayName: Dotnet Greeter
# +required Service section has the user service endpoint details
service:
# +optional Base path of the API that gets exposed via the endpoint.
# This is mandatory if the endpoint type is set to REST or GraphQL.
basePath: /
# +required Numeric port value that gets exposed via the endpoint
port: 9090
# +required Type of traffic that the endpoint is accepting.
# Allowed values: REST, GraphQL, GRPC, TCP, UDP.
type: REST
# +optional Network level visibilities of the endpoint.
# Takes priority over networkVisibility if defined.
# Accepted values: Project|Organization|Public(Default).
networkVisibilities:
- Public
# +optional The path to the schema definition file.
# Defaults to wildcard route if not specified.
# This is only applicable to REST endpoint types.
# The path should be relative to the docker context.
schemaFilePath: openapi.yaml
30 changes: 30 additions & 0 deletions go-grpc/.choreo/component.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# +required The configuration file schema version
schemaVersion: 1.0

# +optional Incoming connection details for the component
endpoints:
# +required Unique name for the endpoint.
# This name will be used when generating the managed API
- name: go_greeter
# +optional Display name for the endpoint.
displayName: Go Greeter
# +required Service section has the user service endpoint details
service:
# +optional Base path of the API that gets exposed via the endpoint.
# This is mandatory if the endpoint type is set to REST or GraphQL.
basePath: /
# +required Numeric port value that gets exposed via the endpoint
port: 8080
# +required Type of traffic that the endpoint is accepting.
# Allowed values: REST, GraphQL, GRPC, TCP, UDP.
type: GRPC
# +optional Network level visibilities of the endpoint.
# Takes priority over networkVisibility if defined.
# Accepted values: Project|Organization|Public(Default).
networkVisibilities:
- Project
# +optional The path to the schema definition file.
# Defaults to wildcard route if not specified.
# This is only applicable to REST endpoint types.
# The path should be relative to the docker context.
schemaFilePath: pkg/greeter.proto
30 changes: 30 additions & 0 deletions go-reading-list-rest-api/.choreo/component.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# +required The configuration file schema version
schemaVersion: 1.0

# +optional Incoming connection details for the component
endpoints:
# +required Unique name for the endpoint.
# This name will be used when generating the managed API
- name: reading_list
# +optional Display name for the endpoint.
displayName: Reading List
# +required Service section has the user service endpoint details
service:
# +optional Base path of the API that gets exposed via the endpoint.
# This is mandatory if the endpoint type is set to REST or GraphQL.
basePath: /api/v1/reading-list
# +required Numeric port value that gets exposed via the endpoint
port: 8080
# +required Type of traffic that the endpoint is accepting.
# Allowed values: REST, GraphQL, GRPC, TCP, UDP.
type: REST
# +optional Network level visibilities of the endpoint.
# Takes priority over networkVisibility if defined.
# Accepted values: Project|Organization|Public(Default).
networkVisibilities:
- Public
# +optional The path to the schema definition file.
# Defaults to wildcard route if not specified.
# This is only applicable to REST endpoint types.
# The path should be relative to the docker context.
schemaFilePath: docs/openapi-3.yaml
Loading