You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The `model-sync` gradle plugin synchronizes models between `model-api` endpoints.
12
+
The `bulk-model-sync` Gradle plugin synchronizes models between `model-api` endpoints.
13
13
A common example would be synchronizing a local MPS project to a `model-server`.
14
14
15
-
image::model-sync-gradle.png[]
15
+
IMPORTANT: For correct synchronization the used model-server is required to use IDs for roles. This can be achieved by starting the model-server with the `-useroleids` flag.
16
+
17
+
.Bulk Synchronization between MPS and model-server
18
+
image::bulk-model-sync-gradle.overview.png[Bulk Synchronization between MPS and model-server]
16
19
17
20
It allows the definition of sync directions by specifying source and target endpoint.
18
21
Based on these directions, Gradle tasks will be generated, which can be run to trigger the corresponding synchronization.
19
22
20
-
Internally, the node data will be bulk exported from the source endpoint and stored as json files.
21
-
After that, those json files serve as a specification to incrementally update the target model through via the target `model-api` endpoint.
23
+
Internally, the node data will be bulk exported from the source endpoint and stored as JSON files.
24
+
After that, these JSON files serve as a specification to incrementally update the target model via the target `model-api` endpoint.
22
25
This means that only a minimal amount of write operations is used to update the target model.
0 commit comments