diff --git a/src/app/app-config.service.ts b/src/app/app-config.service.ts index 3f015ac4..610394a4 100644 --- a/src/app/app-config.service.ts +++ b/src/app/app-config.service.ts @@ -19,7 +19,7 @@ export interface AppConfig { logoBanner: string | null; logoWidth?: string; retrieveToEmail: RetrieveDestinations | undefined; - lbBaseURL: string | null; + lbBaseUrl: string | null; } export class RetrieveDestinations { @@ -33,7 +33,7 @@ export class RetrieveDestinations { export class AppConfigService { private appConfig: object = {}; - constructor(private http: HttpClient) {} + constructor(private http: HttpClient) { } async loadAppConfig(): Promise { try { diff --git a/src/app/app.component.spec.ts b/src/app/app.component.spec.ts index a9aa8f47..b67b5bca 100644 --- a/src/app/app.component.spec.ts +++ b/src/app/app.component.spec.ts @@ -42,7 +42,7 @@ describe("AppComponent", () => { const app = fixture.componentInstance; fixture.detectChanges(); expect(app.config.scicatBaseUrl).toEqual("https://scicat.esss.se"); - expect(app.config.lbBaseURL).toEqual("https://scicat.esss.se/api"); + expect(app.config.lbBaseUrl).toEqual("https://scicat.esss.se/api"); expect(LoopBackConfig.getPath()).toEqual("https://scicat.esss.se/api"); })); }); diff --git a/src/app/app.component.ts b/src/app/app.component.ts index b6c5a435..b95aaf26 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -33,7 +33,7 @@ export class AppComponent implements OnInit { } ngOnInit() { - LoopBackConfig.setBaseURL(this.config.lbBaseURL); + LoopBackConfig.setBaseURL(this.config.lbBaseUrl); console.log("API Path: ", LoopBackConfig.getPath()); console.log("API Version: ", LoopBackConfig.getApiVersion()); } diff --git a/src/app/shared/MockStubs.ts b/src/app/shared/MockStubs.ts index 13541acb..9eff6dc7 100644 --- a/src/app/shared/MockStubs.ts +++ b/src/app/shared/MockStubs.ts @@ -93,12 +93,12 @@ export class MockDialog { } export class MockMatDialogRef { - close() {} + close() { } - updateSize() {} + updateSize() { } } -export class MockMatDialogData {} +export class MockMatDialogData { } @Injectable() export class MockAppConfigService extends AppConfigService { @@ -111,7 +111,7 @@ export class MockAppConfigService extends AppConfigService { accessInstructions: "Instructions: Login with brightness username and password", scicatBaseUrl: "https://scicat.esss.se", - lbBaseURL: "https://scicat.esss.se/api", + lbBaseUrl: "https://scicat.esss.se/api", retrieveToEmail: { option: "URLs", username: "lp_service", @@ -123,7 +123,7 @@ export class MockAppConfigService extends AppConfigService { logoBanner: "", }; - async loadAppConfig(): Promise {} + async loadAppConfig(): Promise { } getConfig(): AppConfig { return this.testConfig as AppConfig; diff --git a/src/environments/environment.development.ts b/src/environments/environment.development.ts index b0a01f66..b78da1a8 100644 --- a/src/environments/environment.development.ts +++ b/src/environments/environment.development.ts @@ -11,7 +11,7 @@ export const environment = { directMongoAccess: false, doiBaseUrl: "https://doi.org/", facility: "psi", - lbBaseURL: "https://doi2.psi.ch:3001", + lbBaseUrl: "https://doi2.psi.ch:3001", oaiProviderRoute: "https://doi2.psi.ch/oaipmh/Publication", production: true, scicatBaseUrl: null, diff --git a/src/environments/environment.dmsc.ts b/src/environments/environment.dmsc.ts index 9f917f44..298629d4 100644 --- a/src/environments/environment.dmsc.ts +++ b/src/environments/environment.dmsc.ts @@ -9,7 +9,7 @@ export const environment = { directMongoAccess: true, doiBaseUrl: "https://doi.org/", facility: "ess", - lbBaseURL: "https://kubetest02.dm.esss.dk:32223", + lbBaseUrl: "https://kubetest02.dm.esss.dk:32223", oaiProviderRoute: null, production: false, scicatBaseUrl: "https://scicat.esss.se", diff --git a/src/environments/environment.dmscdev.ts b/src/environments/environment.dmscdev.ts index d1cd2df0..6affaf28 100644 --- a/src/environments/environment.dmscdev.ts +++ b/src/environments/environment.dmscdev.ts @@ -9,7 +9,7 @@ export const environment = { directMongoAccess: true, doiBaseUrl: "https://doi.org/", facility: "ess", - lbBaseURL: "https://catamelservice.esss.dk:30003", + lbBaseUrl: "https://catamelservice.esss.dk:30003", oaiProviderRoute: null, production: false, scicatBaseUrl: "https://scicat.esss.se", diff --git a/src/environments/environment.dmscprod.ts b/src/environments/environment.dmscprod.ts index 00b396c6..15b09aa2 100644 --- a/src/environments/environment.dmscprod.ts +++ b/src/environments/environment.dmscprod.ts @@ -9,7 +9,7 @@ export const environment = { directMongoAccess: true, doiBaseUrl: "https://doi.org/", facility: "ess", - lbBaseURL: "https://scicatapi.esss.dk", + lbBaseUrl: "https://scicatapi.esss.dk", oaiProviderRoute: null, production: true, scicatBaseUrl: "https://scicat.esss.se", diff --git a/src/environments/environment.docker.ts b/src/environments/environment.docker.ts index 51c23480..5fd105c0 100644 --- a/src/environments/environment.docker.ts +++ b/src/environments/environment.docker.ts @@ -10,7 +10,7 @@ export const environment = { directMongoAccess: true, doiBaseUrl: "https://doi.org/", facility: "ess", - lbBaseURL: "http://127.0.0.1:3000", + lbBaseUrl: "http://127.0.0.1:3000", oaiProviderRoute: null, production: false, scicatBaseUrl: "https://scicat.esss.se", diff --git a/src/environments/environment.essdev.ts b/src/environments/environment.essdev.ts index 384518f2..80ad8c8a 100644 --- a/src/environments/environment.essdev.ts +++ b/src/environments/environment.essdev.ts @@ -9,7 +9,7 @@ export const environment = { directMongoAccess: true, doiBaseUrl: "https://doi.org/", facility: "ess", - lbBaseURL: "https://scitest.esss.lu.se", + lbBaseUrl: "https://scitest.esss.lu.se", oaiProviderRoute: null, production: false, scicatBaseUrl: "https://scitest.esss.lu.se", diff --git a/src/environments/environment.essprod.ts b/src/environments/environment.essprod.ts index 014a4ee2..ba31b328 100644 --- a/src/environments/environment.essprod.ts +++ b/src/environments/environment.essprod.ts @@ -9,7 +9,7 @@ export const environment = { directMongoAccess: true, doiBaseUrl: "https://doi.org/", facility: "ess", - lbBaseURL: "https://scicat.ess.eu", + lbBaseUrl: "https://scicat.ess.eu", oaiProviderRoute: null, production: true, scicatBaseUrl: "https://scicat.ess.eu", diff --git a/src/environments/environment.maxivdemo.ts b/src/environments/environment.maxivdemo.ts index fc2da1ea..a1892d52 100644 --- a/src/environments/environment.maxivdemo.ts +++ b/src/environments/environment.maxivdemo.ts @@ -9,7 +9,7 @@ export const environment = { directMongoAccess: true, doiBaseUrl: "https://doi.org/", facility: "maxiv", - lbBaseURL: "https://scicat-demo.maxiv.lu.se", + lbBaseUrl: "https://scicat-demo.maxiv.lu.se", oaiProviderRoute: null, production: true, scicatBaseUrl: "https://scicat-demo.maxiv.lu.se", diff --git a/src/environments/environment.maxivdev.ts b/src/environments/environment.maxivdev.ts index f32052b2..e8663f49 100644 --- a/src/environments/environment.maxivdev.ts +++ b/src/environments/environment.maxivdev.ts @@ -9,7 +9,7 @@ export const environment = { directMongoAccess: true, doiBaseUrl: "https://doi.org/", facility: "maxiv", - lbBaseURL: "https://scicat-test.maxiv.lu.se", + lbBaseUrl: "https://scicat-test.maxiv.lu.se", oaiProviderRoute: null, production: true, scicatBaseUrl: "https://scicat-test.maxiv.lu.se", diff --git a/src/environments/environment.maxivprod.ts b/src/environments/environment.maxivprod.ts index 231b72f2..aca17740 100644 --- a/src/environments/environment.maxivprod.ts +++ b/src/environments/environment.maxivprod.ts @@ -9,7 +9,7 @@ export const environment = { directMongoAccess: true, doiBaseUrl: "https://doi.org/", facility: "maxiv", - lbBaseURL: "https://scicat.maxiv.lu.se", + lbBaseUrl: "https://scicat.maxiv.lu.se", oaiProviderRoute: null, production: true, scicatBaseUrl: "https://scicat.maxiv.lu.se", diff --git a/src/environments/environment.prod.ts b/src/environments/environment.prod.ts index d9305295..583078af 100644 --- a/src/environments/environment.prod.ts +++ b/src/environments/environment.prod.ts @@ -6,7 +6,7 @@ export const environment = { directMongoAccess: false, doiBaseUrl: "https://doi.org/", facility: "psi", - lbBaseURL: "https://doi.psi.ch:3001", + lbBaseUrl: "https://doi.psi.ch:3001", oaiProviderRoute: "https://doi.psi.ch/oaipmh/Publication", production: true, scicatBaseUrl: null, diff --git a/src/environments/environment.qa.ts b/src/environments/environment.qa.ts index e6e81332..0bbc8502 100644 --- a/src/environments/environment.qa.ts +++ b/src/environments/environment.qa.ts @@ -4,7 +4,7 @@ export const environment = { directMongoAccess: false, doiBaseUrl: "https://doi.org/", facility: "PSI", - lbBaseURL: "https://dacat-qa.psi.ch", + lbBaseUrl: "https://dacat-qa.psi.ch", oaiProviderRoute: null, production: true, scicatBaseUrl: null, diff --git a/src/environments/environment.ts b/src/environments/environment.ts index c2c813ca..c2c12771 100644 --- a/src/environments/environment.ts +++ b/src/environments/environment.ts @@ -9,7 +9,7 @@ export const environment = { directMongoAccess: true, doiBaseUrl: "https://doi.org/", facility: "ess", - lbBaseURL: "http://localhost:3000", + lbBaseUrl: "http://localhost:3000", oaiProviderRoute: "http://127.0.0.1:3001", production: false, scicatBaseUrl: "https://scicat.esss.se",