Uploaded image for project: 'mod-orders'
  1. mod-orders
  2. MODORDERS-620

Create Acquisition method schema and API

    XMLWordPrintable

Details

    • Story
    • Status: Closed (View Workflow)
    • P3
    • Resolution: Done
    • None
    • 12.3.0
    • Thunderjet/Firebird Back-end Story Template
    • ACQ Sprint 128
    • 1
    • Thunderjet
    • Lotus R1 2022

    Description

      Purpose/Overview:

      Requirements/Scope:

      1. Create Acquisition method schema
      2. Create Acquisition method samples
      3. Create Acquisition method Api
      4. Write tests

      Approach:

      1. Create new schema and table : "acquisition_method"

      {
        "$schema": "http://json-schema.org/draft-04/schema#",
        "description": "An acquisition method",
        "type": "object",
        "properties": {
          "id": {
            "description": "The unique id of this acquisition method",
            "$ref": "../../common/schemas/uuid.json"
          },
          "value": {
            "description": "The value of this acquisition method",
            "type": "string"
          },
          "metadata": {
            "type": "object",
            "$ref": "../../../raml-util/schemas/metadata.schema",
            "readonly": true
          }
        },
        "additionalProperties": false,
        "required": [
          "value"
        ]
      }

      Note : create index for filed "value"

      Acceptance criteria:

      • Schemes created
      • Samples created
      • Created API
      • Wrote tests

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                artsem_churakou Artsem Churakou
                D_Butramyou Dzmitry Butramyou
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases