Uploaded image for project: 'folio-export-common'
  1. folio-export-common
  2. FEXPCMN-11

users-in-app-update: Create UserContentUpdate schema

    XMLWordPrintable

Details

    • Story
    • Status: Closed (View Workflow)
    • P3
    • Resolution: Done
    • None
    • None
    • None
    • Firebird - Sprint 144
    • 1
    • Firebird
    • Nolana (R3 2022)

    Description

      Purpose/Overview:

      New schema for user editing should be introduced for In-App approach.

      Requirements/Scope:

      1. Structure of the UserContentUpdate schema must be the same as https://github.com/folio-org/folio-export-common/blob/master/schemas/bulk-edit/contentUpdate.json. Since actions may contain multiple steps (find-replace etc), they should be represented as array of action objects (with name and value properties).
      2. New elements should be added to the UserContentUpdate in the option enum: PATRON_GROUP, EXPIRATION_DATE, EMAIL_ADDRESS.
      3. "actions" must contain the following operations: "FIND", "ADD_TO_EXISTING", "CLEAR_FIELD", "REPLACE_WITH", "FIND_AND_REMOVE_THESE". Action "add new data" should be interpreted as "REPLACE_WITH", i.e add new data - replace existing null-valued data.
      4. New schema UserContentUpdateCollection should be implemented in the same way as https://github.com/folio-org/folio-export-common/blob/master/schemas/bulk-edit/contentUpdateCollection.json (but excluding entityType field).

      Approach:

      New schema UserContentUpdate with "option" enum elements PATRON_GROUP, EXPIRATION_DATE, EMAIL_ADDRESS and action's name enum elements "FIND", "ADD_TO_EXISTING", "CLEAR_FIELD", "REPLACE_WITH", "FIND_AND_REMOVE_THESE" should be created.

      Acceptance criteria:

      • Schemas are created and valid.

      Attachments

        Issue Links

          Activity

            People

              khandramai Viachaslau Khandramai
              khandramai Viachaslau Khandramai
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: