Skip to content

Commit

Permalink
update for containertypes
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeDavitt committed Oct 3, 2024
1 parent bdb3837 commit 0d5ab42
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 1 deletion.
1 change: 1 addition & 0 deletions components/examples/containerType.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"code": "docker"
},
"virtualImage": null,
"osType": null,
"category": null,
"config": {},
"containerPorts": [
Expand Down
1 change: 1 addition & 0 deletions components/examples/containerTypes.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"id": 6640,
"name": "Morpheus ubuntu 16.04"
},
"osType": null,
"category": "apache",
"config": {},
"containerPorts": [
Expand Down
2 changes: 1 addition & 1 deletion components/examples/osTypeImageRequest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"osTypeImage": {
"osType": "98",
"osType": 98,
"provisionType": 7,
"zone": 1,
"virtualImage": 4551
Expand Down
9 changes: 9 additions & 0 deletions components/schemas/containerType.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,15 @@ properties:
format: int32
name:
type: string
osType:
type: object
nullable: true
properties:
id:
type: integer
format: int32
name:
type: string
category:
type: string
nullable: true
Expand Down
4 changes: 4 additions & 0 deletions components/schemas/containerTypeCreate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ properties:
type: integer
format: int64
description: Virtual image ID
osTypeId:
type: integer
format: int64
description: OsType ID
statTypeCode:
type: string
description: Stat type code. Varies with node type, see Provision Types (customOptionTypes) for allowed values within selected type.
Expand Down
4 changes: 4 additions & 0 deletions components/schemas/containerTypeUpdate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ properties:
type: integer
format: int64
description: Virtual image ID
osTypeId:
type: integer
format: int64
description: OsType ID
statTypeCode:
type: string
description: Stat type code. Varies with node type, see Provision Types (customOptionTypes) for allowed values within selected type.
Expand Down

0 comments on commit 0d5ab42

Please sign in to comment.