Search in sources :

Example 1 with Melding

use of no.nav.arbeid.cv.avro.Melding in project veilarbportefolje by navikt.

the class CvServiceKafkaConsumerTest method populateCVEksistereKafkaTopic.

private void populateCVEksistereKafkaTopic(AktorId... aktoerIds) throws ExecutionException, InterruptedException {
    for (AktorId aktoerId : aktoerIds) {
        Melding cvMelding = new Melding();
        cvMelding.setAktoerId(aktoerId.toString());
        cvMelding.setMeldingstype(Meldingstype.ENDRE);
        cvService.behandleKafkaMeldingLogikk(cvMelding);
    }
}
Also used : CVMelding(no.nav.pto.veilarbportefolje.cv.dto.CVMelding) Melding(no.nav.arbeid.cv.avro.Melding) AktorId(no.nav.common.types.identer.AktorId)

Aggregations

Melding (no.nav.arbeid.cv.avro.Melding)1 AktorId (no.nav.common.types.identer.AktorId)1 CVMelding (no.nav.pto.veilarbportefolje.cv.dto.CVMelding)1