enonic / xp

Enonic XP
https://enonic.com
GNU General Public License v3.0
201 stars 34 forks source link

Content Project - Project Service #7281

Closed GlennRicaud closed 4 years ago

GlennRicaud commented 5 years ago

Epic #7280 To be PullRequested in branch "epic-project"

rymsha commented 5 years ago

In addition it should also store the node representation of the project in master at the node path "/project"

In which repository?

sigdestad commented 5 years ago

Hmmm.. I thought we would only create a repo i.e. com.enonic.cms., and that was it? Apparently we will need more metadata. There will also be some level of access control as well.

There are two solution imho: A) create a com.enonic.cms repo and store the info there, or B) extend the node repo creation api with more support for fields and metadata

I think option B sounds best in relation to dumping and loding isolated repos, No need for special project api on that level.

We have a similar issue in regards to layers, there we will have to create a branch dedicated to metadata.

GlennRicaud commented 5 years ago

Hehe. Already discussed with @rymsha. Already on it: https://github.com/enonic/xp/issues/7362

sigdestad commented 5 years ago

Alternative C is to store this info in the root node of the repo, that could be a more practical and flexible solution.

sigdestad commented 5 years ago

This could then only be exposed in the repo, and project APIs