Guest User

personas

a guest
Mar 17th, 2016
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.18 KB | None | 0 0
  1. curl -i -u "da57c6fe-1393-47e5-8dfa-37790561cfac:712de0620994dff0af0d8564f9fa4f51" -H "Accept:application/json" -H "Hawkular-Persona:c75b7170-0cc6-471d-8ab8-723cb1b93b3e" "http://192.168.1.26:8080/hawkular/inventory/test/resources"
  2. HTTP/1.1 200 OK
  3. Expires: 0
  4. Cache-Control: no-cache, no-store, must-revalidate
  5. X-Powered-By: Undertow/1
  6. Server: WildFly/10
  7. Pragma: no-cache
  8. Date: Thu, 17 Mar 2016 18:04:12 GMT
  9. X-Total-Count: -1
  10. Connection: keep-alive
  11. Content-Type: application/json
  12. Content-Length: 3
  13. Link: <http://192.168.1.26:8080/hawkular/inventory/test/resources>; rel="current"
  14.  
  15. [ ]
  16.  
  17.  
  18. ----------------------------------------------
  19.  
  20. curl -i -u "441f7e8b-0933-48c7-9955-e70717cab861:5f38883d6adec569dcfdde81662d3c0b" -H "Accept:application/json" -H "Hawkular-Persona:c75b7170-0cc6-471d-8ab8-723cb1b93b3e" "http://192.168.1.26:8080/hawkular/inventory/test/resources"
  21. HTTP/1.1 200 OK
  22. Expires: 0
  23. Cache-Control: no-cache, no-store, must-revalidate
  24. X-Powered-By: Undertow/1
  25. Server: WildFly/10
  26. Pragma: no-cache
  27. Date: Thu, 17 Mar 2016 18:01:59 GMT
  28. X-Total-Count: 2
  29. Connection: keep-alive
  30. Content-Type: application/json
  31. Content-Length: 954
  32. Link: <http://192.168.1.26:8080/hawkular/inventory/test/resources>; rel="current"
  33.  
  34. [ {
  35. "path" : "/t;24a61972-aafd-4e26-8b9e-045e4b974efa/e;test/r;c5aa364444f57574df88ba42add3ba81",
  36. "type" : {
  37. "path" : "/t;24a61972-aafd-4e26-8b9e-045e4b974efa/rt;URL",
  38. "id" : "URL"
  39. },
  40. "properties" : {
  41. "hwk-gui-domainSort" : "anuj-garg.com",
  42. "trait-collected-on" : 1458237707001,
  43. "created" : 1458234851030,
  44. "url" : "http://anuj-garg.com"
  45. },
  46. "id" : "c5aa364444f57574df88ba42add3ba81"
  47. }, {
  48. "path" : "/t;24a61972-aafd-4e26-8b9e-045e4b974efa/e;test/r;3280c890e5d544c5be78c8284e40291e",
  49. "type" : {
  50. "path" : "/t;24a61972-aafd-4e26-8b9e-045e4b974efa/rt;URL",
  51. "id" : "URL"
  52. },
  53. "properties" : {
  54. "trait-collected-on" : 1458237702310,
  55. "trait-powered-by" : "Microsoft-IIS/7.5, ASP.NET/4.0.30319",
  56. "created" : 1458234862135,
  57. "hwk-gui-domainSort" : "anujgarg.space",
  58. "trait-remote-address" : "184.168.221.62",
  59. "url" : "http://anujgarg.space"
  60. },
  61. "id" : "3280c890e5d544c5be78c8284e40291e"
  62. } ]
Add Comment
Please, Sign In to add comment