Skip to content

Commit

Permalink
added log to check deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
prakhar-SE authored and VERMARAVI-BV committed Mar 4, 2024
1 parent 240a93d commit 7640021
Show file tree
Hide file tree
Showing 7 changed files with 39 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ public EmoResponse head() {
private <T> T send(String method, @Nullable Object entity) {
try {
Response response;
LOG.info("HI Anand -msg from Prakhar");
if (entity == null) {
response = builder().method(method);
} else {
Expand All @@ -97,6 +98,7 @@ private <T> T send(String method, @Nullable Object entity) {

return null;
} catch (WebApplicationException e) {
LOG.error("Error response is- {},{}",e.getResponse(),e.toString());
throw asEmoClientException(e);
}
}
Expand Down
3 changes: 3 additions & 0 deletions kafka/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
<groupId>com.bazaarvoice.emodb</groupId>
<artifactId>emodb-common-json</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.bazaarvoice.emodb</groupId>
Expand Down Expand Up @@ -63,6 +64,7 @@
<dependency>
<groupId>com.fasterxml.jackson.dataformat</groupId>
<artifactId>jackson-dataformat-yaml</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.datatype</groupId>
Expand Down Expand Up @@ -91,6 +93,7 @@
<dependency>
<groupId>io.dropwizard</groupId>
<artifactId>dropwizard-configuration</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.kafka</groupId>
Expand Down
5 changes: 5 additions & 0 deletions megabus/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
<groupId>com.bazaarvoice.emodb</groupId>
<artifactId>emodb-common-json</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.bazaarvoice.emodb</groupId>
Expand Down Expand Up @@ -137,6 +138,7 @@
<dependency>
<groupId>com.fasterxml.jackson.dataformat</groupId>
<artifactId>jackson-dataformat-yaml</artifactId>
<scope>provided</scope>
<exclusions>
<exclusion>
<groupId>com.fasterxml.jackson.core</groupId>
Expand All @@ -147,6 +149,7 @@
<dependency>
<groupId>com.fasterxml.jackson.datatype</groupId>
<artifactId>jackson-datatype-jsr310</artifactId>
<scope>provided</scope>
<exclusions>
<exclusion>
<groupId>com.fasterxml.jackson.core</groupId>
Expand All @@ -169,6 +172,7 @@
<dependency>
<groupId>io.dropwizard</groupId>
<artifactId>dropwizard-configuration</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>io.dropwizard</groupId>
Expand All @@ -192,6 +196,7 @@
<groupId>org.apache.kafka</groupId>
<artifactId>connect-json</artifactId>
<version>${kafka.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.kafka</groupId>
Expand Down
6 changes: 6 additions & 0 deletions sor-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,26 +21,31 @@
<groupId>com.bazaarvoice.emodb</groupId>
<artifactId>emodb-common-api</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.bazaarvoice.emodb</groupId>
<artifactId>emodb-common-client</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.bazaarvoice.emodb</groupId>
<artifactId>emodb-sor-api</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.bazaarvoice.emodb</groupId>
<artifactId>emodb-sor-client-common</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.bazaarvoice.emodb</groupId>
<artifactId>emodb-common-jersey-client</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
</dependency>

<!-- 3rd-party dependencies -->
Expand Down Expand Up @@ -89,6 +94,7 @@
<dependency>
<groupId>javax.ws.rs</groupId>
<artifactId>jsr311-api</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
Expand Down
2 changes: 2 additions & 0 deletions sor/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -211,10 +211,12 @@
<dependency>
<groupId>com.sun.jersey</groupId>
<artifactId>jersey-client</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>io.dropwizard</groupId>
<artifactId>dropwizard-jackson</artifactId>
<scope>provided</scope>
<exclusions>
<exclusion>
<groupId>com.fasterxml.jackson.datatype</groupId>
Expand Down
20 changes: 20 additions & 0 deletions web/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -725,6 +725,26 @@
<goals>
<goal>build</goal>
</goals>
<configuration>
<ignoredDependencies>
<ignoredDependency>com.bazaarvoice.emodb:emodb-job-api:jar:6.5.84-SNAPSHOT:compile</ignoredDependency>
</ignoredDependencies>
<ignoredDependencies>
<ignoredDependency>org.apache.commons:commons-compress:jar:1.21:compile</ignoredDependency>
</ignoredDependencies>
<ignoredDependencies>
<ignoredDependency>org.apache.cassandra:cassandra-all:jar:3.11.12:compile</ignoredDependency>
</ignoredDependencies>
<ignoredDependencies>
<ignoredDependency>com.bazaarvoice.astyanax:astyanax-core:jar:3.8.0-bv14:compile</ignoredDependency>
</ignoredDependencies>
<ignoredDependencies>
<ignoredDependency>org.coursera:dropwizard-metrics-datadog:jar:1.1.13:compile</ignoredDependency>
</ignoredDependencies>
<ignoredDependencies>
<ignoredDependency>io.dropwizard:dropwizard-metrics:jar:0.7.1:compile</ignoredDependency>
</ignoredDependencies>
</configuration>
</execution>
<execution>
<id>image-push</id>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,7 @@ public Map<String, Object> getPurgeStatus(@PathParam ("table") String table, @Qu
public Map<String, Object> getTableTemplate(@PathParam ("table") String table,
@QueryParam ("debug") BooleanParam debug) {
Map<String, Object> template = _dataStore.getTableTemplate(table);
_log.info("Hi Anana i am here");
// if debugging, sort the json result so it's easier to understand in a browser
return optionallyOrdered(template, debug);
}
Expand Down

0 comments on commit 7640021

Please sign in to comment.