Skip to content
Merged
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
72 changes: 45 additions & 27 deletions specs/swagger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2317,7 +2317,7 @@ definitions:
IOFogNodesListResponse:
type: object
properties:
instances:
fogs:
type: array
items:
$ref: '#/definitions/IOFogNodeInfoResponse'
Expand Down Expand Up @@ -2723,9 +2723,12 @@ definitions:
ftpDestDir:
type: string
AgentMicroservicesListResponse:
type: array
items:
$ref: '#/definitions/AgentMicroservicesInfoResponse'
type: object
properties:
microservices:
type: array
items:
$ref: '#/definitions/AgentMicroservicesInfoResponse'
AgentMicroservicesInfoResponse:
type: object
properties:
Expand Down Expand Up @@ -2820,9 +2823,12 @@ definitions:
publicPort:
type: number
PortMappingsListResponse:
type: array
items:
$ref: '#/definitions/PortMappingsItemResponse'
type: object
properties:
ports:
type: array
items:
$ref: '#/definitions/PortMappingsItemResponse'
PortMappingsItemResponse:
type: object
properties:
Expand All @@ -2846,9 +2852,12 @@ definitions:
type: string
example: 80
RegistriesListResponse:
type: array
items:
$ref: '#/definitions/RegistryResponse'
type: object
properties:
registries:
type: array
items:
$ref: '#/definitions/RegistryResponse'
RegistryResponse:
type: object
properties:
Expand Down Expand Up @@ -2898,9 +2907,12 @@ definitions:
- open
- close
MicroservicesCatalogResponse:
type: array
items:
$ref: '#/definitions/CatalogItemInfoResponse'
type: object
properties:
catalogItems:
type: array
items:
$ref: '#/definitions/CatalogItemInfoResponse'
CatalogItemInfoResponse:
type: object
properties:
Expand Down Expand Up @@ -2951,8 +2963,8 @@ definitions:
fogTypeId:
type: number
enum:
- 1
- 2
- 1
- 2
CreateUpdateCatalogItemRequestBody:
type: object
properties:
Expand Down Expand Up @@ -2983,9 +2995,12 @@ definitions:
configExample:
type: string
GetFlowsResponse:
type: array
items:
$ref: '#/definitions/FlowInfoResponse'
type: object
properties:
flows:
type: array
items:
$ref: '#/definitions/FlowInfoResponse'
FlowInfoResponse:
type: object
properties:
Expand All @@ -3007,9 +3022,12 @@ definitions:
isActivated:
type: boolean
GetMicroservicesResponse:
type: array
items:
$ref: '#/definitions/MicroserviceInfoResponse'
type: object
properties:
microservices:
type: array
items:
$ref: '#/definitions/MicroserviceInfoResponse'
MicroserviceInfoResponse:
type: object
properties:
Expand Down Expand Up @@ -3051,9 +3069,9 @@ definitions:
logSize:
type: number
volumeMappings:
type: array
items:
$ref: '#/definitions/VolumeMapping'
type: array
items:
$ref: '#/definitions/VolumeMapping'
ports:
type: array
items:
Expand All @@ -3078,9 +3096,9 @@ definitions:
logLimit:
type: number
volumeMappings:
type: array
items:
$ref: '#/definitions/VolumeMapping'
type: array
items:
$ref: '#/definitions/VolumeMapping'
IOFogNodeTunnelStatusInfoResponse:
type: object
properties:
Expand Down
1 change: 0 additions & 1 deletion src/services/diagnostic-service.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,6 @@ const getMicroserviceImageSnapshot = async function (microserviceUuid, user, isC
throw new Errors.ValidationError(ErrorMessages.IMAGE_SNAPSHOT_NOT_AVAILABLE)
}
let _path = microservice.imageSnapshot;
logger.info('successfully deleted ' + microservice.imageSnapshot);
await MicroserviceManager.update({uuid: microservice.uuid}, microserviceToUpdate, transaction);
if (isCLI) {
return _path
Expand Down