Import Initial Properties & Connections into Configuration Application

Replace <PackageName> with the PackageName for the solution package you are configuring.

To Import Properties:

1. Install and start the Monitor.
2. Open a command prompt and navigate to the rtvapm/sampleapps/propeditor directory. Follow the instructions in the README.txt file to configure the node application to connect to the Monitor.
3. By default, all properties (including passwords) are sent to the rtvadmin servlet and on to the Data Server in plain text. You can optionally encrypt that text. See Encrypt Property Text for details.
4. Use the sample application to retrieve a list of solution packages in your data server as follows:

node main.js -action=getSPs

5. Use the sample application to get a list of available properties for your solution package as follows:

node main.js -action=getPropertyDescriptions -sp=<PackageName>

where <PackageName> is the abbreviated name for a solution package on the retrieved list.

6. Create a json file containing the connections and other properties you would like to add. Note that the file contents must be valid json. See Sample json for details about json properties.
7. Confirm that the Configuration Application is NOT in use.
8. Use the sample application to add the properties as follows:

node main.js -action=editProperties -filename=project -propstoadd=jsonfile.json

Note that the file name must be project in this use case. Otherwise, the properties will not be applied. See Adding, Editing, Deleting JsonPrimitive Properties for additional information.

9. Use the sample application to update or restart the data server. An update will apply connection properties. A restart is required to apply non-connection properties:

Node main.js -action=updatePropertiesOnServer

Or

Node main.js -action=restartServers

10. Now that the initial properties are imported you can use the RTView Configuration Application to edit your configuration.