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 Member Match and Bulk Export Client Prebuilt Services #85

Open
wants to merge 10 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
8 changes: 7 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ env:
EHR_PATTERN: ehr-connectivity/*/*
MISC_PATTERN: miscellaneous/*/*
TRANSFORMATION_PATTERN: transformation/*/*
REGULATION_PATTERN: regulation/*/*/*
BALLERINA_VERSION: 2201.10.2

jobs:
Expand Down Expand Up @@ -53,11 +54,16 @@ jobs:
# Remove duplicates from the CHANGED_FILES_ARRAY
declare -A UNIQUE_PATHS_MAP
for file in "${CHANGED_FILES_ARRAY[@]}"; do
if [[ $file == $CONFORMANCE_PATTERN ]] || [[ $file == $EHR_PATTERN ]] || [[ $file == $MISC_PATTERN ]] || [[ $file == $TRANSFORMATION_PATTERN ]]; then
if [[ $file == $CONFORMANCE_PATTERN ]] || [[ $file == $EHR_PATTERN ]] || [[ $file == $MISC_PATTERN ]] || [[ $file == $TRANSFORMATION_PATTERN ]] ; then
# Condition for 2 level projects
EXTRACTED_PATH=$(echo "$file" | cut -d '/' -f 1-2)
echo "${EXTRACTED_PATH}"
fi
if [[ $file == $REGULATION_PATTERN ]]; then
# Condition for 3 level projects
EXTRACTED_PATH=$(echo "$file" | cut -d '/' -f 1-3)
echo "${EXTRACTED_PATH}"
fi

if [[ $EXTRACTED_PATH ]]; then
UNIQUE_PATHS_MAP[$EXTRACTED_PATH]=1
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,4 @@ Cloud.toml

# Mac configuration file
.DS_Store
files/
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
apiVersion: core.choreo.dev/v1beta1
kind: ComponentConfig
spec:
# +optional Incoming connection details for the component (AKA endpoints).
inbound:
# +required Unique name for the endpoint. (This name will be used when generating the managed API)
- name: Bulk Export Client Endpoint
# +required Numeric port value that gets exposed via the endpoint
port: 9099
# +required Type of traffic that the endpoint is accepting. For example: REST, GraphQL, etc.
# Allowed values: REST, GraphQL, GRPC, TCP, UDP.
type: REST
# +optional Network level visibility of the endpoint. Defaults to Public
# Accepted values: Project|Organization|Public.
networkVisibility: Public
# +optional Context (base path) of the API that gets exposed via the endpoint.
# This is mandatory if the endpoint type is set to REST or GraphQL.
context: /
# +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/service_openapi.yaml
# +optional Outgoing connection details for the component.

Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# +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: FHIR Bulk export client API
# +required Numeric port value that gets exposed via this endpoint
port: 9094
# +required Type of the traffic this endpoint is accepting. Example: REST, GraphQL, etc.
# Allowed values: REST, GraphQL, GRPC, UDP, TCP
type: REST
# +optional Network level visibility of this endpoint. Defaults to Public
# 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.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[package]
org = "wso2"
name = "bulk_export_client_service"
version = "0.1.0"
distribution = "2201.10.2"

[build-options]
observabilityIncluded = true
Loading
Loading