-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding multi environment support for APK #1770
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1770 +/- ##
==========================================
- Coverage 26.00% 25.66% -0.34%
==========================================
Files 250 130 -120
Lines 29536 14999 -14537
Branches 4894 2453 -2441
==========================================
- Hits 7680 3850 -3830
+ Misses 21594 11018 -10576
+ Partials 262 131 -131
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
4c96d9b
to
decc78e
Compare
|
||
func getTokenIssuerEnvironments(environments []string) []string { | ||
|
||
resolvedEnvirenvironments := []string{} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix typo
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is fixed.
@@ -45,6 +45,8 @@ public class APIConstants { | |||
public static final String AUTHORIZATION_BEARER = "Bearer "; | |||
public static final String API_KEY_TYPE_PRODUCTION = "PRODUCTION"; | |||
public static final String API_KEY_TYPE_SANDBOX = "SANDBOX"; | |||
public static final String DEFAULT_ENVIRONMENT_NAME = "Default"; | |||
public static final String DEFAULT_ENVIRONMENT_ID = "Default-ID"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can remove this. Not used in the new design.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed this.
@@ -40,4 +40,12 @@ public String getApiContext() { | |||
public void setApiContext(String apiContext) { | |||
this.apiContext = apiContext; | |||
} | |||
|
|||
public String getEnvironment() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should change to EnvID.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed.
Purpose
Goals
Approach
User stories
Release note
Documentation
Training
Certification
Marketing
Automation tests
Security checks
Samples
Related PRs
Migrations (if applicable)
Test environment
Learning