Uploaded image for project: 'Kaa'
  1. Kaa
  2. KAA-323

Unable to create configuration schema without default values

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.6.3
    • Fix Version/s: 0.7.0
    • Component/s: Control service
    • Labels:
      None
    • Sprint:
      Sprint 4

      Description

      User is not able to create configuration schema, although he is using valid avro json file. The issue is in generation of default configuration using this schema. User need to specify "by_default" for all not optional fields.

      This is not trivial and is not expected behavior.
      I propose to update the algorithm and have default values for all primitive fields:
      String - empty string
      byte[] - empty array,
      int,long - 0, etc.

        Attachments

          Activity

            People

            Assignee:
            yzeygerman Yaroslav Zeygerman (Inactive)
            Reporter:
            ashvayka Andrew Shvayka
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Git Integration