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

Jobs service query looks to not work in the kogito-addons-quarkus-data-index-postgresql

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 1.38.0.Final
    • None
    • Data Index
    • None
    • False
    • None
    • False
    • ---
    • ---
    • 2023 Week 15-17 (from Apr 10)

    Description

      In a hello world project I included the 

      kogito-addons-quarkus-data-index-postgresql, it works fine.

      But it looks like the Jobs query is not working.

      To reproduce you can do the following POST:

      http://localhost:8080/graphql

      with content:

      {
        "query": "{Jobs { id }}"
      }

       

      In the logs I can see this error:

       

      {
          "errors": [
              {
                  "message": "Validation error (FieldUndefined@[Jobs]) : Field 'Jobs' in type 'Query' is undefined",
                  "locations": [
                     

      {                     "line": 1,                     "column": 2                 }

                  ],
                  "extensions":

      {                 "classification": "ValidationError"             }

              }
          ]
      }

       

      However the ProcessInstancess query works fine:

       

      {
          "query" : "{ProcessInstances{id, processId, state}}"
      }

       

       

       

       

      Attachments

        Activity

          People

            nmirasch@redhat.com Neus Miras Chueca
            wmedvede@redhat.com Walter Medvedeo
            Tristan Radisson Tristan Radisson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: