You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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:One could use this generic data model to also represent
createdBy
,projectResponsible
,leadArchitect
,moderators
,contributors
,securityResponsibles
.same for:
preevaluationDeadline
,systemTestStart
,systemTestEnd
,deliveryStart
,phaseOutSince
homepage
,wiki
already done for:
externalIds
The text was updated successfully, but these errors were encountered: