telefonicaid / orchestrator

Orchestrator groups all provision operations for IoT Platform that tipically implies several steps or several systems interaction.
GNU Affero General Public License v3.0
5 stars 5 forks source link

rename subservice #330

Closed AlvaroVega closed 2 years ago

AlvaroVega commented 2 years ago

Including:

fgalan commented 2 years ago

PG table/view names? PG table records?

AlvaroVega commented 2 years ago

how upgrade a "_id" value of mongodb: https://stackoverflow.com/questions/4012855/how-to-update-the-id-of-one-mongodb-document

AlvaroVega commented 2 years ago

PG table/view names? PG table records?

PG and MySQL table names and records are afected by Cygnus datamodels [1] and namemappings [2]

So Orch is not able t know what DM or namepapping cygnus applies.

[1] https://github.com/telefonicaid/fiware-cygnus/blob/master/doc/cygnus-ngsi/flume_extensions_catalogue/ngsi_postgresql_sink.md#postgresql-tables-naming-conventions [2] https://github.com/telefonicaid/fiware-cygnus/blob/master/doc/cygnus-ngsi/installation_and_administration_guide/name_mappings.md

fgalan commented 2 years ago

PG table/view names? PG table records?

PG and MySQL table names and records are afected by Cygnus datamodels [1] and namemappings [2]

So Orch is not able t know what DM or namepapping cygnus applies.

[1] https://github.com/telefonicaid/fiware-cygnus/blob/master/doc/cygnus-ngsi/flume_extensions_catalogue/ngsi_postgresql_sink.md#postgresql-tables-naming-conventions [2] https://github.com/telefonicaid/fiware-cygnus/blob/master/doc/cygnus-ngsi/installation_and_administration_guide/name_mappings.md

That means that renaming PG table/view names and PG table record would require some ad hoc manual procedure, isn't it?

AlvaroVega commented 2 years ago

That means that renaming PG table/view names and PG table record would require some ad hoc manual procedure, isn't it?

Yeah

fgalan commented 2 years ago

That means that renaming PG table/view names and PG table record would require some ad hoc manual procedure, isn't it?

Yeah

Maybe it would be a good idea to include this caveat it the documentation of the new operation.

fgalan commented 2 years ago

Implemented in PR https://github.com/telefonicaid/orchestrator/pull/331