Skip to content

Conversation

@Amaneusz
Copy link
Contributor

No description provided.

Signed-off-by: Jakub Amanowicz <[email protected]>
Signed-off-by: Jakub Amanowicz <[email protected]>
Signed-off-by: Jakub Amanowicz <[email protected]>
@github-actions
Copy link

Code Coverage

Overall Project 42.82% -0.05% 🍏
Files changed 93.37% 🍏

Module Coverage
here-naksha-lib-mom10 96.6% 🍏
here-naksha-app-service 71.63% -0.27% 🍏
here-naksha-lib-handlers 35.53% -0.4% 🍏
Files
Module File Coverage
here-naksha-lib-mom10 Mom10Transformation.java 93.38% 🍏
here-naksha-app-service Mom10PostProcessor.java 100% 🍏
GeoClipPostProcessor.java 100% 🍏
SequentialPreProcessor.java 100% 🍏
MaskingPostProcessor.java 100% 🍏
SequentialPostProcessor.java 100% 🍏
PropertySelectionPostProcessor.java 100% 🍏
Mom10PreProcessor.java 100% 🍏
TagsPreProcessor.java 100% 🍏
ReadFeatureApiTask.java 93.15% 🍏
StorageApiTask.java 86.59% 🍏
EventHandlerApiTask.java 86.59% 🍏
AbstractApiTask.java 84.42% 🍏
WriteFeatureApiTask.java 75.69% -2.88% 🍏
here-naksha-lib-handlers DefaultStorageHandler.java 54.89% -1.78% 🍏

Signed-off-by: Jakub Amanowicz <[email protected]>
Signed-off-by: Jakub Amanowicz <[email protected]>
@github-actions
Copy link

Code Coverage

Overall Project 42.95% -0.04% 🍏
Files changed 95.64% 🍏

Module Coverage
here-naksha-lib-mom10 96.6% 🍏
here-naksha-app-service 72% -0.17% 🍏
here-naksha-lib-handlers 35.8% -0.44% 🍏
here-naksha-lib-core 32.8% 🍏
Files
Module File Coverage
here-naksha-lib-mom10 Mom10Transformation.java 93.38% 🍏
here-naksha-app-service Mom10PostProcessor.java 100% 🍏
GeoClipPostProcessor.java 100% 🍏
SequentialPreProcessor.java 100% 🍏
MaskingPostProcessor.java 100% 🍏
SequentialPostProcessor.java 100% 🍏
PropertySelectionPostProcessor.java 100% 🍏
Mom10PreProcessor.java 100% 🍏
TagsPreProcessor.java 100% 🍏
ReadFeatureApiTask.java 93.06% 🍏
StorageApiTask.java 86.59% 🍏
EventHandlerApiTask.java 86.59% 🍏
AbstractApiTask.java 86.07% -0.88% 🍏
WriteFeatureApiTask.java 77.67% -1.35% 🍏
here-naksha-lib-handlers SourceIdHandler.java 77.14% -0.82% 🍏
DefaultStorageHandler.java 54.89% -1.78% 🍏
here-naksha-lib-core ResultHelper.java 0% 🍏

@github-actions
Copy link

Code Coverage

Overall Project 42.95% -0.04% 🍏
Files changed 95.64% 🍏

Module Coverage
here-naksha-lib-mom10 96.6% 🍏
here-naksha-app-service 72% -0.17% 🍏
here-naksha-lib-handlers 35.8% -0.44% 🍏
here-naksha-lib-core 32.79% 🍏
Files
Module File Coverage
here-naksha-lib-mom10 Mom10Transformation.java 93.38% 🍏
here-naksha-app-service Mom10PostProcessor.java 100% 🍏
GeoClipPostProcessor.java 100% 🍏
SequentialPreProcessor.java 100% 🍏
MaskingPostProcessor.java 100% 🍏
SequentialPostProcessor.java 100% 🍏
PropertySelectionPostProcessor.java 100% 🍏
Mom10PreProcessor.java 100% 🍏
TagsPreProcessor.java 100% 🍏
ReadFeatureApiTask.java 93.06% 🍏
StorageApiTask.java 86.59% 🍏
EventHandlerApiTask.java 86.59% 🍏
AbstractApiTask.java 86.07% -0.88% 🍏
WriteFeatureApiTask.java 77.67% -1.35% 🍏
here-naksha-lib-handlers SourceIdHandler.java 77.14% -0.82% 🍏
DefaultStorageHandler.java 54.89% -1.78% 🍏
here-naksha-lib-core ResultHelper.java 0% 🍏

