[master | CHAMGED]: Change login service properties with the new ones.

This commit is contained in:
Konstantinos Triantafyllou 2024-01-07 01:43:04 +02:00
parent 7dd41ad40c
commit 26250ede6a
6 changed files with 13 additions and 16 deletions

View File

@ -4,7 +4,7 @@ import {properties} from "../../../environments/environment";
@Component({
selector: 'openaire-claims-admin',
template: `
<claims-admin *ngIf="claimsInfoURL && userInfoURL" [claimsInfoURL]=claimsInfoURL [userInfoURL]="userInfoURL">
<claims-admin *ngIf="claimsInfoURL && userInfoURL" [claimsInfoURL]="claimsInfoURL">
</claims-admin>
`,
})
@ -17,6 +17,5 @@ export class OpenaireClaimsAdminComponent implements OnInit {
public ngOnInit() {
this.claimsInfoURL = properties.claimsInformationLink;
this.userInfoURL = properties.userInfoUrl;
}
}

View File

@ -5,7 +5,7 @@ import {properties} from "../../../environments/environment";
@Component({
selector: 'openaire-my-claims',
template: `
<my-claims *ngIf="userInfoURL && claimsInfoURL" [claimsInfoURL]=claimsInfoURL [userInfoURL]="userInfoURL">
<my-claims *ngIf="userInfoURL && claimsInfoURL" [claimsInfoURL]="claimsInfoURL">
</my-claims>
`
@ -19,6 +19,5 @@ export class OpenaireMyClaimsComponent implements OnInit {
public ngOnInit() {
this.claimsInfoURL = properties.claimsInformationLink;
this.userInfoURL = properties.userInfoUrl;
}
}

@ -1 +1 @@
Subproject commit abaa7764b941aeafc04051c2de5f10c8ff55b667
Subproject commit bc4e30c3f2dc0294cec798252c5c040fe3e377e3

View File

@ -12,9 +12,7 @@ let props: EnvProperties = {
logServiceUrl: "https://beta.oamonitor.ireland.openaire.eu/",
logFilesPath: "/srv/nodejs/irish-monitor-action-logs/",
myClaimsLink:"/participate/myclaims",
loginUrl: ["https://beta.services.openaire.eu/irish-monitor-service/openid_connect_login", <string>commonBeta.loginUrl],
userInfoUrl: "https://beta.services.openaire.eu/irish-monitor-service/userInfo",
logoutUrl: ["https://beta.services.openaire.eu/irish-monitor-service/openid_logout", <string>commonBeta.logoutUrl],
loginServiceURL: ["https://beta.services.openaire.eu/irish-monitor-service/", <string>commonBeta.loginServiceURL],
afterLoginRedirectLink: "/user-policy",
admins: ['oamonitor.ireland@openaire.eu'],
useHelpTexts: false

View File

@ -1,5 +1,10 @@
import {EnvProperties} from "../app/openaireLibrary/utils/properties/env-properties";
import {common, commonDev, commonProd} from "../app/openaireLibrary/utils/properties/environments/environment";
import {
common,
commonBeta,
commonDev,
commonProd
} from "../app/openaireLibrary/utils/properties/environments/environment";
let props: EnvProperties = {
monitorServiceAPIURL: "https://services.openaire.eu/irish-monitor-service/",
@ -12,9 +17,7 @@ let props: EnvProperties = {
logServiceUrl: "https://oamonitor.ireland.openaire.eu/",
logFilesPath: "/srv/static/nodejs/irish-monitor-action-logs/",
myClaimsLink:"/participate/myclaims",
loginUrl: ["https://services.openaire.eu/irish-monitor-service/openid_connect_login", <string>commonProd.loginUrl],
userInfoUrl: "https://services.openaire.eu/irish-monitor-service/userInfo",
logoutUrl: ["https://services.openaire.eu/irish-monitor-service/openid_logout", <string>commonProd.logoutUrl],
loginServiceURL: ["https://services.openaire.eu/irish-monitor-service/", <string>commonProd.loginServiceURL],
afterLoginRedirectLink: "/user-policy",
admins: ['oamonitor.ireland@openaire.eu'],
useHelpTexts: false

View File

@ -14,7 +14,7 @@ let props: EnvProperties = {
piwikSiteId: "407",
enablePiwikTrack:false,
piwikBaseUrl: 'https://beta.analytics.openaire.eu/piwik.php?idsite=',
disableFrameLoad: false,
disableFrameLoad: true,
adminToolsPortalType: 'irish',
adminToolsCommunity: 'irish',
domain: "http://mpagasas.di.uoa.gr:5500",
@ -22,9 +22,7 @@ let props: EnvProperties = {
logServiceUrl: "http://scoobydoo.di.uoa.gr:4200/",
logFilesPath: "/var/log/irish-log/",
myClaimsLink:"/participate/myclaims",
loginUrl: ["http://duffy.di.uoa.gr:19780/irish-monitor-service/openid_connect_login", <string>commonDev.loginUrl],
userInfoUrl: "http://duffy.di.uoa.gr:19780/irish-monitor-service/userInfo",
logoutUrl: ["http://duffy.di.uoa.gr:19780/irish-monitor-service/openid_logout", <string>commonDev.logoutUrl],
loginServiceURL: ["http://duffy.di.uoa.gr:19780/irish-monitor-service/", <string>commonDev.loginServiceURL],
afterLoginRedirectLink: "/user-policy",
useHelpTexts: false
}