aws / aws/serverless-java-container

Build and deploy native serverless app

Đang mở
#1,082 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
docs
Ngôn ngữ chính
Java
Star
1.6k
Fork
574
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

*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```

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Start with the Spring Boot 3 archetype commands in the issue and compare them with the pet-clinic native example. Document the typical native-image build and AWS deployment flow, including the `sam deploy --guided --profile sv` step; done means a generated CRUD REST service can be built natively and deployed using the archetype.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
aws, java, spring-boot
Lĩnh vực
api, build-system, cloud
Loại issue
Tài liệu
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
30/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.