Hi
@Dave Milham.
I could not see any example where we have included notifications around tasks. TMF664 has explained only Monitor handle for long running task.
so my questions is still open as per what is mentioned in
TMF630 DG 3.0 Part 1
"There are use cases:
- when a task request is simple and there is no need to persist the request but the server may choose to persist the request in any case, e.g. for accounting purposes
- long running task when there is a need to persist the request in order to monitor it."
Question: Is the monitor only the allowed way to retrieve information around task? Can async notification pattern (hub & listener) be used for task?
"It is not recommended to delete a task but rather to cancel the task with PATCH."
Question: What is the rationale behind this statement? Why is this restricted?
------------------------------
Abdul Majid Hussain
Telstra Corporation
------------------------------
Original Message:
Sent: Sep 05, 2018 15:42
From: Dave Milham
Subject: TMF630 - API Design Guidelines - Usage of 'task resources'
There is an example of task usage In TMF 664 Resource Function Activation and Configuration that you might to look at.
------------------------------
Dave Milham
TM Forum Chief Architect, TM Forum
Original Message:
Sent: Aug 30, 2018 00:23
From: Abdul Majid Hussain
Subject: TMF630 - API Design Guidelines - Usage of 'task resources'
Task resource pattern defined in TMF630 DG 3.0 Part 1 states below
"There are use cases:
- when a task request is simple and there is no need to persist the request but the server may choose to persist the request in any case, e.g. for accounting purposes
- long running task when there is a need to persist the request in order to monitor it."
Question: Is the monitor only the allowed way to retrieve information around task? Can async notification pattern (hub & listener) be used for task?
"It is not recommended to delete a task but rather to cancel the task with PATCH."
Question: What is the rationale behind this statement? Why is this restricted?
------------------------------
Abdul Majid Hussain
Telstra Corporation
------------------------------