Created
December 18, 2017 21:49
-
-
Save artyomtrityak/11c68feb4ce0d97740c45d951270cc71 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [ | |
| [{ | |
| "operation": "findObjects", | |
| "parameters": { | |
| "objectType": "job", | |
| "computed": true, | |
| "select": [{ | |
| "propertyName": "ec_deploymentType" | |
| }, { | |
| "propertyName": "ec_smartDeployOption" | |
| }, { | |
| "propertyName": "ec_enforceDependencies" | |
| }, { | |
| "propertyName": "ec_stageArtifacts" | |
| }, { | |
| "propertyName": "ec_head_app_id" | |
| }, { | |
| "propertyName": "ec_head_service_id" | |
| }, { | |
| "propertyName": "ec_rollbackJob" | |
| }], | |
| "filter": [{ | |
| "operator": "and", | |
| "filter": [{ | |
| "operator": "isNotNull", | |
| "propertyName": "serviceName" | |
| }, | |
| [{ | |
| "operator": "and", | |
| "filter": [{ | |
| "operator": "equals", | |
| "propertyName": "outcome", | |
| "operand1": "success" | |
| }, { | |
| "operator": "equals", | |
| "propertyName": "status", | |
| "operand1": "completed" | |
| }] | |
| }, { | |
| "operator": "isNotNull", | |
| "propertyName": "serviceName" | |
| }, { | |
| "operator": "and", | |
| "filter": [{ | |
| "operator": "equals", | |
| "propertyName": "serviceName", | |
| "operand1": "qe docker service" | |
| }, { | |
| "operator": "equals", | |
| "propertyName": "projectName", | |
| "operand1": "Proj-CEV-16992" | |
| }] | |
| }, { | |
| "operator": "between", | |
| "propertyName": "finish", | |
| "operand1": "2017-09-19T00:00:00.000Z", | |
| "operand2": "2017-12-19T23:59:59.000Z" | |
| }, { | |
| "operator": "between", | |
| "propertyName": "start", | |
| "operand1": "2017-09-19T00:00:00.000Z", | |
| "operand2": "2017-12-19T23:59:59.000Z" | |
| }, { | |
| "operator": "or", | |
| "filter": [ | |
| [{ | |
| "operator": "and", | |
| "filter": [{ | |
| "operator": "equals", | |
| "propertyName": "serviceName", | |
| "operand1": "qe docker service" | |
| }, { | |
| "operator": "equals", | |
| "propertyName": "projectName", | |
| "operand1": "Proj-CEV-16992" | |
| }] | |
| }, { | |
| "operator": "and", | |
| "filter": [{ | |
| "operator": "equals", | |
| "propertyName": "serviceName", | |
| "operand1": "Account Statements" | |
| }, { | |
| "operator": "equals", | |
| "propertyName": "projectName", | |
| "operand1": "Stratus" | |
| }] | |
| }] | |
| ] | |
| }] | |
| ] | |
| }], | |
| "firstResult": 0, | |
| "maxIds": 50, | |
| "numObjects": 50 | |
| }, | |
| "requestId": "382" | |
| }, { | |
| "operation": "countObjects", | |
| "parameters": { | |
| "objectType": "job", | |
| "filter": [{ | |
| "operator": "isNotNull", | |
| "propertyName": "serviceName" | |
| }, | |
| [{ | |
| "operator": "isNotNull", | |
| "propertyName": "serviceName" | |
| }, { | |
| "operator": "and", | |
| "filter": [{ | |
| "operator": "equals", | |
| "propertyName": "serviceName", | |
| "operand1": "qe docker service" | |
| }, { | |
| "operator": "equals", | |
| "propertyName": "projectName", | |
| "operand1": "Proj-CEV-16992" | |
| }] | |
| }, { | |
| "operator": "between", | |
| "propertyName": "finish", | |
| "operand1": "2017-09-19T00:00:00.000Z", | |
| "operand2": "2017-12-19T23:59:59.000Z" | |
| }, { | |
| "operator": "between", | |
| "propertyName": "start", | |
| "operand1": "2017-09-19T00:00:00.000Z", | |
| "operand2": "2017-12-19T23:59:59.000Z" | |
| }, { | |
| "operator": "or", | |
| "filter": [ | |
| [{ | |
| "operator": "and", | |
| "filter": [{ | |
| "operator": "equals", | |
| "propertyName": "serviceName", | |
| "operand1": "qe docker service" | |
| }, { | |
| "operator": "equals", | |
| "propertyName": "projectName", | |
| "operand1": "Proj-CEV-16992" | |
| }] | |
| }, { | |
| "operator": "and", | |
| "filter": [{ | |
| "operator": "equals", | |
| "propertyName": "serviceName", | |
| "operand1": "Account Statements" | |
| }, { | |
| "operator": "equals", | |
| "propertyName": "projectName", | |
| "operand1": "Stratus" | |
| }] | |
| }] | |
| ] | |
| }] | |
| ] | |
| }, | |
| "requestId": "384" | |
| }], {} | |
| ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment