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
Copy file name to clipboardExpand all lines: docs/agent/reachability.en.md
+28-1Lines changed: 28 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -52,12 +52,39 @@ To use this feature, you need to set two parameters:
52
52
4. Upon successful completion of all steps, a file named `.svace-dir/analyze-res/call-graph-results/<project_name>-graph-order.json` containing the call graph will appear in the project directory.
53
53
54
54
!!! warning "Saving a file"
55
-
Prior to Svace version svace-5.0.260311, the call graph file was saved to the folder `.svace-dir/analyze-res/call-graph`
55
+
Prior to Svace version 5.0.260311, the call graph file was saved to the folder `.svace-dir/analyze-res/call-graph`
56
56
57
57
5. Launch the scan using Johnny, for example:
58
58
```shell
59
59
johnny-linux-amd64 scan dir . --api_url "http(s)://<codescoring_host>" --api_token "<token from step 1>" --cg-path .svace-dir/analyze-res/call-graph-results/<project_name>-graph-order.json --cg-lang java
60
60
```
61
+
## Remote Analysis Server
62
+
63
+
In [Svace 5.0.260311](/on-premise/postgres-upgrade-compose/), it is now possible to use a remote analysis server. This allows you to configure
64
+
the analysis server once, and its users can submit projects for analysis without specifying credentials.
65
+
66
+
### Server configuration steps
67
+
68
+
1. Specify environment variables
69
+
```shell
70
+
SVACE_LIC_SERVER_URL=http(s)://<codescoring_host>
71
+
SVACE_LIC_SERVER_TOKEN=<токен CodeScoring>
72
+
```
73
+
2. Initialization
74
+
```shell
75
+
svace server init
76
+
```
77
+
3. Start the server
78
+
```shell
79
+
svace server start
80
+
```
81
+
4. Submit the project for analysis
82
+
```shell
83
+
svace remote analyze --build-call-graph-only
84
+
```
85
+
86
+
After configuring the server, the analysis is simplified — you do not need to specify the license parameters ```--license-server-url``` and ```--license-server-token```.
0 commit comments