Removed restriction of: not compatibility 'hostedby' from OpenAIRE Compatible Dataproviders page & renaming of that page to OpenAIRE Content Providers

git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-portal/trunk@47575 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
konstantina.galouni 2017-06-18 23:55:24 +00:00
parent 5012261491
commit 7b851aa569
8 changed files with 20 additions and 20 deletions

View File

@ -167,8 +167,8 @@ export function getUserModule() {
{ path: 'search/find/dataproviders', loadChildren: getSearchDataProvidersModule },
{ path: 'search/find/organizations', loadChildren: getSearchOrganizationsModule },
{ path: 'search/find/people', loadChildren: getSearchPeopleModule },
{ path: 'search/data-providers', loadChildren: getCompatibleDataProvidersModule },
{ path: 'search/data-providers-table', loadChildren: getCompatibleDataProvidersTableModule },
{ path: 'search/content-providers', loadChildren: getCompatibleDataProvidersModule },
{ path: 'search/content-providers-table', loadChildren: getCompatibleDataProvidersTableModule },
{ path: 'search/entity-registries', loadChildren: getEntityRegistriesModule },
{ path: 'search/entity-registries-table', loadChildren: getEntityRegistriesTableModule },
{ path: 'search/advanced/publications', loadChildren: getAdvancedSearchPublicationsModule },

View File

@ -12,10 +12,10 @@ import {SearchUtilsClass } from '../searchUtils/searchUtils.class';
import {ExportCSVComponent} from '../../utils/exportCSV.class';
@Component({
selector: 'search-dataproviders',
selector: 'search-content-providers',
template: `
<search-page pageTitle="Compatible Dataproviders"
<search-page pageTitle="OpenAIRE Content Providers"
type="datasources" entityType="dataprovider" [(filters)] = "filters"
[(results)] = "results" [(searchUtils)] = "searchUtils"
[baseUrl] = "baseUrl" [showResultCount]=false
@ -23,7 +23,7 @@ import {ExportCSVComponent} from '../../utils/exportCSV.class';
(downloadClick)="downloadClicked($event)"
[csvParams]="csvParams" csvPath="resources"
[disableForms]="disableForms"
[tableViewLink]="'/search/data-providers-table'">
[tableViewLink]="'/search/content-providers-table'">
</search-page>
<!--table-view [(datasources)] = results></table-view-->
@ -48,7 +48,7 @@ export class SearchCompatibleDataprovidersComponent {
"export":[]
};
public CSVDownloaded = false;
public resourcesQuery = "&query=((oaftype exact datasource) not(datasourcecompatibilityid = UNKNOWN) not(datasourcecompatibilityid = hostedBy) not(datasourcecompatibilityid = notCompatible) not(datasourcetypeuiid = other))";
public resourcesQuery = "&query=((oaftype exact datasource) not(datasourcecompatibilityid = UNKNOWN) not(datasourcecompatibilityid = notCompatible) not(datasourcetypeuiid = other))";
public csvParams: string;
public disableForms: boolean = false;

View File

@ -12,10 +12,10 @@ import {SearchUtilsClass } from '../searchUtils/searchUtils.class';
import {ExportCSVComponent} from '../../utils/exportCSV.class';
@Component({
selector: 'search-dataproviders-table',
selector: 'search-content-providers-table',
template: `
<search-page-table pageTitle="Compatible Dataproviders"
<search-page-table pageTitle="OpenAIRE Content Providers"
type="datasources" entityType="dataprovider" [(filters)] = "filters"
[(results)] = "results" [(searchUtils)] = "searchUtils"
[baseUrl] = "baseUrl" [showResultCount]=false
@ -23,7 +23,7 @@ import {ExportCSVComponent} from '../../utils/exportCSV.class';
(downloadClick)="downloadClicked($event)"
[csvParams]="csvParams" csvPath="resources"
[disableForms]="disableForms"
[searchViewLink]="'/search/data-providers'">
[searchViewLink]="'/search/content-providers'">
</search-page-table>
<!--table-view [(datasources)] = results></table-view-->
@ -48,7 +48,7 @@ export class SearchCompatibleDataprovidersTableComponent {
"export":[]
};
public CSVDownloaded = false;
public resourcesQuery = "&query=((oaftype exact datasource) not(datasourcecompatibilityid = UNKNOWN) not(datasourcecompatibilityid = hostedBy) not(datasourcecompatibilityid = notCompatible) not(datasourcetypeuiid = other))";
public resourcesQuery = "&query=((oaftype exact datasource) not(datasourcecompatibilityid = UNKNOWN) not(datasourcecompatibilityid = notCompatible) not(datasourcetypeuiid = other))";
public csvParams: string;
public disableForms: boolean = false;

View File

@ -66,7 +66,7 @@ export class SearchDataprovidersService {
searchCompatibleDataprovidersTable (params: string,refineParams:string):any {
let size: number = 0;
let url: string= OpenaireProperties.getSearchResourcesAPIURL();
url += "?query=((oaftype exact datasource) not(datasourcecompatibilityid = UNKNOWN) not(datasourcecompatibilityid = hostedBy) not(datasourcecompatibilityid = notCompatible) not(datasourcetypeuiid = other))"
url += "?query=((oaftype exact datasource) not(datasourcecompatibilityid = UNKNOWN) not(datasourcecompatibilityid = notCompatible) not(datasourcetypeuiid = other))"
if(params!= null && params != '' ) {
url += params;
}
@ -90,7 +90,7 @@ export class SearchDataprovidersService {
searchCompatibleDataproviders (params: string,refineParams:string, page: number, size: number, refineFields:string[] ):any {
console.info("in search Compatible Dataproviders service function");
let url: string = OpenaireProperties.getSearchResourcesAPIURL();
url += "?query=((oaftype exact datasource) not(datasourcecompatibilityid = UNKNOWN) not(datasourcecompatibilityid = hostedBy) not(datasourcecompatibilityid = notCompatible) not(datasourcetypeuiid = other))"
url += "?query=((oaftype exact datasource) not(datasourcecompatibilityid = UNKNOWN) not(datasourcecompatibilityid = notCompatible) not(datasourcetypeuiid = other))"
if(params!= null && params != '' ) {
url += params;
}
@ -294,7 +294,7 @@ export class SearchDataprovidersService {
searchCompatibleDataprovidersCSV (params: string,refineParams:string, page: number, size: number):any {
let url = OpenaireProperties.getSearchResourcesAPIURL();
url += "?query=((oaftype exact datasource) not(datasourcecompatibilityid = UNKNOWN) not(datasourcecompatibilityid = hostedBy) not(datasourcecompatibilityid = notCompatible) not(datasourcetypeuiid = other))"
url += "?query=((oaftype exact datasource) not(datasourcecompatibilityid = UNKNOWN) not(datasourcecompatibilityid = notCompatible) not(datasourcetypeuiid = other))"
if(params!= null && params != '' ) {
url += params;
}

View File

@ -46,7 +46,7 @@ import {Session} from '../login/utils/helper.class';
<li class="uk-nav-header uk-parent">
Data Providers
<ul class="uk-nav-sub">
<li><a routerLinkActive="uk-link" routerLink="/search/data-providers" class="uk-offcanvas-close custom-offcanvas-close" >Compatible Data Providers</a></li>
<li><a routerLinkActive="uk-link" routerLink="/search/content-providers" class="uk-offcanvas-close custom-offcanvas-close" >Compatible Data Providers</a></li>
<li><a routerLinkActive="uk-link" routerLink="/search/entity-registries" class="uk-offcanvas-close custom-offcanvas-close" >Entity Registries</a></li>
</ul>
</li>
@ -141,12 +141,12 @@ import {Session} from '../login/utils/helper.class';
</div>
</li>
<li class="uk-parent">
<a routerLinkActive="uk-link" routerLink="/search/data-providers" class="" aria-expanded="false">Data Providers</a>
<a routerLinkActive="uk-link" routerLink="/search/content-providers" class="" aria-expanded="false">Data Providers</a>
<div class="uk-navbar-dropdown uk-navbar-dropdown-bottom-left" style="top: 80px; left: 113px;" id="dpMenu" (click)="onClick('dpMenu')">
<div class="uk-navbar-dropdown-grid uk-child-width-1-1 uk-grid uk-grid-stack" uk-grid="">
<div class="uk-first-column">
<ul class="uk-nav uk-navbar-dropdown-nav">
<li><a routerLinkActive="uk-link" routerLink="/search/data-providers">Compatible Data Providers</a></li>
<li><a routerLinkActive="uk-link" routerLink="/search/content-providers">Compatible Data Providers</a></li>
<li><a routerLinkActive="uk-link" routerLink="/search/entity-registries">Entity Registries</a></li>
</ul>
</div>

View File

@ -19,8 +19,8 @@ export class OpenaireProperties {
private static searchLinkToDatasets = "search/find/datasets";
private static searchLinkToOrganizations = "search/find/organizations";
private static searchLinkToPeople = "search/find/people";
public static searchLinkToCompatibleDataProviders = "search/data-providers";
public static searchLinkToCompatibleDataProvidersTable = "search/data-providers-table";
public static searchLinkToCompatibleDataProviders = "search/content-providers";
public static searchLinkToCompatibleDataProvidersTable = "search/content-providers-table";
public static searchLinkToEntityRegistriesDataProviders = "search/entity-registries";
public static searchLinkToEntityRegistriesDataProvidersTable = "search/entity-registries-table";

View File

@ -81,7 +81,7 @@
<priority>0.5</priority>
</url>
<url>
<loc><![CDATA[https://demo.openaire.eu/search/data-providers]]></loc>
<loc><![CDATA[https://demo.openaire.eu/search/content-providers]]></loc>
<changefreq>weekly</changefreq>
<priority>0.5</priority>
</url>

View File

@ -15,7 +15,7 @@ export const routes: string[] = [
'search/find/people','search/find/publications','search/find/projects','search/find/datasets','search/find/dataproviders','search/find/organizations',
'search/advanced/people','search/advanced/publications','search/advanced/projects','search/advanced/datasets','search/advanced/dataproviders','search/advanced/organizations',
'participate/deposit-publications','participate/deposit-datasets','participate/deposit-publications-result','participate/deposit-datasets-result', 'participate/deposit-subject-result',
'search/data-providers','search/data-providers-table','search/entity-registries','search/entity-registries-table','project-report',
'search/content-providers','search/content-providers-table','search/entity-registries','search/entity-registries-table','project-report',
'claims','myclaims','participate/claim', 'participate/direct-claim', 'claims-project-manager',
'test', 'user-info',
'**','error'