Advertisement
vaidyasm

fastboot-cli issue#2 curl command responses

Apr 11th, 2017
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.42 KB | None | 0 0
  1. # docker-compose up -d
  2. Creating fastscore_connect_1
  3. Creating fastscore_engine-1_1
  4. Creating fastscore_dashboard_1
  5. Creating fastscore_database_1
  6. Creating fastscore_model-manage_1
  7.  
  8. # docker ps
  9. CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
  10. 0f6baf57cbd6 fastscore/model-manage:1.4 "/bin/sh -c 'bin/m..." About a minute ago Up About a minute fastscore_model-manage_1
  11. 362dbc70cfb9 fastscore/dashboard:1.4 "npm run start-fds" About a minute ago Up About a minute fastscore_dashboard_1
  12. ba731a499647 fastscore/engine-x:1.4 "/bin/sh -c bin/en..." About a minute ago Up About a minute fastscore_engine-1_1
  13. 53622213405a fastscore/model-manage-mysql:1.4 "/bin/sh -c '/sbin..." About a minute ago Up About a minute fastscore_database_1
  14. ffbe3b557596 fastscore/connect:1.4 "/bin/sh -c 'bin/c..." About a minute ago Up About a minute fastscore_connect_1
  15.  
  16. # fastscore connect https://localhost:8000
  17. Proxy prefix set
  18.  
  19. # fastscore config set config.yaml
  20. Configuration set
  21.  
  22. # fastscore fleet
  23. Name API Health
  24. -------------- ------------ --------
  25. engine-x-1 engine-x ok
  26. model-manage-1 model-manage ok
  27.  
  28.  
  29. # curl -i -k https://localhost:8001/1/config
  30. HTTP/1.1 200 OK
  31. server: Cowboy
  32. date: Wed, 12 Apr 2017 04:16:18 GMT
  33. content-length: 395
  34. content-type: application/x-yaml
  35. vary: accept
  36.  
  37.  
  38. "fastscore":
  39. "db":
  40. "host": "localhost"
  41. "password": "root"
  42. "port": 3306
  43. "type": "mysql"
  44. "username": "root"
  45. "fleet":
  46. -
  47. "api": "model-manage"
  48. "host": "localhost"
  49. "port": 8002
  50. -
  51. "api": "engine-x"
  52. "host": "localhost"
  53. "port": 8003
  54. "pneumo":
  55. "bootstrap":
  56. - "localhost:9092"
  57. "topic": "notify"
  58. "type": "kafka"
  59.  
  60. # curl -i -k https://localhost:8002/1/health
  61. HTTP/1.1 200 OK
  62. server: Cowboy
  63. date: Wed, 12 Apr 2017 04:16:34 GMT
  64. content-length: 103
  65. content-type: application/json
  66.  
  67. {"release":"1.4","id":"f09573b2-8cfc-405f-a06d-5c772f2ddd60","built_on":"Mon Mar 27 15:38:21 UTC 2017"}
  68.  
  69.  
  70. # curl -i -k https://localhost:8002/1/model
  71.  
  72. <<<<< this command hasn't completed and has been running for last 15 mins. >>>>>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement