Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Open newly generated application-common.properties and add to the end of file:

#Keep the values you created
system.publicKey.exponent
=65537
system.publicKey.modulus=1654279...16542791576464237197115741168030023543768555765149815423056207804115898750150272030411727322231524896551175155037898492728076915519617346687073682011379165144088118691790701662771047263640248846294103388022098344179201635749364430138502578002456382416070080908968493548397526529344581454065539495457482719637205578040869010176879801535701401552743928629254194323297274497978640377764328382086449686909797687362784231506249589019749866648673790980702137962758938232641850441363482055635114831222258576413969687207980655639263972894219356506637083400987878378506097025621309781865072014607314471005351847139410937027017
system.publicKey.timestamp=2019-12-10T07_53_27
system.privateKey.modulus=165427..16542791576464237197115741168030023543768555765149815423056207804115898750150272030411727322231524896551175155037898492728076915519617346687073682011379165144088118691790701662771047263640248846294103388022098344179201635749364430138502578002456382416070080908968493548397526529344581454065539495457482719637205578040869010176879801535701401552743928629254194323297274497978640377764328382086449686909797687362784231506249589019749866648673790980702137962758938232641850441363482055635114831222258576413969687207980655639263972894219356506637083400987878378506097025621309781865072014607314471005351847139410937027017
system.privateKey.exponent=11642831705210..

#add following values11642831705210994411049690424880370416044747770992496397278904816589801636490551862348611055402735643276667440165449562492676621272599449409360721161708103701284228369605659615107718617504714558727368032905370800086450027449218522973868675868033334436138860215239815141368019762363532349188595895875252001819647490257403511924915219756411451381644107385814773058576355503908993471013335338694363094451656069182578188069133853972871606466103411230809009493429520057658639011823042495452836949594146071448607386149533060967446544005093615021421603422759557951384469517434966317454469559814802880269855460304786500659973
activemq.brokerUrl=tcp://activemq:61616
cassandra.cl.delete=ONE
cassandra.cl.read=ONE
cassandra.cl.write=ONE
cassandra.cluster.pwd=password
cassandra.cluster.user=cassandra
cassandra.clusterName="datacenter1"
cassandra.contactPoints=cassandra:9042
cassandra.keyspace=seshat
eureka.client.fetchRegistry=true
eureka.client.initialInstanceInfoReplicationIntervalSeconds=10
eureka.client.instanceInfoReplicationIntervalSeconds=1
eureka.client.serviceUrl.defaultZone=http://eureka:8761/eureka
eureka.client.serviceUrl.registerWithEureka=true
eureka.instance.hostname=eureka
eureka.instance.leaseRenewalIntervalInSeconds=10
eureka.registration.enabled=true
feign.hystrix.enabled=false
portfolio.bookLateFeesAndInterestAsUser=service-runner
postgresql.host=postgres
rhythm.beatCheckRate=60000
rhythm.user=imhotep
ribbon.eureka.enabled=true
ribbon.listOfServers=eureka:8761
server.max-http-header-size=24576
spring.cloud.config.enabled=false
spring.cloud.discovery.enabled=true
system.initialclientid=service-runner

...

Provision Identity micro service

We provide a postman-request-collection as well as a postman-environment that defines variables that are used to hold values received in responses.
Both files are located under fineract-cn-docker-compose/postman-initial-requests folder:

postman_scripts/Fineract-Cn-Initial-Requests.postman_collection.json
postman_scripts/Fineract-Cn-Initial-Setup-Environment.postman_environment.json

Initialize Postman as follows:

  1. Start Postman and load both files into Postman by clicking Import and then selecting the file.
  2. You will see the collection "Fineract-Cn-Initial-Requests" in the left sidebar.
  3. Open the collection by clicking on it.
  4. Select the environment "Fineract-Cn-Initial-Setup-Environment" in the environment drop-down (top right corner in Postman).
  5. Execute the requests one by one by selecting them in the collection and then pressing "Send".

The first request (01. ) will retrieve a token. The response should look like this, with a different token:

{
    "token": "Bearer eyJhbGciOiJSUzUxMiJ9.eyJhdWQiOiJwcm92aXNpb25lci12MSIsInN1YiI6IndlcGVtbmVmcmV0IiwiL21pZm9zLmlvL3NpZ25hdHVyZVRpbWVzdGFtcCI6IjIwMTctMDQtMThUMDlfNDRfMjIiLCIvbWlmb3MuaW8vdG9rZW5Db250ZW50IjoiUk9MRV9BRE1JTiIsImlzcyI6InN5c3RlbSIsImlhdCI6MTUwMDA1NjgxNywiZXhwIjoxNTAwNDE2ODE3fQ.OfxTUTStJbKQc4rAPW5PLIQYNjCG_uqcNPR4up6pIQBWLDxkgEiU9EF1WrB5NQdzXBJIHqjDFQpaVywm5DersIh4LxPGD3MZj3TqZK5_LUcZvBDTa4Xgb41e3xXkWB4TkN6KqfmiK12Ngjrrj7qZGBdtypDmFmZwKQRZIOL6T3QbI7LpbPGpeWjpWZirFgtcn5B1Z_h3r9rirCzecUdVjlaplQufxDuVFJS0R3N67pyuGQENvCAC716ID5KbokTQtITXfjnCztFuQBbtCPcYLIzxsKv_-E5k6Gd0pv01OC0XpY3NSgfAolVVgvSXKoRnL3NwAMP2yuzX6i8hR_q82Q",
    "accessTokenExpiration": "2019-07-18T22:26:57.784"
}

If you don't get a token there is something wrong with your setup. The token is necessary for authentication in other requests thus be sure that this steps works. Important: Be sure to execute the requests in the right order! The outcome is often stored in variables - check the Tests section of the requests.

Only execute following steps (besides 01 that we already did)

...