crossplane-contrib / crossplane-contrib/function-patch-and-transform
Add support for setting the Response Meta.Ttl field
- Lingua principale
- Go
- Stelle
- 46
- Fork
- 41
- Merge medio
- 1g 10h
- PR unite (30g)
- 3
Descrizione
### What problem are you facing?
With the advent of Realtime Compositions there is no standard reconciliation interval and the composition function pipeline will only be executed when a change is detected in a watched resource or when the TTL for the pipeline expires.
Since there are no watches on EnvironmentConfigs or ExtraResources, changes to these resources _will not_ trigger a reconciliation, but will be detected when the current pipeline TTL expires. By default the TTL is 1 minute for all Go SDK-based functions. Users may want to be able to set the TTL of the pipeline to a higher or lower value to detect these changes as needed.
### How could this Function help solve your problem?
The function should support the ability to set the response Meta.Ttl field as specified either by the composition developer in a function input or programmatically at runtime based on a calculation, or both.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
Non vengono indicati file o test. Inizia individuando dove viene assemblata la function response e dove viene gestito Response Meta.Ttl, quindi segui il modo in cui vengono elaborati gli function inputs e i runtime results. Il lavoro è completato quando pipeline TTL può essere impostato a partire dall’input supportato o dal calcolo a runtime e il comportamento è coperto da test.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- go
- Ambito
- backend
- Tipo di issue
- Funzionalità
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100