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

Use Singleton DataStore in REST endpoint generation

XMLWordPrintable

    • 3
    • 2020 Week 07-09 (from Feb 10)

      Currently all data sources are mapped to JSON lists.
      Singleton Data Sources should be mapped to single values.

      i.e.

      class MyData implements RuleUnitData {
          SingletonDataStore<String> x;
      }
      

      then JSON request:

       {
          x: "my string"
      }
      

      instead of

       {
          x: [ "my string" ]
      }
      

              evacchi Edoardo Vacchi (Inactive)
              evacchi Edoardo Vacchi (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: