• Icon: Sub-task Sub-task
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • BIZ-356 - Export of Subscription Watch data

      Create a yaml json schema file in swatch-core/schemas/instances_export.yaml and generate the POJO model using jsonSchema2Pojo.

      The schema must define properties necessary for the following JSON example:

       {
          "instances": [
              {
                  "id": "placeholder",
                  "instance_id": "placeholder",
                  "display_name": "placeholder",
                  "sla": "Premium",
                  "usage": "Production",
                  "billing_provider": "aws",
                  "billing_account_id": "placeholder",
                  "measurements": {
                      "Cores": 12
                  },
                  "category": "physical",
                  "last_seen": "2023-11-28T16:38:12.951046Z",
                  "guests": [ {
                      "id"
                      "instance_id"
                      "display_name"
                      "last_seen"
                  },]
              }
          ]
      }
      

      Implement uploadJson:

      call exportClient.downloadExportUpload with JSON-formatted data

       

      Testing:

      • a JSON-only export of instances should work

            Unassigned Unassigned
            lburnett0 Lindsey Burnett
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: