adobe / adobe/aio-lib-java

` events_mgmt` : need a way to add multiple EventsOfInterest when registering a new event consumer

Aperta
#24 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Java
Stelle
7
Fork
22
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### There should be a way to add multiple ProviderId/EventCode combinations when registering an event consumer using this library.

### Currently, there is no way to add multiple EventsOfInterest while registering an event consumer using this library. We need a way to

### Reproduce Scenario (including but not limited to)
Optional created = this.registrationService.createRegistration(
RegistrationInputModel.builder()
.description(this.eventConsumerConfig.event_registration_description())
.name(this.eventConsumerConfig.event_registration_name())

//Only allows one combination of provider and event code!
//What If i want to add more than one combination to listen to in this journal?
.addEventsOfInterests(EventsOfInterest.builder()
.setEventCode(this.eventConsumerConfig.aio_event_code())
.setProviderId(providerId).build())
);
#### Steps to Reproduce
See above

#### Platform and Version
Java 11

#### Sample Code that illustrates the problem
See above

#### Logs taken while reproducing problem
N/A because i cannot add multiple EventsOfInterest

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia con RegistrationInputModel.builder(), addEventsOfInterests() e registrationService.createRegistration() nell'esempio. Traccia come viene memorizzato EventsOfInterest durante la registrazione, quindi fai in modo che la registrazione accetti più combinazioni ProviderId/EventCode. Il lavoro è completato quando un consumatore può registrarsi con più di un EventsOfInterest; verificalo con un esempio o un test Java 11, se ne esiste uno.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
java
Ambito
api
Tipo di issue
Funzionalità
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
38/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.