@github-actions
Copy link

Code Coverage

Overall Project 42.94% -0.04% 🍏
Files changed 95.73% 🍏

Module Coverage
here-naksha-lib-mom10 96.6% 🍏
here-naksha-app-service 72% -0.17% 🍏
here-naksha-lib-handlers 35.8% -0.44% 🍏
here-naksha-lib-core 32.78% 🍏
Files
Module File Coverage
here-naksha-lib-mom10 Mom10Transformation.java 93.38% 🍏
here-naksha-app-service Mom10PostProcessor.java 100% 🍏
GeoClipPostProcessor.java 100% 🍏
SequentialPreProcessor.java 100% 🍏
MaskingPostProcessor.java 100% 🍏
SequentialPostProcessor.java 100% 🍏
PropertySelectionPostProcessor.java 100% 🍏
Mom10PreProcessor.java 100% 🍏
TagsPreProcessor.java 100% 🍏
ReadFeatureApiTask.java 93.06% 🍏
StorageApiTask.java 86.59% 🍏
EventHandlerApiTask.java 86.59% 🍏
AbstractApiTask.java 86.07% -0.88% 🍏
WriteFeatureApiTask.java 77.72% -1.34% 🍏
here-naksha-lib-handlers SourceIdHandler.java 77.14% -0.82% 🍏
DefaultStorageHandler.java 54.89% -1.78% 🍏
here-naksha-lib-core ResultHelper.java 0% 🍏

}
} else {
if (responseType.equals(HttpResponseType.FEATURE)) {
return transformWriteResultToXyzFeatureResponse(wrResult, XyzFeature.class);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we need MOM10 post processor here as well?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

HttpResponse<String> createResp = getNakshaClient().post("hub/spaces/" + SPACE_ID + "/features", createFeatureJson, streamId);
assertThat(createResp).hasStatus(200);

// And: We do little hacking - patching the feature with different `modelVersion` (MOM 10) so that MOM 10 transformation will happen
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correct me if I'm wrong, but this Patch step is not adding any value to the test and can be removed (to avoid confusion for other devs). It is fine, if this test is just about Creating MOM10 and Reading back MOM10 Feature and validating that we still get the originally submitted MOM10 Feature as is, without old Delta and Meta namespaces.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did to demonstrate that deltaNs and metaNs that were the user's input have nothing to do with what's been added by Naksha - the main excercise here is comparison between initial and final values in old namespaces

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We also need to check that the synchronous Response obtained on "Write Request" does not have old Delta and Meta namespaces. It can be added to any of the test cases here.

Copy link
Contributor Author

@Amaneusz Amaneusz Nov 19, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is already covered in shouldCreateMom10Feature

@github-actions
Copy link

Code Coverage

Overall Project 42.95% -0.04% 🍏
Files changed 95.77% 🍏

Module Coverage
here-naksha-lib-mom10 96.6% 🍏
here-naksha-app-service 72.01% -0.17% 🍏
here-naksha-lib-handlers 35.8% -0.44% 🍏
here-naksha-lib-core 32.79% 🍏
Files
Module File Coverage
here-naksha-lib-mom10 Mom10Transformation.java 93.38% 🍏
here-naksha-app-service Mom10PostProcessor.java 100% 🍏
GeoClipPostProcessor.java 100% 🍏
SequentialPreProcessor.java 100% 🍏
MaskingPostProcessor.java 100% 🍏
SequentialPostProcessor.java 100% 🍏
PropertySelectionPostProcessor.java 100% 🍏
Mom10PreProcessor.java 100% 🍏
TagsPreProcessor.java 100% 🍏
ReadFeatureApiTask.java 93.06% 🍏
StorageApiTask.java 86.59% 🍏
EventHandlerApiTask.java 86.59% 🍏
AbstractApiTask.java 86.07% -0.88% 🍏
WriteFeatureApiTask.java 77.74% -1.34% 🍏
here-naksha-lib-handlers SourceIdHandler.java 77.14% -0.82% 🍏
DefaultStorageHandler.java 54.89% -1.78% 🍏
here-naksha-lib-core ResultHelper.java 0% 🍏

@Amaneusz Amaneusz merged commit f99c6f6 into v2 Nov 19, 2025
3 checks passed
@Amaneusz Amaneusz deleted the CASL-1434_mom10_app_service branch November 19, 2025 09:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants