Skip to content

Commit

Permalink
Updating all the config templates properties
Browse files Browse the repository at this point in the history
  • Loading branch information
Saumya Saumya authored and Saumya Saumya committed Dec 3, 2019
1 parent 95e697b commit f39994f
Show file tree
Hide file tree
Showing 5 changed files with 45 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config-templates/application-env.properties
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ mosip.kernel.uin.length.conjugative-even-digits-limit=3

#------------------------Auth-Adapter-----------------------------------------------
auth.server.validate.url=${mosip.base.url}/v1/authmanager/authorize/validateToken

iam.datastore.commonname=morocco

#----------------------- Crypto --------------------------------------------------
#Crypto asymmetric algorithm name
Expand Down Expand Up @@ -371,4 +371,4 @@ mosip.uin.alias=
mosip.kernel.salt-generator.chunk-size=10
mosip.kernel.salt-generator.start-sequence=0
mosip.kernel.salt-generator.end-sequence=999
#----------------------------------------------------------------------------------------------------------#
#----------------------------------------------------------------------------------------------------------#
5 changes: 5 additions & 0 deletions config-templates/id-repository-env.properties
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,11 @@ mosip.idrepo.retrieve-by-uin.rest.httpMethod=GET
mosip.idrepo.retrieve-by-uin.rest.headers.mediaType=application/json
mosip.idrepo.retrieve-by-uin.rest.timeout=10

mosip.idrepo.vid-generator.rest.uri=${mosip.base.url}/v1/vidgenerator/vid
mosip.idrepo.vid-generator.rest.httpMethod=GET
mosip.idrepo.vid-generator.rest.headers.mediaType=application/json
mosip.idrepo.vid-generator.rest.timeout=1

#---------------------------------Id Repo Salt Generator---------------------------------------------------#
mosip.idrepo.salt-generator.start-sequence=0
mosip.idrepo.salt-generator.end-sequence=999
Expand Down
28 changes: 28 additions & 0 deletions config-templates/kernel-env.properties
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,11 @@ iam.datasource.password={{ iamuser_password }}
iam.datasource.driverClassName=org.postgresql.Driver
spring.jpa.properties.hibernate.jdbc.lob.non_contextual_creation=true

#Database mappings vid
vid_database_url=jdbc:postgresql://${mosip.kernel.database.hostname}:${mosip.kernel.database.port}/mosip_kernel
vid_database_username=kerneluser
vid_database_password={{ kerneluser_password }}

#---------Ldap------------
ldap_1_DS.datastore.ipaddress=< ldap-ipaddress >
ldap_1_DS.datastore.port=< ldap-port >
Expand Down Expand Up @@ -264,3 +269,26 @@ keycloak.verify-token-audience=true
mosip.kernel.open-id-uri={{ keyclock open id uri }}

#-------------------------------------------------------------------------------------------------#
#------------------------VID Generator Service---------------------------------------
#minimum threshold of unused vid
mosip.kernel.vid.min-unused-threshold=100000
#number of vids to generate
mosip.kernel.vid.vids-to-generate=200000
#time to renew after expiry(in days)
mosip.kernel.vid.time-to-renew-after-expiry=5
#for genaration on init vids timeout
mosip.kernel.vid.pool-population-timeout=10000000

kernel.vid.revoke-scheduler-type=cron
#schedular seconds configuration
kernel.vid.revoke-scheduler-seconds=0
#schedular minutes configuration
kernel.vid.revoke-scheduler-minutes=0
#schedular hours configuration
kernel.vid.revoke-scheduler-hours=23
#schedular days configuration
kernel.vid.revoke-scheduler-days_of_month=*
#schedular months configuration
kernel.vid.revoke-scheduler-months=*
#schedular weeks configuration
kernel.vid.revoke-scheduler-days_of_week=*
4 changes: 4 additions & 0 deletions config-templates/pre-registration-env.properties
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,8 @@ mosip.kernel.idobjectvalidator.file-storage-uri=${spring.cloud.config.uri}/${spr
# Plug in property source as either 'LOCAL' or 'CONFIG_SERVER' or 'APPLICATION_CONTEXT' through this key
mosip.kernel.idobjectvalidator.property-source=CONFIG_SERVER

mosip.kernel.idobjectvalidator.referenceValidator=io.mosip.kernel.idobjectvalidator.impl.IdObjectReferenceValidator


mosip.kernel.idobjectvalidator.masterdata.languages.rest.uri=${masterdata.resource.url}/languages
mosip.kernel.idobjectvalidator.masterdata.gendertypes.rest.uri=${masterdata.resource.url}/gendertypes
Expand Down Expand Up @@ -209,6 +211,8 @@ mosip.preregistration.document.fetch.content.id=mosip.pre-registration.document.
mosip.preregistration.document.delete.id=mosip.pre-registration.document.delete
#id for document delete by document id
mosip.preregistration.document.delete.specific.id=mosip.pre-registration.document.delete.specific
#Enable or disable the virus scanner(true/false)
mosip.preregistration.document.scan=true



Expand Down
6 changes: 6 additions & 0 deletions config-templates/registration-env.properties
Original file line number Diff line number Diff line change
Expand Up @@ -355,3 +355,9 @@ mosip.registration.cbeff_algorithm_type = SHA-256

#Minimum disk space required to create a packet(in MB)
mosip.registration.disk_space_size=5

#Current MDS version
current_mdm_spec=0.9.2

#Admin Setting to turn local deduplication check On or Off. If y, dedupe check is turned on. Else, turned off.
mosip.registration.mds.deduplication.enable.flag=n

0 comments on commit f39994f

Please sign in to comment.