Skip to content
This repository was archived by the owner on Feb 10, 2025. It is now read-only.

Commit f522f53

Browse files
prakhar-SEVERMARAVI-BV
authored andcommitted
added log to check deployment
1 parent 240a93d commit f522f53

File tree

7 files changed

+39
-0
lines changed

7 files changed

+39
-0
lines changed

common/client-jersey2/src/main/java/com/bazaarvoice/emodb/client/Jersey2EmoResource.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ public EmoResponse head() {
8080
private <T> T send(String method, @Nullable Object entity) {
8181
try {
8282
Response response;
83+
LOG.info("HI Anand -msg from Prakhar");
8384
if (entity == null) {
8485
response = builder().method(method);
8586
} else {
@@ -97,6 +98,7 @@ private <T> T send(String method, @Nullable Object entity) {
9798

9899
return null;
99100
} catch (WebApplicationException e) {
101+
LOG.error("Error response is- {},{}",e.getResponse(),e.toString());
100102
throw asEmoClientException(e);
101103
}
102104
}

kafka/pom.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
<groupId>com.bazaarvoice.emodb</groupId>
2222
<artifactId>emodb-common-json</artifactId>
2323
<version>${project.version}</version>
24+
<scope>provided</scope>
2425
</dependency>
2526
<dependency>
2627
<groupId>com.bazaarvoice.emodb</groupId>
@@ -63,6 +64,7 @@
6364
<dependency>
6465
<groupId>com.fasterxml.jackson.dataformat</groupId>
6566
<artifactId>jackson-dataformat-yaml</artifactId>
67+
<scope>provided</scope>
6668
</dependency>
6769
<dependency>
6870
<groupId>com.fasterxml.jackson.datatype</groupId>
@@ -91,6 +93,7 @@
9193
<dependency>
9294
<groupId>io.dropwizard</groupId>
9395
<artifactId>dropwizard-configuration</artifactId>
96+
<scope>provided</scope>
9497
</dependency>
9598
<dependency>
9699
<groupId>org.apache.kafka</groupId>

megabus/pom.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
<groupId>com.bazaarvoice.emodb</groupId>
4242
<artifactId>emodb-common-json</artifactId>
4343
<version>${project.version}</version>
44+
<scope>provided</scope>
4445
</dependency>
4546
<dependency>
4647
<groupId>com.bazaarvoice.emodb</groupId>
@@ -137,6 +138,7 @@
137138
<dependency>
138139
<groupId>com.fasterxml.jackson.dataformat</groupId>
139140
<artifactId>jackson-dataformat-yaml</artifactId>
141+
<scope>provided</scope>
140142
<exclusions>
141143
<exclusion>
142144
<groupId>com.fasterxml.jackson.core</groupId>
@@ -147,6 +149,7 @@
147149
<dependency>
148150
<groupId>com.fasterxml.jackson.datatype</groupId>
149151
<artifactId>jackson-datatype-jsr310</artifactId>
152+
<scope>provided</scope>
150153
<exclusions>
151154
<exclusion>
152155
<groupId>com.fasterxml.jackson.core</groupId>
@@ -169,6 +172,7 @@
169172
<dependency>
170173
<groupId>io.dropwizard</groupId>
171174
<artifactId>dropwizard-configuration</artifactId>
175+
<scope>provided</scope>
172176
</dependency>
173177
<dependency>
174178
<groupId>io.dropwizard</groupId>
@@ -192,6 +196,7 @@
192196
<groupId>org.apache.kafka</groupId>
193197
<artifactId>connect-json</artifactId>
194198
<version>${kafka.version}</version>
199+
<scope>provided</scope>
195200
</dependency>
196201
<dependency>
197202
<groupId>org.apache.kafka</groupId>

sor-client/pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,26 +21,31 @@
2121
<groupId>com.bazaarvoice.emodb</groupId>
2222
<artifactId>emodb-common-api</artifactId>
2323
<version>${project.version}</version>
24+
<scope>provided</scope>
2425
</dependency>
2526
<dependency>
2627
<groupId>com.bazaarvoice.emodb</groupId>
2728
<artifactId>emodb-common-client</artifactId>
2829
<version>${project.version}</version>
30+
<scope>provided</scope>
2931
</dependency>
3032
<dependency>
3133
<groupId>com.bazaarvoice.emodb</groupId>
3234
<artifactId>emodb-sor-api</artifactId>
3335
<version>${project.version}</version>
36+
<scope>provided</scope>
3437
</dependency>
3538
<dependency>
3639
<groupId>com.bazaarvoice.emodb</groupId>
3740
<artifactId>emodb-sor-client-common</artifactId>
3841
<version>${project.version}</version>
42+
<scope>provided</scope>
3943
</dependency>
4044
<dependency>
4145
<groupId>com.bazaarvoice.emodb</groupId>
4246
<artifactId>emodb-common-jersey-client</artifactId>
4347
<version>${project.version}</version>
48+
<scope>provided</scope>
4449
</dependency>
4550

4651
<!-- 3rd-party dependencies -->
@@ -89,6 +94,7 @@
8994
<dependency>
9095
<groupId>javax.ws.rs</groupId>
9196
<artifactId>jsr311-api</artifactId>
97+
<scope>provided</scope>
9298
</dependency>
9399
<dependency>
94100
<groupId>org.apache.httpcomponents</groupId>

sor/pom.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,10 +211,12 @@
211211
<dependency>
212212
<groupId>com.sun.jersey</groupId>
213213
<artifactId>jersey-client</artifactId>
214+
<scope>provided</scope>
214215
</dependency>
215216
<dependency>
216217
<groupId>io.dropwizard</groupId>
217218
<artifactId>dropwizard-jackson</artifactId>
219+
<scope>provided</scope>
218220
<exclusions>
219221
<exclusion>
220222
<groupId>com.fasterxml.jackson.datatype</groupId>

web/pom.xml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -718,6 +718,26 @@
718718
<goals>
719719
<goal>stop</goal>
720720
</goals>
721+
<configuration>
722+
<ignoredUnusedDeclaredDependencies>
723+
<ignoredUnusedDeclaredDependency>com.bazaarvoice.emodb:emodb-job-api:jar:6.5.84-SNAPSHOT:compile</ignoredUnusedDeclaredDependency>
724+
</ignoredUnusedDeclaredDependencies>
725+
<ignoredUnusedDeclaredDependencies>
726+
<ignoredUnusedDeclaredDependency>org.apache.commons:commons-compress:jar:1.21:compile</ignoredUnusedDeclaredDependency>
727+
</ignoredUnusedDeclaredDependencies>
728+
<ignoredUnusedDeclaredDependencies>
729+
<ignoredUnusedDeclaredDependency>org.apache.cassandra:cassandra-all:jar:3.11.12:compile</ignoredUnusedDeclaredDependency>
730+
</ignoredUnusedDeclaredDependencies>
731+
<ignoredUnusedDeclaredDependencies>
732+
<ignoredUnusedDeclaredDependency>com.bazaarvoice.astyanax:astyanax-core:jar:3.8.0-bv14:compile</ignoredUnusedDeclaredDependency>
733+
</ignoredUnusedDeclaredDependencies>
734+
<ignoredUnusedDeclaredDependencies>
735+
<ignoredUnusedDeclaredDependency>org.coursera:dropwizard-metrics-datadog:jar:1.1.13:compile</ignoredUnusedDeclaredDependency>
736+
</ignoredUnusedDeclaredDependencies>
737+
<ignoredUnusedDeclaredDependencies>
738+
<ignoredUnusedDeclaredDependency>io.dropwizard:dropwizard-metrics:jar:0.7.1:compile</ignoredUnusedDeclaredDependency>
739+
</ignoredUnusedDeclaredDependencies>
740+
</configuration>
721741
</execution>
722742
<execution>
723743
<id>build</id>

web/src/main/java/com/bazaarvoice/emodb/web/resources/sor/DataStoreResource1.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,7 @@ public Map<String, Object> getPurgeStatus(@PathParam ("table") String table, @Qu
294294
public Map<String, Object> getTableTemplate(@PathParam ("table") String table,
295295
@QueryParam ("debug") BooleanParam debug) {
296296
Map<String, Object> template = _dataStore.getTableTemplate(table);
297+
_log.info("Hi Anana i am here");
297298
// if debugging, sort the json result so it's easier to understand in a browser
298299
return optionallyOrdered(template, debug);
299300
}

0 commit comments

Comments
 (0)