Skip to content

Commit

Permalink
Merge branch 'main' into edgex-go-3680
Browse files Browse the repository at this point in the history
  • Loading branch information
bnevis-i authored Sep 9, 2021
2 parents c6a8f9a + a77f58c commit b76c258
Showing 1 changed file with 2 additions and 26 deletions.
28 changes: 2 additions & 26 deletions openapi/v2/core-metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -461,13 +461,6 @@ components:
lastReported:
type: integer
description: time in milliseconds that the device service last reported data to the core microservice
operatingState:
type: string
description: operational state
enum:
- UP
- DOWN
- UNKNOWN
labels:
type: array
description: tags or other labels applied to the device service for search or other identification needs
Expand All @@ -484,7 +477,6 @@ components:
- UNLOCKED
required:
- name
- operatingState
- adminState
- baseAddress
CreateDeviceService:
Expand All @@ -502,13 +494,6 @@ components:
enum:
- LOCKED
- UNLOCKED
operatingState:
type: string
description: operational state
enum:
- UP
- DOWN
- UNKNOWN
labels:
type: array
description: tags or other labels applied to the device service for search or other identification needs
Expand All @@ -519,7 +504,6 @@ components:
description: BaseAddress is a fully qualified URI, e.g. <protocol>:\\<hostname>:<port>/<optional path>
required:
- name
- operatingState
- adminState
- baseAddress
UpdateDeviceService:
Expand All @@ -533,9 +517,6 @@ components:
name:
type: string
description: Description of the device service
operatingState:
type: string
description: operational state - either UP or DOWN
labels:
type: array
description: tags or other labels applied to the device service for search or other identification needs
Expand Down Expand Up @@ -1161,7 +1142,6 @@ components:
name: home thermostat device service
description: manage homethermostats
adminState: UNLOCKED
operatingState: UP
labels:
- hvac
- thermostat
Expand Down Expand Up @@ -2525,15 +2505,13 @@ paths:
- id: "edaa7c0f-05c6-4368-89f1-3be5e197cf6a"
name: "home thermostat device service"
description: "Home automation system"
operatingState: "UP"
labels:
- "home"
- requestId: "5accf5a9-9c7e-4160-bbbb-03d1cb25b492"
apiVersion: v2
service:
- id: "aee709c7-1b30-4db4-9256-2e7eb2073b2f"
name: "Google Home device service"
operatingState: "UP"
adminState: "UNLOCKED"
baseAddress: "http://home-device-service:49980"
responses:
Expand Down Expand Up @@ -2609,10 +2587,9 @@ paths:
lastConnected: 0
lastReported: 0
adminState: "UNLOCKED"
operatingState: "UP"
labels:
- virtual
baseAddress: "http://edgex-device-virtual:49990"
baseAddress: "http://edgex-device-virtual:59990"
'400':
description: "Request is in an invalid state"
headers:
Expand Down Expand Up @@ -2672,10 +2649,9 @@ paths:
lastConnected: 0
lastReported: 0
adminState: "UNLOCKED"
operatingState: "UP"
labels:
- virtual
baseAddress: "http://edgex-device-virtual:49990"
baseAddress: "http://edgex-device-virtual:59990"
'400':
description: "Request is in an invalid state"
headers:
Expand Down

0 comments on commit b76c258

Please sign in to comment.