This document will summarize the changes needed to the common client, for each of the initiatives in the Sierra Update.
This is the most complicated area, and Yunpeng, Nikita, and I are still making sense of this one... all that I can say right now is that this will be the busiest initiative (as far as changes to the common client).
Additional commands will be needed for the following tasks (at a minimum):
Until this is fully fleshed out, the time estimate of 3 weeks (to write interfaces and code, followed by additional time for testing) is very rough.
It is unclear if the "component update" is simply being deprecated or replaced with the new "component upgrade", but either scenario is simple for the common client.
One new command (component upgrade) is to be added. In addition, the existing command (component update) will be removed.
Time estimate: Annies already changed the "updateComponent" method to call the "upgradeComponent" method on the components. All that is left is renaming the common client method to "upgradeComponent." This should take 1 day.
Time estimate: 3 days.
Integrated on Friday, Sepember 7th (IN 109677
).
This should take 1-2 days.
This has no changes on the Common Client.
This has no changes on the Common Client.
A few new commands will be added to obtain/present all the monitoring data, as well as some subsets.
Time estimate: One week.
This has no changes on the Common Client.
This has no changes on the Common Client.
This area still (actively) being worked on. It is still not clear which part of the existing API is working. The current API is as follows:
Map<String /* targetInstanceName */, Properties /* configProps */> getComponentConfigurationProperties(
String componentName, String targetName);
Properties /* targetInstanceName, success/failure */ setComponentConfigurationProperties(String componentName,
Properties /* configProps */configurationValues, String targetName)
throws JBIRemoteException;
Proposed new API:
String addApplicationVariables (String componentName, String targetName, Properties appVariables)
throws JBIRemoteException;
String setApplicationVariables (String componentName, String targetName, Properties appVariables)
throws JBIRemoteException;
String deleteApplicationVariables (String componentName, String targetName, String[] appVariableNames)
throws JBIRemoteException;
Properties getApplicationVariables (String componentName, String targetName)
throws JBIRemoteException;
String addApplicationConfiguration (String componentName, String targetName, String name, Properties config)
throws JBIRemoteException;
String setApplicationConfiguration (String componentName, String targetName, String name, Properties config)
throws JBIRemoteException;
String deleteApplicationConfiguration (String componentName, String targetName, String name)
throws JBIRemoteException;
String[] listApplicationConfigurationNames (String componentName, String targetName)
throws JBIRemoteException;
Properties getApplicationConfiguration (String componentName, String targetName, String name)
throws JBIRemoteException;
Map<String,Properties> getApplicationConfigurations (String componentName, String targetName)
throws JBIRemoteException;
The following new method will augment (not replace!) the existing similar updateComponent command:
public String upgradeComponent(String componentName, String zipFilePath)
public Map<String /* runtimeLoggerName */, Level /* logLevel */> getRuntimeLoggerLevels(
String targetName, String targetInstanceName)
throws JBIRemoteException;
public Level getRuntimeLoggerLevel(
String runtimeLoggerName,
String targetName, String targetInstanceName)
throws JBIRemoteException;
public void setRuntimeLoggerLevel(String runtimeLoggerName,
Level logLevel, String targetName, String targetInstanceName)
throws JBIRemoteException;
This has no changes on the Common Client.
This has no changes on the Common Client.
Properties getJbiStatistics(String targetName); // get all statistics; Properties getJbiFrameworkStatistics(String targetName); // get just Framework statistics; Properties getJbiNmrStatistics(String targetName); // get just NMR statistics; Properties getJbiComponentStatistics(String targetName); // get all component statistics; Properties getJbiComponentStatistics(String componentName, String targetName); // get component statistics for the given component; Properties getJbiEndpointStatistics(String targetName); // get all endpoint statistics; Properties getJbiEndpointStatistics(String endpointName, String targetName); // get endpoint statistics for the given endpoint;
This has no changes on the Common Client.
This has no changes on the Common Client.