Hi folks,
Following is a brief status of CDS UI:
* Remote API should work in general besides some known issues (which as I understand is not an obstacle to integrate UI with backend), please let us know if there are obstacles for development on your side.
* API for integration with backend is done, and included in com.cisco.cds.core plugin (ICDSModel, and related stuff).
* There is an exemplary API implementation in the com.cisco.cds.core.stub plugin. Please use for reference.
* Pull Sources UI works against new API
* Some parts of UI are still missed/incomplete like Templates page.
* However this incompleteness is not a stopper for the integration with backend: you can do following to work on integration:
- develop JUnit tests against your ICDSModel implementation, which is
-- faster way to get things done (develop and debug) ;
-- just a nice thing to have;
- alternatively, for parameters not yet collectable from UI, you can set them directly in the source code to test backend integration (plugin com.cisco.cds.ui, class: сom.cisco.cds.internal.ui.views.PullView, method: pullWorkspace):
//not all data from UI collected yet
//fill the data manually as you want
//fill the properties of new workspace, please (un)comment or modify
/*
Map<String, String> properties = new HashMap<String, String>();
properties.put(CDSModelConstants.WORKSPACE_NAME, "New worskpace");
properties.put(CDSModelConstants.WORKSPACE_LOCATION, confirmation.getWorkspaceLocation() );
properties.put(CDSModelConstants.WORKSPACE_PLATFORM, selectedTepmplate.getPlatform() );
properties.put(CDSModelConstants.WORKSPACE_HOST, confirmation.getHost() );
properties.put(CDSModelConstants.WORKSPACE_USER_ID, "userId" );
properties.put(CDSModelConstants.WORKSPACE_USER_PASSWORD, "password");
//fill data for distros
List<WorkspaceDistributiveInfo> distribs = selectedTepmplate.getDistribInfos();
for (WorkspaceDistributiveInfo info : distribs) {
info.setSourceBase("sourceBase");
info.setLabelName("LATEST");
}
*/
* P2 update site for current CVS snapshot available here:
Plans for tomorrow: finish UI, resolve critical/blocker bugs in JIRA.
Thank you very much,
Andrey