-
Bug
-
Resolution: Unresolved
-
Medium
-
El Alto Release
-
None
Minor improvement in the consistency of the uploading of CBA.
I see that in BluePrintModelHandler.kt, we have a default handler for
"/api/v1/blueprint-model/" which calls saveBlueprintModel, which calls upload with second parameter false,
as well as
"/api/v1/blueprint-model/publish" which calls saveBlueprintModel, which calls upload with parameter true.
The URIs look inconsistent.
If we want to keep POST with file to blueprint-model, it may make sense to not reupload the same file, but rather provide some UUID to blueprint-model/publish endpoint.