[Explore|Trunk]

Use searchDataproviders Component for Deposit, Registries, Journals and Compatible pages



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-portal/trunk@58245 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
argiro.kokogiannaki 2020-03-12 17:06:33 +00:00
parent 1fff0bd89e
commit 1d9464ab2a
8 changed files with 21 additions and 13 deletions

View File

@ -4,7 +4,7 @@ import {Component} from '@angular/core';
@Component({ @Component({
selector: 'openaire-search-deposit', selector: 'openaire-search-deposit',
template: ` template: `
<search-dataproviders></search-dataproviders> <deposit-search-dataproviders></deposit-search-dataproviders>
` `
}) })

View File

@ -5,8 +5,10 @@ import { ActivatedRoute} from '@angular/router';
selector: 'openaire-search-content-providers', selector: 'openaire-search-content-providers',
template: ` template: `
<search-content-providers> <!-- <search-content-providers>-->
</search-content-providers> <!-- </search-content-providers>-->
<search-dataproviders [simpleView]="true" type="compatible" simpleSearchLink="/search/content-providers" tableViewLink="/search/content-providers-table">
</search-dataproviders>
` `

View File

@ -10,12 +10,13 @@ import {PreviousRouteRecorder} from '../../openaireLibrary/utils/piwik/previousR
import {IsRouteEnabled} from '../../openaireLibrary/error/isRouteEnabled.guard'; import {IsRouteEnabled} from '../../openaireLibrary/error/isRouteEnabled.guard';
import { CompatibleDataProvidersModule} from '../../openaireLibrary/searchPages/dataProviders/compatibleDataProviders.module'; import { CompatibleDataProvidersModule} from '../../openaireLibrary/searchPages/dataProviders/compatibleDataProviders.module';
import {SearchDataProvidersModule} from "../../openaireLibrary/searchPages/searchDataProviders.module";
@NgModule({ @NgModule({
imports: [ imports: [
CommonModule, FormsModule, CommonModule, FormsModule,
CompatibleDataProvidersModule, CompatibleDataProvidersModule,
CompatibleDataProvidersRoutingModule CompatibleDataProvidersRoutingModule, SearchDataProvidersModule
], ],
declarations: [ declarations: [

View File

@ -5,9 +5,10 @@ import { ActivatedRoute} from '@angular/router';
selector: 'openaire-search-entity-registries', selector: 'openaire-search-entity-registries',
template: ` template: `
<search-entity-registries> <!-- <search-entity-registries>
</search-entity-registries> </search-entity-registries>-->
<search-dataproviders [simpleView]="true" type="registries" simpleSearchLink="/search/entity-registries" tableViewLink="/search/entity-registries-table">
</search-dataproviders>
` `
}) })

View File

@ -9,11 +9,12 @@ import {PreviousRouteRecorder} from '../../openaireLibrary/utils/piwik/previousR
import {IsRouteEnabled} from '../../openaireLibrary/error/isRouteEnabled.guard'; import {IsRouteEnabled} from '../../openaireLibrary/error/isRouteEnabled.guard';
import {EntityRegistriesModule } from '../../openaireLibrary/searchPages/dataProviders/entityRegistries.module'; import {EntityRegistriesModule } from '../../openaireLibrary/searchPages/dataProviders/entityRegistries.module';
import {SearchDataProvidersModule} from "../../openaireLibrary/searchPages/searchDataProviders.module";
@NgModule({ @NgModule({
imports: [ imports: [
CommonModule, FormsModule, CommonModule, FormsModule,
EntityRegistriesModule, EntityRegistriesRoutingModule EntityRegistriesModule, EntityRegistriesRoutingModule, SearchDataProvidersModule
], ],
declarations: [ declarations: [

View File

@ -5,8 +5,10 @@ import { ActivatedRoute} from '@angular/router';
selector: 'openaire-search-journals', selector: 'openaire-search-journals',
template: ` template: `
<search-journals> <!--<search-journals>
</search-journals> </search-journals>-->
<search-dataproviders [simpleView]="true" type="journals" simpleSearchLink="/search/journals" >
</search-dataproviders>
` `
}) })

View File

@ -8,9 +8,10 @@ import { JournalsModule} from '../../openaireLibrary/searchPages/dataProviders/j
import {FreeGuard} from '../../openaireLibrary/login/freeGuard.guard'; import {FreeGuard} from '../../openaireLibrary/login/freeGuard.guard';
import {PreviousRouteRecorder} from '../../openaireLibrary/utils/piwik/previousRouteRecorder.guard'; import {PreviousRouteRecorder} from '../../openaireLibrary/utils/piwik/previousRouteRecorder.guard';
import {IsRouteEnabled} from '../../openaireLibrary/error/isRouteEnabled.guard'; import {IsRouteEnabled} from '../../openaireLibrary/error/isRouteEnabled.guard';
import {SearchDataProvidersModule} from "../../openaireLibrary/searchPages/searchDataProviders.module";
@NgModule({ @NgModule({
imports: [ imports: [
CommonModule, FormsModule, JournalsRoutingModule, JournalsModule CommonModule, FormsModule, JournalsRoutingModule, JournalsModule, SearchDataProvidersModule
], ],
declarations: [ declarations: [

View File

@ -8,7 +8,7 @@
"statisticsAPIURL" : "http://vatopedi.di.uoa.gr:8080/stats/", "statisticsAPIURL" : "http://vatopedi.di.uoa.gr:8080/stats/",
"statisticsFrameAPIURL":"https://beta.openaire.eu/stats/", "statisticsFrameAPIURL":"https://beta.openaire.eu/stats/",
"claimsAPIURL" : "http://scoobydoo.di.uoa.gr:8080/dnet-claims-service-2.0.0-SNAPSHOT/rest/claimsService/", "claimsAPIURL" : "http://scoobydoo.di.uoa.gr:8080/dnet-claims-service-2.0.0-SNAPSHOT/rest/claimsService/",
"searchAPIURLLAst" : "http://beta.services.openaire.eu:8480/shadowSearch/rest/v2/api/", "searchAPIURLLAst" : "http://beta.services.openaire.eu/search/v2/api/",
"searchResourcesAPIURL" : "https://beta.services.openaire.eu/search/v2/api/resources", "searchResourcesAPIURL" : "https://beta.services.openaire.eu/search/v2/api/resources",
"openCitationsAPIURL" : "https://services.openaire.eu/opencitations/getCitations?id=", "openCitationsAPIURL" : "https://services.openaire.eu/opencitations/getCitations?id=",
"csvAPIURL" : "https://beta.services.openaire.eu/search/v2/api/reports", "csvAPIURL" : "https://beta.services.openaire.eu/search/v2/api/reports",
@ -48,7 +48,7 @@
"cacheUrl" :"http://scoobydoo.di.uoa.gr:3000/get?url=", "cacheUrl" :"http://scoobydoo.di.uoa.gr:3000/get?url=",
"adminToolsAPIURL" :"http://mpagasas.di.uoa.gr:8080/uoa-admin-tools/", "adminToolsAPIURL" :"http://duffy.di.uoa.gr:8080/uoa-admin-tools/",
"adminToolsCommunity" :"openaire", "adminToolsCommunity" :"openaire",
"datasourcesAPI": "https://beta.services.openaire.eu/openaire/ds/search/", "datasourcesAPI": "https://beta.services.openaire.eu/openaire/ds/search/",