Bug 1017587

Summary: field value enumerations missing in call report API description
Product: [Retired] Pulp Reporter: mkovacik
Component: documentationAssignee: Randy Barlow <rbarlow>
Status: CLOSED CURRENTRELEASE QA Contact: pulp-qe-list
Severity: unspecified Docs Contact:
Priority: medium    
Version: 2.2CC: rbarlow, skarmark
Target Milestone: ---Keywords: Triaged
Target Release: 2.3.0   
Hardware: Unspecified   
OS: Unspecified   
URL: https://pulp-dev-guide.readthedocs.org/en/pulp-2.2/conventions/sync-v-async.html#call-report
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-09 14:30:47 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description mkovacik 2013-10-10 08:27:26 UTC
Description of problem:
Following fields miss enumeration of possible values in the docs:
  - state
  - response

Version-Release number of selected component (if applicable):
Pulp 2.2

Expected results:
Valid states and responses are enumerated in the docs for both the fields

Comment 1 Randy Barlow 2013-10-24 20:55:53 UTC
Hi Milan!

It looks like response is actually properly documented there:

    response (string) - a response from Pulp’s tasking system: accepted, postponed, or rejected

Was there something more that you needed to know about response?

I'll find out what state can be and put it there.

Comment 2 mkovacik 2013-10-25 08:55:43 UTC
Randy, thanks, I must have missed that; looking at the page, the response field is described indeed. However, the state field isn't (the second item in the Description list).
What are the possible states a Task might be in?

Thanks!

Comment 3 Randy Barlow 2013-10-25 13:48:11 UTC
https://github.com/pulp/pulp/pull/678

Comment 4 Jeff Ortel 2013-11-01 22:29:06 UTC
build: 2.3.0-0.27.beta

Comment 5 mkovacik 2013-11-04 10:25:38 UTC
Checked in latest docs[1]

[1] https://pulp-dev-guide.readthedocs.org/en/latest/conventions/sync-v-async.html

Comment 6 Preethi Thomas 2013-12-09 14:30:47 UTC
Pulp 2.3 released.