Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ES-1962 #1009

Merged
merged 1 commit into from
Nov 20, 2024
Merged

ES-1962 #1009

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion docker-compose/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions docker-compose/config/esignet-default.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand All @@ -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 -------------------------------------------

Expand Down
8 changes: 4 additions & 4 deletions docker-compose/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down
Loading