Skip to content

Commit

Permalink
Revert "feat: Adding E2E metric test for RDS database interactions" (#…
Browse files Browse the repository at this point in the history
…125)

Reverts #102
  • Loading branch information
majanjua-amzn authored Jul 22, 2024
1 parent f2667a4 commit 8bb7c36
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 451 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/java-eks-e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ jobs:
-var="sample_remote_app_image=${{ env.REMOTE_SAMPLE_APP_IMAGE_ARN }}" \
-var="rds_mysql_cluster_endpoint=${{env.RDS_MYSQL_CLUSTER_ENDPOINT}}" \
-var="rds_mysql_cluster_username=${{env.RDS_MYSQL_CLUSTER_SECRETS_USERNAME}}" \
-var='rds_mysql_cluster_password=${{env.RDS_MYSQL_CLUSTER_SECRETS_PASSWORD}}' \
-var="rds_mysql_cluster_password=${{env.RDS_MYSQL_CLUSTER_SECRETS_PASSWORD}}" \
|| deployment_failed=$?
if [ $deployment_failed -ne 0 ]; then
Expand Down Expand Up @@ -374,7 +374,6 @@ jobs:
--service-name sample-application-${{ env.TESTING_ID }}
--remote-service-name sample-remote-application-${{ env.TESTING_ID }}
--remote-service-deployment-name ${{ env.REMOTE_SERVICE_DEPLOYMENT_NAME }}
--remote-resource-identifier "information_schema|${{env.RDS_MYSQL_CLUSTER_ENDPOINT}}|3306"
--query-string ip=${{ env.REMOTE_SERVICE_POD_IP }}&testingId=${{ env.TESTING_ID }}
--rollup'

Expand Down
4 changes: 0 additions & 4 deletions validator/src/main/java/com/amazon/aoc/App.java
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,6 @@ public class App implements Callable<Integer> {
@CommandLine.Option(names = {"--remote-service-deployment-name"})
private String remoteServiceDeploymentName;

@CommandLine.Option(names = {"--remote-resource-identifier"})
private String remoteResourceIdentifier;

@CommandLine.Option(names = {"--endpoint"})
private String endpoint;

Expand Down Expand Up @@ -173,7 +170,6 @@ public Integer call() throws Exception {
context.setServiceName(this.serviceName);
context.setRemoteServiceName(this.remoteServiceName);
context.setRemoteServiceDeploymentName(this.remoteServiceDeploymentName);
context.setRemoteResourceIdentifier(this.remoteResourceIdentifier);
context.setEndpoint(this.endpoint);
context.setQueryString(this.queryString);
context.setLogGroup(this.logGroup);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ public enum PredefinedExpectedTemplate implements FileConfig {
JAVA_EKS_CLIENT_CALL_METRIC("/expected-data-template/java/eks/client-call-metric.mustache"),
JAVA_EKS_CLIENT_CALL_TRACE("/expected-data-template/java/eks/client-call-trace.mustache"),

JAVA_EKS_RDS_MYSQL_METRIC("/expected-data-template/java/eks/rds-mysql-metric.mustache"),

/** Java EC2 Default Test Case Validations */
JAVA_EC2_DEFAULT_OUTGOING_HTTP_CALL_LOG("/expected-data-template/java/ec2/default/outgoing-http-call-log.mustache"),
JAVA_EC2_DEFAULT_OUTGOING_HTTP_CALL_METRIC("/expected-data-template/java/ec2/default/outgoing-http-call-metric.mustache"),
Expand Down
2 changes: 0 additions & 2 deletions validator/src/main/java/com/amazon/aoc/models/Context.java
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,6 @@ public class Context {

private String remoteServiceDeploymentName;

private String remoteResourceIdentifier;

private String endpoint;

private String queryString;
Expand Down
Loading

0 comments on commit 8bb7c36

Please sign in to comment.