Actions
Story #3927
closedAs a user, I can upload information about Consumer
Start date:
Due date:
% Done:
100%
Estimated time:
Platform Release:
2.18.0
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:
Description
As a result of this story the user will be able to upload a set of reports about a consumer. The payload will look like this:
{
"content_type": "modulemd",
"profile": [{"name": "duck",
"stream": 0,
"version": "20180730233102",
"context": "deadbeef",
"arch": "noarch"},
{"name": "flipper",
"stream": 0.71,
"version": "20180707144203",
"context": "c0ffee42",
"arch": "x86_64"}
]
}
{
"content_type": “rpm",
"profile": [ {"name": "duck_the_second",
"version": 2,
"release”: "livebeef",
"arch": "noarch",
"epoch": "default",
“vendor”:”RH”},
]
}
The "profiles" field on the actual module object reflects the enabled profiles for that module.
Pulp's applicability APIs will then be able to use this profile to calculate applicability to a consumer.
Profile for rpm type seems to be the same as before, so no migration is needed.
Related issues
Actions
Applicability calculation supports modularity content
closes #4058 https://pulp.plan.io/issues/4058
closes #3925 https://pulp.plan.io/issues/3925
closes #3927 https://pulp.plan.io/issues/3927