blob: 47cdd3e0811daf365d6805f08a9a8de33e6b3d5e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# CloudAtlas
## Running
The agent, fetcher, and interpreter take an optional `-Dhostname=<agent's external hostname`
argument, which defaults to `localhost`.
### API Agent
# start rmiregistry
./scripts/registry
# start agent to bind API
./gradlew runAgent
### Client
./gradlew runClient
Relies on a running agent.
Exposes a web application on `localhost:8080`.
### Fetcher
./gradlew runFetcher
Sends system information to an agent.
### Interpreter
./gradlew runInterpreter
# to suppress Gradle's output
./gradlew runInterpreter --quiet
Reads queries from standard input and outputs results to standard output, using
a hard-coded test hierarchy.
### Tests
./gradlew test
# test individual components
./gradlew test --tests AgentTest
./gradlew test --tests InterpreterTests.fileTest13
Generates an HTML test report at `build/reports/tests/test/index.html`.
|