Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-9304

Jobs Service produce warnings about OpenAPI dupplicated operationIds

XMLWordPrintable

    • False
    • None
    • False
    • ---
    • ---
    • 2023 Week 21-23 (from May 22)

      When the jobs service starts we can see warnings like these, complaining about duplicated OpenAPI operaionsIds

      We must ensure to produces the correct Ids for this operations.

       

      2023-06-07 16:36:56,578 wmedvede WARN  [io.smallrye.openapi.runtime.scanner.spi:353] (build-30) SROAP07903: Duplicate operationId: delete produced by Class: org.kie.kogito.jobs.service.resource.v2.JobResourceV2, Method: io.smallrye.mutiny.Uni<org.kie.kogito.jobs.service.api.Job> delete(java.lang.String id) and Class: org.kie.kogito.jobs.service.resource.JobResource, Method: io.smallrye.mutiny.Uni<org.kie.kogito.jobs.service.model.ScheduledJob> delete(java.lang.String id)
      2023-06-07 16:36:56,580 wmedvede WARN  [io.smallrye.openapi.runtime.scanner.spi:353] (build-30) SROAP07903: Duplicate operationId: create produced by Class: org.kie.kogito.jobs.service.resource.v2.JobResourceV2, Method: io.smallrye.mutiny.Uni<org.kie.kogito.jobs.service.api.Job> create(org.kie.kogito.jobs.service.api.Job job) and Class: org.kie.kogito.jobs.service.resource.JobResource, Method: io.smallrye.mutiny.Uni<org.kie.kogito.jobs.service.model.ScheduledJob> create(org.kie.kogito.jobs.api.Job job)

              wmedvede@redhat.com Walter Medvedeo
              wmedvede@redhat.com Walter Medvedeo
              Marian Macik Marian Macik
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: