From e9f53ad5053e4a615e33a392c5eeaf88ff12cdcb Mon Sep 17 00:00:00 2001 From: argirok Date: Tue, 15 Oct 2024 14:21:56 +0300 Subject: [PATCH] [develop | ADDED| DONE ] add properties for dl170 --- services/cache/mecache/dl170-properties.file | 4 ++++ services/cache/mecache/package.json | 3 ++- services/utils-service/dl170-properties.file | 14 ++++++++++++++ services/utils-service/package.json | 3 ++- services/utils-service/properties.file | 6 +++--- 5 files changed, 25 insertions(+), 5 deletions(-) create mode 100644 services/cache/mecache/dl170-properties.file create mode 100644 services/utils-service/dl170-properties.file diff --git a/services/cache/mecache/dl170-properties.file b/services/cache/mecache/dl170-properties.file new file mode 100644 index 00000000..0bfaa207 --- /dev/null +++ b/services/cache/mecache/dl170-properties.file @@ -0,0 +1,4 @@ +port = 3000 +utilsService= http://dl170.madgik.di.uoa.gr:8000 +environment = development +preloadRequests =https://dev-openaire.d4science.org/openaire/info/,https://dev-openaire.d4science.org/openaire/contexts/,https://dev-openaire.d4science.org/provision/mvc/vocabularies/dnet:provenanceActions.json,https://dev-openaire.d4science.org/provision/mvc/vocabularies/dnet:subject_classification_typologies.json,https://dev-openaire.d4science.org/provision/mvc/vocabularies/dnet:publication_resource.json,https://dev-openaire.d4science.org/provision/mvc/vocabularies/dnet:dataCite_resource.json,https://dev-openaire.d4science.org/provision/mvc/vocabularies/dnet:languages.json,https://dev-openaire.d4science.org/provision/mvc/vocabularies/dnet:access_modes.json,https://dev-openaire.d4science.org/provision/mvc/vocabularies/dnet:datasource_typologies.json,https://dev-openaire.d4science.org/provision/mvc/vocabularies/dnet:datasourceCompatibilityLevel.json,https://dev-openaire.d4science.org/provision/mvc/vocabularies/dnet:countries.json diff --git a/services/cache/mecache/package.json b/services/cache/mecache/package.json index 27345f42..9b30bb70 100644 --- a/services/cache/mecache/package.json +++ b/services/cache/mecache/package.json @@ -7,7 +7,8 @@ "start": "node cache.js", "prepare-dist": "rm -rf dist; mkdir dist; cp package.json ./dist; cp cache.js ./dist; cp properties.file ./dist;", "prepare-beta": " npm run prepare-dist; cp beta-properties.file ./dist/properties.file", - "prepare-prod": " npm run prepare-dist; cp production-properties.file ./dist/properties.file" + "prepare-prod": " npm run prepare-dist; cp production-properties.file ./dist/properties.file", + "prepare-dl170": " npm run prepare-dist; cp dl170-properties.file ./dist/properties.file" }, "dependencies": { "access-log": "^0.4.1", diff --git a/services/utils-service/dl170-properties.file b/services/utils-service/dl170-properties.file new file mode 100644 index 00000000..c06ac7a5 --- /dev/null +++ b/services/utils-service/dl170-properties.file @@ -0,0 +1,14 @@ +userInfoUrl = http://dl170.madgik.di.uoa.gr:19080/login-service/userInfo +searchServiceAPIUrl = https://beta.services.openaire.eu/search/v2/api/ +monitorAPIUrl = http://dl170.madgik.di.uoa.gr:19380/uoa-monitor-service/ +irishMonitorAPIUrl = http://dl170.madgik.di.uoa.gr:19680/irish-monitor-service/ +fundersServiceAPIUrl = https://dev-openaire.d4science.org/openaire/funders/ +ssl = false +localPath = true +# photo size in KB +max.size = 200 +# file size in KB +big-max.size = 1000 +port = 8000 + + diff --git a/services/utils-service/package.json b/services/utils-service/package.json index b816d04a..f202d15e 100644 --- a/services/utils-service/package.json +++ b/services/utils-service/package.json @@ -7,7 +7,8 @@ "start": "node uploadService.js", "prepare-dist": "rm -rf dist; mkdir dist; cp package.json ./dist; cp uploadService.js ./dist; cp properties.file ./dist;", "prepare-beta": " npm run prepare-dist; cp beta-properties.file ./dist/properties.file", - "prepare-prod": " npm run prepare-dist; cp production-properties.file ./dist/properties.file" + "prepare-prod": " npm run prepare-dist; cp production-properties.file ./dist/properties.file", + "prepare-dl170": " npm run prepare-dist; cp dl170-properties.file ./dist/properties.file" }, "keywords": [], "author": "", diff --git a/services/utils-service/properties.file b/services/utils-service/properties.file index ad1fea18..f3678991 100644 --- a/services/utils-service/properties.file +++ b/services/utils-service/properties.file @@ -1,7 +1,7 @@ -userInfoUrl = http://mpagasas.di.uoa.gr:19080/login-service/userInfo +userInfoUrl = http://dl170.madgik.di.uoa.gr:19080/login-service/userInfo searchServiceAPIUrl = https://beta.services.openaire.eu/search/v2/api/ -monitorAPIUrl = http://duffy.di.uoa.gr:19380/uoa-monitor-service/ -irishMonitorAPIUrl = http://mpagasas.di.uoa.gr:19780/irish-monitor-service/ +monitorAPIUrl = http://dl170.madgik.di.uoa.gr:19380/uoa-monitor-service/ +irishMonitorAPIUrl = http://dl170.madgik.di.uoa.gr:19680/irish-monitor-service/ fundersServiceAPIUrl = https://dev-openaire.d4science.org/openaire/funders/ ssl = false localPath = true