問題文
One Mule application will be deployed to a development environment, a test environment, and a production environment. The endpoint of a backend service differs in each environment, and the deployment pipeline must supply the value without rebuilding the artifact. Which approach fits?
選択肢
- Read the endpoint from a placeholder, keep a properties file per environment in the artifact, and let the pipeline pass the environment name at deployment time.
- Read the endpoint from a placeholder, keep one properties file in the artifact, and let the pipeline edit that file inside the archive before each deployment.
- Read the endpoint from a placeholder, keep the value in the object store, and let an administrator write the value through a connector after each deployment.
- Read the endpoint from a placeholder, keep the value in the flow as a literal, and let the pipeline replace that literal in the source before each build.