Skip to content

Commit

Permalink
Cleanup merge conflicts after rebasing
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Torrey committed Jun 11, 2019
1 parent c9c0586 commit ded9498
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.graylog.integrations.aws;
package org.graylog.integrations.aws.cloudwatch;

import software.amazon.awssdk.regions.Region;
import software.amazon.awssdk.services.cloudwatchlogs.CloudWatchLogsClient;
Expand Down Expand Up @@ -39,4 +39,4 @@ public ArrayList<String> getLogGroupNames(String region) {
}
return groupNameList;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;
import org.apache.shiro.authz.annotation.RequiresAuthentication;
import org.graylog.integrations.aws.cloudwatch.CloudWatchService;
import org.graylog.integrations.aws.KinesisService;
import org.graylog.integrations.aws.cloudwatch.CloudWatchService;
import org.graylog.integrations.aws.resources.requests.KinesisHealthCheckRequest;
import org.graylog.integrations.aws.resources.responses.KinesisHealthCheckResponse;
import org.graylog.integrations.aws.resources.responses.RegionResponse;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@ public static KinesisHealthCheckResponse create(@JsonProperty("success") boolean
@JsonProperty("log_type") String logType,
@JsonProperty("explanation") String explanation,
@JsonProperty("json_message") String jsonMessage) {
return new AutoValue_KinesisHealthCheckResponse(success, logType, explanation);
return new AutoValue_KinesisHealthCheckResponse(success, logType, explanation, jsonMessage);
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package org.graylog.integrations.aws;
package org.graylog.integrations.aws.cloudwatch;

import org.graylog.integrations.aws.cloudwatch.CloudWatchService;
import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
Expand All @@ -19,6 +18,7 @@
import java.util.Arrays;
import java.util.List;

import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import static org.mockito.ArgumentMatchers.isA;
import static org.mockito.Mockito.when;
Expand Down Expand Up @@ -69,8 +69,8 @@ public void testLogGroupNames() {
ArrayList<String> logGroupNames = cloudWatchService.getLogGroupNames("us-east-1");

// Inspect the log groups returned and verify the contents and size.
Assert.assertEquals("The number of groups should be because the two responses " +
"with 3 groups each were provided.", 6, logGroupNames.size());
assertEquals("The number of groups should be because the two responses " +
"with 3 groups each were provided.", 6, logGroupNames.size());

// Loop example to verify presence of a specific log group.
boolean foundGroup = false;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package org.graylog.integrations.aws.resources;

import com.fasterxml.jackson.databind.ObjectMapper;
import org.graylog.integrations.aws.cloudwatch.CloudWatchService;
import org.graylog.integrations.aws.KinesisService;
import org.graylog.integrations.aws.cloudwatch.CloudWatchService;
import org.graylog.integrations.aws.service.AWSService;
import org.graylog2.plugin.configuration.Configuration;
import org.junit.Before;
Expand Down

0 comments on commit ded9498

Please sign in to comment.