diff --git a/portal-2/src/app/claims/linking/insertClaim/insertClaim.component.ts b/portal-2/src/app/claims/linking/insertClaim/insertClaim.component.ts index b1586393..0723e9b6 100644 --- a/portal-2/src/app/claims/linking/insertClaim/insertClaim.component.ts +++ b/portal-2/src/app/claims/linking/insertClaim/insertClaim.component.ts @@ -294,7 +294,7 @@ private errorsInClaimsInsertion(){ createDirectClaim(result, projects, contexts){ var entity = {}; var md5_id = Md5.hashStr(result.id); - entity["originalId"]="user:claim__"+md5_id; + entity["originalId"]="userclaim___::"+md5_id; entity["title"]=result.title; entity["title"] =(Array.isArray(result.title) && result.title.length > 0 )?result.title[0]:result.title; diff --git a/portal-2/src/app/test/test.component.ts b/portal-2/src/app/test/test.component.ts index 7143368e..f66864f6 100644 --- a/portal-2/src/app/test/test.component.ts +++ b/portal-2/src/app/test/test.component.ts @@ -44,9 +44,7 @@ export class TestComponent { this.checktables(sf.ORGANIZATION_REFINE_FIELDS,sf.ORGANIZATION_FIELDS,sf.ORGANIZATION_FIELDS); this.checktables(sf.ORGANIZATION_ADVANCED_FIELDS,sf.ORGANIZATION_FIELDS,sf.ORGANIZATION_FIELDS); console.info("~~~PERSON"); - - this.checktables(sf.PERSON_REFINE_FIELDS,sf.PERSON_FIELDS,sf.PERSON_FIELDS); - this.checktables(sf.PERSON_ADVANCED_FIELDS,sf.PERSON_FIELDS,sf.PERSON_FIELDS); + } checktables(fields,fieldsDetails,fieldsParam){ for(var i =0; i < fields.length; i++){ @@ -59,5 +57,5 @@ export class TestComponent { - + } diff --git a/portal-2/src/app/utils/properties/openaireProperties.ts b/portal-2/src/app/utils/properties/openaireProperties.ts index 57b80df8..de47104e 100644 --- a/portal-2/src/app/utils/properties/openaireProperties.ts +++ b/portal-2/src/app/utils/properties/openaireProperties.ts @@ -38,7 +38,7 @@ export class OpenaireProperties { private static loginAPIURL = "http://scoobydoo.di.uoa.gr:8080/uoa-user-management-1.0.0-SNAPSHOT/api/users/authenticates"; private static loginAPIURL_pm = "https://beta.services.openaire.eu/uoa-user-management/api/users/authenticates"; - private static claimsAPIURL = "http://scoobydoo.di.uoa.gr:8080/dnet-openaire-connector-service-2.0.0-SNAPSHOT/rest/claimsService/"; + private static claimsAPIURL = "http://scoobydoo.di.uoa.gr:8080/dnet-claims-service-2.0.0-SNAPSHOT/rest/claimsService/"; private static claimsAPIURL_pm = "https://beta.services.openaire.eu/claims/rest/claimsService/"; private static searchAPIURLLAst_pm = "https://beta.services.openaire.eu/search/v2/api/"; diff --git a/portal-2/src/index.html b/portal-2/src/index.html index 71285c41..3e8aae23 100644 --- a/portal-2/src/index.html +++ b/portal-2/src/index.html @@ -25,26 +25,35 @@