Open NivLipetz opened 4 years ago
May i take this up?
Hi @sprakash57 that would be great! We are available on our slack workspace for any questions.
Sure.
@NivLipetz I saw @tomcorey26 already raised a PR against it. Let me know if it needs additional work.
Hi @sprakash57 I see that someone raised a PR against this issue already although it was assigned to you.. Sorry about that.
Moving forward, if you like there's an open issue that integrates this context_id
to all of the other relevant Predator resources (tests, jobs, reports, etc). It's an issue with the same amount of code needed to be complete as this one. Take a look maybe you will find it suiting 😄 https://github.com/Zooz/predator/issues/495
@NivLipetz can you assign #495 to me?
@sprakash57 can you please request on the issue itself? won't let me assign you otherwise
Is your feature request related to a problem? Please describe. Predator is missing the functionality of grouping resources (tests/reports/jobs) to different contexts (teams, users, organizations, etc).
Describe the solution you'd like In order to add this desired groupings so it's easier to filter and divide the resources into more relevant subgroups, a new resource
context
needs to be defined.contexts
APIcontexts
table) with the following fields:name
andid
should be unique => can't create a context with the same name of one that's already created (return 400 BAD_REQUEST in this case).Additional context Use the following file structure as a guide on how to create this new API and resource in Predator's architecture: https://github.com/Zooz/predator/blob/master/CONTRIBUTING.md#system-resource-folder-structure