Skip to content

Commit e2f1d26

Browse files
committed
fixes for PostgreSQL error and spring initialization in Staging
1 parent 19feb33 commit e2f1d26

File tree

17 files changed

+23
-33
lines changed

17 files changed

+23
-33
lines changed

adapters/dynamoDB_adapters/pom.xml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<artifactId>parent</artifactId>
77
<groupId>org.atomhopper</groupId>
8-
<version>1.2.35</version>
8+
<version>1.2.35-SNAPSHOT</version>
99
<relativePath>../../pom.xml</relativePath>
1010
</parent>
1111
<modelVersion>4.0.0</modelVersion>
@@ -81,6 +81,10 @@
8181
<artifactId>commons-text</artifactId>
8282
<version>1.9</version>
8383
</dependency>
84+
<dependency>
85+
<groupId>commons-lang</groupId>
86+
<artifactId>commons-lang</artifactId>
87+
</dependency>
8488

8589

8690
</dependencies>

adapters/dynamoDB_adapters/src/main/java/org/atomhopper/dynamodb/adapter/DynamoDBFeedSource.java

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -121,11 +121,6 @@ public void afterPropertiesSet() {
121121
}
122122

123123

124-
// Default constructor for Spring instantiation
125-
public DynamoDBFeedSource() {
126-
// Spring will inject dependencies via setters
127-
}
128-
129124
public DynamoDBFeedSource(AmazonDynamoDBClient amazonDynamoDBClient) {
130125
this.amazonDynamoDBClient = amazonDynamoDBClient;
131126
this.dynamoDB = new DynamoDB(this.amazonDynamoDBClient);
@@ -137,15 +132,6 @@ public void setDynamoDB(DynamoDB dynamoDB) {
137132
this.dynamoDB = dynamoDB;
138133
}
139134

140-
// Setter for Spring dependency injection
141-
public void setAmazonDynamoDBClient(AmazonDynamoDBClient amazonDynamoDBClient) {
142-
this.amazonDynamoDBClient = amazonDynamoDBClient;
143-
if (amazonDynamoDBClient != null) {
144-
this.dynamoDB = new DynamoDB(amazonDynamoDBClient);
145-
this.mapper = new DynamoDBMapper(amazonDynamoDBClient);
146-
}
147-
}
148-
149135
/**
150136
* This method is used to return the categories based search with the help of feed and entryId and search type is backward
151137
* whch means it will search for date less the markerDate along with other params.

adapters/hibernate/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>org.atomhopper</groupId>
77
<artifactId>parent</artifactId>
8-
<version>1.2.35</version>
8+
<version>1.2.35-SNAPSHOT</version>
99
<relativePath>./../../pom.xml</relativePath>
1010
</parent>
1111

adapters/jdbc/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>org.atomhopper</groupId>
77
<artifactId>parent</artifactId>
8-
<version>1.2.35</version>
8+
<version>1.2.35-SNAPSHOT</version>
99
<relativePath>./../../pom.xml</relativePath>
1010
</parent>
1111

adapters/migration/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>org.atomhopper</groupId>
77
<artifactId>parent</artifactId>
8-
<version>1.2.35</version>
8+
<version>1.2.35-SNAPSHOT</version>
99
<relativePath>./../../pom.xml</relativePath>
1010
</parent>
1111

adapters/mongodb/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>org.atomhopper</groupId>
77
<artifactId>parent</artifactId>
8-
<version>1.2.35</version>
8+
<version>1.2.35-SNAPSHOT</version>
99
<relativePath>./../../pom.xml</relativePath>
1010
</parent>
1111

adapters/postgres-adapter/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>org.atomhopper</groupId>
77
<artifactId>parent</artifactId>
8-
<version>1.2.35</version>
8+
<version>1.2.35-SNAPSHOT</version>
99
<relativePath>./../../pom.xml</relativePath>
1010
</parent>
1111

atomhopper/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>org.atomhopper</groupId>
77
<artifactId>parent</artifactId>
8-
<version>1.2.35</version>
8+
<version>1.2.35-SNAPSHOT</version>
99
</parent>
1010

1111
<groupId>org.atomhopper</groupId>

atomhopper/src/main/resources/META-INF/atom-server.cfg.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ NOTE: Place this file in the following folder: /etc/atomhopper/atom-server.cfg.x
2828
<categories-descriptor reference="workspace-categories-descriptor" />
2929

3030
<feed title="Testing Feed" resource="/feed">
31-
<feed-source reference="dynamodbFeedSource" />
31+
<!-- <feed-source reference="hibernate-feed-source" /> -->
3232
<publisher reference="dynamodb-feed-publisher" />
3333
</feed>
3434
</workspace>

atomhopper/src/main/webapp/META-INF/application-context.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -221,8 +221,8 @@
221221
<property name="dynamoDBClient" ref="client"></property>
222222
</bean>
223223

224-
<bean id="dynamodbFeedSource" name="dynamodbFeedSource" class="org.atomhopper.dynamodb.adapter.DynamoDBFeedSource">
225-
<property name="amazonDynamoDBClient" ref="client"></property>
226-
</bean>
224+
<!-- <bean id="dynamodb-feed-source" name="dynamodb-feed-source" class="org.atomhopper.dynamodb.adapter.DynamoDBFeedSource">-->
225+
<!-- <property name="dynamoDBClient" ref="client"></property>-->
226+
<!-- </bean>-->
227227

228228
</beans>

0 commit comments

Comments
 (0)