Skip to content
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

Merged
merged 10 commits into from
Dec 15, 2023
Merged

Conversation

ishaileshmishra
Copy link
Contributor

  • Taxonomy query support added
  • Early Access Feature Support

- Taxonomy query support
- Early Access Feature Support
- Taxonomy query support
- Early Access Feature Support
- Taxonomy query support
- Early Access Feature Support
- Taxonomy query support
- Early Access Feature Support
- Taxonomy query support
- Early Access Feature Support
- Taxonomy query support
- 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";

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);

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);

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

- Taxonomy query support
- Early Access Feature Support
@ishaileshmishra
Copy link
Contributor Author

Thanks for identifying the issues @nadeem-cs , I have made required changes. Please review again

- Taxonomy query support
- Early Access Feature Support
@ishaileshmishra ishaileshmishra changed the title v1.12.3 CS-42935/feat-taxonomy-and-eah Dec 15, 2023
- Taxonomy query support
- Early Access Feature Support
- Taxonomy query support
- Early Access Feature Support
@ishaileshmishra ishaileshmishra marked this pull request as ready for review December 15, 2023 08:16
@ishaileshmishra ishaileshmishra requested a review from a team as a code owner December 15, 2023 08:16
Copy link

@nadeem-cs nadeem-cs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved.

@ishaileshmishra ishaileshmishra merged commit f05e7c4 into next Dec 15, 2023
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants