Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • None
    • 2.0.0
    • None
    • None

    Description

      As described in the parent ticket, the connector upgrade code can become a bit more smarter.

      It does not have to dump every single input/ config and its values on every connector upgrade path, irrespective of anything changed or not.

      We can just ask the connector to provide a list of keys that changed.

      for new ones, for old ones and the deleted ones

      New one, assuming foo does not exist, a new record will be created

      "foo" : { "name" : "foo" , type : "String" , value : "default"}
      
      

      Modified one, assuming foo exists, we will look up and modify, per connector per job ( since it will modify for all jobs anyways, there is no way to have a different input name for job 1 and job2 )

      {code
      "foo" :

      { "name" : "bar" , type : "Integer" , value : "newValue"}
      Delete a key
      
      

      foo : "" ( empty) value

      
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            vybs Veena Basavaraj
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: