From 67c4a07114d46910342053045430bcc767f224df Mon Sep 17 00:00:00 2001 From: ase-101 Date: Tue, 19 Nov 2024 16:46:39 +0530 Subject: [PATCH] ES-1962 Signed-off-by: ase-101 --- docker-compose/README.md | 4 +++- docker-compose/config/esignet-default.properties | 4 ++-- docker-compose/docker-compose.yml | 8 ++++---- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/docker-compose/README.md b/docker-compose/README.md index 532d31dff..0b7220fd8 100644 --- a/docker-compose/README.md +++ b/docker-compose/README.md @@ -26,7 +26,9 @@ and copy the downloaded jar under loader_path directory. 3. Download the postman script from [here](../docs/postman-collections/esignet-with-mock-IDA.postman_collection.json) and its environment from [here](../docs/postman-collections/esignet-with-mock-IDA.postman_environment.json) -4. Import the downloaded collection and environment into postman. +4. Import the downloaded collection and environment into postman. We use "Postman-util-lib" for cryptographic functions in the postman. To install +"Postman-util-lib" javascript library download [this collection](https://raw.githubusercontent.com/joolfe/postman-util-lib/refs/heads/master/postman/PostmanUtilityLibv21.postman_collection.json) +and import into postman. Run the "Lib Install" request in the imported collection. 5. To create an OIDC/OAuth client, run the below request from the postman collection "OIDC Client mgmt" folder * Get CSRF token diff --git a/docker-compose/config/esignet-default.properties b/docker-compose/config/esignet-default.properties index f9f2711d0..6bcfff054 100644 --- a/docker-compose/config/esignet-default.properties +++ b/docker-compose/config/esignet-default.properties @@ -220,7 +220,7 @@ mosip.esignet.cache.store.individual-id=true mosip.esignet.cache.security.secretkey.reference-id=TRANSACTION_CACHE mosip.esignet.cache.security.algorithm-name=AES/ECB/PKCS5Padding -mosip.esignet.cache.names=clientdetails,preauth,authenticated,authcodegenerated,userinfo,linkcodegenerated,linked,linkedcode,linkedauth,consented,authtokens,bindingtransaction,vcissuance +mosip.esignet.cache.names=clientdetails,preauth,authenticated,authcodegenerated,userinfo,linkcodegenerated,linked,linkedcode,linkedauth,consented,authtokens,bindingtransaction,vcissuance,apiRateLimit,blocked #spring.cache.type=redis #spring.cache.cache-names=${mosip.esignet.cache.names} @@ -235,7 +235,7 @@ mosip.esignet.cache.size={'clientdetails' : 200, 'preauth': 200, 'authenticated' mosip.esignet.cache.expire-in-seconds={'clientdetails' : 86400, 'preauth': 1000,'authenticated': ${mosip.esignet.authentication-expire-in-secs},'authenticated': 1000, 'authcodegenerated': 600, \ 'userinfo': ${mosip.esignet.access-token-expire-seconds}, 'linkcodegenerated' : ${mosip.esignet.link-code-expire-in-secs}, \ 'linked': 600 , 'linkedcode': ${mosip.esignet.link-code-expire-in-secs}, 'linkedauth' : ${mosip.esignet.authentication-expire-in-secs}, 'consented': 600, \ - 'authtokens': 28800, 'bindingtransaction': 600, 'vcissuance': ${mosip.esignet.access-token-expire-seconds}, 'apiRateLimit' : 180, 'blocked': 300 } + 'authtokens': 28800, 'bindingtransaction': 600, 'vcissuance': ${mosip.esignet.access-token-expire-seconds}, 'apiRateLimit' : 180, 'blocked': 300 } ## ------------------------------------------ Discovery openid-configuration ------------------------------------------- diff --git a/docker-compose/docker-compose.yml b/docker-compose/docker-compose.yml index 3a6d50f5e..bb9087c22 100644 --- a/docker-compose/docker-compose.yml +++ b/docker-compose/docker-compose.yml @@ -12,12 +12,12 @@ services: - ./init.sql:/docker-entrypoint-initdb.d/init.sql artifactory-server: - image: 'mosipqa/artifactory-server:1.4.1-ES' + image: 'mosipid/artifactory-server:1.4.1-ES' ports: - 8080:8080 mock-identity-system: - image: 'mosipqa/mock-identity-system:0.9.x' + image: 'mosipid/mock-identity-system:0.9.3' user: root ports: - 8082:8082 @@ -54,7 +54,7 @@ services: KAFKA_CREATE_TOPICS: "esignet-linked:1:1,esignet-consented:1:1" esignet: - image: 'mosipqa/esignet:1.4.x' + image: 'mosipid/esignet:1.4.1' user: root ports: - 8088:8088 @@ -73,7 +73,7 @@ services: - ./loader_path/:/home/mosip/additional_jars/ esignet-ui: - image: 'mosipqa/oidc-ui:1.4.x' + image: 'mosipid/oidc-ui:1.4.1' user: root ports: - 3000:3000