Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
5 replies
Subscribers
7 subscribers
Views
3649 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Administration
Seamless deployment across environments. What is the best practices for an appli
juergeng
over 9 years ago
Seamless deployment across environments. What is the best practices for an application to get aware automatically on what kind of environment (staging areas: dev, test, prod) it is running?This should be used e.g. to define variables for finding the SOA services and so on.We would like to avoide modification of an app after deployment. What is the recommendation?Thanks Juergen
OriginalPostID-152018
OriginalPostID-152018
Discussion posts and replies are publicly visible
Parents
0
Andrew P Gramann
Certified Lead Developer
over 9 years ago
In the past I've used an environment specific constant that has a unique value in each Appian environment (DEV, TEST, PROD, etc). When the webservice node is runs, it picks from a list of possible endpoints based on the environment.
The key piece here is that you need to separate your environment specific constants into a separate application so that regular deployments don't require that you update the value of the constant.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Andrew P Gramann
Certified Lead Developer
over 9 years ago
In the past I've used an environment specific constant that has a unique value in each Appian environment (DEV, TEST, PROD, etc). When the webservice node is runs, it picks from a list of possible endpoints based on the environment.
The key piece here is that you need to separate your environment specific constants into a separate application so that regular deployments don't require that you update the value of the constant.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data