-
Notifications
You must be signed in to change notification settings - Fork 2
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
CS-42935/feat-taxonomy-and-eah #95
Conversation
ishaileshmishra
commented
Dec 13, 2023
- Taxonomy query support added
- Early Access Feature Support
@@ -26,6 +26,8 @@ public class Constants { | |||
protected static final String CONTENT_TYPE_UID = "content_type_uid"; | |||
protected static final String ENTRY_UID = "entry_uid"; | |||
protected static final String LIVE_PREVIEW = "live_preview"; | |||
|
|||
protected static final String TaxonomyPath = "/taxonomies/entries?query"; |
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.
Change this to all UPPERCASE with an underscore separating the words as per the naming conventions for constants. @ishaileshmishra
@@ -14,16 +14,14 @@ class TestAsset { | |||
private String assetUid; | |||
private final Stack stack = Credentials.getStack(); | |||
|
|||
private String envChecker() { | |||
private void envChecker() { | |||
String githubActions = System.getenv("GITHUB_ACTIONS"); | |||
if (githubActions != null && githubActions.equals("true")) { | |||
System.out.println("Tests are running in GitHub Actions environment."); | |||
String mySecretKey = System.getenv("API_KEY"); | |||
System.out.println("My Secret Key: " + mySecretKey); |
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.
Why are we logging the API_KEY here? @ishaileshmishra
@@ -65,7 +64,7 @@ private Credentials() throws AccessException { | |||
public static Stack getStack() { | |||
if (stack == null) { | |||
var envCheck = envChecker(); | |||
System.out.println(envCheck); | |||
System.out.println("idendified env file detected " + envCheck); |
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.
Why are we logging the env here? @ishaileshmishra
Thanks for identifying the issues @nadeem-cs , I have made required changes. Please review again |
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.
Approved.