Skip to content

Commit 6f6cfcd

Browse files
committed
Rename
1 parent af88b25 commit 6f6cfcd

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Publish to Blockware Public Maven Repo
1+
name: Publish to Kapeta Public Maven Repo
22
on:
33
push:
44
branches:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
# MongoDB support for Blockware Spring Boot SDK
1+
# MongoDB support for Kapeta Spring Boot SDK

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@
7373
</build>
7474

7575
<scm>
76-
<url>https://github.com/blockwarecom/sdk-java-spring-nosql-mongodb#readme</url>
77-
<connection>git+https://github.com/blockwarecom/sdk-java-spring-nosql-mongodb.git</connection>
76+
<url>https://github.com/kapetacom/sdk-java-spring-nosql-mongodb#readme</url>
77+
<connection>git+https://github.com/kapetacom/sdk-java-spring-nosql-mongodb.git</connection>
7878
</scm>
7979

8080
<parent>

src/main/java/com/kapeta/spring/mongo/AbstractMongoDBConfig.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@
3232
@Slf4j
3333
abstract public class AbstractMongoDBConfig {
3434

35-
private static final String RESOURCE_TYPE = "blockware/resource-type-mongodb";
35+
private static final String RESOURCE_TYPE = "kapeta/resource-type-mongodb";
3636

3737
private static final String PORT_TYPE = "mongodb";
3838

3939
@Autowired
40-
private KapetaClusterService blockwareConfigSource;
40+
private KapetaClusterService kapetaConfigSource;
4141

4242
@Autowired
4343
private ObjectMapper objectMapper;
@@ -57,7 +57,7 @@ protected AbstractMongoDBConfig(String resourceName) {
5757

5858
@Bean
5959
public MongoClient createClient() {
60-
final KapetaClusterService.ResourceInfo mongoInfo = blockwareConfigSource.getResourceInfo(RESOURCE_TYPE, PORT_TYPE, resourceName);
60+
final KapetaClusterService.ResourceInfo mongoInfo = kapetaConfigSource.getResourceInfo(RESOURCE_TYPE, PORT_TYPE, resourceName);
6161
Optional<String> dbUsername = Optional.ofNullable(mongoInfo.getCredentials().get("username"));
6262
Optional<String> dbPassword = Optional.ofNullable(mongoInfo.getCredentials().get("password"));
6363

0 commit comments

Comments
 (0)