Commit Graph

628 Commits

Author SHA1 Message Date
3509109b6f Fix Ls2JsonWriter
by allowing more spaces in the ls response.
by sending the error response of the list file system route only when no content has been written.
2022-10-05 12:11:47 +01:00
195f88177e Add Content-Length and Content-Disposition Header
for GetFileContent route.
2022-10-05 12:11:47 +01:00
0c70ad3b24 Enable unprivileged retrieve of file listing and content. 2022-10-05 12:11:47 +01:00
0218b3589a Add openAPI definition of the WebSocket endpoint. 2022-10-05 12:11:47 +01:00
847e5cda65 Extend ls2json reader
by also parsing the link target, permissions, group and owner.
2022-10-05 12:11:47 +01:00
3469d0ce77 Specify http not found exit code
by replacing it with StatusGone (410) for a missing runner and StatusFailedDependency (424) for missing or not accessible files.
2022-10-05 12:11:47 +01:00
fc77f11d4d Enquote file path for shell execution.
Also, fix json of 500 response.
2022-10-05 12:11:47 +01:00
152b77afe5 Add listing of runners file system. 2022-10-05 12:11:47 +01:00
c7ee7c1e25 Remove superfluous response.WriteHeader call
as the Write of the responseWriter automatically sends also the Header.
2022-10-05 12:11:47 +01:00
f2b25566dd #136 Copy files back from Nomad runner. 2022-10-05 12:11:47 +01:00
ae7b3ccd58 Add api definition for copying files back from the runner. 2022-10-05 12:11:47 +01:00
b30223bf58 Specify requirements for Docker images
Closes #3 [ci skip]
2022-10-04 15:27:49 +02:00
28872f8269 Clean outdated dependencies 2022-10-04 10:21:07 +02:00
60c6af03a4 Update Dependencies 2022-10-04 10:04:52 +02:00
bd5cc80937 Bump github.com/influxdata/influxdb-client-go/v2 from 2.10.0 to 2.11.0
Bumps [github.com/influxdata/influxdb-client-go/v2](https://github.com/influxdata/influxdb-client-go) from 2.10.0 to 2.11.0.
- [Release notes](https://github.com/influxdata/influxdb-client-go/releases)
- [Changelog](https://github.com/influxdata/influxdb-client-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/influxdata/influxdb-client-go/compare/v2.10.0...v2.11.0)

---
updated-dependencies:
- dependency-name: github.com/influxdata/influxdb-client-go/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-04 10:00:17 +02:00
1a5a49d7c8 Explicitly switch user for code execution.
Co-authored-by: Maximilian Pass <maximilian.pass@student.hpi.uni-potsdam.de>
2022-09-24 23:09:23 +02:00
69237fb415 Use local Docker image in e2e pipeline and rebuild image if necessary 2022-09-24 23:09:23 +02:00
7454e577e4 Allow using a local Docker image, e.g., for tests 2022-09-24 23:09:23 +02:00
15b9117382 Update ansible-deployment 2022-09-22 20:18:20 +02:00
d372e37d1a Add cni/secure-bridge to isolate host network 2022-09-18 19:02:04 +02:00
1df9701a74 Update example config with lowercase keys 2022-09-18 18:42:00 +02:00
ce14c116be Remove deprecated (and ignored) server option 2022-09-18 18:41:59 +02:00
2a234538ca Update Dependencies 2022-09-18 12:24:02 +02:00
3154c03f8a Recommend using gVisor as a sandbox 2022-09-07 22:19:20 +02:00
89fc7b2637 Fix Nomad event stream is ignoring errors
when an event stream could be established once.
2022-09-07 21:16:20 +02:00
e8457ca035 Remove monitoring debug statement. 2022-08-31 09:19:07 +02:00
549d147870 Fix missing environment id for monitoring data. 2022-08-31 08:49:07 +02:00
1ac4655ad5 Bump github.com/influxdata/influxdb-client-go/v2 from 2.9.2 to 2.10.0
Bumps [github.com/influxdata/influxdb-client-go/v2](https://github.com/influxdata/influxdb-client-go) from 2.9.2 to 2.10.0.
- [Release notes](https://github.com/influxdata/influxdb-client-go/releases)
- [Changelog](https://github.com/influxdata/influxdb-client-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/influxdata/influxdb-client-go/compare/v2.9.2...v2.10.0)

---
updated-dependencies:
- dependency-name: github.com/influxdata/influxdb-client-go/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-26 09:09:48 +02:00
1eef26cc83 Add environment id to periodical monitoring events. 2022-08-20 09:17:43 +02:00
5590c50e14 #110 Add periodical monitoring events. 2022-08-19 20:48:46 +02:00
c3460317a4 #110 Add Grafana dashboard visualizing important Poseidon stats. 2022-08-19 20:48:46 +02:00
84ddebb210 Pin Nomad's dependency to resolve security issues and easy dependecy upgrade process 2022-08-17 13:25:48 +02:00
a5dc414b77 Update Dependencies 2022-08-17 13:25:48 +02:00
5059a5dc4c Upgrade Go from 1.18 to 1.19 2022-08-10 20:47:02 +02:00
9677253b35 Change Influx field name for the startup duration
due to a currently not resolvable type mismatch.
2022-08-10 20:46:17 +02:00
021530d5a7 Apply GoFmt fixes 2022-08-10 19:34:05 +02:00
a841675e7e Adapt linter config to remove warnings 2022-08-10 19:34:05 +02:00
770327cf64 Add storage count debug statement. 2022-08-08 09:17:27 +02:00
6ddc6493d4 Update Nomad version in CI 2022-08-08 09:17:13 +02:00
7a7ed1ff39 Bump github.com/hashicorp/nomad from 1.3.2 to 1.3.3
Bumps [github.com/hashicorp/nomad](https://github.com/hashicorp/nomad) from 1.3.2 to 1.3.3.
- [Release notes](https://github.com/hashicorp/nomad/releases)
- [Changelog](https://github.com/hashicorp/nomad/blob/v1.3.3/CHANGELOG.md)
- [Commits](https://github.com/hashicorp/nomad/compare/v1.3.2...v1.3.3)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/nomad
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-08 09:17:13 +02:00
89e15c5c2f Fix startup time format
Before it was a string. To use it efficiently we want it to be a number - in this case in nanoseconds.
2022-08-05 21:16:58 +02:00
b287aa335d Monitor environment id also for deletions. 2022-08-05 21:16:58 +02:00
2864a60653 Add Workflow for Java CI and specify encoding 2022-08-03 22:36:03 +02:00
a7b4b25e61 Update JUnit to v14.13.2 2022-08-03 14:43:39 +02:00
9d54a40340 Bump junit from 4.11 to 4.13.1 in /deploy/aws/java11Exec
Bumps [junit](https://github.com/junit-team/junit4) from 4.11 to 4.13.1.
- [Release notes](https://github.com/junit-team/junit4/releases)
- [Changelog](https://github.com/junit-team/junit4/blob/main/doc/ReleaseNotes4.11.md)
- [Commits](https://github.com/junit-team/junit4/compare/r4.11...r4.13.1)

---
updated-dependencies:
- dependency-name: junit:junit
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-03 14:43:39 +02:00
bdf42cd2a7 Update dependencies in Java POM 2022-08-03 14:43:00 +02:00
7d58d2b99c CI Debug Print AWS functions 2022-08-01 16:52:34 +02:00
2908caeb71 Merge pull request #184 from openHPI/dependabot/go_modules/github.com/influxdata/influxdb-client-go/v2-2.9.2 2022-08-01 12:44:24 +00:00
0094776a88 CI Debug WIP 2022-08-01 14:39:12 +02:00
d0ad9e03a3 Suppress request noctx linter. 2022-08-01 14:35:52 +02:00