No replacement for the @LambdaFunction and LambdaInvokerFactory?
Nessuno ha ancora preso questa issue.
- Lingua principale
- Java
- Stelle
- 2.6k
- Fork
- 1k
- Merge medio
- 2g 9h
- PR unite (30g)
- 51
Descrizione
Expected Behavior
One of the great API improvements provided by the v1 SDK was the LambdaInvokerFactory, which handled so much of the marshalling when directly invoking a Lambda.
There seems to be no v2 replacement that I can find, and nothing is mentioned in the 1.11 to 2.0 changelog which is surprising for something that completely disappeared.
Current Behavior
There is no corollary to the @LambdaFunction and LambdaInvokerFactory set of API utilities.
Possible Solution
Re-implement those utilities.
Context
The amount of boilerplate significantly increases when attempting to call Lambda. This is especially apparent when writing functional tests, where the actual details of invoking a Lambda are not relevant to actually testing that Lambda.
Your Environment
- AWS Java SDK version used: v2
- JDK version used: Corretto - 11.0.8
- Operating System and version: Ubuntu 20.04
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia confrontando le API LambdaInvokerFactory e @LambdaFunction di v1 collegate nell’issue con la documentazione di v2 e docs/LaunchChangelog.md. Conferma le funzionalità mancanti e definisci cosa deve fornire un sostituto per v2; il lavoro è completo quando i chiamanti possono invocare Lambda con un marshalling comparabile e meno boilerplate.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- aws, java
- Ambito
- api, cloud
- Tipo di issue
- Funzionalità
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100