Skip to content

Commit b9a6c50

Browse files
committed
cut out spring native - as it's not working yet
1 parent bfcf311 commit b9a6c50

File tree

3 files changed

+2
-25
lines changed

3 files changed

+2
-25
lines changed

spring-declarative-configuration/README.md

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -251,27 +251,3 @@ If issues persist, compare your configuration to:
251251
- The reference schemas and examples in
252252
[opentelemetry-configuration](https://github.com/open-telemetry/opentelemetry-configuration)
253253

254-
## Follow-up: applying the same pattern to Spring Native
255-
256-
As a follow-up, you can reuse the ideas from this module to extend the `spring-native` example
257-
with declarative configuration and a Collector running via Docker Compose:
258-
259-
- Start from the `spring-native` module in this repository.
260-
- delete the `application.properties` file in `spring-native/src/main/resources/`
261-
- copy `application.yaml` from this module to `spring-native/src/main/resources/`
262-
- add the settings from `application.properties` back into that `application.yaml`
263-
- follow the instructions in [spring-native/README.md](../spring-native/README.md) to run with
264-
Docker Compose
265-
266-
```shell
267-
rm ../spring-native/src/main/resources/application.properties
268-
cp src/main/resources/application.yaml ../spring-native/src/main/resources/
269-
echo "spring:
270-
datasource:
271-
url: jdbc:h2:mem:db
272-
management:
273-
endpoints:
274-
web:
275-
exposure:
276-
include: '*'" >> ../spring-native/src/main/resources/application.yaml
277-
```

spring-native/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import org.springframework.boot.gradle.plugin.SpringBootPlugin
22

33
plugins {
44
id("java")
5-
id("org.springframework.boot") version "3.5.8"
5+
id("org.springframework.boot") version "3.5.7"
66
id("org.graalvm.buildtools.native") version "0.11.3"
77
}
88

spring-native/docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
version: '3.8'
12
services:
23
app:
34
image: otel-native-graalvm

0 commit comments

Comments
 (0)