We'd like to move some functionality currently in MCS into different deployables so that the various services can be scaled independently. One of the new ones is PCS (summary, metadata, media, references, the two HTML endpoints, the CSS and JS endpoints). (Another one could be the feed functionality into some Discovery Service or similar. Then the old MCS one would only have the `mobile-sections` endpoints.)
What's unclear is where the `definitions` endpoint would live (PCS or MCS). I guess for now we could keep it in the current mobileapps repo until we get more clarity on this endpoint.
Some of the plan still needs to be fleshed out. Here are some idea of what would need to be done:
[x] Setup new Gerrit repos
[] Decide on a new port number for the service. Ideally this time we'd use the same number in all the different environments (local, beta cluster, prod, ...).
[x] Move the code that pertains to PCS to the new repo. If there is a lot of overlap we might need to create a common library in npm.
[] New labs instance (with Services?)
[] New beta cluster setup (with Services, RelEng)
[] New prod setup (with Services, SRE)
[] RB config files would need a few more entries: one per deployable service instead of one `options.mobileapps` (with Services)
This will need discussions with Services, SRE, and probably RelEng.