Filtering at the model level is extremely useful as it permits efficient tracking of multiple providers using the same model. The model URI is required to ensure strict uniqueness, however the model uri is difficult to represent in topic syntax, and would need large amounts of escaping. The trade off is therefore to allow the model name to be used in the topic for rapid checking, with the filter being available for more precise matching if needed.
Signed-off-by: Tim Ward <timothyjward@apache.org> (commit: 9d68852)
Expose #getProviders(String modelPackageUri, String model) from the twin
The method getProviders(String, String) existed in the EMF Twin, but not the base twin. As we already use the model package uri extensively in that interface we should expose it here as well.
Signed-off-by: Tim Ward <timothyjward@apache.org> (commit: 6eebd84)
The EMF dto altered the GenericDto so that it could extend it. The GenericDto was intentionally final to prevent usage mistakes in the API. There are few fields and we should copy them.
Signed-off-by: Tim Ward <timothyjward@apache.org> (commit: 61101a6)