save-cloud
save-cloud copied to clipboard
Massive renaming and removing of useless things
We should do a lot of renaming and removal of legacy shit.
- Rename all packages:
- remove
save
andsave-cloud
prefixes 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-common
should NOT be used in ANY COSV module as well ascosv-common
cannot be used in SAVE. - we should have
cosv-frontend
,save-frontend
andsave-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
save
in it's name -
save-cloud-common
packages should be renamed tocom.saveourtool.common
-
cosv-backend
instead ofcom.saveourtool.save.cosv.repository
should 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-common
withsave-orchestrator
;
@nulls if you will have any other ideas - welcome to share
@nulls if you will have any other ideas - welcome to share
- Removing
sandbox
and mergingsave-orchestator-common
withsave-orchestrator
can 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-gateway
andauthentication-service
? They are required for COSV and SAVE. Do we need to rename packages there?
- What's about
api-gateway
andauthentication-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