Permalink
Browse files

Add auth endpoints to configuration

[changelog:added]
  • Loading branch information...
cdupuis committed Nov 30, 2018
1 parent 8d6b31b commit 1680df8c434ffff350b3cb4a62a9c985e9dbf282
Showing with 3 additions and 0 deletions.
  1. +2 −0 lib/configuration.ts
  2. +1 −0 test/configuration.test.ts
@@ -173,6 +173,7 @@ export interface AutomationOptions extends AnyOptions {
endpoints?: {
graphql?: string;
api?: string;
auth?: string;
};
/**
* Post-processors can be used to modify the configuration after
@@ -928,6 +929,7 @@ export const LocalDefaultConfiguration: Configuration = {
endpoints: {
api: "https://automation.atomist.com/registration",
graphql: "https://automation.atomist.com/graphql/team",
auth: "https://api.atomist.com/v2/auth",
},
http: {
enabled: true,
@@ -58,6 +58,7 @@ describe("configuration", () => {
endpoints: {
api: "https://automation.atomist.com/registration",
graphql: "https://automation.atomist.com/graphql/team",
auth: "https://api.atomist.com/v2/auth",
},
http: {
enabled: true,

0 comments on commit 1680df8

Please sign in to comment.