enso/tools/http-test-helper
Radosław Waśko edfcfde11c
Tests and improvements for secrets in cloud subdirectories (#8791)
- Closes #8723
- Adds some missing features that were needed to make this work:
- `Enso_File.create_directory` and `Enso_File.delete`, and basic tests for it
- Changes how `Enso_Secret.list` is obtained - using a different Cloud endpoint allows us to implement the desired logic, the default endpoint was giving us _all_ secrets which was not what we wanted here.
- Implements `Enso_Secret.update` and tests for it

# Important Notes
Notes describing any problems with the current Cloud API:
https://docs.google.com/document/d/1x8RUt3KkwyhlxGux7XUGfOdtFSAZV3fI9lSSqQ3XsXk/edit

Apparently, everything that was needed to make this feature work has already been implemented, although a few features needed workarounds on Enso side to work properly.
2024-01-24 10:17:22 +00:00
..
src/main/java/org/enso/shttp Tests and improvements for secrets in cloud subdirectories (#8791) 2024-01-24 10:17:22 +00:00
www-files Add tests for Enso Cloud auth + simple API mock for Enso_User (#8511) 2023-12-19 17:41:09 +00:00
README.md Add tests for Enso Cloud auth + simple API mock for Enso_User (#8511) 2023-12-19 17:41:09 +00:00

HTTP Test Helper

A simple HTTP Request/Response clone of httpbin for testing purposes, extended with additional functionality allowing for testing Enso Cloud features.

Usage

It can be compiled like any other SBT project i.e.

sbt> http-test-helper/compile

To run, simply invoke the main method with the appropriate hostname and port:

sbt> http-test-helper/run localhost 8080