@hugohills @SimonCockx @davidalk @manel-martos @plamen-neykov
Would it make sense to migrate to the codelist definitions that are part of CDM to the Rune DSL?
https://github.com/finos/common-domain-model/blob/master/rosetta-source/src/main/rosetta/base-staticdata-codelist-type.rosetta
https://github.com/finos/common-domain-model/blob/master/rosetta-source/src/main/rosetta/base-staticdata-codelist-func.rosetta
Doing so would allow models in addition to CDM to make use of externally defined data and allow Rune DSL standardization of a serialization format that includes clarification when an instance is serialized of which versions of a codelist have been used.
Migration could use a mechanism similar to adding the built in basicTypes and annotations such as is used in the Python generator:
resources.add(resourceSet.getResource(builtins.basicTypesURI, true));
resources.add(resourceSet.getResource(builtins.annotationsURI, true));
The FpML references in the existing models which do not seem to be FpML specific would need to be renamed to something more generic.
@hugohills @SimonCockx @davidalk @manel-martos @plamen-neykov
Would it make sense to migrate to the codelist definitions that are part of CDM to the Rune DSL?
https://github.com/finos/common-domain-model/blob/master/rosetta-source/src/main/rosetta/base-staticdata-codelist-type.rosetta
https://github.com/finos/common-domain-model/blob/master/rosetta-source/src/main/rosetta/base-staticdata-codelist-func.rosetta
Doing so would allow models in addition to CDM to make use of externally defined data and allow Rune DSL standardization of a serialization format that includes clarification when an instance is serialized of which versions of a codelist have been used.
Migration could use a mechanism similar to adding the built in basicTypes and annotations such as is used in the Python generator:
The FpML references in the existing models which do not seem to be FpML specific would need to be renamed to something more generic.