Advertisement
Guest User

Untitled

a guest
Nov 22nd, 2019
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.93 KB | None | 0 0
  1. # logger-service
  2.  
  3. ### 1.4.0
  4.  
  5. ## Deployment Steps
  6.  
  7. ### 1. Setup Consul Variables
  8.  
  9. The following environment variables need to be set in consul at the project path `appconfig/${VAMF_ENVIRONMENT}/logger-service/v1`
  10.  
  11. * `ENABLE_APPDYNAMICS=true`
  12. * `APPDYNAMICS_AGENT_APPLICATION_NAME=logger-service-v1`
  13. * `APPDYNAMICS_NODE_NAME_PREFIX=MAE-devint`
  14. * `JWT_PUBLIC_KEY:` *# The public key for verifying JWTs*
  15.  
  16. ### 2. Setup Vault Variables
  17.  
  18. There is no vault configuration for logger-service
  19.  
  20. ### 3. Register in API Gateway
  21.  
  22. This service needs to be registered with the **both** the Staff **and** Veteran ApiGateways
  23.  
  24. ```
  25. {
  26. "location": "/log/v1/",
  27. "service": "logger-service-v1.ckm",
  28. "redirect": "off",
  29. "request_headers": "on",
  30. "headers": {
  31. "X-Real-IP": "$remote_addr",
  32. "X-Forwarded-For": "$proxy_add_x_forwarded_for",
  33. "X-Forwarded-Server": "$http_host",
  34. "X-Forwarded-Host": "$http_host"
  35. }
  36. }
  37. ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement