Update current Snow Monkey config
643 matches
87 actions
Otoroshi Admin
87 actions
- Add a target to a service descriptorPOSTv1.0.0
- Compile a scriptPOSTv1.0.0
- Create a new api key for a groupPOSTv1.0.0
- Create a new api key for a servicePOSTv1.0.0
- Create a new scriptPOSTv1.0.0
- Create a new service descriptorPOSTv1.0.0
- Create a new service groupPOSTv1.0.0
- Create a service descriptor error templatePOSTv1.0.0
- Create one certificatePOSTv1.0.0
- Create one global auth. module configPOSTv1.0.0
- Create one global JWT verifiersPOSTv1.0.0
- Create one validation authoritiesPOSTv1.0.0
- Delete a scriptDELETEv1.0.0
- Delete a service descriptorDELETEv1.0.0
- Delete a service descriptor error templateDELETEv1.0.0
- Delete a service descriptor targetDELETEv1.0.0
- Delete a service groupDELETEv1.0.0
- Delete an api keyDELETEv1.0.0
- Delete an api keyDELETEv1.0.0
- Delete one certificate by idDELETEv1.0.0
- Delete one global auth. module configDELETEv1.0.0
- Delete one global JWT verifiersDELETEv1.0.0
- Delete one validation authorities by idDELETEv1.0.0
- Get a scriptGETv1.0.0
- Get a service descriptorGETv1.0.0
- Get a service descriptor error templateGETv1.0.0
- Get a service descriptor targetsGETv1.0.0
- Get a service groupGETv1.0.0
- Get a template of an Otoroshi Api KeyGETv1.0.0
- Get a template of an Otoroshi service descriptorGETv1.0.0
- Get a template of an Otoroshi service groupGETv1.0.0
- Get all api keysGETv1.0.0
- Get all api keys for the group of a serviceGETv1.0.0
- Get all api keys for the group of a serviceGETv1.0.0
- Get all certificatesGETv1.0.0
- Get all current Snow Monkey ouragesGETv1.0.0
- Get all environmentsGETv1.0.0
- Get all global auth. module configsGETv1.0.0
- Get all global JWT verifiersGETv1.0.0
- Get all scriptsGETv1.0.0
- Get all service groupsGETv1.0.0
- Get all servicesGETv1.0.0
- Get all services descriptor for a groupGETv1.0.0
- Get all services for an environmentGETv1.0.0
- Get all validation authoritiessGETv1.0.0
- Get an api keyGETv1.0.0
- Get an api keyGETv1.0.0
- Get current Snow Monkey configGETv1.0.0
- Get global otoroshi statsGETv1.0.0
- Get live feed of otoroshi statsGETv1.0.0
- Get one certificate by idGETv1.0.0
- Get one global auth. module configsGETv1.0.0
- Get one global JWT verifiersGETv1.0.0
- Get one validation authorities by idGETv1.0.0
- Get the full configuration of OtoroshiGETv1.0.0
- Get the group of an api keyGETv1.0.0
- Get the quota state of an api keyGETv1.0.0
- Get the quota state of an api keyGETv1.0.0
- Reset Snow Monkey Outages for the dayDELETEv1.0.0
- Reset the quota state of an api keyDELETEv1.0.0
- Reset the quota state of an api keyDELETEv1.0.0
- Start the Snow MonkeyPOSTv1.0.0
- Stop the Snow MonkeyPOSTv1.0.0
- Update a scriptPUTv1.0.0
- Update a script with a diffPATCHv1.0.0
- Update a service descriptorPUTv1.0.0
- Update a service descriptor targetsPATCHv1.0.0
- Update a service descriptor with a diffPATCHv1.0.0
- Update a service groupPUTv1.0.0
- Update a service group with a diffPATCHv1.0.0
- Update an api keyPUTv1.0.0
- Update an api keyPUTv1.0.0
- Update an api key with a diffPATCHv1.0.0
- Update an api key with a diffPATCHv1.0.0
- Update an error template to a service descriptorPUTv1.0.0
- Update current Snow Monkey configPATCHv1.0.0
- Update current Snow Monkey configPUTv1.0.0
- Update one certificate by idPATCHv1.0.0
- Update one certificate by idPUTv1.0.0
- Update one global auth. module configPATCHv1.0.0
- Update one global auth. module configPUTv1.0.0
- Update one global JWT verifiersPATCHv1.0.0
- Update one global JWT verifiersPUTv1.0.0
- Update one validation authorities by idPATCHv1.0.0
- Update one validation authorities by idPUTv1.0.0
- Update the global configurationPUTv1.0.0
- Update the global configuration with a diffPATCHv1.0.0
Other/Otoroshi Admin
Update current Snow Monkey config
v1.0.0Input
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
{
"type": "object",
"description": "An Otoroshi service group is just a group of service descriptor. It is useful to be able to define Api Keys for the whole group",
"required": [
"id",
"name"
],
"properties": {
"description": {
"type": "string",
"description": "The descriptoin of the group"
},
"id": {
"type": "string",
"description": "The unique id of the group. Usually 64 random alpha numerical characters, but can be anything"
},
"name": {
"type": "string",
"description": "The name of the group"
}
}
}Output
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
- 51
- 52
- 53
- 54
- 55
- 56
- 57
- 58
- 59
- 60
- 61
- 62
- 63
- 64
- 65
- 66
- 67
- 68
- 69
- 70
- 71
- 72
- 73
- 74
- 75
- 76
- 77
- 78
- 79
- 80
- 81
- 82
- 83
- 84
- 85
- 86
- 87
- 88
- 89
- 90
- 91
- 92
- 93
- 94
- 95
- 96
- 97
- 98
- 99
- 100
- 101
- 102
- 103
- 104
- 105
- 106
- 107
- 108
- 109
- 110
- 111
- 112
- 113
- 114
- 115
- 116
- 117
- 118
- 119
- 120
- 121
- 122
- 123
- 124
- 125
- 126
- 127
- 128
- 129
- 130
- 131
- 132
- 133
- 134
- 135
- 136
- 137
- 138
- 139
- 140
- 141
- 142
- 143
- 144
- 145
- 146
- 147
- 148
- 149
- 150
- 151
- 152
- 153
- 154
- 155
- 156
- 157
- 158
- 159
- 160
- 161
- 162
- 163
- 164
- 165
- 166
- 167
- 168
- 169
- 170
- 171
- 172
- 173
- 174
- 175
- 176
- 177
- 178
- 179
- 180
- 181
- 182
- 183
- 184
- 185
- 186
- 187
- 188
- 189
- 190
- 191
- 192
{
"type": "object",
"description": "Configuration for the faults that can be injected in requests. The name Snow Monkey is an hommage to Netflix's Chaos Monkey 😉",
"required": [
"chaosConfig",
"dryRun",
"enabled",
"includeUserFacingDescriptors",
"outageDurationFrom",
"outageDurationTo",
"outageStrategy",
"startTime",
"stopTime",
"targetGroups",
"timesPerDay"
],
"properties": {
"chaosConfig": {
"type": "object",
"description": "Configuration for the faults that can be injected in requests",
"required": [
"enabled"
],
"properties": {
"badResponsesFaultConfig": {
"type": "object",
"description": "Config for bad requests injection fault",
"required": [
"ratio",
"responses"
],
"properties": {
"ratio": {
"type": "number",
"format": "double",
"description": "The percentage of requests affected by this fault. Value should be between 0.0 and 1.0"
},
"responses": {
"type": "array",
"description": "The possibles responses",
"items": {
"type": "object",
"description": "An HTTP response that is not supposed to be returned by a service",
"required": [
"status",
"body",
"headers"
],
"properties": {
"body": {
"type": "string",
"description": "The body of the HTTP response"
},
"headers": {
"type": "object",
"description": "The HTTP headers of the response"
},
"status": {
"type": "integer",
"format": "int32",
"description": "The HTTP status for the response"
}
}
}
}
}
},
"enabled": {
"type": "boolean",
"description": "Whether or not this config is enabled"
},
"largeRequestFaultConfig": {
"type": "object",
"description": "Config for large request injection fault",
"required": [
"additionalRequestSize",
"ratio"
],
"properties": {
"additionalRequestSize": {
"type": "integer",
"format": "int32",
"description": "The size added to the request body in bytes. Added payload will be spaces only."
},
"ratio": {
"type": "number",
"format": "double",
"description": "The percentage of requests affected by this fault. Value should be between 0.0 and 1.0"
}
}
},
"largeResponseFaultConfig": {
"type": "object",
"description": "Config for large response injection fault",
"required": [
"additionalResponseSize",
"ratio"
],
"properties": {
"additionalRequestSize": {
"type": "integer",
"format": "int32",
"description": "The size added to the response body in bytes. Added payload will be spaces only."
},
"ratio": {
"type": "number",
"format": "double",
"description": "The percentage of requests affected by this fault. Value should be between 0.0 and 1.0"
}
}
},
"latencyInjectionFaultConfig": {
"type": "object",
"description": "Config for large latency injection fault",
"required": [
"from",
"ratio",
"to"
],
"properties": {
"from": {
"type": "integer",
"format": "int32",
"description": "The start range of latency added to the request"
},
"ratio": {
"type": "number",
"format": "double",
"description": "The percentage of requests affected by this fault. Value should be between 0.0 and 1.0"
},
"to": {
"type": "integer",
"format": "int32",
"description": "The end range of latency added to the request"
}
}
}
}
},
"dryRun": {
"type": "boolean",
"description": "Whether or not outages will actualy impact requests"
},
"enabled": {
"type": "boolean",
"description": "Whether or not this config is enabled"
},
"includeUserFacingDescriptors": {
"type": "boolean",
"description": "Whether or not user facing apps. will be impacted by Snow Monkey"
},
"outageDurationFrom": {
"type": "integer",
"format": "int32",
"description": "Start of outage duration range"
},
"outageDurationTo": {
"type": "integer",
"format": "int32",
"description": "End of outage duration range"
},
"outageStrategy": {
"type": "string",
"enum": [
"OneServicePerGroup",
"AllServicesPerGroup"
]
},
"startTime": {
"type": "string",
"format": "time",
"description": "Start time of Snow Monkey each day"
},
"stopTime": {
"type": "string",
"format": "time",
"description": "Stop time of Snow Monkey each day"
},
"targetGroups": {
"type": "array",
"description": "Groups impacted by Snow Monkey. If empty, all groups will be impacted",
"items": {
"type": "string"
}
},
"timesPerDay": {
"type": "integer",
"format": "int32",
"description": "Number of time per day each service will be outage"
}
}
}