0 Replies Latest reply on Aug 19, 2018 12:52 AM by yangju

    expressions in standalone.xml subsystems to replace properties managed by archaius

    yangju

      Hi, currently we use -P myFile.properies on the command line when running "standalone.sh" command.

      The standalone.xml's datasource subsystems contains datasource connection urls, which are specified in the myFile.properties file. This file is populated by DevOps when the application is deployed.

      I am thinking to use archaius library to manage the configurations. Instead of using property files, database or aws dynamoDb tables may be used to look up datasource connection url and other properties which need to be replaced at deployment time. The archaius will allows us to specify properties in both file and database tables in a specified hierarchy.

       

      Is it possible to do this? Can the -P option on command line use url or work with archaius?

      If I am on the wrong direction, do you have a better approach?

       

      Thanks in advance.