Change piwik base on the new dynamic piwik.
This commit is contained in:
parent
dc7a9fc66a
commit
cb6d935171
|
@ -134,7 +134,7 @@ export class AppComponent implements OnInit, OnDestroy {
|
||||||
this.subscriptions.push(this.data.subscribe(data => {
|
this.subscriptions.push(this.data.subscribe(data => {
|
||||||
if (data && data.portal) {
|
if (data && data.portal) {
|
||||||
this.setProperties(data.portal);
|
this.setProperties(data.portal);
|
||||||
this.configurationService.initCommunityInformation(this.properties, this.properties.adminToolsCommunity);
|
this.configurationService.initPortal(this.properties, this.properties.adminToolsCommunity);
|
||||||
}
|
}
|
||||||
}));
|
}));
|
||||||
this.subscriptions.push(this.userManagementService.getUserInfo().subscribe(user => {
|
this.subscriptions.push(this.userManagementService.getUserInfo().subscribe(user => {
|
||||||
|
@ -453,6 +453,6 @@ export class AppComponent implements OnInit, OnDestroy {
|
||||||
} else {
|
} else {
|
||||||
ConnectHelper.setPortalTypeFromPid(id);
|
ConnectHelper.setPortalTypeFromPid(id);
|
||||||
}
|
}
|
||||||
this.configurationService.initCommunityInformation(this.properties, this.properties.adminToolsCommunity);
|
this.configurationService.initPortal(this.properties, this.properties.adminToolsCommunity);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,6 +9,7 @@ import {Router} from "@angular/router";
|
||||||
import {StakeholderUtils} from "../utils/indicator-utils";
|
import {StakeholderUtils} from "../utils/indicator-utils";
|
||||||
import {OpenaireEntities} from "../openaireLibrary/utils/properties/searchFields";
|
import {OpenaireEntities} from "../openaireLibrary/utils/properties/searchFields";
|
||||||
import {EnvProperties} from "../openaireLibrary/utils/properties/env-properties";
|
import {EnvProperties} from "../openaireLibrary/utils/properties/env-properties";
|
||||||
|
import {PiwikService} from "../openaireLibrary/utils/piwik/piwik.service";
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'develop',
|
selector: 'develop',
|
||||||
|
@ -132,6 +133,7 @@ export class DevelopComponent implements OnInit, OnDestroy {
|
||||||
constructor(private stakeholderService: StakeholderService,
|
constructor(private stakeholderService: StakeholderService,
|
||||||
private seoService: SEOService,
|
private seoService: SEOService,
|
||||||
private _meta: Meta,
|
private _meta: Meta,
|
||||||
|
private piwikService: PiwikService,
|
||||||
private _router: Router,
|
private _router: Router,
|
||||||
private _title: Title) {
|
private _title: Title) {
|
||||||
}
|
}
|
||||||
|
@ -153,7 +155,7 @@ export class DevelopComponent implements OnInit, OnDestroy {
|
||||||
this._meta.updateTag({content: description}, "property='og:description'");
|
this._meta.updateTag({content: description}, "property='og:description'");
|
||||||
this._meta.updateTag({content: title}, "property='og:title'");
|
this._meta.updateTag({content: title}, "property='og:title'");
|
||||||
this._title.setTitle(title);
|
this._title.setTitle(title);
|
||||||
|
this.subscriptions.push(this.piwikService.trackView(properties, title).subscribe());
|
||||||
/* Initializations */
|
/* Initializations */
|
||||||
this.stakeholderUtils.types.forEach(type => {
|
this.stakeholderUtils.types.forEach(type => {
|
||||||
if (type.value === stakeholder.type) {
|
if (type.value === stakeholder.type) {
|
||||||
|
|
|
@ -45,7 +45,6 @@ import {RangeFilterComponent} from "../openaireLibrary/utils/rangeFilter/rangeFi
|
||||||
export class MonitorComponent implements OnInit, OnDestroy {
|
export class MonitorComponent implements OnInit, OnDestroy {
|
||||||
public user: User;
|
public user: User;
|
||||||
public subscriptions: any[] = [];
|
public subscriptions: any[] = [];
|
||||||
piwikSiteId;
|
|
||||||
title;
|
title;
|
||||||
description;
|
description;
|
||||||
public pageContents = null;
|
public pageContents = null;
|
||||||
|
@ -185,15 +184,7 @@ export class MonitorComponent implements OnInit, OnDestroy {
|
||||||
this._meta.updateTag({content: this.description}, "property='og:description'");
|
this._meta.updateTag({content: this.description}, "property='og:description'");
|
||||||
this._meta.updateTag({content: this.title}, "property='og:title'");
|
this._meta.updateTag({content: this.title}, "property='og:title'");
|
||||||
this._title.setTitle(this.title);
|
this._title.setTitle(this.title);
|
||||||
if (this.properties.enablePiwikTrack && (typeof document !== 'undefined')) {
|
this.subscriptions.push(this._piwikService.trackView(this.properties, this.title).subscribe());
|
||||||
this.subscriptions.push(this.configurationService.communityInformationState.subscribe(portal => {
|
|
||||||
if (portal && portal.piwik) {
|
|
||||||
this.piwikSiteId = portal.piwik;
|
|
||||||
this.subscriptions.push(this._piwikService.trackView(this.properties, this.title, this.piwikSiteId).subscribe());
|
|
||||||
}
|
|
||||||
}));
|
|
||||||
|
|
||||||
}
|
|
||||||
if (this.hasPermission((this.view && this.isManager(this.stakeholder))?this.view:this.stakeholder.visibility)) {
|
if (this.hasPermission((this.view && this.isManager(this.stakeholder))?this.view:this.stakeholder.visibility)) {
|
||||||
//this.getDivContents();
|
//this.getDivContents();
|
||||||
// this.getPageContents();
|
// this.getPageContents();
|
||||||
|
@ -216,11 +207,7 @@ export class MonitorComponent implements OnInit, OnDestroy {
|
||||||
});
|
});
|
||||||
this.subscriptions.push(subscription);
|
this.subscriptions.push(subscription);
|
||||||
} else {
|
} else {
|
||||||
if (this.properties.enablePiwikTrack && (typeof document !== 'undefined')) {
|
this.subscriptions.push(this._piwikService.trackView(this.properties, this.title).subscribe());
|
||||||
if (this.piwikSiteId) {
|
|
||||||
this.subscriptions.push(this._piwikService.trackView(this.properties, this.title, this.piwikSiteId).subscribe());
|
|
||||||
}
|
|
||||||
}
|
|
||||||
this.subscriptions.push(this.route.queryParams.subscribe( queryParams => {
|
this.subscriptions.push(this.route.queryParams.subscribe( queryParams => {
|
||||||
this.handleQueryParams(queryParams, params);
|
this.handleQueryParams(queryParams, params);
|
||||||
}));
|
}));
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 1785da3c45eab2438f014f6e5149c1e995bd7bff
|
Subproject commit 5d6fa99a7310f05942ebded409fc5703b98c823e
|
|
@ -2,22 +2,20 @@ import {Component} from '@angular/core';
|
||||||
import {ActivatedRoute, Router} from "@angular/router";
|
import {ActivatedRoute, Router} from "@angular/router";
|
||||||
import {StakeholderService} from "../../../openaireLibrary/monitor/services/stakeholder.service";
|
import {StakeholderService} from "../../../openaireLibrary/monitor/services/stakeholder.service";
|
||||||
import {Subscriber} from "rxjs";
|
import {Subscriber} from "rxjs";
|
||||||
import {ConfigurationService} from "../../../openaireLibrary/utils/configuration/configuration.service";
|
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'monitor-dataprovider',
|
selector: 'monitor-dataprovider',
|
||||||
template: `
|
template: `
|
||||||
<div id="page_content">
|
<div id="page_content">
|
||||||
<dataprovider *ngIf="initialized" [communityId]="communityId" [piwikSiteId]="piwikSiteId"></dataprovider>
|
<dataprovider *ngIf="initialized" [communityId]="communityId"></dataprovider>
|
||||||
</div>`,
|
</div>`,
|
||||||
})
|
})
|
||||||
export class MonitorDataProviderComponent {
|
export class MonitorDataProviderComponent {
|
||||||
initialized: boolean = false;
|
initialized: boolean = false;
|
||||||
communityId;
|
communityId;
|
||||||
piwikSiteId;
|
|
||||||
constructor(private route: ActivatedRoute,
|
constructor(private route: ActivatedRoute,
|
||||||
private router: Router,
|
private router: Router,
|
||||||
private stakeholderService: StakeholderService, private configurationService: ConfigurationService) {
|
private stakeholderService: StakeholderService) {
|
||||||
}
|
}
|
||||||
subscriptions = [];
|
subscriptions = [];
|
||||||
ngOnDestroy() {
|
ngOnDestroy() {
|
||||||
|
@ -34,11 +32,6 @@ export class MonitorDataProviderComponent {
|
||||||
if (stakeholder) {
|
if (stakeholder) {
|
||||||
this.initialized = true;
|
this.initialized = true;
|
||||||
this.communityId = stakeholder.alias;
|
this.communityId = stakeholder.alias;
|
||||||
this.subscriptions.push(this.configurationService.communityInformationState.subscribe(portal => {
|
|
||||||
if (portal) {
|
|
||||||
this.piwikSiteId = portal.piwik;
|
|
||||||
}
|
|
||||||
}));
|
|
||||||
}
|
}
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,16 +7,15 @@ import {ConfigurationService} from "../../../openaireLibrary/utils/configuration
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'monitor-dataset',
|
selector: 'monitor-dataset',
|
||||||
template: `
|
template: `
|
||||||
<result-landing *ngIf="initialized" type="dataset" [communityId]="communityId" [piwikSiteId]="piwikSiteId"></result-landing>
|
<result-landing *ngIf="initialized" type="dataset" [communityId]="communityId"></result-landing>
|
||||||
`,
|
`,
|
||||||
})
|
})
|
||||||
export class MonitorDatasetComponent {
|
export class MonitorDatasetComponent {
|
||||||
initialized: boolean = false;
|
initialized: boolean = false;
|
||||||
communityId;
|
communityId;
|
||||||
piwikSiteId;
|
|
||||||
constructor(private route: ActivatedRoute,
|
constructor(private route: ActivatedRoute,
|
||||||
private router: Router,
|
private router: Router,
|
||||||
private stakeholderService: StakeholderService, private configurationService: ConfigurationService) {
|
private stakeholderService: StakeholderService) {
|
||||||
}
|
}
|
||||||
subscriptions = [];
|
subscriptions = [];
|
||||||
ngOnDestroy() {
|
ngOnDestroy() {
|
||||||
|
@ -33,11 +32,6 @@ export class MonitorDatasetComponent {
|
||||||
if (stakeholder) {
|
if (stakeholder) {
|
||||||
this.initialized = true;
|
this.initialized = true;
|
||||||
this.communityId = stakeholder.alias;
|
this.communityId = stakeholder.alias;
|
||||||
this.subscriptions.push(this.configurationService.communityInformationState.subscribe(portal => {
|
|
||||||
if (portal) {
|
|
||||||
this.piwikSiteId = portal.piwik;
|
|
||||||
}
|
|
||||||
}));
|
|
||||||
}
|
}
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,18 +7,20 @@ import {ConfigurationService} from "../../../openaireLibrary/utils/configuration
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'monitor-organization',
|
selector: 'monitor-organization',
|
||||||
template: `
|
template: `
|
||||||
<organization *ngIf="initialized" [communityId]="communityId" [piwikSiteId]="piwikSiteId"></organization>
|
<organization *ngIf="initialized" [communityId]="communityId"></organization>
|
||||||
`,
|
`,
|
||||||
})
|
})
|
||||||
export class MonitorOrganizationComponent {
|
export class MonitorOrganizationComponent {
|
||||||
initialized: boolean = false;
|
initialized: boolean = false;
|
||||||
communityId;
|
communityId;
|
||||||
piwikSiteId;
|
|
||||||
constructor(private route: ActivatedRoute,
|
constructor(private route: ActivatedRoute,
|
||||||
private router: Router,
|
private router: Router,
|
||||||
private stakeholderService: StakeholderService, private configurationService: ConfigurationService) {
|
private stakeholderService: StakeholderService) {
|
||||||
}
|
}
|
||||||
|
|
||||||
subscriptions = [];
|
subscriptions = [];
|
||||||
|
|
||||||
ngOnDestroy() {
|
ngOnDestroy() {
|
||||||
this.subscriptions.forEach(subscription => {
|
this.subscriptions.forEach(subscription => {
|
||||||
if (subscription instanceof Subscriber) {
|
if (subscription instanceof Subscriber) {
|
||||||
|
@ -26,6 +28,7 @@ export class MonitorOrganizationComponent {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
this.subscriptions.push(this.route.params.subscribe(params => {
|
this.subscriptions.push(this.route.params.subscribe(params => {
|
||||||
if (params['stakeholder']) {
|
if (params['stakeholder']) {
|
||||||
|
@ -33,11 +36,6 @@ export class MonitorOrganizationComponent {
|
||||||
if (stakeholder) {
|
if (stakeholder) {
|
||||||
this.initialized = true;
|
this.initialized = true;
|
||||||
this.communityId = stakeholder.alias;
|
this.communityId = stakeholder.alias;
|
||||||
this.subscriptions.push(this.configurationService.communityInformationState.subscribe(portal => {
|
|
||||||
if (portal) {
|
|
||||||
this.piwikSiteId = portal.piwik;
|
|
||||||
}
|
|
||||||
}));
|
|
||||||
}
|
}
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,17 +7,17 @@ import {ConfigurationService} from "../../../openaireLibrary/utils/configuration
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'monitor-orp',
|
selector: 'monitor-orp',
|
||||||
template: `
|
template: `
|
||||||
<result-landing *ngIf="initialized" type="orp" [communityId]="communityId" [piwikSiteId]="piwikSiteId"></result-landing>
|
<result-landing *ngIf="initialized" type="orp" [communityId]="communityId"></result-landing>
|
||||||
`,
|
`,
|
||||||
})
|
})
|
||||||
|
|
||||||
export class MonitorOrpComponent {
|
export class MonitorOrpComponent {
|
||||||
initialized: boolean = false;
|
initialized: boolean = false;
|
||||||
communityId;
|
communityId;
|
||||||
piwikSiteId;
|
|
||||||
constructor(private route: ActivatedRoute,
|
constructor(private route: ActivatedRoute,
|
||||||
private router: Router,
|
private router: Router,
|
||||||
private stakeholderService: StakeholderService, private configurationService: ConfigurationService) {
|
private stakeholderService: StakeholderService) {
|
||||||
}
|
}
|
||||||
subscriptions = [];
|
subscriptions = [];
|
||||||
ngOnDestroy() {
|
ngOnDestroy() {
|
||||||
|
@ -34,11 +34,6 @@ export class MonitorOrpComponent {
|
||||||
if (stakeholder) {
|
if (stakeholder) {
|
||||||
this.initialized = true;
|
this.initialized = true;
|
||||||
this.communityId = stakeholder.alias;
|
this.communityId = stakeholder.alias;
|
||||||
this.subscriptions.push(this.configurationService.communityInformationState.subscribe(portal => {
|
|
||||||
if (portal) {
|
|
||||||
this.piwikSiteId = portal.piwik;
|
|
||||||
}
|
|
||||||
}));
|
|
||||||
}
|
}
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,16 +7,16 @@ import {ConfigurationService} from "../../../openaireLibrary/utils/configuration
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'monitor-project',
|
selector: 'monitor-project',
|
||||||
template: `
|
template: `
|
||||||
<project *ngIf="initialized" [communityId]="communityId" [piwikSiteId]="piwikSiteId"></project>
|
<project *ngIf="initialized" [communityId]="communityId"></project>
|
||||||
`,
|
`,
|
||||||
})
|
})
|
||||||
export class MonitorProjectComponent {
|
export class MonitorProjectComponent {
|
||||||
initialized: boolean = false;
|
initialized: boolean = false;
|
||||||
communityId;
|
communityId;
|
||||||
piwikSiteId;
|
|
||||||
constructor(private route: ActivatedRoute,
|
constructor(private route: ActivatedRoute,
|
||||||
private router: Router,
|
private router: Router,
|
||||||
private stakeholderService: StakeholderService, private configurationService: ConfigurationService) {
|
private stakeholderService: StakeholderService) {
|
||||||
}
|
}
|
||||||
subscriptions = [];
|
subscriptions = [];
|
||||||
ngOnDestroy() {
|
ngOnDestroy() {
|
||||||
|
@ -33,11 +33,6 @@ export class MonitorProjectComponent {
|
||||||
if (stakeholder) {
|
if (stakeholder) {
|
||||||
this.initialized = true;
|
this.initialized = true;
|
||||||
this.communityId = stakeholder.alias;
|
this.communityId = stakeholder.alias;
|
||||||
this.subscriptions.push(this.configurationService.communityInformationState.subscribe(portal => {
|
|
||||||
if (portal) {
|
|
||||||
this.piwikSiteId = portal.piwik;
|
|
||||||
}
|
|
||||||
}));
|
|
||||||
}
|
}
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,16 +7,16 @@ import {ConfigurationService} from "../../../openaireLibrary/utils/configuration
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'monitor-publication',
|
selector: 'monitor-publication',
|
||||||
template: `
|
template: `
|
||||||
<result-landing *ngIf="initialized" type="publication" [communityId]="communityId" [piwikSiteId]="piwikSiteId"></result-landing>
|
<result-landing *ngIf="initialized" type="publication" [communityId]="communityId"></result-landing>
|
||||||
`,
|
`,
|
||||||
})
|
})
|
||||||
export class MonitorPublicationComponent {
|
export class MonitorPublicationComponent {
|
||||||
initialized: boolean = false;
|
initialized: boolean = false;
|
||||||
communityId;
|
communityId;
|
||||||
piwikSiteId;
|
|
||||||
constructor(private route: ActivatedRoute,
|
constructor(private route: ActivatedRoute,
|
||||||
private router: Router,
|
private router: Router,
|
||||||
private stakeholderService: StakeholderService, private configurationService: ConfigurationService) {
|
private stakeholderService: StakeholderService) {
|
||||||
}
|
}
|
||||||
subscriptions = [];
|
subscriptions = [];
|
||||||
ngOnDestroy() {
|
ngOnDestroy() {
|
||||||
|
@ -33,11 +33,6 @@ export class MonitorPublicationComponent {
|
||||||
if (stakeholder) {
|
if (stakeholder) {
|
||||||
this.initialized = true;
|
this.initialized = true;
|
||||||
this.communityId = stakeholder.alias;
|
this.communityId = stakeholder.alias;
|
||||||
this.subscriptions.push(this.configurationService.communityInformationState.subscribe(portal => {
|
|
||||||
if (portal) {
|
|
||||||
this.piwikSiteId = portal.piwik;
|
|
||||||
}
|
|
||||||
}));
|
|
||||||
}
|
}
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,16 +7,16 @@ import {ConfigurationService} from "../../../openaireLibrary/utils/configuration
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'monitor-result',
|
selector: 'monitor-result',
|
||||||
template: `
|
template: `
|
||||||
<result-landing *ngIf="initialized" type="result" [communityId]="communityId" [piwikSiteId]="piwikSiteId"></result-landing>
|
<result-landing *ngIf="initialized" type="result" [communityId]="communityId"></result-landing>
|
||||||
`,
|
`,
|
||||||
})
|
})
|
||||||
export class MonitorResultComponent {
|
export class MonitorResultComponent {
|
||||||
initialized: boolean = false;
|
initialized: boolean = false;
|
||||||
communityId;
|
communityId;
|
||||||
piwikSiteId;
|
|
||||||
constructor(private route: ActivatedRoute,
|
constructor(private route: ActivatedRoute,
|
||||||
private router: Router,
|
private router: Router,
|
||||||
private stakeholderService: StakeholderService, private configurationService: ConfigurationService) {
|
private stakeholderService: StakeholderService) {
|
||||||
}
|
}
|
||||||
subscriptions = [];
|
subscriptions = [];
|
||||||
ngOnDestroy() {
|
ngOnDestroy() {
|
||||||
|
@ -33,11 +33,6 @@ export class MonitorResultComponent {
|
||||||
if (stakeholder) {
|
if (stakeholder) {
|
||||||
this.initialized = true;
|
this.initialized = true;
|
||||||
this.communityId = stakeholder.alias;
|
this.communityId = stakeholder.alias;
|
||||||
this.subscriptions.push(this.configurationService.communityInformationState.subscribe(portal => {
|
|
||||||
if (portal) {
|
|
||||||
this.piwikSiteId = portal.piwik;
|
|
||||||
}
|
|
||||||
}));
|
|
||||||
}
|
}
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,16 +7,16 @@ import {ConfigurationService} from "../../../openaireLibrary/utils/configuration
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'monitor-software',
|
selector: 'monitor-software',
|
||||||
template: `
|
template: `
|
||||||
<result-landing *ngIf="initialized" type="software" [piwikSiteId]="piwikSiteId"></result-landing>
|
<result-landing *ngIf="initialized" type="software"></result-landing>
|
||||||
`,
|
`,
|
||||||
})
|
})
|
||||||
export class MonitorSoftwareComponent {
|
export class MonitorSoftwareComponent {
|
||||||
initialized: boolean = false;
|
initialized: boolean = false;
|
||||||
communityId;
|
communityId;
|
||||||
piwikSiteId;
|
|
||||||
constructor(private route: ActivatedRoute,
|
constructor(private route: ActivatedRoute,
|
||||||
private router: Router,
|
private router: Router,
|
||||||
private stakeholderService: StakeholderService, private configurationService: ConfigurationService) {
|
private stakeholderService: StakeholderService) {
|
||||||
}
|
}
|
||||||
subscriptions = [];
|
subscriptions = [];
|
||||||
ngOnDestroy() {
|
ngOnDestroy() {
|
||||||
|
@ -33,11 +33,6 @@ export class MonitorSoftwareComponent {
|
||||||
if (stakeholder) {
|
if (stakeholder) {
|
||||||
this.initialized = true;
|
this.initialized = true;
|
||||||
this.communityId = stakeholder.alias;
|
this.communityId = stakeholder.alias;
|
||||||
this.subscriptions.push(this.configurationService.communityInformationState.subscribe(portal => {
|
|
||||||
if (portal) {
|
|
||||||
this.piwikSiteId = portal.piwik;
|
|
||||||
}
|
|
||||||
}));
|
|
||||||
}
|
}
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,7 +3,6 @@ import {SearchCustomFilter} from "../../../openaireLibrary/searchPages/searchUti
|
||||||
import {ActivatedRoute, Router} from "@angular/router";
|
import {ActivatedRoute, Router} from "@angular/router";
|
||||||
import {StakeholderService} from "../../../openaireLibrary/monitor/services/stakeholder.service";
|
import {StakeholderService} from "../../../openaireLibrary/monitor/services/stakeholder.service";
|
||||||
import {Subscriber} from "rxjs";
|
import {Subscriber} from "rxjs";
|
||||||
import {ConfigurationService} from "../../../openaireLibrary/utils/configuration/configuration.service";
|
|
||||||
import {SearchForm} from "../../../openaireLibrary/searchPages/searchUtils/newSearchPage.component";
|
import {SearchForm} from "../../../openaireLibrary/searchPages/searchUtils/newSearchPage.component";
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
|
@ -11,7 +10,7 @@ import {SearchForm} from "../../../openaireLibrary/searchPages/searchUtils/newSe
|
||||||
template: `
|
template: `
|
||||||
<search-dataproviders *ngIf="initialized" [simpleView]="false"
|
<search-dataproviders *ngIf="initialized" [simpleView]="false"
|
||||||
[customFilter]=customFilter [hasPrefix]="false" [searchForm]="searchForm"
|
[customFilter]=customFilter [hasPrefix]="false" [searchForm]="searchForm"
|
||||||
[includeOnlyResultsAndFilter]="false" [showSwitchSearchLink]="showSwitchSearchLink" [piwikSiteId]="piwikSiteId">
|
[includeOnlyResultsAndFilter]="false" [showSwitchSearchLink]="showSwitchSearchLink">
|
||||||
</search-dataproviders>
|
</search-dataproviders>
|
||||||
`
|
`
|
||||||
})
|
})
|
||||||
|
@ -20,12 +19,14 @@ export class MonitorAdvancedSearchDataprovidersComponent {
|
||||||
customFilter: SearchCustomFilter = null;
|
customFilter: SearchCustomFilter = null;
|
||||||
initialized: boolean = false;
|
initialized: boolean = false;
|
||||||
showSwitchSearchLink: boolean = false;
|
showSwitchSearchLink: boolean = false;
|
||||||
piwikSiteId;
|
|
||||||
constructor(private route: ActivatedRoute,
|
constructor(private route: ActivatedRoute,
|
||||||
private router: Router,
|
private router: Router,
|
||||||
private stakeholderService: StakeholderService, private configurationService: ConfigurationService) {
|
private stakeholderService: StakeholderService) {
|
||||||
}
|
}
|
||||||
|
|
||||||
subscriptions = [];
|
subscriptions = [];
|
||||||
|
|
||||||
ngOnDestroy() {
|
ngOnDestroy() {
|
||||||
this.subscriptions.forEach(subscription => {
|
this.subscriptions.forEach(subscription => {
|
||||||
if (subscription instanceof Subscriber) {
|
if (subscription instanceof Subscriber) {
|
||||||
|
@ -50,11 +51,6 @@ export class MonitorAdvancedSearchDataprovidersComponent {
|
||||||
let value = stakeholder.index_id + "||" + stakeholder.index_name;
|
let value = stakeholder.index_id + "||" + stakeholder.index_name;
|
||||||
this.customFilter = new SearchCustomFilter("Community", "community", value, stakeholder.name);
|
this.customFilter = new SearchCustomFilter("Community", "community", value, stakeholder.name);
|
||||||
}
|
}
|
||||||
this.subscriptions.push(this.configurationService.communityInformationState.subscribe(portal => {
|
|
||||||
if (portal) {
|
|
||||||
this.piwikSiteId = portal.piwik;
|
|
||||||
}
|
|
||||||
}));
|
|
||||||
this.initialized = true;
|
this.initialized = true;
|
||||||
}
|
}
|
||||||
}));
|
}));
|
||||||
|
|
|
@ -3,14 +3,12 @@ import {ActivatedRoute, Router} from "@angular/router";
|
||||||
import {StakeholderService} from "../../../openaireLibrary/monitor/services/stakeholder.service";
|
import {StakeholderService} from "../../../openaireLibrary/monitor/services/stakeholder.service";
|
||||||
import {SearchCustomFilter} from "../../../openaireLibrary/searchPages/searchUtils/searchUtils.class";
|
import {SearchCustomFilter} from "../../../openaireLibrary/searchPages/searchUtils/searchUtils.class";
|
||||||
import {Subscriber} from "rxjs";
|
import {Subscriber} from "rxjs";
|
||||||
import {ConfigurationService} from "../../../openaireLibrary/utils/configuration/configuration.service";
|
|
||||||
import {SearchForm} from "../../../openaireLibrary/searchPages/searchUtils/newSearchPage.component";
|
import {SearchForm} from "../../../openaireLibrary/searchPages/searchUtils/newSearchPage.component";
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'monitor-advanced-search-organizations',
|
selector: 'monitor-advanced-search-organizations',
|
||||||
template: `
|
template: `
|
||||||
<search-organizations *ngIf="initialized" [simpleView]="false" [showSwitchSearchLink]="false" [customFilter]="customFilter"
|
<search-organizations *ngIf="initialized" [simpleView]="false" [showSwitchSearchLink]="false" [customFilter]="customFilter" [searchForm]="searchForm">
|
||||||
[piwikSiteId]="piwikSiteId" [searchForm]="searchForm">
|
|
||||||
</search-organizations>
|
</search-organizations>
|
||||||
`
|
`
|
||||||
})
|
})
|
||||||
|
@ -18,10 +16,10 @@ export class MonitorAdvancedSearchOrganizationsComponent {
|
||||||
@Input() searchForm: SearchForm = {class: 'search-form', dark: false};
|
@Input() searchForm: SearchForm = {class: 'search-form', dark: false};
|
||||||
initialized: boolean = false;
|
initialized: boolean = false;
|
||||||
customFilter: SearchCustomFilter = null;
|
customFilter: SearchCustomFilter = null;
|
||||||
piwikSiteId;
|
|
||||||
constructor(private route: ActivatedRoute,
|
constructor(private route: ActivatedRoute,
|
||||||
private router: Router,
|
private router: Router,
|
||||||
private stakeholderService: StakeholderService, private configurationService: ConfigurationService) {
|
private stakeholderService: StakeholderService) {
|
||||||
}
|
}
|
||||||
subscriptions = [];
|
subscriptions = [];
|
||||||
ngOnDestroy() {
|
ngOnDestroy() {
|
||||||
|
@ -50,11 +48,6 @@ export class MonitorAdvancedSearchOrganizationsComponent {
|
||||||
this.customFilter = new SearchCustomFilter("Community", "community", value, stakeholder.name);
|
this.customFilter = new SearchCustomFilter("Community", "community", value, stakeholder.name);
|
||||||
this.customFilter.isHiddenFilter = false;
|
this.customFilter.isHiddenFilter = false;
|
||||||
}
|
}
|
||||||
this.subscriptions.push(this.configurationService.communityInformationState.subscribe(portal => {
|
|
||||||
if (portal) {
|
|
||||||
this.piwikSiteId = portal.piwik;
|
|
||||||
}
|
|
||||||
}));
|
|
||||||
this.initialized = true;
|
this.initialized = true;
|
||||||
}
|
}
|
||||||
}));
|
}));
|
||||||
|
|
|
@ -4,7 +4,6 @@ import {ActivatedRoute, Router} from "@angular/router";
|
||||||
import {StakeholderService} from "../../../openaireLibrary/monitor/services/stakeholder.service";
|
import {StakeholderService} from "../../../openaireLibrary/monitor/services/stakeholder.service";
|
||||||
import {Subscriber} from "rxjs";
|
import {Subscriber} from "rxjs";
|
||||||
import {properties} from "../../../../environments/environment";
|
import {properties} from "../../../../environments/environment";
|
||||||
import {ConfigurationService} from "../../../openaireLibrary/utils/configuration/configuration.service";
|
|
||||||
import {SearchForm} from "../../../openaireLibrary/searchPages/searchUtils/newSearchPage.component";
|
import {SearchForm} from "../../../openaireLibrary/searchPages/searchUtils/newSearchPage.component";
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
|
@ -14,7 +13,7 @@ import {SearchForm} from "../../../openaireLibrary/searchPages/searchUtils/newSe
|
||||||
[customFilter]=customFilter [hasPrefix]="false"
|
[customFilter]=customFilter [hasPrefix]="false"
|
||||||
[includeOnlyResultsAndFilter]="false" [showSwitchSearchLink]="showSwitchSearchLink"
|
[includeOnlyResultsAndFilter]="false" [showSwitchSearchLink]="showSwitchSearchLink"
|
||||||
[openaireLink]="'https://'+(properties.environment != 'production'?'beta.':'')+'explore.openaire.eu/search/simple/projects'"
|
[openaireLink]="'https://'+(properties.environment != 'production'?'beta.':'')+'explore.openaire.eu/search/simple/projects'"
|
||||||
[piwikSiteId]="piwikSiteId" [searchForm]="searchForm"
|
[searchForm]="searchForm"
|
||||||
>
|
>
|
||||||
</search-projects>
|
</search-projects>
|
||||||
`
|
`
|
||||||
|
@ -26,10 +25,10 @@ export class MonitorAdvancedSearchProjectsComponent {
|
||||||
initialized: boolean = false;
|
initialized: boolean = false;
|
||||||
showSwitchSearchLink:boolean = false;
|
showSwitchSearchLink:boolean = false;
|
||||||
properties;
|
properties;
|
||||||
piwikSiteId;
|
|
||||||
constructor(private route: ActivatedRoute,
|
constructor(private route: ActivatedRoute,
|
||||||
private router: Router,
|
private router: Router,
|
||||||
private stakeholderService: StakeholderService, private configurationService: ConfigurationService) {
|
private stakeholderService: StakeholderService) {
|
||||||
}
|
}
|
||||||
subscriptions = [];
|
subscriptions = [];
|
||||||
ngOnDestroy() {
|
ngOnDestroy() {
|
||||||
|
@ -58,11 +57,6 @@ export class MonitorAdvancedSearchProjectsComponent {
|
||||||
let value = stakeholder.index_id+"||"+stakeholder.index_name;
|
let value = stakeholder.index_id+"||"+stakeholder.index_name;
|
||||||
this.customFilter = new SearchCustomFilter("Community", "community", value, stakeholder.name);
|
this.customFilter = new SearchCustomFilter("Community", "community", value, stakeholder.name);
|
||||||
}
|
}
|
||||||
this.subscriptions.push(this.configurationService.communityInformationState.subscribe(portal => {
|
|
||||||
if (portal) {
|
|
||||||
this.piwikSiteId = portal.piwik;
|
|
||||||
}
|
|
||||||
}));
|
|
||||||
this.initialized = true;
|
this.initialized = true;
|
||||||
}
|
}
|
||||||
}));
|
}));
|
||||||
|
|
|
@ -15,7 +15,7 @@ import {SearchForm} from "../../../openaireLibrary/searchPages/searchUtils/newSe
|
||||||
[includeOnlyResultsAndFilter]="false"
|
[includeOnlyResultsAndFilter]="false"
|
||||||
[showSwitchSearchLink]="true"
|
[showSwitchSearchLink]="true"
|
||||||
[openaireLink]="'https://'+(properties.environment != 'production'?'beta.':'')+'explore.openaire.eu/search/advanced/research-outcomes'"
|
[openaireLink]="'https://'+(properties.environment != 'production'?'beta.':'')+'explore.openaire.eu/search/advanced/research-outcomes'"
|
||||||
[piwikSiteId]="piwikSiteId" [searchForm]="searchForm"
|
[searchForm]="searchForm"
|
||||||
></search-research-results>
|
></search-research-results>
|
||||||
`
|
`
|
||||||
})
|
})
|
||||||
|
@ -24,10 +24,9 @@ export class MonitorAdvancedSearchResearchResultsComponent {
|
||||||
initialized: boolean = false;
|
initialized: boolean = false;
|
||||||
@Input() searchForm: SearchForm = {class: 'search-form', dark: false};
|
@Input() searchForm: SearchForm = {class: 'search-form', dark: false};
|
||||||
properties;
|
properties;
|
||||||
piwikSiteId;
|
|
||||||
constructor(private route: ActivatedRoute,
|
constructor(private route: ActivatedRoute,
|
||||||
private router: Router,
|
private router: Router,
|
||||||
private stakeholderService: StakeholderService, private configurationService: ConfigurationService) {
|
private stakeholderService: StakeholderService) {
|
||||||
}
|
}
|
||||||
subscriptions = [];
|
subscriptions = [];
|
||||||
ngOnDestroy() {
|
ngOnDestroy() {
|
||||||
|
@ -54,11 +53,6 @@ export class MonitorAdvancedSearchResearchResultsComponent {
|
||||||
let value = stakeholder.index_id+"||"+stakeholder.index_name;
|
let value = stakeholder.index_id+"||"+stakeholder.index_name;
|
||||||
this.customFilter = new SearchCustomFilter("Community", "community", value, stakeholder.name);
|
this.customFilter = new SearchCustomFilter("Community", "community", value, stakeholder.name);
|
||||||
}
|
}
|
||||||
this.subscriptions.push(this.configurationService.communityInformationState.subscribe(portal => {
|
|
||||||
if (portal) {
|
|
||||||
this.piwikSiteId = portal.piwik;
|
|
||||||
}
|
|
||||||
}));
|
|
||||||
this.initialized = true;
|
this.initialized = true;
|
||||||
}
|
}
|
||||||
}));
|
}));
|
||||||
|
|
|
@ -13,8 +13,7 @@ import {properties} from "../../../../environments/environment";
|
||||||
template: `
|
template: `
|
||||||
<search-dataproviders *ngIf="initialized"
|
<search-dataproviders *ngIf="initialized"
|
||||||
[customFilter]=customFilter [hasPrefix]="false" [searchForm]="searchForm"
|
[customFilter]=customFilter [hasPrefix]="false" [searchForm]="searchForm"
|
||||||
[includeOnlyResultsAndFilter]="false" [showSwitchSearchLink]="showSwitchSearchLink"
|
[includeOnlyResultsAndFilter]="false" [showSwitchSearchLink]="showSwitchSearchLink">
|
||||||
[piwikSiteId]="piwikSiteId">
|
|
||||||
</search-dataproviders>
|
</search-dataproviders>
|
||||||
`
|
`
|
||||||
})
|
})
|
||||||
|
@ -23,12 +22,11 @@ export class MonitorSearchDataprovidersComponent {
|
||||||
customFilter: SearchCustomFilter = null;
|
customFilter: SearchCustomFilter = null;
|
||||||
initialized: boolean = false;
|
initialized: boolean = false;
|
||||||
showSwitchSearchLink: boolean = false;
|
showSwitchSearchLink: boolean = false;
|
||||||
piwikSiteId;
|
|
||||||
public properties: EnvProperties = properties;
|
public properties: EnvProperties = properties;
|
||||||
|
|
||||||
constructor(private route: ActivatedRoute,
|
constructor(private route: ActivatedRoute,
|
||||||
private router: Router,
|
private router: Router,
|
||||||
private stakeholderService: StakeholderService, private configurationService: ConfigurationService) {
|
private stakeholderService: StakeholderService) {
|
||||||
}
|
}
|
||||||
|
|
||||||
subscriptions = [];
|
subscriptions = [];
|
||||||
|
@ -54,11 +52,6 @@ export class MonitorSearchDataprovidersComponent {
|
||||||
} else if (stakeholder.type === "ri") {
|
} else if (stakeholder.type === "ri") {
|
||||||
this.navigateToError();
|
this.navigateToError();
|
||||||
}
|
}
|
||||||
this.subscriptions.push(this.configurationService.communityInformationState.subscribe(portal => {
|
|
||||||
if (portal) {
|
|
||||||
this.piwikSiteId = portal.piwik;
|
|
||||||
}
|
|
||||||
}));
|
|
||||||
this.initialized = true;
|
this.initialized = true;
|
||||||
}
|
}
|
||||||
}));
|
}));
|
||||||
|
|
|
@ -8,14 +8,13 @@ import {SearchForm} from "../../../openaireLibrary/searchPages/searchUtils/newSe
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'monitor-search-organizations',
|
selector: 'monitor-search-organizations',
|
||||||
template: `
|
template: `
|
||||||
<search-organizations *ngIf="initialized" [searchForm]="searchForm" [piwikSiteId]="piwikSiteId">
|
<search-organizations *ngIf="initialized" [searchForm]="searchForm">
|
||||||
</search-organizations>
|
</search-organizations>
|
||||||
`
|
`
|
||||||
})
|
})
|
||||||
export class MonitorSearchOrganizationsComponent {
|
export class MonitorSearchOrganizationsComponent {
|
||||||
@Input() searchForm: SearchForm = {class: 'search-form', dark: false};
|
@Input() searchForm: SearchForm = {class: 'search-form', dark: false};
|
||||||
initialized: boolean = false;
|
initialized: boolean = false;
|
||||||
piwikSiteId;
|
|
||||||
constructor(private route: ActivatedRoute,
|
constructor(private route: ActivatedRoute,
|
||||||
private router: Router,
|
private router: Router,
|
||||||
private stakeholderService: StakeholderService, private configurationService: ConfigurationService) {
|
private stakeholderService: StakeholderService, private configurationService: ConfigurationService) {
|
||||||
|
@ -34,11 +33,6 @@ export class MonitorSearchOrganizationsComponent {
|
||||||
if (params['stakeholder']) {
|
if (params['stakeholder']) {
|
||||||
this.subscriptions.push(this.stakeholderService.getStakeholderAsObservable().subscribe(stakeholder => {
|
this.subscriptions.push(this.stakeholderService.getStakeholderAsObservable().subscribe(stakeholder => {
|
||||||
if (stakeholder) {
|
if (stakeholder) {
|
||||||
this.subscriptions.push(this.configurationService.communityInformationState.subscribe(portal => {
|
|
||||||
if (portal) {
|
|
||||||
this.piwikSiteId = portal.piwik;
|
|
||||||
}
|
|
||||||
}));
|
|
||||||
this.initialized = true;
|
this.initialized = true;
|
||||||
}
|
}
|
||||||
}));
|
}));
|
||||||
|
|
|
@ -4,7 +4,6 @@ import {ActivatedRoute, Router} from "@angular/router";
|
||||||
import {StakeholderService} from "../../../openaireLibrary/monitor/services/stakeholder.service";
|
import {StakeholderService} from "../../../openaireLibrary/monitor/services/stakeholder.service";
|
||||||
import {Subscriber} from "rxjs";
|
import {Subscriber} from "rxjs";
|
||||||
import {properties} from "../../../../environments/environment";
|
import {properties} from "../../../../environments/environment";
|
||||||
import {ConfigurationService} from "../../../openaireLibrary/utils/configuration/configuration.service";
|
|
||||||
import {SearchForm} from "../../../openaireLibrary/searchPages/searchUtils/newSearchPage.component";
|
import {SearchForm} from "../../../openaireLibrary/searchPages/searchUtils/newSearchPage.component";
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
|
@ -14,7 +13,7 @@ import {SearchForm} from "../../../openaireLibrary/searchPages/searchUtils/newSe
|
||||||
[customFilter]=customFilter [hasPrefix]="false"
|
[customFilter]=customFilter [hasPrefix]="false"
|
||||||
[includeOnlyResultsAndFilter]="false"
|
[includeOnlyResultsAndFilter]="false"
|
||||||
[openaireLink]="'https://'+(properties.environment != 'production'?'beta.':'')+'explore.openaire.eu/search/simple/projects'"
|
[openaireLink]="'https://'+(properties.environment != 'production'?'beta.':'')+'explore.openaire.eu/search/simple/projects'"
|
||||||
[piwikSiteId]="piwikSiteId" [searchForm]="searchForm">
|
[searchForm]="searchForm">
|
||||||
</search-projects>
|
</search-projects>
|
||||||
`
|
`
|
||||||
|
|
||||||
|
@ -24,10 +23,9 @@ export class MonitorSearchProjectsComponent {
|
||||||
customFilter: SearchCustomFilter = null;
|
customFilter: SearchCustomFilter = null;
|
||||||
initialized: boolean = false;
|
initialized: boolean = false;
|
||||||
properties;
|
properties;
|
||||||
piwikSiteId;
|
|
||||||
constructor(private route: ActivatedRoute,
|
constructor(private route: ActivatedRoute,
|
||||||
private router: Router,
|
private router: Router,
|
||||||
private stakeholderService: StakeholderService, private configurationService: ConfigurationService) {
|
private stakeholderService: StakeholderService) {
|
||||||
}
|
}
|
||||||
subscriptions = [];
|
subscriptions = [];
|
||||||
ngOnDestroy() {
|
ngOnDestroy() {
|
||||||
|
@ -53,11 +51,6 @@ export class MonitorSearchProjectsComponent {
|
||||||
} else if (stakeholder.type === "ri") {
|
} else if (stakeholder.type === "ri") {
|
||||||
this.navigateToError();
|
this.navigateToError();
|
||||||
}
|
}
|
||||||
this.subscriptions.push(this.configurationService.communityInformationState.subscribe(portal => {
|
|
||||||
if (portal) {
|
|
||||||
this.piwikSiteId = portal.piwik;
|
|
||||||
}
|
|
||||||
}));
|
|
||||||
this.initialized = true;
|
this.initialized = true;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,7 +16,6 @@ import {SearchForm} from "../../../openaireLibrary/searchPages/searchUtils/newSe
|
||||||
[showSwitchSearchLink]="true"
|
[showSwitchSearchLink]="true"
|
||||||
[searchForm]="searchForm"
|
[searchForm]="searchForm"
|
||||||
[openaireLink]="'https://'+(properties.environment != 'production'?'beta.':'')+'explore.openaire.eu/search/find/research-outcomes'"
|
[openaireLink]="'https://'+(properties.environment != 'production'?'beta.':'')+'explore.openaire.eu/search/find/research-outcomes'"
|
||||||
[piwikSiteId]="piwikSiteId"
|
|
||||||
></search-research-results>
|
></search-research-results>
|
||||||
`,
|
`,
|
||||||
})
|
})
|
||||||
|
@ -25,10 +24,9 @@ export class MonitorSearchResearchResultsComponent {
|
||||||
customFilter: SearchCustomFilter = null;
|
customFilter: SearchCustomFilter = null;
|
||||||
initialized: boolean = false;
|
initialized: boolean = false;
|
||||||
properties;
|
properties;
|
||||||
piwikSiteId;
|
|
||||||
constructor(private route: ActivatedRoute,
|
constructor(private route: ActivatedRoute,
|
||||||
private router: Router,
|
private router: Router,
|
||||||
private stakeholderService: StakeholderService, private configurationService: ConfigurationService) {
|
private stakeholderService: StakeholderService) {
|
||||||
}
|
}
|
||||||
subscriptions = [];
|
subscriptions = [];
|
||||||
ngOnDestroy() {
|
ngOnDestroy() {
|
||||||
|
@ -55,11 +53,6 @@ export class MonitorSearchResearchResultsComponent {
|
||||||
let value = stakeholder.index_id+"||"+stakeholder.index_name;
|
let value = stakeholder.index_id+"||"+stakeholder.index_name;
|
||||||
this.customFilter = new SearchCustomFilter("Community", "community", value, stakeholder.name);
|
this.customFilter = new SearchCustomFilter("Community", "community", value, stakeholder.name);
|
||||||
}
|
}
|
||||||
this.subscriptions.push(this.configurationService.communityInformationState.subscribe(portal => {
|
|
||||||
if (portal) {
|
|
||||||
this.piwikSiteId = portal.piwik;
|
|
||||||
}
|
|
||||||
}));
|
|
||||||
this.initialized = true;
|
this.initialized = true;
|
||||||
}
|
}
|
||||||
}));
|
}));
|
||||||
|
|
|
@ -49,7 +49,6 @@ export let properties: EnvProperties = {
|
||||||
vocabulariesAPI: "https://beta.services.openaire.eu/provision/mvc/vocabularies/",
|
vocabulariesAPI: "https://beta.services.openaire.eu/provision/mvc/vocabularies/",
|
||||||
|
|
||||||
piwikBaseUrl: "https://analytics.openaire.eu/piwik.php?idsite=",
|
piwikBaseUrl: "https://analytics.openaire.eu/piwik.php?idsite=",
|
||||||
piwikSiteId: "298",
|
|
||||||
loginUrl: "https://beta.services.openaire.eu/login-service/openid_connect_login",
|
loginUrl: "https://beta.services.openaire.eu/login-service/openid_connect_login",
|
||||||
userInfoUrl: "https://beta.services.openaire.eu/login-service/userInfo",
|
userInfoUrl: "https://beta.services.openaire.eu/login-service/userInfo",
|
||||||
registryUrl: 'https://beta.services.openaire.eu/uoa-user-management/api/registry/',
|
registryUrl: 'https://beta.services.openaire.eu/uoa-user-management/api/registry/',
|
||||||
|
|
|
@ -49,7 +49,6 @@ export let properties: EnvProperties = {
|
||||||
vocabulariesAPI: "https://services.openaire.eu/provision/mvc/vocabularies/",
|
vocabulariesAPI: "https://services.openaire.eu/provision/mvc/vocabularies/",
|
||||||
|
|
||||||
piwikBaseUrl: "https://analytics.openaire.eu/piwik.php?idsite=",
|
piwikBaseUrl: "https://analytics.openaire.eu/piwik.php?idsite=",
|
||||||
piwikSiteId: "104",
|
|
||||||
loginUrl: "https://services.openaire.eu/login-service/openid_connect_login",
|
loginUrl: "https://services.openaire.eu/login-service/openid_connect_login",
|
||||||
registryUrl: 'https://services.openaire.eu/uoa-user-management/api/registry/',
|
registryUrl: 'https://services.openaire.eu/uoa-user-management/api/registry/',
|
||||||
userInfoUrl: "https://services.openaire.eu/login-service/userInfo",
|
userInfoUrl: "https://services.openaire.eu/login-service/userInfo",
|
||||||
|
|
|
@ -10,7 +10,7 @@ export let properties: EnvProperties = {
|
||||||
dashboard: 'monitor',
|
dashboard: 'monitor',
|
||||||
adminToolsPortalType: "monitor",
|
adminToolsPortalType: "monitor",
|
||||||
isDashboard: true,
|
isDashboard: true,
|
||||||
enablePiwikTrack: false,
|
enablePiwikTrack: true,
|
||||||
useCache: false,
|
useCache: false,
|
||||||
useLongCache: false,
|
useLongCache: false,
|
||||||
showContent: true,
|
showContent: true,
|
||||||
|
@ -54,7 +54,6 @@ export let properties: EnvProperties = {
|
||||||
utilsService: "http://mpagasas.di.uoa.gr:8000",
|
utilsService: "http://mpagasas.di.uoa.gr:8000",
|
||||||
vocabulariesAPI: "https://dev-openaire.d4science.org/provision/mvc/vocabularies/",
|
vocabulariesAPI: "https://dev-openaire.d4science.org/provision/mvc/vocabularies/",
|
||||||
piwikBaseUrl: "https://analytics.openaire.eu/piwik.php?idsite=",
|
piwikBaseUrl: "https://analytics.openaire.eu/piwik.php?idsite=",
|
||||||
piwikSiteId: "80",
|
|
||||||
registryUrl: 'http://mpagasas.di.uoa.gr:8080/dnet-openaire-users-1.0.0-SNAPSHOT/api/registry/',
|
registryUrl: 'http://mpagasas.di.uoa.gr:8080/dnet-openaire-users-1.0.0-SNAPSHOT/api/registry/',
|
||||||
loginUrl: "http://mpagasas.di.uoa.gr:19080/login-service/openid_connect_login",
|
loginUrl: "http://mpagasas.di.uoa.gr:19080/login-service/openid_connect_login",
|
||||||
userInfoUrl: "http://mpagasas.di.uoa.gr:19080/login-service/userInfo",
|
userInfoUrl: "http://mpagasas.di.uoa.gr:19080/login-service/userInfo",
|
||||||
|
|
Loading…
Reference in New Issue