Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generify some parts of the REST data model #248

Open
maierthomas opened this issue Apr 26, 2018 · 0 comments
Open

Generify some parts of the REST data model #248

maierthomas opened this issue Apr 26, 2018 · 0 comments
Labels
enhancement New feature or request

Comments

@maierthomas
Copy link
Contributor

Issue by maxhbr
Wednesday Apr 11, 2018 at 12:21 GMT
Originally opened as sw360/sw360portal#814


to allow rest clients to handle the JSON response (e.g. for projects) in an generic and uniform way it would be good to save fileds which contain similarly structured data in some generic dict / object. This simplefies the client implementation and also decoples the thrift data model from the rest data model.

Examples for that are the user roles, which are also handled in an generic way by the roles-map:

    optional map<string,set<string>> roles

One could use this generic data model to also represent createdBy, projectResponsible, leadArchitect, moderators, contributors, securityResponsibles.

same for:

  • time-points: preevaluationDeadline, systemTestStart, systemTestEnd, deliveryStart, phaseOutSince
  • links: homepage, wiki

already done for:

  • externalIds
@maierthomas maierthomas added the enhancement New feature or request label Apr 26, 2018
@mcjaeger mcjaeger added this to the Backlog milestone Sep 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants