Skip to content

Commit b85767a

Browse files
d-linkoBrianSiposDavid Linko
authored
Draft: 148 migrate camp repo (#191)
* Rework to split amp-manager from ION containers * Aligning ION config inputs, fixing proxy socket path * Fixing container build after merge * Fix compose config * Cleaning up CI config * Fixing access in CI * Update checkout test port * Fixing podman use and podman checkout CI job * Stop in opposite order from start * updating nm_host from ion-manger to anms-amp-manager-1. still having issues submitting reports * updated name to amp-manager, removed debug log * Renamed test containers file to testenv-compose to make its purpose more clear. Moved socket bind mount to an environment controlled path. * Fixing puppet testenv disable behavior * Fix hostname for the NM manager * Separate anms network from testenv network * Fix container name after merge * updated to dtnma-camp * updated to latest CAMP and DTNNA-TOOLS * Updating uses of ACE, CAMP, and REFDM to latest development * updated to latest dtnma libraries * updating to latest sql tables * handling ADM upload and report printing * working translation and report handling * updated for sending and viewing execsets * fixed up creating execset * updaded submodules * updated to proper commit for dtnma-tools * updating tests * updating core tests * passing tests * updated ace * removing test print and extra copy * adding latest ace * updated adms to be out of anms-ace * updated copy for adms --------- Co-authored-by: Brian Sipos <brian.sipos@jhuapl.edu> Co-authored-by: Brian Sipos <brian.sipos@gmail.com> Co-authored-by: David Linko <david.linko@jhuapl.edu>
1 parent a6b6c00 commit b85767a

File tree

218 files changed

+2289
-41720
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

218 files changed

+2289
-41720
lines changed

.env

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,6 @@ RENDERER_PORT=8081
5151
RENDERER_HOST_PORT=${DOCKER_CTR_PREFIX}grafana-image-renderer:${RENDERER_PORT}
5252
ION_MGR_PORT=8089
5353
HTTP_PORT:80
54+
SOCKDIR=/var/tmp/nm
5455

56+
ADM_PATH=deps/dtnma-adms

.github/workflows/anms-core.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Install dependencies
2222
run: |
2323
pip3 install deps/dtnma-ace
24-
pip3 install deps/anms-camp
24+
pip3 install deps/dtnma-camp
2525
- name: Install
2626
working-directory: anms-core
2727
run: pip3 install -e '.[test]'
@@ -43,7 +43,7 @@ jobs:
4343
- name: Install dependencies
4444
run: |
4545
pip3 install deps/dtnma-ace
46-
pip3 install deps/anms-camp
46+
pip3 install deps/dtnma-camp
4747
- name: Install flake8
4848
working-directory: anms-core
4949
run: pip3 install -e '.[flake8]'

.github/workflows/build-test.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ jobs:
4343
- name: Build Volume
4444
run: |
4545
./create_volume.sh ./puppet/modules/apl_test/files/anms/tls
46+
sudo mkdir /run/anms
4647
- name: Start
4748
run: |
4849
podman compose ${ANMS_COMPOSE_OPTS} up -d --force-recreate
@@ -104,6 +105,7 @@ jobs:
104105
- name: Build Volume
105106
run: |
106107
./create_volume.sh ./puppet/modules/apl_test/files/anms/tls
108+
sudo mkdir /run/anms
107109
- name: Start
108110
run: |
109111
docker compose ${ANMS_COMPOSE_OPTS} up -d --force-recreate

.gitlab-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ anms-core_unit-test:
173173
- *prep-install-ca
174174
- *prep-install-python
175175
- pip3 wheel deps/dtnma-ace -w ${PY_WHEEL_DIR} --no-deps
176-
- pip3 wheel deps/anms-camp -w ${PY_WHEEL_DIR} --no-deps
176+
- pip3 wheel deps/dtnma-camp -w ${PY_WHEEL_DIR} --no-deps
177177
- (cd anms-core &&
178178
pip-compile --find-links ${PY_WHEEL_DIR} --extra test pyproject.toml &&
179179
pip3 install --find-links ${PY_WHEEL_DIR} -r requirements.txt)

.gitmodules

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
1-
[submodule "deps/anms-camp"]
2-
path = deps/anms-camp
3-
url = ../anms-camp.git
4-
[submodule "ion/src"]
5-
path = ion/src
6-
url = https://github.com/JHUAPL/dtnma-tools.git
7-
81
[submodule "deps/dtnma-ace"]
92
path = deps/dtnma-ace
10-
url = https://github.com/JHUAPL-DTNMA/dtnma-ace
3+
url = https://github.com/JHUAPL-DTNMA/dtnma-ace.git
114
branch = main
5+
[submodule "deps/dtnma-tools"]
6+
path = deps/dtnma-tools
7+
url = https://github.com/JHUAPL-DTNMA/dtnma-tools.git
8+
branch = main
9+
[submodule "deps/dtnma-camp"]
10+
path = deps/dtnma-camp
11+
url = https://github.com/JHUAPL-DTNMA/dtnma-camp.git
12+
[submodule "deps/dtnma-adms"]
13+
path = deps/dtnma-adms
14+
url = https://github.com/JHUAPL-DTNMA/dtnma-adms.git

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ The two output paths for ADM C files are:
230230

231231
To regenerate agent source, scraping the pre-existing source to avoid clearing out agent implementations, run:
232232
```sh
233-
PYTHONPATH=deps/dtnma-ace/src/:deps/anms-camp/src/ python3 -m camp.tools.camp ion/src/nm/doc/adms/ion_bp_admin.json -o ion/src/bpv7/nm/ --only-ch --scrape
233+
PYTHONPATH=deps/dtnma-ace/src/:deps/dtnma-camp/src/ python3 -m camp.tools.camp ion/src/nm/doc/adms/ion_bp_admin.json -o ion/src/bpv7/nm/ --only-ch --scrape
234234
```
235235

236236
### Manual Agent exercising

amp-sql/.gitignore

Lines changed: 0 additions & 2 deletions
This file was deleted.

amp-sql/Dockerfile

Lines changed: 0 additions & 34 deletions
This file was deleted.
-13.6 KB
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)