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

Xray integration test #113

Merged
merged 22 commits into from
Feb 18, 2025
Merged

Xray integration test #113

merged 22 commits into from
Feb 18, 2025

Conversation

janaartananselvarajan
Copy link
Collaborator

No description provided.

Copy link

google-cla bot commented Feb 4, 2025

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@@ -429,4 +461,26 @@ private static class GrammarParseException extends RuntimeException {
+ "%nSee the below error message for more details", originalSource, title), e);
}
}

public interface PickleJarFactoryGenerator extends QuadFunction<PdslGherkinRecognizer,
Copy link
Collaborator

Choose a reason for hiding this comment

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

I don't think we're actually using this or the QuadFunction anywhere. Can you delete them if this is the case?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

removed

@@ -57,19 +57,19 @@ public DefaultPdslTestCase(String testCaseTitle, List<TestBodyFragment> testBody
}

@Override
public URI getOriginalSource() { return source; }
Copy link
Collaborator

Choose a reason for hiding this comment

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

These are not backwards compatible changes!

If you modify a public API someone else may break someone else's code!

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

it automatically comes up.. i didn't do this change

import java.util.Properties;
import java.util.logging.Logger;

public class XrayAuth {
Copy link
Collaborator

Choose a reason for hiding this comment

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

XRay doesn't belong in the standard library!

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

moved

private final String clientId;
private final String clientSecret;

public XrayAuth(String xrayUrl, String clientId, String clientSecret) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

You need Javadocs on all public classes and methods

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

added javadocs

import java.util.Iterator;
import java.util.List;

public record XrayTestCase(URI originalSource, List<String> unfilteredPhraseBody,
Copy link
Collaborator

Choose a reason for hiding this comment

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

Javadocs, no XRay classes in standard library

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

moved

Copy link
Collaborator

Choose a reason for hiding this comment

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

Get rid of XRay properties in the standard library.
Also....
WHAT THE HECK WERE YOU THINKING PUTTING SECRETS IN A PUBLIC SPACE!!!! PULL IT DOWN! PULL IT DOWN!!!!!!!!!!

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

removed

Copy link
Collaborator

Choose a reason for hiding this comment

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

This looks like a test specifically for XRay. It's not suitable for the standard library.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

removed

Copy link
Collaborator

Choose a reason for hiding this comment

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

No

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

moved

Copy link
Collaborator

Choose a reason for hiding this comment

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

Remove your backups from all of your CLs.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

removed

@incident-recipient incident-recipient merged commit 5a7495c into main Feb 18, 2025
3 of 5 checks passed
@incident-recipient incident-recipient deleted the xray-int branch February 18, 2025 23:11
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