--- http_interactions: - request: method: post uri: https://<%= super_secret_username %>:<%= super_secret_password %>@127.0.0.1:8443/hawkular/inventory/entity/feed body: encoding: UTF-8 string: '{"properties":{},"id":"Secure_feed_may_exist","name":null,"outgoing":{},"incoming":{}}' headers: Accept: - application/json Accept-Encoding: - identity User-Agent: - hawkular-client-ruby Hawkular-Tenant: - hawkular Content-Type: - application/json Content-Length: - '86' Host: - 127.0.0.1:8443 response: status: code: 409 message: Conflict headers: Expires: - '0' Cache-Control: - no-cache, no-store, must-revalidate X-Powered-By: - Undertow/1 Server: - WildFly/10 Pragma: - no-cache Date: - Wed, 10 Aug 2016 22:35:53 GMT Connection: - keep-alive Content-Type: - application/json Content-Length: - '698' body: encoding: UTF-8 string: |- { "errorMsg" : "Feed with id 'Feed[path='/t;hawkular/f;Secure_feed_may_exist']' has been already registered. Entity with id 'Secure_feed_may_exist' already exists at some of the positions: [[Types[Tenant], Ids[hawkular], Related[, rel='contains', role=SOURCE], Types[Feed], Ids[Secure_feed_may_exist]]]", "details" : { "entityId" : "Secure_feed_may_exist", "paths" : [ [ { "types" : [ "org.hawkular.inventory.api.model.Tenant" ] }, { "ids" : [ "hawkular" ] }, { "relationshipName" : "contains", "entityRole" : "SOURCE" }, { "types" : [ "org.hawkular.inventory.api.model.Feed" ] }, { "ids" : [ "Secure_feed_may_exist" ] } ] ] } } http_version: recorded_at: Wed, 10 Aug 2016 22:35:53 GMT - request: method: get uri: https://<%= super_secret_username %>:<%= super_secret_password %>@127.0.0.1:8443/hawkular/inventory/entity/f;Secure_feed_may_exist body: encoding: US-ASCII string: '' headers: Accept: - application/json Accept-Encoding: - identity User-Agent: - hawkular-client-ruby Hawkular-Tenant: - hawkular Content-Type: - application/json Host: - 127.0.0.1:8443 response: status: code: 200 message: OK headers: Expires: - '0' Cache-Control: - no-cache, no-store, must-revalidate X-Powered-By: - Undertow/1 Server: - WildFly/10 Pragma: - no-cache Date: - Wed, 10 Aug 2016 22:35:53 GMT Connection: - keep-alive Content-Type: - application/json Content-Length: - '237' body: encoding: UTF-8 string: |- { "path" : "/t;hawkular/f;Secure_feed_may_exist", "properties" : { "__identityHash" : "8f9a4e45359487266a539f0cf4aa3769bf933b1" }, "identityHash" : "8f9a4e45359487266a539f0cf4aa3769bf933b1", "id" : "Secure_feed_may_exist" } http_version: recorded_at: Wed, 10 Aug 2016 22:35:53 GMT - request: method: post uri: https://<%= super_secret_username %>:<%= super_secret_password %>@127.0.0.1:8443/hawkular/inventory/entity/f;Secure_feed_may_exist/resourceType body: encoding: UTF-8 string: '{"properties":{},"id":"rt-123","name":"ResourceType","outgoing":{},"incoming":{}}' headers: Accept: - application/json Accept-Encoding: - identity User-Agent: - hawkular-client-ruby Hawkular-Tenant: - hawkular Content-Type: - application/json Content-Length: - '81' Host: - 127.0.0.1:8443 response: status: code: 201 message: Created headers: Expires: - '0' Cache-Control: - no-cache, no-store, must-revalidate X-Powered-By: - Undertow/1 Server: - WildFly/10 Pragma: - no-cache Location: - https://127.0.0.1:8443/hawkular/inventory/entity/f;Secure_feed_may_exist/rt;rt-123 Date: - Wed, 10 Aug 2016 22:35:53 GMT Connection: - keep-alive Content-Type: - application/json Content-Length: - '169' body: encoding: UTF-8 string: |- { "path" : "/t;hawkular/f;Secure_feed_may_exist/rt;rt-123", "name" : "ResourceType", "identityHash" : "30a52c53a93cb102e499367ecc55ed8a03b0b1", "id" : "rt-123" } http_version: recorded_at: Wed, 10 Aug 2016 22:35:53 GMT - request: method: get uri: https://<%= super_secret_username %>:<%= super_secret_password %>@127.0.0.1:8443/hawkular/inventory/entity/f;Secure_feed_may_exist/rt;rt-123 body: encoding: US-ASCII string: '' headers: Accept: - application/json Accept-Encoding: - identity User-Agent: - hawkular-client-ruby Hawkular-Tenant: - hawkular Content-Type: - application/json Host: - 127.0.0.1:8443 response: status: code: 200 message: OK headers: Expires: - '0' Cache-Control: - no-cache, no-store, must-revalidate X-Powered-By: - Undertow/1 Server: - WildFly/10 Pragma: - no-cache Date: - Wed, 10 Aug 2016 22:35:53 GMT Connection: - keep-alive Content-Type: - application/json Content-Length: - '169' body: encoding: UTF-8 string: |- { "path" : "/t;hawkular/f;Secure_feed_may_exist/rt;rt-123", "name" : "ResourceType", "identityHash" : "30a52c53a93cb102e499367ecc55ed8a03b0b1", "id" : "rt-123" } http_version: recorded_at: Wed, 10 Aug 2016 22:35:53 GMT - request: method: post uri: https://<%= super_secret_username %>:<%= super_secret_password %>@127.0.0.1:8443/hawkular/inventory/entity/f;Secure_feed_may_exist/resource body: encoding: UTF-8 string: '{"properties":{"version":1.0},"id":"r125","name":"My Resource","outgoing":{},"incoming":{},"resourceTypePath":"/t;hawkular/f;Secure_feed_may_exist/rt;rt-123"}' headers: Accept: - application/json Accept-Encoding: - identity User-Agent: - hawkular-client-ruby Hawkular-Tenant: - hawkular Content-Type: - application/json Content-Length: - '158' Host: - 127.0.0.1:8443 response: status: code: 201 message: Created headers: Expires: - '0' Cache-Control: - no-cache, no-store, must-revalidate X-Powered-By: - Undertow/1 Server: - WildFly/10 Pragma: - no-cache Location: - https://127.0.0.1:8443/hawkular/inventory/entity/f;Secure_feed_may_exist/r;r125 Date: - Wed, 10 Aug 2016 22:35:53 GMT Connection: - keep-alive Content-Type: - application/json Content-Length: - '400' body: encoding: UTF-8 string: |- { "path" : "/t;hawkular/f;Secure_feed_may_exist/r;r125", "properties" : { "version" : 1.0 }, "name" : "My Resource", "identityHash" : "4f6d7ec5cdd2f75ca2cb9e4d0499c7bc0f5c5a2", "type" : { "path" : "/t;hawkular/f;Secure_feed_may_exist/rt;rt-123", "name" : "ResourceType", "identityHash" : "30a52c53a93cb102e499367ecc55ed8a03b0b1", "id" : "rt-123" }, "id" : "r125" } http_version: recorded_at: Wed, 10 Aug 2016 22:35:53 GMT - request: method: get uri: https://<%= super_secret_username %>:<%= super_secret_password %>@127.0.0.1:8443/hawkular/inventory/entity/f;Secure_feed_may_exist/r;r125 body: encoding: US-ASCII string: '' headers: Accept: - application/json Accept-Encoding: - identity User-Agent: - hawkular-client-ruby Hawkular-Tenant: - hawkular Content-Type: - application/json Host: - 127.0.0.1:8443 response: status: code: 200 message: OK headers: Expires: - '0' Cache-Control: - no-cache, no-store, must-revalidate X-Powered-By: - Undertow/1 Server: - WildFly/10 Pragma: - no-cache Date: - Wed, 10 Aug 2016 22:35:53 GMT Connection: - keep-alive Content-Type: - application/json Content-Length: - '466' body: encoding: UTF-8 string: |- { "path" : "/t;hawkular/f;Secure_feed_may_exist/r;r125", "properties" : { "__identityHash" : "4f6d7ec5cdd2f75ca2cb9e4d0499c7bc0f5c5a2", "version" : 1.0 }, "name" : "My Resource", "identityHash" : "4f6d7ec5cdd2f75ca2cb9e4d0499c7bc0f5c5a2", "type" : { "path" : "/t;hawkular/f;Secure_feed_may_exist/rt;rt-123", "name" : "ResourceType", "identityHash" : "30a52c53a93cb102e499367ecc55ed8a03b0b1", "id" : "rt-123" }, "id" : "r125" } http_version: recorded_at: Wed, 10 Aug 2016 22:35:53 GMT - request: method: get uri: https://<%= super_secret_username %>:<%= super_secret_password %>@127.0.0.1:8443/hawkular/inventory/entity/f;Secure_feed_may_exist/r;r125/d;configuration body: encoding: US-ASCII string: '' headers: Accept: - application/json Accept-Encoding: - identity User-Agent: - hawkular-client-ruby Hawkular-Tenant: - hawkular Content-Type: - application/json Host: - 127.0.0.1:8443 response: status: code: 404 message: Not Found headers: Expires: - '0' Cache-Control: - no-cache, no-store, must-revalidate X-Powered-By: - Undertow/1 Server: - WildFly/10 Pragma: - no-cache Date: - Wed, 10 Aug 2016 22:35:53 GMT Connection: - keep-alive Content-Type: - application/json Content-Length: - '314' body: encoding: UTF-8 string: |- { "errorMsg" : "No DataEntity found on any of the following paths: [[CanonicalPaths[/t;hawkular/f;Secure_feed_may_exist/r;r125/d;configuration]]]", "details" : { "entityType" : "DataEntity", "path" : [ [ { "paths" : [ "/t;hawkular/f;Secure_feed_may_exist/r;r125/d;configuration" ] } ] ] } } http_version: recorded_at: Wed, 10 Aug 2016 22:35:53 GMT recorded_with: VCR 3.0.3