You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 6be2ed8
Browse filesBrowse the repository at this point in the historyBrowse files
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
Copy file name to clipboardExpand all lines: docs/sta-int.md
+30-8Lines changed: 30 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -53,17 +53,39 @@ STA configuration consists of two key concepts: policies and policy groups. Poli
53
53
- Policy: Message Direct and Use
54
54
```
55
55
56
-
Configuration is done through config-manager commandline 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:
57
57
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`:
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:
***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:
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 commandline 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.
0 commit comments