Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@patrickleet
Created February 9, 2018 16:08
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 patrickleet/d9ffdb3a2f847ebd7cd25133a039e572 to your computer and use it in GitHub Desktop.
Save patrickleet/d9ffdb3a2f847ebd7cd25133a039e572 to your computer and use it in GitHub Desktop.
~ $ docker service logs svtifpxlbxye
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | debug: [EG:gateway] Initiating Event Bus
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | info: [EG:config] Registered schema for users model.
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | debug: [EG:config] REDIS_HOST replaced in configuration file
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | debug: [EG:config] REDIS_PORT replaced in configuration file
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | info: [EG:config] Registered schema for credentials model.
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | info: [EG:config] Registered schema for applications model.
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | debug: [EG:config] ConfigPath: /usr/src/service/config/system.config.yml
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | debug: [EG:config] GATEWAY_URL replaced in configuration file
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | debug: [EG:config] GRAPHQL_URL replaced in configuration file
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | debug: [EG:config] ConfigPath: /usr/src/service/config/gateway.config.yml
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | debug: [EG:plugins] Loading plugins. Plugin engine version: 1.2.0
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | debug: [EG:plugins] Loading plugin express-gateway-plugin-rewrite
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | warn: [EG:gateway] rewrite plugin hasn't provided a schema. Validation for this plugin will be skipped.
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | info: [EG:plugins] Loaded plugin rewrite using from package express-gateway-plugin-rewrite
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | debug: [EG:gateway] registering policy rewrite
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | Thu, 08 Feb 2018 22:45:24 GMT express-session deprecated undefined resave option; provide resave option at node_modules/express-gateway/lib/policies/oauth2/oauth2-routes.js:27:5
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | Thu, 08 Feb 2018 22:45:24 GMT express-session deprecated undefined saveUninitialized option; provide saveUninitialized option at node_modules/express-gateway/lib/policies/oauth2/oauth2-routes.js:27:5
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | Thu, 08 Feb 2018 22:45:24 GMT express-session deprecated req.secret; provide secret option at node_modules/express-gateway/lib/policies/oauth2/oauth2-routes.js:27:5
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | Warning: connect.session() MemoryStore is not
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | designed for a production environment, as it will leak
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | memory, and will not scale past a single process.
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | debug: [EG:gateway] registering condition pathmatch
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | debug: [EG:gateway] registering condition regexpmatch
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | info: [EG:gateway] processing pipeline graphql
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | debug: [EG:gateway] loading apiEndpoints {"graphql":{"host":"api.brewgorithm.com","paths":["/v1/graphql"]}}
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | debug: [EG:gateway] processing host: api.brewgorithm.com, isRegex: false
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | debug: [EG:gateway] adding route to host: api.brewgorithm.com, {"apiEndpointName":"graphql","host":"api.brewgorithm.com","paths":["/v1/graphql"]}
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | debug: [EG:gateway] processing vhost api.brewgorithm.com [{"apiEndpointName":"graphql","host":"api.brewgorithm.com","paths":["/v1/graphql"]}]
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | debug: [EG:gateway] mounting routes for apiEndpointName graphql, mount /v1/graphql
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | debug: [EG:gateway] executing pipeline for api graphql, mounted at /v1/graphql
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | debug: [EG:gateway] no methods specified. handle all mode.
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | gateway http server listening on :::8080
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | admin http server listening on 127.0.0.1:9876
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | debug: [EG:db] Redis is ready
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | debug: [EG:gateway] request matched condition for action { message: 'pre-auth GRAPHQL REQUEST: ${req.method} ${req.originalUrl}',
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | getCommonAuthCallback: [Function] } in policy log
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | info: [EG:log-policy] pre-auth GRAPHQL REQUEST: GET /v1/graphql
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | debug: [EG:gateway] request matched condition for action undefined in policy key-auth
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | debug: [EG:policy] matchEGCondition for name=regexpmatch, match=^/v1/graphql(.*)$
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | debug: [EG:gateway] request matched condition for action { rewrite: '/$1', getCommonAuthCallback: [Function] } in policy rewrite
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | debug: [EG:gateway] request matched condition for action { message: 'GRAPHQL REQUEST: ${req.method} ${req.originalUrl}',
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | getCommonAuthCallback: [Function] } in policy log
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | info: [EG:log-policy] GRAPHQL REQUEST: GET /v1/graphql
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | debug: [EG:gateway] request matched condition for action { serviceEndpoint: 'graphql',
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | getCommonAuthCallback: [Function],
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | changeOrigin: true,
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | strategy: 'round-robin' } in policy proxy
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | debug: [EG:gateway] proxying to http://graphql_service:3000/, GET /
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | debug: [EG:gateway] request matched condition for action { message: 'pre-auth GRAPHQL REQUEST: ${req.method} ${req.originalUrl}',
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | getCommonAuthCallback: [Function] } in policy log
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | info: [EG:log-policy] pre-auth GRAPHQL REQUEST: GET /v1/graphql
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | debug: [EG:gateway] request matched condition for action undefined in policy key-auth
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | debug: [EG:policy] matchEGCondition for name=regexpmatch, match=^/v1/graphql(.*)$
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | debug: [EG:gateway] request matched condition for action { rewrite: '/$1', getCommonAuthCallback: [Function] } in policy rewrite
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | debug: [EG:gateway] request matched condition for action { message: 'GRAPHQL REQUEST: ${req.method} ${req.originalUrl}',
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | getCommonAuthCallback: [Function] } in policy log
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | info: [EG:log-policy] GRAPHQL REQUEST: GET /v1/graphql
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | debug: [EG:gateway] request matched condition for action { serviceEndpoint: 'graphql',
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | getCommonAuthCallback: [Function],
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | changeOrigin: true,
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | strategy: 'round-robin' } in policy proxy
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | debug: [EG:gateway] proxying to http://graphql_service:3000/, GET /
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | debug: [EG:gateway] request matched condition for action { message: 'pre-auth GRAPHQL REQUEST: ${req.method} ${req.originalUrl}',
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | getCommonAuthCallback: [Function] } in policy log
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | debug: [EG:gateway] request matched condition for action undefined in policy key-auth
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | debug: [EG:policy] matchEGCondition for name=regexpmatch, match=^/v1/graphql(.*)$
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | debug: [EG:gateway] request matched condition for action { rewrite: '/$1', getCommonAuthCallback: [Function] } in policy rewrite
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | debug: [EG:gateway] request matched condition for action { message: 'GRAPHQL REQUEST: ${req.method} ${req.originalUrl}',
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | getCommonAuthCallback: [Function] } in policy log
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | debug: [EG:gateway] request matched condition for action { serviceEndpoint: 'graphql',
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | getCommonAuthCallback: [Function],
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | changeOrigin: true,
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | strategy: 'round-robin' } in policy proxy
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | debug: [EG:gateway] proxying to http://graphql_service:3000/, GET /
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | info: [EG:log-policy] pre-auth GRAPHQL REQUEST: GET /v1/graphql
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | info: [EG:log-policy] GRAPHQL REQUEST: GET /v1/graphql
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | debug: [EG:gateway] request matched condition for action { message: 'pre-auth GRAPHQL REQUEST: ${req.method} ${req.originalUrl}',
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | getCommonAuthCallback: [Function] } in policy log
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | info: [EG:log-policy] pre-auth GRAPHQL REQUEST: GET /v1/graphql
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | info: [EG:log-policy] GRAPHQL REQUEST: GET /v1/graphql
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | debug: [EG:gateway] request matched condition for action undefined in policy key-auth
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | debug: [EG:policy] matchEGCondition for name=regexpmatch, match=^/v1/graphql(.*)$
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | debug: [EG:gateway] request matched condition for action { rewrite: '/$1', getCommonAuthCallback: [Function] } in policy rewrite
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | debug: [EG:gateway] request matched condition for action { message: 'GRAPHQL REQUEST: ${req.method} ${req.originalUrl}',
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | getCommonAuthCallback: [Function] } in policy log
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | debug: [EG:gateway] request matched condition for action { serviceEndpoint: 'graphql',
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | getCommonAuthCallback: [Function],
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | changeOrigin: true,
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | strategy: 'round-robin' } in policy proxy
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | debug: [EG:gateway] proxying to http://graphql_service:3000/, GET /
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | debug: [EG:gateway] request matched condition for action { message: 'pre-auth GRAPHQL REQUEST: ${req.method} ${req.originalUrl}',
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | getCommonAuthCallback: [Function] } in policy log
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | info: [EG:log-policy] pre-auth GRAPHQL REQUEST: GET /v1/graphql/
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | info: [EG:log-policy] GRAPHQL REQUEST: GET /v1/graphql/
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | debug: [EG:gateway] request matched condition for action undefined in policy key-auth
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | debug: [EG:policy] matchEGCondition for name=regexpmatch, match=^/v1/graphql(.*)$
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | debug: [EG:gateway] request matched condition for action { rewrite: '/$1', getCommonAuthCallback: [Function] } in policy rewrite
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | debug: [EG:gateway] request matched condition for action { message: 'GRAPHQL REQUEST: ${req.method} ${req.originalUrl}',
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | getCommonAuthCallback: [Function] } in policy log
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | debug: [EG:gateway] request matched condition for action { serviceEndpoint: 'graphql',
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | getCommonAuthCallback: [Function],
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | changeOrigin: true,
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | strategy: 'round-robin' } in policy proxy
api-gateway_gateway.1.svtifpxlbxye@ip-172-31-29-227.ec2.internal | debug: [EG:gateway] proxying to http://graphql_service:3000/, GET //
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment