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

Enhance graphql query system for domain objects

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 0.6.0
    • None
    • Data Index
    • None
    • 2019 Week 38-40 (from Sep 16), 2019 Week 41-43 (from Okt 7), 2019 Week 44-46 (from Okt 28), 2019 Week 47-49 (from Nov 18), 2019 Week 50-52 (from Dec 9)

      Current filtering method for domain objects in the Data Index Graphql endpoint, allows a single String, exposing the underlying Infinispan query api. Although it is powerful, a more consistent approach would be to have a typed system similar to the filters that are done for ProcessInstances and UserTaskIstances.

      • Ex current approach:
        Travels(query: "from org.acme.travels.travels.Travels t where t.traveller.firstName:'ma*'")
        
      • Ex query using typed system:
        ProcessInstances(filter: {id: ["abb9f626-8a54-444d-943a-25b969a2cd1c", "446fcdb8-aa79-4044-baf9-6c471e0fbe1b"]})
        

              cnicolai@redhat.com Cristiano Nicolai (Inactive)
              cnicolai@redhat.com Cristiano Nicolai (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: