Versions Compared

Key

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

CLOUD CONFIG INTERGATION WITH SCSB APPLICATIONS

 INITIAL SETUP:

  1. Execute the script which is inside the below two files.  

...

     Make sure the application is running successfully.

 BUIlD LATEST COMMOM JAR

  1. Clone the Phase4-SCSB-Common and build the project using the below command

...

2.Place the commonjar under /data/commonjar

 CHANGES ON THE CLIENT APPLICATIONS:

  1. Add the following depenedencies in the build.gradle.

...

  spring.cloud.config.uri=http://localhost:8888
spring.rabbitmq.host=localhost
spring.rabbitmq.port=5672
spring.rabbitmq.username=guest
spring.rabbitmq.password=guest

 USAGE OF PROPERTY RETRIEVAL MECHANISM IN CLIENT APPLICATIONS:

Autowire the PropertyUtil class and call its respective methods to get the desired result.

...