Skip to content

Commit

Permalink
Setup parameter licenseKey and returns new appliance uuid
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesdickson6 committed Oct 23, 2024
1 parent 90f9eb0 commit 6a692c0
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 1 deletion.
1 change: 1 addition & 0 deletions components/examples/applianceSettings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"applianceSettings": {
"uuid": "a26caec3-f2f3-474b-adf1-d85d670ad56f",
"applianceUrl": "https://mysite.fqdn.com/",
"internalApplianceUrl": "http://192.168.1.14",
"corsAllowed": "*",
Expand Down
1 change: 1 addition & 0 deletions components/examples/health.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"statusMessage": "",
"applianceUrl": "https:/fqdn.com/",
"buildVersion": "5.4.11",
"uuid": "a26caec3-f2f3-474b-adf1-d85d670ad56f",
"setupNeeded": false,
"date": "2022-08-22T20:17:14Z",
"cpu": {
Expand Down
3 changes: 2 additions & 1 deletion components/examples/setup.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@
"lastName": "Anderson",
"email": "[email protected]",
"username": "tanderson",
"password": "QnW}cg}8}<~:P9YU"
"password": "QnW}cg}8}<~:P9YU",
"licenseKey": "LICENSE_KEY"
}
2 changes: 2 additions & 0 deletions components/schemas/applianceSettings.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
type: object
properties:
uuid:
type: string
applianceUrl:
type: string
internalApplianceUrl:
Expand Down
2 changes: 2 additions & 0 deletions components/schemas/health.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ properties:
type: string
buildVersion:
type: string
uuid:
type: string
setupNeeded:
type: boolean
date:
Expand Down
3 changes: 3 additions & 0 deletions components/schemas/setup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ properties:
buildVersion:
type: string
description: Morpheus build version that the server is running.
uuid:
type: string
description: The Appliance Unique ID that is auto generated.
applianceUrl:
type: string
description: The Appliance Server URL as defined under Appliance Settings.
Expand Down
3 changes: 3 additions & 0 deletions paths/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ post:
- register
- login
default: skip
licenseKey:
type: string
description: License Key to install on setup.
- oneOf:
- $ref: ../components/schemas/hubLoginObject.yaml
- $ref: ../components/schemas/hubRegisterObject.yaml
Expand Down

0 comments on commit 6a692c0

Please sign in to comment.