Skip to content

Instantly share code, notes, and snippets.

@dLobatog
Created April 23, 2019 16:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dLobatog/289d5b7f12a2728d2a4e045858a8fd65 to your computer and use it in GitHub Desktop.
Save dLobatog/289d5b7f12a2728d2a4e045858a8fd65 to your computer and use it in GitHub Desktop.
Started POST "/api/compliance/graphql" for 127.0.0.1 at 2019-04-23 18:57:50 +0200
Processing by GraphqlController#query as */*
Parameters: {"operationName"=>"FailedRulesForSystem", "variables"=>{"systemIdsQuery"=>"id ^ (f5cf6f1c-fccf-4f41-8001-f12434cb0943)"}, "query"=>"query FailedRulesForSystem($systemIdsQuery: String!) {\n allSystems(search: $systemIdsQuery) {\n id\n rule_objects_failed {\n ref_id\n title\n __typename\n }\n __typename\n }\n}\n", "graphql"=>{"operationName"=>"FailedRulesForSystem", "variables"=>{"systemIdsQuery"=>"id ^ (f5cf6f1c-fccf-4f41-8001-f12434cb0943)"}, "query"=>"query FailedRulesForSystem($systemIdsQuery: String!) {\n allSystems(search: $systemIdsQuery) {\n id\n rule_objects_failed {\n ref_id\n title\n __typename\n }\n __typename\n }\n}\n"}}
User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."username" = $1 LIMIT $2 [["username", "dlobatog@redhat.com"], ["LIMIT", 1]]
↳ app/controllers/graphql_controller.rb:9
Host Load (0.9ms) SELECT "hosts".* FROM "hosts" WHERE "hosts"."account_id" = $1 AND (("hosts"."id" IN ('f5cf6f1c-fccf-4f41-8001-f12434cb0943'))) [["account_id", "9f6f30ee-dd69-42e6-bfc0-374e85e3cdc7"]]
↳ app/controllers/graphql_controller.rb:10
RuleResult Load (3.5ms) SELECT "rule_results".* FROM "rule_results" WHERE "rule_results"."host_id" = $1 AND "rule_results"."result" IN ($2, $3, $4) [["host_id", "f5cf6f1c-fccf-4f41-8001-f12434cb0943"], ["result", "error"], ["result", "fail"], ["result", "notchecked"]]
↳ app/models/schema.rb:133
Rule Load (2.1ms) SELECT "rules".* FROM "rules" WHERE "rules"."id" IN ($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) [["id", "b6433e37-1b56-4437-b3b9-0e4f3b8d521c"], ["id", "e889ae2c-f3ad-4148-90c6-e225c5ff43a8"], ["id", "3b082d72-4db6-47c2-9668-e1515a8b082f"], ["id", "7f554da7-0516-4218-b8a6-87f969cd0d9e"], ["id", "8843202d-2849-41f3-a410-5bb022de030a"], ["id", "9c45a8ee-8d7b-4b56-81bf-1fe5601a06e6"], ["id", "ff27836c-ce1b-4cb5-a45b-1a2eef16e9a7"], ["id", "fe85814c-093e-4f47-9839-186457d651d9"], ["id", "fb24cce2-3ed9-4c7a-b09c-0404981a0913"], ["id", "233cef76-2a80-4497-917e-b366cebfcac0"], ["id", "f8c0f168-c53b-42b6-add7-e3bfa6069b66"], ["id", "05b77dec-0504-4352-a5df-ee449ae04820"], ["id", "816dedc0-bc0e-47a3-a724-e3ddba2ec74b"], ["id", "897755f5-aadd-4ebf-9919-faef9a8f4bcc"], ["id", "0ed174d1-4a2f-478c-a380-f214b4204d66"], ["id", "ba8fd80c-6af6-4e25-8688-822e07a89802"], ["id", "741e749b-3b72-40fa-a64a-70b872e553c3"], ["id", "1ded7563-e145-4496-a98b-0756ad993c38"], ["id", "0e692299-1896-4a48-8176-82f655582591"], ["id", "2ae072a1-3920-4d1e-9fc6-bab3c19756e2"], ["id", "d3b833a2-c98f-4568-8704-4fb45a6aabae"], ["id", "592e8350-6906-491a-8314-42e45879aae9"], ["id", "f9320c1d-31c8-4398-ae65-3dc9395ee23f"], ["id", "88bc3573-9538-40e6-a78d-4b5343c04d2c"], ["id", "3f69da52-8523-444b-b774-c65fed8ef96a"], ["id", "7f8a9015-f2ce-4aea-844b-d8ea42f2d2f9"], ["id", "c38ce663-5c73-4da4-a80c-01e7335c9050"], ["id", "ccb1cc92-a654-4af6-b557-e3fa33c878db"], ["id", "75273f89-76a9-48d3-be9b-2aa6319184a4"], ["id", "f3d2eab4-a5c1-4f0d-93f5-bbfed75e57f4"], ["id", "494014c6-f0e0-4f74-8fdc-40abf256fa1c"], ["id", "adb42f18-4eab-45c5-a728-991a4c11a192"], ["id", "b6f7cf44-6789-468e-837c-c38869822f73"], ["id", "e682f430-6cd0-4705-a2e9-bc2978ba7ac4"], ["id", "a71e377a-3104-431a-89ad-0a247d582e99"], ["id", "5d1633db-643b-49ed-9ce0-c50edec590b4"], ["id", "b7761b27-2f4d-4e9d-be26-d8808afecef6"], ["id", "02d93037-b4f1-4785-a751-a21d39338d53"], ["id", "f3fea1e2-011b-472e-b7a8-b8b9a1466a02"], ["id", "8f48bb29-be84-46cb-9cc5-d56507c4a666"], ["id", "33af420a-8921-454a-9a6e-086547250105"], ["id", "fb8540b2-cc4f-4853-aef7-d6e9ffa3cecd"], ["id", "782e5983-5202-4d4d-8ae5-28fd7b24cc0a"], ["id", "ba6a92eb-adfd-4ed6-9762-1a848d666560"], ["id", "8740a188-f1fa-4b13-b264-af78fc197a14"], ["id", "aceabf4e-0f91-40a5-99c3-944dcd5c074e"], ["id", "43e24267-715b-45f7-b6a5-a23dd78817bc"], ["id", "ecbfddf6-2910-4f2d-a04c-76570b093aee"], ["id", "38d54e8a-7701-4635-85ff-29f3879809e5"], ["id", "b45c1d40-2677-4b92-9eb2-2b6e9860c198"], ["id", "dfd2c629-f75b-4e80-a378-e8de4f030cdb"], ["id", "33308468-a0b1-42a2-a841-6e737ed3264f"], ["id", "8da5472d-646b-4ea5-9b65-691eeb0ab713"], ["id", "cc73cef5-64af-4b3f-b586-431f0d974cec"], ["id", "d2359aa4-d111-4a19-99e1-cbb8e2771ede"], ["id", "bb5313d4-fb62-4044-8f20-59e937d13f48"], ["id", "5025283d-52ef-4f43-b2a6-2f1143cb528f"], ["id", "6f553a71-8603-439a-9dbe-35aa7516eba7"], ["id", "a73b7d18-1b24-4c23-b550-32c25a0fc06e"], ["id", "f656ff8c-bb44-4956-b6eb-10dba0546c4e"]]
↳ app/models/schema.rb:133
Completed 200 OK in 157ms (Views: 0.5ms | ActiveRecord: 7.1ms)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment