Skip to content

Commit f817d70

Browse files
author
David Linko
committed
added new folder for adding new ADMS in core
1 parent c685598 commit f817d70

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ point. With ANMS running, go to `localhost:8080` and log in to the database with
162162

163163
### ADM and Agent Updates
164164

165-
Changes to ADMs are handled on the Manager by uploading a new version of the ADM via the Web UI.
165+
By default ANMS starts with the ADMs defined in `deps/dtnma-adms` and ADMs added to `anms-core/extra_adms`. Changes to and adding new ADMs are handled on the Manager by uploading a new version of the ADM via the Web UI or the REST POST endpoint `http://localhost:5555/adms/`.
166166
The manager will then be able to use the new ADM.
167167

168168
Changes to a test Agent are more complicated, and require auto-generated C sources built into the ION source tree.

anms.Containerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,9 @@ COPY anms-core/anms/agent_parameter.json /usr/local/share/anms/agent_parameter.j
259259
RUN touch /usr/local/share/anms/alerts.json
260260
RUN chmod go+w /usr/local/share/anms/alerts.json
261261

262+
# adding extra ADMS added before build
263+
COPY anms-core/extra_adms /usr/local/share/ace/adms
264+
262265
RUN setcap cap_net_raw=ep /usr/bin/ping
263266
COPY --chmod=755 anms-core/docker-entrypoint.sh /usr/local/bin/
264267
# Remaining commands as the local user

0 commit comments

Comments
 (0)