fix(scaffolding): make ordinis-app boot in dev profile
- Remove spring-cloud-starter-bootstrap (deprecated в SC 2024.x; используем spring.config.import вместо bootstrap context) - Profile-based config: dev отключает Cloud Config + Vault + OTel + JPA auto-config для standalone smoke testing; k8s profile подключает реальную инфру (vault + config server) - Dockerfile: COPY всех модулей parent pom их видит при reactor - Уберём spring-boot-maven-plugin из read-api/projection-writer пока нет main Validated: - mvn install all 11 modules: BUILD SUCCESS - Spring Boot стартует за 2.7s в dev profile - /actuator/health UP, /actuator/prometheus отдаёт http_server_requests + jvm - HelloController отвечает на GET /
This commit is contained in:
@@ -53,18 +53,5 @@
|
||||
<groupId>org.springframework.cloud</groupId>
|
||||
<artifactId>spring-cloud-starter-vault-config</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.cloud</groupId>
|
||||
<artifactId>spring-cloud-starter-bootstrap</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
||||
|
||||
Reference in New Issue
Block a user