Skip to content

Commit

Permalink
Merge pull request #39 from playground/append-support
Browse files Browse the repository at this point in the history
correct version
  • Loading branch information
playground authored Feb 15, 2022
2 parents 67a1f40 + 1848ef0 commit c7628b2
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 9 deletions.
3 changes: 2 additions & 1 deletion build/common/src/config/mms/service.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
{
"org": "$HZN_ORG_ID",
"url": "$SERVICE_NAME",
"version": "$SERVICE_VERSION",
"version": "$SERVICE_VERSION_RANGE_UPPER",
"versionRange": "$SERVICE_VERSION_RANGE_LOWER",
"arch": "$ARCH"
}
],
Expand Down
8 changes: 5 additions & 3 deletions build/common/src/config/service/pattern.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
{
"name": "$PATTERN_NAME",
"name": "pattern-${SERVICE_NAME}-$ARCH",
"label": "Edge $SERVICE_NAME Service Pattern for $ARCH",
"description": "Pattern for $SERVICE_NAME for $ARCH",
"services": [
{
"serviceUrl": "$SERVICE_NAME",
"serviceUrl": "$MMS_SERVICE_NAME",
"serviceOrgid": "$HZN_ORG_ID",
"serviceArch": "$ARCH",
"serviceVersions": [ { "version": "$SERVICE_VERSION" } ]
"serviceVersions": [ { "version": "$MMS_SERVICE_VERSION" } ]
}
]
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hzn-cli",
"version": "0.2.23",
"version": "0.2.22",
"description": "Open Horizon CLI toolkit helps streamline the process of preparing node agents and perform tasks between orgs environments",
"main": "./build/index.js",
"bin": {
Expand Down
3 changes: 2 additions & 1 deletion src/config/mms/service.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
{
"org": "$HZN_ORG_ID",
"url": "$SERVICE_NAME",
"version": "$SERVICE_VERSION",
"version": "$SERVICE_VERSION_RANGE_UPPER",
"versionRange": "$SERVICE_VERSION_RANGE_LOWER",
"arch": "$ARCH"
}
],
Expand Down
8 changes: 5 additions & 3 deletions src/config/service/pattern.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
{
"name": "$PATTERN_NAME",
"name": "pattern-${SERVICE_NAME}-$ARCH",
"label": "Edge $SERVICE_NAME Service Pattern for $ARCH",
"description": "Pattern for $SERVICE_NAME for $ARCH",
"services": [
{
"serviceUrl": "$SERVICE_NAME",
"serviceUrl": "$MMS_SERVICE_NAME",
"serviceOrgid": "$HZN_ORG_ID",
"serviceArch": "$ARCH",
"serviceVersions": [ { "version": "$SERVICE_VERSION" } ]
"serviceVersions": [ { "version": "$MMS_SERVICE_VERSION" } ]
}
]
}

0 comments on commit c7628b2

Please sign in to comment.