Uploaded image for project: 'Acumos'
  1. Acumos
  2. ACUMOS-3743

As a subscriber, I need to send parameter updates to supplier

    XMLWordPrintable

    Details

    • Acceptance Criteria:
      Hide

      Definition of done

      1. Create new sequence diagram training/docs/seqdiag/inbound-param-updates.seqdiag. https://bramp.github.io/js-sequence-diagrams/
      2. Test in lab, Review, Get +1 from community for federation gateway patch with new route modelparams, Update federation gateway with older code from here/ fix merge conflicts. https://gerrit.nordix.org/c/acumos/federation/+/1025/3/ – add peerid lookup
      3. Review with community New api for modelparams route documentation for federation gateway
      4. Create an example model which returns sudo params route /model/methods/params which can return key value pairs and the values can be random numbers for demonstration purposes.
      5. Create a kubernetes job configuration and add to deployment-client templates that can call the /model/method/param route on a periodic basis. 
      6. Add configuration to file-beat to pull logs from the kubernetes param pulling job 
      7. Add log stash configuration to system-integration to process the param log.
      8. Define the log format for the key value params. There needs to be meta information such as solution id, revision id for correct routing of the log routing and if reports are needed..
      9. We will be using elastic search as the data sink for model params. 

       

      Show
      Definition of done Create new sequence diagram training/docs/seqdiag/inbound-param-updates.seqdiag.  https://bramp.github.io/js-sequence-diagrams/ Test in lab, Review, Get +1 from community for federation gateway patch with new route modelparams, Update federation gateway with older code from here/ fix merge conflicts.  https://gerrit.nordix.org/c/acumos/federation/+/1025/3/ – add peerid lookup Review with community New api for modelparams route documentation for federation gateway Create an example model which returns sudo params route /model/methods/params which can return key value pairs and the values can be random numbers for demonstration purposes. Create a kubernetes job configuration and add to deployment-client templates that can call the /model/method/param route on a periodic basis.  Add configuration to file-beat to pull logs from the kubernetes param pulling job  Add log stash configuration to system-integration to process the param log. Define the log format for the key value params. There needs to be meta information such as solution id, revision id for correct routing of the log routing and if reports are needed.. We will be using elastic search as the data sink for model params.   
    • Sprint:
      ETE Demeter Sprint 4

      Description

      Key functionality 

      Provide a Client Library API to allow model parameters to be sent to the supplier via the federation gateway :

      1. using offline mechanism (add customized transport) or
      2. default implementation to use ELK 

       

      Workflow for default implementation 

      • the parameters are generated from the model 
      • a job sitting outside of model runner to receive the parameters  
      • the job will create a log and add a log entry of the updated parameters 
        1. filebeat process will read the logs 
        2. logstash will connect the log data to the federation gateway and to elastic search 
        3. federation gateway can send the updated parameters back to the supplier 
        4. put the parameters in the log stach in the supplier side on the Elastic search 

        Attachments

          Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              Assignee:
              raghavan_ak Raghavan AK
              Reporter:
              paragraval23 Parag Raval
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: