serverless / serverless/examples
aws-java-simple-http-endpoint needs to updated/replaced for the current post 2.0.0 serverless framework
Open
Nobody has claimed this yet.
help wanted
java
- Dominant language
- JavaScript
- Stars
- 11.5k
- Forks
- 4.4k
- Avg merge
- 2h 55m
- Merged PRs (30d)
- 3
Description
Tried using aws-java-simple-http-endpoint something like:
git clone https://github.com/serverless/examples.git
cd examples/aws-java-simple-http-endpoint
mvn package
npm init
.
.
.
npm install --save-dev serverless
alias serverless=./node_modules/serverless/bin/serverless.js
alias sls=./node_modules/serverless/bin/serverless.js
'edit serverless.yml to change artifact: build/distributions/aws-java-simple-http-endpoint.zip -> artifact: target/aws-java-simple-http-endpoint.jar'
sls invoke local -f currentTime
and get
Serverless Error ---------------------------------------
The Serverless version (2.21.1) does not satisfy the "frameworkVersion" (>=1.2.0 <2.0.0) in serverless.yml
Get Support --------------------------------------------
Docs: docs.serverless.com
Bugs: github.com/serverless/serverless/issues
Issues: forum.serverless.com
Your Environment Information ---------------------------
Operating System: darwin
Node Version: 12.18.1
Framework Version: 2.21.1 (local)
Plugin Version: 4.4.2
SDK Version: 2.3.2
Components Version: 3.6.0
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in examples/aws-java-simple-http-endpoint and inspect serverless.yml, especially the frameworkVersion and artifact settings. Reproduce the reported workflow with mvn package and sls invoke local -f currentTime using the current Serverless Framework. Done means the example is updated or replaced so it works with post-2.0.0 Serverless versions and the function can be invoked locally.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, java
- Domain
- backend, cloud
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100