Uploaded image for project: 'Webservices REST Module'
  1. Webservices REST Module
  2. RESTWS-764

Refactor TaskAction Resource to accept Task Definition uuid in addition to Task Definition name

    XMLWordPrintable

    Details

    • Type: Task
    • Status: In Progress
    • Priority: Should
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Complexity:
      Low
    • Development:

      Description

      When POSTing  to the TaskAction Resource  https://github.com/openmrs/openmrs-module-webservices.rest/blob/master/omod-1.8/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs1_8/TaskActionResource1_8.java ,

      the request body is currently posted with a task definition name as

       { "action": "runtask",
       "tasks": ["TaskDefinition_name "] 
      } 

      ,Refactor the resource so that ,the  request can also  be posted with a task definition uuid

       { "action": "runtask", 
      "tasks": ["TaskDefinition_uuid"]
       } 

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                miirochristopher Christopher Miiro
                Reporter:
                mozzy Moses Mutesasira
                Votes:
                0 Vote for this issue
                Watchers:
                9 Start watching this issue

                  Dates

                  Created:
                  Updated: