Forum Discussion
I would suggest to try the following -- choose one of the mock services and utilize it's start script. The script can do the setup for all mock services included within WAR. The start script is executed when a mock service is started, so should be executed just once as you need.
I use dynamic mock services with Groovy scripts deployed as WAR, but not the start scripts in particular.
I am not aware of another of-the-shelf functionality you could use. If this won't work, you will probably need to customize the WAR.
Karel
Yeah, that was my fallback.
It's a shame because I would love to have somewhere I could dump all the class definition code I'm going to have to write and keep the scriptlets relatively clean.
- Lavalyte8 years agoOccasional Contributor
I think this is a difference between open source and NG Pro.
Related Content
- 8 years ago
- 11 years ago
- 4 years ago
Recent Discussions
- 2 days ago