-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add action input to choose between bw cloud regions (#102)
* Add action input to choose between bw cloud regions Signed-off-by: Kim Oliver Drechsel <[email protected]> * Fix region check Signed-off-by: Kim Oliver Drechsel <[email protected]> * Remove default values from inputs identity_url and api_url * Adjust script Signed-off-by: Kim Oliver Drechsel <[email protected]> * Adjust exception Signed-off-by: Kim Oliver Drechsel <[email protected]> * Add documentation on how the cloud_region setting affects the identity or api url. * Adjust code to use base_url if specified Signed-off-by: Kim Oliver Drechsel <[email protected]> * Adjust mock test Signed-off-by: Kim Oliver Drechsel <[email protected]> * Adjust README.md Signed-off-by: Kim Oliver Drechsel <[email protected]> * Adjust code for cloud-based url Signed-off-by: Kim Oliver Drechsel <[email protected]> * Adjust code Signed-off-by: Kim Oliver Drechsel <[email protected]> * fix input reference in error Signed-off-by: Kim Oliver Drechsel <[email protected]> * Declare variable customUrls as boolean with default false Co-authored-by: Maciej Zieniuk <[email protected]> * fix linting Signed-off-by: Kim Oliver Drechsel <[email protected]> * remove default value for non-required base_url Signed-off-by: Kim Oliver Drechsel <[email protected]> * fix missing cloudRegion variable Signed-off-by: Kim Oliver Drechsel <[email protected]> * adjust error messages Signed-off-by: Kim Oliver Drechsel <[email protected]> * add cloudRegion tests for wrong inputs Signed-off-by: Kim Oliver Drechsel <[email protected]> * fix: re-add default value for base_url input Signed-off-by: Kim Oliver Drechsel <[email protected]> * fix: add default value for identity_url and api_url input Signed-off-by: Kim Oliver Drechsel <[email protected]> * Update __tests__/main.test.ts Co-authored-by: Maciej Zieniuk <[email protected]> * test: adjust tests Signed-off-by: Kim Oliver Drechsel <[email protected]> * dist package update * fixing and expanding tests --------- Signed-off-by: Kim Oliver Drechsel <[email protected]> Signed-off-by: Kim Oliver Drechsel <[email protected]> Co-authored-by: cd-bitwarden <[email protected]> Co-authored-by: Maciej Zieniuk <[email protected]> Co-authored-by: Maciej Zieniuk <[email protected]>
- Loading branch information
1 parent
d94f0a0
commit 6a0f396
Showing
5 changed files
with
212 additions
and
61 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
Oops, something went wrong.