Skip to content

Instantly share code, notes, and snippets.

@patrickleet
Created February 9, 2018 16:08
Show Gist options
  • 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
[email protected] | debug: [EG:gateway] Initiating Event Bus
[email protected] | info: [EG:config] Registered schema for users model.
[email protected] | debug: [EG:config] REDIS_HOST replaced in configuration file
[email protected] | debug: [EG:config] REDIS_PORT replaced in configuration file
[email protected] | info: [EG:config] Registered schema for credentials model.
[email protected] | info: [EG:config] Registered schema for applications model.
[email protected] | debug: [EG:config] ConfigPath: /usr/src/service/config/system.config.yml
[email protected] | debug: [EG:config] GATEWAY_URL replaced in configuration file
[email protected] | debug: [EG:config] GRAPHQL_URL replaced in configuration file
[email protected] | debug: [EG:config] ConfigPath: /usr/src/service/config/gateway.config.yml
[email protected] | debug: [EG:plugins] Loading plugins. Plugin engine version: 1.2.0
[email protected] | debug: [EG:plugins] Loading plugin express-gateway-plugin-rewrite
[email protected] | warn: [EG:gateway] rewrite plugin hasn't provided a schema. Validation for this plugin will be skipped.
[email protected] | info: [EG:plugins] Loaded plugin rewrite using from package express-gateway-plugin-rewrite
[email protected] | debug: [EG:gateway] registering policy rewrite
[email protected] | 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
[email protected] | 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
[email protected] | 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
[email protected] | Warning: connect.session() MemoryStore is not
[email protected] | designed for a production environment, as it will leak
[email protected] | memory, and will not scale past a single process.
[email protected] | debug: [EG:gateway] registering condition pathmatch
[email protected] | debug: [EG:gateway] registering condition regexpmatch
[email protected] | info: [EG:gateway] processing pipeline graphql
[email protected] | debug: [EG:gateway] loading apiEndpoints {"graphql":{"host":"api.brewgorithm.com","paths":["/v1/graphql"]}}
[email protected] | debug: [EG:gateway] processing host: api.brewgorithm.com, isRegex: false
[email protected] | debug: [EG:gateway] adding route to host: api.brewgorithm.com, {"apiEndpointName":"graphql","host":"api.brewgorithm.com","paths":["/v1/graphql"]}
[email protected] | debug: [EG:gateway] processing vhost api.brewgorithm.com [{"apiEndpointName":"graphql","host":"api.brewgorithm.com","paths":["/v1/graphql"]}]
[email protected] | debug: [EG:gateway] mounting routes for apiEndpointName graphql, mount /v1/graphql
[email protected] | debug: [EG:gateway] executing pipeline for api graphql, mounted at /v1/graphql
[email protected] | debug: [EG:gateway] no methods specified. handle all mode.
[email protected] | gateway http server listening on :::8080
[email protected] | admin http server listening on 127.0.0.1:9876
[email protected] | debug: [EG:db] Redis is ready
[email protected] | debug: [EG:gateway] request matched condition for action { message: 'pre-auth GRAPHQL REQUEST: ${req.method} ${req.originalUrl}',
[email protected] | getCommonAuthCallback: [Function] } in policy log
[email protected] | info: [EG:log-policy] pre-auth GRAPHQL REQUEST: GET /v1/graphql
[email protected] | debug: [EG:gateway] request matched condition for action undefined in policy key-auth
[email protected] | debug: [EG:policy] matchEGCondition for name=regexpmatch, match=^/v1/graphql(.*)$
[email protected] | debug: [EG:gateway] request matched condition for action { rewrite: '/$1', getCommonAuthCallback: [Function] } in policy rewrite
[email protected] | debug: [EG:gateway] request matched condition for action { message: 'GRAPHQL REQUEST: ${req.method} ${req.originalUrl}',
[email protected] | getCommonAuthCallback: [Function] } in policy log
[email protected] | info: [EG:log-policy] GRAPHQL REQUEST: GET /v1/graphql
[email protected] | debug: [EG:gateway] request matched condition for action { serviceEndpoint: 'graphql',
[email protected] | getCommonAuthCallback: [Function],
[email protected] | changeOrigin: true,
[email protected] | strategy: 'round-robin' } in policy proxy
[email protected] | debug: [EG:gateway] proxying to http://graphql_service:3000/, GET /
[email protected] | debug: [EG:gateway] request matched condition for action { message: 'pre-auth GRAPHQL REQUEST: ${req.method} ${req.originalUrl}',
[email protected] | getCommonAuthCallback: [Function] } in policy log
[email protected] | info: [EG:log-policy] pre-auth GRAPHQL REQUEST: GET /v1/graphql
[email protected] | debug: [EG:gateway] request matched condition for action undefined in policy key-auth
[email protected] | debug: [EG:policy] matchEGCondition for name=regexpmatch, match=^/v1/graphql(.*)$
[email protected] | debug: [EG:gateway] request matched condition for action { rewrite: '/$1', getCommonAuthCallback: [Function] } in policy rewrite
[email protected] | debug: [EG:gateway] request matched condition for action { message: 'GRAPHQL REQUEST: ${req.method} ${req.originalUrl}',
[email protected] | getCommonAuthCallback: [Function] } in policy log
[email protected] | info: [EG:log-policy] GRAPHQL REQUEST: GET /v1/graphql
[email protected] | debug: [EG:gateway] request matched condition for action { serviceEndpoint: 'graphql',
[email protected] | getCommonAuthCallback: [Function],
[email protected] | changeOrigin: true,
[email protected] | strategy: 'round-robin' } in policy proxy
[email protected] | debug: [EG:gateway] proxying to http://graphql_service:3000/, GET /
[email protected] | debug: [EG:gateway] request matched condition for action { message: 'pre-auth GRAPHQL REQUEST: ${req.method} ${req.originalUrl}',
[email protected] | getCommonAuthCallback: [Function] } in policy log
[email protected] | debug: [EG:gateway] request matched condition for action undefined in policy key-auth
[email protected] | debug: [EG:policy] matchEGCondition for name=regexpmatch, match=^/v1/graphql(.*)$
[email protected] | debug: [EG:gateway] request matched condition for action { rewrite: '/$1', getCommonAuthCallback: [Function] } in policy rewrite
[email protected] | debug: [EG:gateway] request matched condition for action { message: 'GRAPHQL REQUEST: ${req.method} ${req.originalUrl}',
[email protected] | getCommonAuthCallback: [Function] } in policy log
[email protected] | debug: [EG:gateway] request matched condition for action { serviceEndpoint: 'graphql',
[email protected] | getCommonAuthCallback: [Function],
[email protected] | changeOrigin: true,
[email protected] | strategy: 'round-robin' } in policy proxy
[email protected] | debug: [EG:gateway] proxying to http://graphql_service:3000/, GET /
[email protected] | info: [EG:log-policy] pre-auth GRAPHQL REQUEST: GET /v1/graphql
[email protected] | info: [EG:log-policy] GRAPHQL REQUEST: GET /v1/graphql
[email protected] | debug: [EG:gateway] request matched condition for action { message: 'pre-auth GRAPHQL REQUEST: ${req.method} ${req.originalUrl}',
[email protected] | getCommonAuthCallback: [Function] } in policy log
[email protected] | info: [EG:log-policy] pre-auth GRAPHQL REQUEST: GET /v1/graphql
[email protected] | info: [EG:log-policy] GRAPHQL REQUEST: GET /v1/graphql
[email protected] | debug: [EG:gateway] request matched condition for action undefined in policy key-auth
[email protected] | debug: [EG:policy] matchEGCondition for name=regexpmatch, match=^/v1/graphql(.*)$
[email protected] | debug: [EG:gateway] request matched condition for action { rewrite: '/$1', getCommonAuthCallback: [Function] } in policy rewrite
[email protected] | debug: [EG:gateway] request matched condition for action { message: 'GRAPHQL REQUEST: ${req.method} ${req.originalUrl}',
[email protected] | getCommonAuthCallback: [Function] } in policy log
[email protected] | debug: [EG:gateway] request matched condition for action { serviceEndpoint: 'graphql',
[email protected] | getCommonAuthCallback: [Function],
[email protected] | changeOrigin: true,
[email protected] | strategy: 'round-robin' } in policy proxy
[email protected] | debug: [EG:gateway] proxying to http://graphql_service:3000/, GET /
[email protected] | debug: [EG:gateway] request matched condition for action { message: 'pre-auth GRAPHQL REQUEST: ${req.method} ${req.originalUrl}',
[email protected] | getCommonAuthCallback: [Function] } in policy log
[email protected] | info: [EG:log-policy] pre-auth GRAPHQL REQUEST: GET /v1/graphql/
[email protected] | info: [EG:log-policy] GRAPHQL REQUEST: GET /v1/graphql/
[email protected] | debug: [EG:gateway] request matched condition for action undefined in policy key-auth
[email protected] | debug: [EG:policy] matchEGCondition for name=regexpmatch, match=^/v1/graphql(.*)$
[email protected] | debug: [EG:gateway] request matched condition for action { rewrite: '/$1', getCommonAuthCallback: [Function] } in policy rewrite
[email protected] | debug: [EG:gateway] request matched condition for action { message: 'GRAPHQL REQUEST: ${req.method} ${req.originalUrl}',
[email protected] | getCommonAuthCallback: [Function] } in policy log
[email protected] | debug: [EG:gateway] request matched condition for action { serviceEndpoint: 'graphql',
[email protected] | getCommonAuthCallback: [Function],
[email protected] | changeOrigin: true,
[email protected] | strategy: 'round-robin' } in policy proxy
[email protected] | 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