You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -63,11 +70,9 @@ can take advantage of the built-in platform services:
63
70
</dependencyManagement>
64
71
```
65
72
66
-
###Spring Application Configuration
73
+
## Spring Application Configuration
67
74
68
-
Oracle recommends the following configuration in order for the application access to
69
-
use the built-in services, including the Spring Boot Eureka Service Registry and the
70
-
observability tools:
75
+
Oracle recommends the following configuration in order for the application to access the built-in services, including the Spring Boot Eureka Service Registry and the observability tools:
71
76
72
77
```yaml
73
78
spring:
@@ -100,13 +105,11 @@ management:
100
105
application: ${spring.application.name}
101
106
```
102
107
103
-
The variables in this configuration are automatically injected to your deployment
104
-
and pods when you use the Oracle Backend for Spring Boot and Microservices CLI to deploy your application.
108
+
The variables in this configuration are automatically injected to your deployment and pods when you use the Oracle Backend for Spring Boot and Microservices CLI to deploy your application.
105
109
106
-
#### Data Sources
110
+
### Data Sources
107
111
108
-
If your application uses a data source, then add the following configuration. Note that this
109
-
example shows Java Persistence API (JPA), if you are using JDBC you should use the appropriate configuration.
112
+
If your application uses a data source, then add the following configuration. Note that this example shows Java Persistence API (JPA). If you are using JDBC you should use the appropriate configuration. For example:
110
113
111
114
```yaml
112
115
spring:
@@ -133,17 +136,15 @@ spring:
133
136
max-pool-size: 30
134
137
```
135
138
136
-
The variables in this configuration are automatically injected to your deployment
137
-
and pods when you use the Oracle Backend for Spring Boot and Microservices CLI to deploy your application.
139
+
The variables in this configuration are automatically injected to your deployment and pods when you use the Oracle Backend for Spring Boot and Microservices CLI to deploy your application.
138
140
139
-
#### Liquibase
141
+
### Liquibase
140
142
141
-
If you are using Liquibase to manage your database schema and data, then you should
142
-
add the following dependency:
143
+
If you are using Liquibase to manage your database schema and data, then you should add the following dependency:
143
144
144
145
```xml
145
146
<properties>
146
-
<liquibase.version>4.24.0</liquibase.version>
147
+
<liquibase.version>4.25.0</liquibase.version>
147
148
</properties>
148
149
149
150
<dependencies>
@@ -167,39 +168,50 @@ spring:
167
168
enabled: ${LIQUIBASE_ENABLED:true}
168
169
```
169
170
170
-
The variables in this configuration are automatically injected to your deployment
171
-
and pods when you use the Oracle Backend for Spring Boot and Microservices CLI to deploy your application.
172
-
When you use the `deploy` command, you must specify the `liquibase-db` parameter and
173
-
provide a user with sufficient privileges, generally this will be premissions to create and alter
174
-
users and to grant roles and privileges. If your service uses JMS, this use may also
175
-
need execute permissions on `dbms.aq_adm`, `dbms.aq_in` and `dbms.aq_jms`.
176
-
171
+
The variables in this configuration are automatically injected to your deployment and pods when you use the Oracle Backend for Spring Boot and Microservices CLI to deploy your application. When you use the `deploy` command, you must specify the `liquibase-db` parameter and provide a user with sufficient privileges. Generally this will be permissions to create and alter users and to grant roles and privileges. If your service uses Java Messaging Service (JMS), this use may also need execute permission on `dbms.aq_adm`, `dbms.aq_in` and `dbms.aq_jms`.
177
172
178
-
#### Oracle Transaction Manager for Microservices
173
+
### Oracle Transaction Manager for Microservices
179
174
180
-
If you are using Oracle Transaction Manager for Microservices (MicroTx) to manage
181
-
data consistency across microservices data stores, then add the following
182
-
dependency:
175
+
If you are using Oracle Transaction Manager for Microservices (MicroTx) to manage data consistency across microservices data stores, then add the following dependency:
Add the following configuration to your Spring application configuration:
185
+
Add the following configuration to your Spring application configuration. The variables in this configuration are automatically injected to your deployment and pods when you use the Oracle Backend for Spring Boot and Microservices CLI or the Visual Studio Code Extension to deploy your application. For example:
Add the following configuration to your Spring application configuration. The variables in this configuration are automatically injected to your deployment and pods when you use the Oracle Backend for Spring Boot and Microservices CLI or the Visual Studio Code Extension to deploy your application. For example:
Configuration is stored in the `CONFIGSERVER` schema in the `PROPERTIES` table. Managing the data for the Spring Cloud Config server should be done using the CLI or the REST API endpoints. If you prefer, you can also work directly with the `CONFIGSERVER.PROPERTIES` table in the database. How to access the database is documented here, ([Accessing the database](../../database/)).
24
+
You also need to add the following dependency to your Spring Boot application `pom.xml`:
The configuration is stored in the `CONFIGSERVER` schema in the `PROPERTIES` table. Managing the data for the Spring Cloud Config server should be done using the CLI or the REST API endpoints. If you prefer, you can also work directly with the `CONFIGSERVER.PROPERTIES` table in the database. How to access the database is documented here, ([Accessing the database](../../database/)).
25
34
26
35
During setup of Oracle Backend for Spring Boot and Microservices, the following data is loaded into `CONFIGSERVER.PROPERTIES`. This data can be deleted.
27
36
@@ -40,7 +49,7 @@ During setup of Oracle Backend for Spring Boot and Microservices, the following
0 commit comments