diff --git a/components/examples/applianceSettings.json b/components/examples/applianceSettings.json index 1e520fc..9dba9f8 100644 --- a/components/examples/applianceSettings.json +++ b/components/examples/applianceSettings.json @@ -1,5 +1,6 @@ { "applianceSettings": { + "uuid": "a26caec3-f2f3-474b-adf1-d85d670ad56f", "applianceUrl": "https://mysite.fqdn.com/", "internalApplianceUrl": "http://192.168.1.14", "corsAllowed": "*", diff --git a/components/examples/health.json b/components/examples/health.json index dc1f1d5..ea736da 100644 --- a/components/examples/health.json +++ b/components/examples/health.json @@ -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": { diff --git a/components/examples/setup.json b/components/examples/setup.json index db40f6a..dd31267 100644 --- a/components/examples/setup.json +++ b/components/examples/setup.json @@ -5,5 +5,6 @@ "lastName": "Anderson", "email": "tanderson@mccorp.com", "username": "tanderson", - "password": "QnW}cg}8}<~:P9YU" + "password": "QnW}cg}8}<~:P9YU", + "licenseKey": "LICENSE_KEY" } \ No newline at end of file diff --git a/components/schemas/applianceSettings.yaml b/components/schemas/applianceSettings.yaml index dbf0b28..427b24f 100644 --- a/components/schemas/applianceSettings.yaml +++ b/components/schemas/applianceSettings.yaml @@ -1,5 +1,7 @@ type: object properties: + uuid: + type: string applianceUrl: type: string internalApplianceUrl: diff --git a/components/schemas/health.yaml b/components/schemas/health.yaml index 323a476..31c0c9f 100644 --- a/components/schemas/health.yaml +++ b/components/schemas/health.yaml @@ -8,6 +8,8 @@ properties: type: string buildVersion: type: string + uuid: + type: string setupNeeded: type: boolean date: diff --git a/components/schemas/setup.yaml b/components/schemas/setup.yaml index 599629d..990ca61 100644 --- a/components/schemas/setup.yaml +++ b/components/schemas/setup.yaml @@ -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. diff --git a/paths/api@setup.yaml b/paths/api@setup.yaml index db350da..8fd3486 100644 --- a/paths/api@setup.yaml +++ b/paths/api@setup.yaml @@ -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