Skip to content

Commit 4120cc3

Browse files
committed
Bump versions & initial README
1 parent c71050b commit 4120cc3

File tree

3 files changed

+36
-8
lines changed

3 files changed

+36
-8
lines changed

spring-cli/README .md

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,36 @@
11
# Spring CLI integration
22

3+
Spring CLI integration with a project catalog to help you create Spring Boot projects using Oracle and [Oracle Backend for Microservices and AI](https://bit.ly/OracleAI-microservices).
4+
5+
## Install Spring CLI
6+
7+
The goal of the Spring CLI is to increase your productivity when you create new projects and when you add functionality to existing projects. [Spring CLI documentation](https://docs.spring.io/spring-cli/reference/index.html) describes how to install the CLI on various platforms.
8+
39
## Add to Spring CLI
410

5-
## Build a project
11+
Execute the following command to add the `project-catalog` for [Oracle Backend for Microservices and AI](https://bit.ly/OracleAI-microservices).
12+
13+
```shell
14+
spring add.....
15+
```
16+
17+
The Spring CLI is now aware of the [Oracle Backend for Microservices and AI](https://bit.ly/OracleAI-microservices) integration so when building a new project (or adding to a current one) you can use the command `spring .....`
18+
19+
## Run the Spring CLI application locally
20+
21+
To run the application locally you need access to an Oracle Database (remotly or locally). Create a shell script with the following content called `run-app.sh`
22+
23+
```shell
24+
#!/bin/bash
25+
export
26+
export
27+
export
28+
29+
mvn spring-boot:run
30+
```
31+
32+
Execute the shell script running the following command:
633

34+
```shell
35+
source run-app.sh
36+
```

spring-cli/projects/obaas/pom.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>org.springframework.boot</groupId>
77
<artifactId>spring-boot-starter-parent</artifactId>
8-
<version>3.3.8</version>
8+
<version>3.4.2</version>
99
<relativePath/> <!-- lookup parent from repository -->
1010
</parent>
1111

@@ -14,13 +14,13 @@
1414
<version>0.0.1-SNAPSHOT</version>
1515

1616
<name>obaas-rest-service</name>
17-
<description>RESTful web application for Oracle Backend for Spring Boot and Microservices</description>
17+
<description>RESTful web application for Oracle Backend for Microservices and AI</description>
1818

1919
<properties>
2020
<java.version>17</java.version>
2121
<oracle-springboot-starter.version>24.4.0</oracle-springboot-starter.version>
22-
<liquibase.version>4.30.0</liquibase.version>
23-
<datasource-micrometer-spring-boot.version>1.0.5</datasource-micrometer-spring-boot.version>
22+
<liquibase.version>4.31.0</liquibase.version>
23+
<datasource-micrometer-spring-boot.version>1.0.6</datasource-micrometer-spring-boot.version>
2424
</properties>
2525

2626
<dependencies>

spring-cli/projects/obaas/src/main/resources/application.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
# Spring Boot application that can be deployed to Oracle Backend for
44
# Spring Boot and Microservices.
55
#
6-
76
spring:
87
application:
98
name: restservice
@@ -19,7 +18,6 @@ spring:
1918
format_sql: true
2019
show-sql: true
2120

22-
2321
# This section configures Liquibase to automate the schema and reference
2422
# data based on the definitions under src/main/resources/db/changelog.
2523
# Comment out this section if you do not need Liquibase.
@@ -44,7 +42,7 @@ spring:
4442
type: oracle.ucp.jdbc.PoolDataSource
4543
oracleucp:
4644
connection-factory-class-name: oracle.jdbc.pool.OracleDataSource
47-
connection-pool-name: CustomerConnectionPool
45+
connection-pool-name: SpringCLIConnectionPool
4846
initial-pool-size: 15
4947
min-pool-size: 10
5048
max-pool-size: 30

0 commit comments

Comments
 (0)