Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rest API - ModelService - provide model definition #486

rsoika opened this Issue Mar 15, 2019 · 0 comments


None yet
1 participant
Copy link

rsoika commented Mar 15, 2019

provide a new method returning the model definition by version:

 * Returns the model definition containing general model information (e.g.
 * $ModelVersion).
public XMLDataCollection getDefiniton(@PathParam("version") String version,
		@QueryParam("items") String items) {
	ItemCollection definition = null;
	try {
		definition = modelService.getModel(version).getDefinition();
		return XMLDataCollectionAdapter.getDataCollection(definition, getItemList(items));

	} catch (Exception e) {
	return new XMLDataCollection();

@rsoika rsoika added this to the 4.5.4 milestone Mar 15, 2019

rsoika added a commit that referenced this issue Mar 15, 2019

@rsoika rsoika added the testing label Mar 15, 2019

@rsoika rsoika closed this Apr 2, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.