Skip to content

Commit 6be2ed8

Browse files
gm2552claude
andcommitted
Reference Configuration Manager tool for Cloud Native policy setup
The STA Configuration section pointed only at the legacy ConfigMgmtConsole. Split the tooling instructions by deployment model: Configuration Manager (config-manager jar) for the Cloud Native model, ConfigMgmtConsole for the Legacy model, noting the interactive commands are identical between them. Links to the Configuration Manager Tool section of the direct-project-stock Cloud Native deployment guide. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EK73oSwhCoTUyaqAWzehSf
1 parent c6ce748 commit 6be2ed8

1 file changed

Lines changed: 30 additions & 8 deletions

File tree

‎docs/sta-int.md‎

Lines changed: 30 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -53,17 +53,39 @@ STA configuration consists of two key concepts: policies and policy groups. Poli
5353
- Policy: Message Direct and Use
5454
```
5555

56-
Configuration is done through config-manager command line console, but will be available in the config-ui tool in subsequent releases. The config-manager console is distributed with the stock reference implementation assembly. To run the console:
56+
Configuration is done through a command-line configuration management tool. Which tool you use depends on your deployment model — the interactive commands themselves (`IMPORTPOLICY`, `ADDPOLICYGROUP`, `ADDPOLICYTOGROUP`, `ADDPOLICYGROUPTODOMAIN`, etc.) are identical between the two and are matched case-insensitively; only the tool you launch differs:
5757

58-
1. Launch a command shell and navigate to the ConfigTools/ConfigMgmtConsole/bin directory.
59-
2. Run the command ConfigMgmtConsole (./ConfigMgmtConsole for unix based systems).
60-
The console connects to the Direct Project configuration service and manages records using the configuration service client module. By default it uses the url `http://localhost:8081/config-service/ConfigurationService`, but can be overridden using the configURL command line parameter.
58+
* **Cloud Native deployment model:** Use the **Configuration Manager** tool. See [Configuration Manager Tool](https://directprojectjavari.github.io/direct-project-stock/cloud-native-deployment#configuration-manager-tool) in the stock deployment guide for where to download it and how to run it. Place the jar in its own directory and run it directly with `java -jar`:
6159

62-
```
63-
ConfigMgmtConsole configURL http://confserver/config-service/ConfigurationService
64-
```
60+
```
61+
java -jar config-manager-9.0.0.jar
62+
```
63+
64+
With no arguments the interactive console is launched. A single command can also be run non-interactively by passing it directly on the command line:
65+
66+
```
67+
java -jar config-manager-9.0.0.jar IMPORTPOLICY "My Policy" ./MyPolicy.pol
68+
```
69+
70+
Configuration Manager connects to the Configuration Service's REST API. By default it uses `http://localhost:8082/`; override it with the `direct.config.service.url` property, either in an `application.yml` placed alongside the jar or as a command-line argument:
71+
72+
```
73+
java -jar config-manager-9.0.0.jar --direct.config.service.url=http://confserver:8082/
74+
```
75+
76+
* **Legacy deployment model:** Use the **ConfigMgmtConsole** tool distributed with the legacy reference implementation assembly. Launch a command shell, navigate to the `<DIRECTHOME>`/ConfigMgmtConsole directory (or `ConfigTools/ConfigMgmtConsole/bin` in older assemblies), and run:
77+
78+
```
79+
ConfigMgmtConsole
80+
```
81+
82+
Use `./ConfigMgmtConsole` on Unix-based systems. The console connects to the Direct Project configuration service using the configuration service client module. By default it uses the url `http://localhost:8081/config-service/ConfigurationService`, but this can be overridden using the `configURL` command-line parameter:
83+
84+
```
85+
ConfigMgmtConsole configURL http://confserver/config-service/ConfigurationService
86+
```
6587

66-
The console can either take command directly on the command line or run interactively. If no arguments or commands are passed on the command line (with the exception of the configURL), then console runs interactively. For a list of supported commands, simple type help all either as command line arguments or when running interactively.
88+
Either tool can take commands directly on the command line or run interactively. If no arguments or commands are passed on the command line (with the exception of the connection URL), the tool runs interactively. For a list of supported commands, type `help all` either as command-line arguments or when running interactively.
6789

6890
**Import Policy**
6991

0 commit comments

Comments
 (0)