Posting a V1 `ProjectRequest` drops Labels and Annotations
Open
@soltysh is already working on this.
Since Sep 6, 2016.
component/restapi
lifecycle/frozen
priority/P1
- Dominant language
- Go
- Stars
- 8.7k
- Forks
- 4.8k
- Avg merge
- 4d 10h
- Merged PRs (30d)
- 53
Description
When POSing this (valid JSON, just console.logs like this):
{ kind: 'ProjectRequest',
apiVersion: 'v1',
metadata:
{ name: 'welcomeprojectcloos3y432',
creationTimestamp: null,
annotations: { 'rhmap.io/description': '' } },
labels:
{ 'rhmap.io/env': 'os3',
'rhmap.io/guid': 'ujzozs3h5ldwo4orxsaky432',
'rhmap.io/project': 'ujzozs773araip3o2zi7mwhp',
'rhmap.io/domain': 'testing' },
displayName: 'Welcome Project-cloud' }
both the annotations and labels are dropped. Could use projects API, but using project requests API so regular users can do the creation too.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.