-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Running ziggurat in different modes (#46)
* Extracts out states per mode * Refactors initialize of states Co-authored-by: Saptanto <saptanto.sindu@gmail.com> * Starts and stops the state according to modes passed in main Co-authored-by: Saptanto <saptanto.sindu@gmail.com> * Refactors validates modes Co-authored-by: Saptanto <saptanto.sindu@gmail.com> * Makes sure that api-server is called management-api-server Co-authored-by: Saptanto <saptanto.sindu@gmail.com> * Throws a proper exception when invalid mode is passed Co-authored-by: Saptanto <saptanto.sindu@gmail.com> * Removed unused code and imports Co-authored-by: Saptanto <saptanto.sindu@gmail.com> * Makes start fn and stop fn vector as a map * Uses ex-info instead of IllegalArgumentException * Converts string literals to keywords for modes
- Loading branch information
1 parent
2781286
commit b20e46d
Showing
5 changed files
with
160 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters