aws / aws/serverless-java-container
Build and deploy native serverless app
- Lingua principale
- Java
- Stelle
- 1.6k
- Fork
- 574
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
*To help us debug your issue fill in the basic information below using the options provided*
*Serverless Java Container version*: `eg. 1.5`
*Implementations:* `Spring Boot 2 `
*Framework version:* `eg SpringBoot 3.3.4`
*Frontend service:* `REST API `
*Deployment method:* `eg SAM`
## Scenario
*I am tryin g to build native app and deploy, there are no instructions about how to build and deploy native app. I tried to use example pet-clinic native but I can only build it. Please provide typical way to build native app and deploy using architype*
## Expected behavior
*Describe how you would expect the application to behave*
## Actual behavior
*Describe what you are seeing instead*
## Steps to reproduce
*generate app and create CRUD rest service*
windows
```
mvn archetype:generate -DgroupId=dev -DartifactId=lambda -Dversion=1.0 ^
-DarchetypeGroupId=com.amazonaws.serverless.archetypes ^
-DarchetypeArtifactId=aws-serverless-springboot3-archetype ^
-DarchetypeVersion=2.0.1
```
linux
```
mvn archetype:generate -DgroupId=dev -DartifactId=lambda -Dversion=1.0 \
-DarchetypeGroupId=com.amazonaws.serverless.archetypes \
-DarchetypeArtifactId=aws-serverless-springboot3-archetype \
-DarchetypeVersion=2.0.1
```
*build native image*
*deploy to aws*
```sam deploy --guided --profile sv```
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia con i comandi dell’archetype Spring Boot 3 nell’issue e confrontali con l’esempio nativo pet-clinic. Documenta il flusso tipico di build di native-image e deployment su AWS, incluso il passaggio `sam deploy --guided --profile sv`; il lavoro è completo quando un servizio REST CRUD generato può essere compilato nativamente e distribuito usando l’archetype.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- aws, java, spring-boot
- Ambito
- api, build-system, cloud
- Tipo di issue
- Documentazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 30/100