Skip to content

Commit

Permalink
Merge pull request #79 from stmcginnis/compositionservice
Browse files Browse the repository at this point in the history
Fix ServiceEnabled boolean properties being returned as string
  • Loading branch information
mraineri authored Aug 8, 2019
2 parents 1a2b596 + 98b2ac2 commit 9b626f7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion api_emulator/redfish/templates/CompositionService.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"State": "Enabled",
"Health": "OK"
},
"ServiceEnabled": "true",
"ServiceEnabled": True,
"ResourceBlocks": {
"@odata.id": "{rb}CompositionService/ResourceBlocks"
},
Expand Down
2 changes: 1 addition & 1 deletion api_emulator/redfish/templates/EventService.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"State": "Enabled",
"Health": "OK"
},
"ServiceEnabled": "true",
"ServiceEnabled": True,
"DeliveryRetryAttempts": 3,
"DeliveryRetryIntervalSeconds": 60,
"EventTypesForSubscription": [
Expand Down
6 changes: 3 additions & 3 deletions api_emulator/redfish/templates/Manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@
"Health": "OK"
},
"GraphicalConsole": {
"ServiceEnabled": "true",
"ServiceEnabled": True,
"MaxConcurrentSessions": 2,
"ConnectTypesSupported": [
"KVMIP"
]
},
"SerialConsole": {
"ServiceEnabled": "true",
"ServiceEnabled": True,
"MaxConcurrentSessions": 1,
"ConnectTypesSupported": [
"Telnet",
Expand All @@ -43,7 +43,7 @@
]
},
"CommandShell": {
"ServiceEnabled": "true",
"ServiceEnabled": True,
"MaxConcurrentSessions": 4,
"ConnectTypesSupported": [
"Telnet",
Expand Down

0 comments on commit 9b626f7

Please sign in to comment.