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
Copy file name to clipboardExpand all lines: docs-source/spring/content/_index.md
+5-4Lines changed: 5 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1,15 +1,17 @@
1
1
---
2
2
title: "Oracle Backend for Spring Boot and Microservices"
3
+
description: "Spring SpringBoot Spring Boot"
4
+
keywords: "spring springboot"
3
5
---
4
6
5
7
Oracle Backend for Spring Boot and Microservices allows developers to build microservices in Spring Boot and provisions a "backend as a service" with
6
8
Oracle Database and other infrastructure components that operate on multiple clouds. Oracle Backend for Spring Boot and Microservices vastly simplifies the task of
7
9
building, testing, and operating microservices platforms for reliable, secure, and scalable enterprise applications.
8
10
9
11
10
-
{{< hint type=[warning] icon=gdoc_fire title="Version 1.0 (production) released October, 2023" >}}
11
-
Oracle Backend for Spring Boot and Microservices Version 1.0 is now generally available and suitable
12
-
for production use. This version supports and recommends Spring Boot 3.1.x, Spring 6.0 and Spring Cloud 2022.0.4,
12
+
{{< hint type=[warning] icon=gdoc_fire title="Version 1.1 (production) released February, 2024" >}}
13
+
Oracle Backend for Spring Boot and Microservices Version 1.1 is now generally available and suitable
14
+
for production use. This version supports and recommends Spring Boot 3.2.x, Spring 6.1 and Spring Cloud 2023.0.0,
13
15
with limited backwards compatibility for Spring Boot 2.7.x.
14
16
{{< /hint >}}
15
17
@@ -83,7 +85,6 @@ We'd love to hear from you! You can contact us in the
83
85
[#oracle-db-microservices](https://oracledevs.slack.com/archives/C03ALDSV272) channel in the
84
86
Oracle Developers slack workspace, or [open an issue in GitHub](https://github.com/oracle/microservices-datadriven/issues/new).
85
87
86
-
87
88
88
89
{{< hint type=[warning] icon=gdoc_fire title="Interested in Mobile or web apps too?" >}}
89
90
Check out [Oracle Backend for Parse Platform](https://oracle.github.io/microservices-datadriven/mbaas/) - our "MERN"
Copy file name to clipboardExpand all lines: docs-source/spring/content/azure/_index.md
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,7 @@
1
1
---
2
2
title: "Azure/OCI Multicloud Installation"
3
+
description: "Multi-cloud Spring Boot Backend on Azure makes it easy for developers to build, deploy and operate microservices in a multicloud environment with Oracle Autonomous Database"
The Oracle Backend for Spring Boot and Microservices is available to install in Multicloud (Microsoft Azure (Azure) and Oracle Cloud Infrastructure (OCI)). This installation
Copy file name to clipboardExpand all lines: docs-source/spring/content/blogs/_index.md
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,7 @@
1
1
---
2
2
title: "Read our blogs!"
3
+
description: "Read blog posts from the team that builds the Oracle Backend for Spring Boot and Microservices"
4
+
keywords: "blogs team spring springboot microservices mobile oracle"
3
5
---
4
6
5
7
Our team members post blog articles and other content on various sites including [Medium](https://medium.com/@mark.x.nelson), LinkedIn ([Corrado de Bari](https://www.linkedin.com/in/corradodebari/), [Doug Drechsel](https://www.linkedin.com/in/dougdrechsel/)), [RedStack](https://redstack.wordpress.com), [DZone](https://dzone.com/users/4571557/paulparkinson.html), [Andy Tael](https://mr-a.org) and the [Oracle Developers Blog](https://blogs.oracle.com/developers).
This section provides information about how to develop and deploy Spring Boot applications
2
-
with the Oracle Backend for Spring Boot and Microservices.
1
+
---
2
+
title: "Development"
3
+
description: "How to develop and deploy Spring Boot applications with the Oracle Backend for Spring Boot and Microservices"
4
+
keywords: "spring springboot microservices development oracle backend"
5
+
---
3
6
4
-
Spring Boot applications can be developed with no special requirements and
5
-
be deployed into Oracle Backend for Spring Boot and Microservices. However, if you do opt-in to the platform
6
-
services provided and the CLI, you can shorten your development time and avoid unnecessary
7
-
work.
7
+
This section provides information about how to develop and deploy Spring Boot applications with the Oracle Backend for Spring Boot and Microservices.
8
8
9
-
Oracle Backend for Spring Boot provides the following services that applications can use:
9
+
Spring Boot applications can be developed with no special requirements and be deployed into Oracle Backend for Spring Boot and Microservices. However, if you do opt-in to the platform services provided and the CLI, you can shorten your development time and avoid unnecessary work.
10
10
11
-
- An Oracle Autonomous Database instance in which applications can manage relational,
12
-
document, spatial, graph and other types of data, can use Transactional Event Queues for
13
-
messaging and events using Java Message Service (JMS), Apache Kafka or Representational
14
-
State Transfer (REST) interfaces, and even run machine learning (ML) models.
15
-
- A Kubernetes cluster in which applications can run with namespaces pre-configured with
16
-
Kubernetes Secrets and ConfigMaps for access to the Oracle Autonomous Database instance
17
-
associated with the backend.
18
-
- An Apache APISIX API Gateway that can be used to expose service endpoints outside the Kubernetes
19
-
cluster, to the public internet. All standard Apache APISIX features like traffic management,
20
-
monitoring, authentication, and so on, are available for use.
21
-
- Spring Boot Eureka Service Registry for service discovery. The API Gateway and monitoring
22
-
services are pre-configured to use this registry for service discovery.
23
-
- Spring Cloud Config Server to serve externalized configuration information to applications.
24
-
This stores the configuration data in the Oracle Autonomous Database
25
-
instance associated with the backend.
26
-
- Netflix Conductor OSS for running workflows to orchestrate your services.
27
-
- Hashicorp Vault for storing sensitive information.
28
-
- Spring Admin for monitoring your services.
29
-
- Prometheus and Grafana for collecting and visualizing metrics and for alerting.
30
-
- Jaeger for distributed tracing. Applications deployed with the Oracle Backend for
31
-
Spring Boot and Microservices CLI have the Open Telemetry Collector automatically added as a Java
32
-
agent to provide tracing from the application into the Oracle Database.
11
+
Oracle Backend for Spring Boot provides the following services that applications can use:
33
12
34
-
An integrated development environment is recommended for developing applications. Oracle
35
-
recommends Visual Studio Code or IntelliJ.
13
+
* An Oracle Autonomous Database instance in which applications can manage relational, document, spatial, graph and other types of data, can use Transactional Event Queues for messaging and events using Java Message Service (JMS), Apache Kafka or Representational State Transfer (REST) interfaces, and even run machine learning (ML) models.
14
+
* A Kubernetes cluster in which applications can run with namespaces pre-configured with Kubernetes Secrets and ConfigMaps for access to the Oracle Autonomous Database instance associated with the backend.
15
+
* An Apache APISIX API Gateway that can be used to expose service endpoints outside the Kubernetes cluster, to the public internet. All standard Apache APISIX features like traffic management, monitoring, authentication, and so on, are available for use.
16
+
* Spring Boot Eureka Service Registry for service discovery. The API Gateway and monitoring services are pre-configured to use this registry for service discovery.
17
+
* Spring Cloud Config Server to serve externalized configuration information to applications. This stores the configuration data in the Oracle Autonomous Database instance associated with the backend.
18
+
* Netflix Conductor OSS for running workflows to orchestrate your services.
19
+
* Hashicorp Vault for storing sensitive information.
20
+
* Spring Admin for monitoring your services.
21
+
* Prometheus and Grafana for collecting and visualizing metrics and for alerting.
22
+
* Jaeger and Open Telemetry (OTEL) for distributed tracing. Applications deployed to the Oracle Backend for Spring Boot may use Jaeger or OTEL for distributed tracing. See the [Environment Variables page](envvars) for variables that can be used.
36
23
37
-
Java, Maven or Gradle, a version control system (Oracle recommends git), and other
38
-
tools may be required during development.
24
+
An integrated development environment is recommended for developing applications. Oracle recommends Visual Studio Code or IntelliJ.
25
+
26
+
Java, Maven or Gradle, a version control system (Oracle recommends git), and other tools may be required during development.
@@ -91,6 +110,8 @@ The [`bind`](#bind) command results in the automatic creation of a database sche
91
110
92
111
The [`deploy`](#deploy) command takes `service-name`, `app-name`, and `artifact-path` as the main arguments (`image-version` and `java-version` options are also provided). When the `deploy` command is issued, the microservice JAR file is uploaded to the backend and a container image is created for the JAR or microservice, and various Kubernetes resources such as **Deployment** and **Service** are also created. This is all done automatically to simplify the development process and the management of the microservices by the backend.
93
112
113
+
The [`create-autoscaler`](#create-autoscaler) and [`delete-autoscaler`](#delete-autoscaler) commands allow you to create and delete horizontal pod autoscalers for specific microservices.
114
+
94
115
The [`list`](#list) command shows the details of the deployed microservices.
95
116
96
117
The [`config`](#config) command can also be used to add, view, update, and delete configurations managed by the Spring Cloud Config server.
Use the `create-autoscaler` command to create a horizontal pod autoscaler for a microservice you have deployed. You can specify the target scaling threshold using CPU percentage. Note that your microservice must have its CPU request set in order to use the autoscaler. It is set to `500m` (that is, half a core) by the `deploy` command if you did not override the default.
407
+
408
+
```cmd
409
+
oractl:>help create-autoscaler
410
+
NAME
411
+
create-autoscaler - Create an autoscaler.
412
+
413
+
SYNOPSIS
414
+
create-autoscaler --app-name String [--service-name String] --min-replicas int --max-replicas int --cpu-percent int --help
0 commit comments