save-cloud
save-cloud copied to clipboard
Massive renaming and removing of useless things
trafficstars
We should do a lot of renaming and removal of legacy shit.
- Rename all packages:
- remove
saveandsave-cloudprefixes completely for common modules. It can only be:save/cosv-common(ONLY for SAVE/COSV specific common, in terms of Kotlin MPP for Native + JVM + JS),common(MPP for JS + JVM which are used EVERYWHERE),common-frontend(JS only code shared between COSV, SAVE, etc.) andcommon-backend(JVM only logic shared between COSV, SAVE, if needed).save-commonshould NOT be used in ANY COSV module as well ascosv-commoncannot be used in SAVE. - we should have
cosv-frontend,save-frontendandsave-backend,cosv-backend. For save-specific components it is ok to havesave-orchestrator,save-agent, etc.; - rename packages:
- COSV and common packages should NOT have
savein it's name save-cloud-commonpackages should be renamed tocom.saveourtool.commoncosv-backendinstead ofcom.saveourtool.save.cosv.repositoryshould be named ascom.saveourtool.cosv.repository
- COSV and common packages should NOT have
- remove
- Remove sandbox service (if someone wishes to have - can save in separate repository later);
- After the removal of sandbox service - merge
orchestrator-commonwithsave-orchestrator;
@nulls if you will have any other ideas - welcome to share
@nulls if you will have any other ideas - welcome to share
- Removing
sandboxand mergingsave-orchestator-commonwithsave-orchestratorcan be done before renaming to reduce affected files - Suggestion to create a tag before renaming (or a branch at least)
- We have
save-cloud-charts, probably we need to split it too - What's about
api-gatewayandauthentication-service? They are required for COSV and SAVE. Do we need to rename packages there?
- What's about
api-gatewayandauthentication-service? They are required for COSV and SAVE. Do we need to rename packages there?
Yeah, need to rename their packages as well! com.saveourtool.api-gateway
We also need to rename the paths for entities in save-cloud-common