1. 05 Jan, 2022 1 commit
  2. 16 Dec, 2021 1 commit
  3. 15 Dec, 2021 1 commit
  4. 20 Oct, 2021 1 commit
  5. 06 Oct, 2021 1 commit
  6. 14 Sep, 2021 1 commit
  7. 02 Sep, 2021 2 commits
    • p.jbowden's avatar
      add feature flag for host/docker env gen · c884a01f
      p.jbowden authored
      also reorder chmod, cant mod a file before it is created
    • p.jbowden's avatar
      Dockerize configure system · 1cad8653
      p.jbowden authored
      * seperate the various bootstrap stages into their own files in `bin/`
      * re-write `configure` to run each bootstrap stage inside a container
      * make host platform dependencies (docker, python, etc) installation optional
  8. 01 Sep, 2021 1 commit
    • p.jbowden's avatar
      expose minio to the host on port 9000 · 780cabf5
      p.jbowden authored
      sse-server does not support using a different base uri from frontend
      presigned urls, and backend comminication channels.
      Therefore for local development, we must expose minio on the localhost,
      and use /etc/hosts to resolve lookups for the hostname `minio`
      this way sse-server can use the hostname `minio` for both frontend
      presigned urls and backend communication.
      configuration will have to differ for cloud deployments where traffic
      is only allowed port on 80/443.
  9. 30 Aug, 2021 1 commit
    • p.jbowden's avatar
      start using dockerized nginx proxy · fdc494fd
      p.jbowden authored
      * expose public services through nginx-proxy container
      * reconfigure services to commincate with each other over the internal
        docker network when possible
      * remove previous nginx installation from ci
  10. 27 Aug, 2021 4 commits
  11. 26 Aug, 2021 1 commit
  12. 24 Aug, 2021 1 commit
  13. 23 Aug, 2021 2 commits
    • p.jbowden's avatar
      Update README.md · 7c658666
      p.jbowden authored
    • p.jbowden's avatar
      Big commit to prepare for adding MiCADO deployment · e6dcbfd1
      p.jbowden authored
      - Split up docker-compose.yml -> docker-compose/*.yml
      - Turn make sure all container params are stored in the .env file (no
        hardcoded values in docker-compose environment config)
      - Rename many environment variables for better namespacing
      - remove docker-compose.bootstrap.yml entirely and move the
        functionality to the configure script
  14. 11 Aug, 2021 1 commit
    • p.jbowden's avatar
      Add some utility scripts · b1d6f699
      p.jbowden authored
      * init_realm_admin.py: use registration authority to generate a cpabe
        key for the realm admin user
      * create_subject.py: provision a set of subject keys and create a
        corresponding XNAT subject
      * create_user.py: use registration authority to add a new user with
        cpabe key in keycloak
  15. 05 Aug, 2021 1 commit
  16. 04 Aug, 2021 1 commit
    • p.jbowden's avatar
      Remove all DEMO fixtures · 7249bda8
      p.jbowden authored
      * Remove all `DEMO_*` fixtures from .env.tpl
      * Replace DEMO users with TEST user in realm-export.json.tpl
      * Regenerate xnat.sql.tpl without any subject data
      * Remove sse, ta and keytray .sql.tpl files, we can test without these
      * Modify docker-compose files to reflect these changes
      * Tweak tests to work with new fixture environment
  17. 02 Aug, 2021 2 commits
    • p.jbowden's avatar
      relent and use python-dotenv for tests · 4b635023
      p.jbowden authored
    • p.jbowden's avatar
      Start implementing end-to-end style API tests · b3fc2a4a
      p.jbowden authored
      * Start adding utility libraries for interacting with the various
        componenents in the stack. So far very incomplete. These will be
        expanded over time and may become the basis of a library for
        provisioning the system
      * Start adding tests, using `unittest` from the python standard library.
        This framework was chosen because it has no external dependencies and
        is available out-the-box on any Python installation. We can move to
        something more feature-complete in the future if needed.
      * This commit contains mostly basic health-checks
        and a few create/read data tests. These will be expanded over time
  18. 01 Aug, 2021 1 commit
    • p.jbowden's avatar
      Overhaul environment configuration system · 6f184c6d
      p.jbowden authored
      * Port the dotenv file to a real shell script. Shell scripts are more
        portable as they don't require the installation extra dependencies.
        They also have proper support for double and single quoting and
        better support for variable expansion, which is not the case for many
        dotenv implementations (I'm looking at you docker-compose)
      * Rename many variables, adding the `DEMO_` prefix. This is to make it
        more clear which variables are fixtures for demonstration purposes.
      * Add a number of new new variables and corresponding templates. Mostly
        to allow us more customization of the demonstration fixtures when
  19. 28 Jul, 2021 1 commit
    • ilka.schulz's avatar
      create passwords and apply them to .env file · 2ff56c25
      ilka.schulz authored
      Added `configure` file which sets up the stack on the machine and updated
      README how to install stack. Some special secrets (e.g. ABE keypairs) are not
      created in this script and need to created manually post configuration.
  20. 06 Jul, 2021 1 commit
    • p.jbowden's avatar
      Fix for commit d36a1a81 · 17d36296
      p.jbowden authored
      commit d36a1a81 inadvertantly added empty-lines to the end of everyfile,
      rather than just a new line character.
      fix this with the following one-liner script:
      for f in $(git whatchanged --no-commit-id --name-only 29216f52..d36a1a81);
          do sed -i '$d' $f;
  21. 24 Jun, 2021 1 commit
  22. 23 Jun, 2021 1 commit
  23. 18 Jun, 2021 1 commit
    • jmz-b's avatar
      Re-implement keycloak provisioning · 1db0900e
      jmz-b authored
      * Remove keycloak.sql dump/template
      * Update realm-export.json.tpl and re-enable templating
      * Add instructions to README for using realm-export.json
      The updated realm-export.json contains a number of new users
      * member
      * owner
      * collaborator
      * subject
      * subjec2
  24. 16 Jun, 2021 3 commits
  25. 03 Jun, 2021 2 commits
  26. 20 May, 2021 1 commit
  27. 03 May, 2021 1 commit
  28. 02 May, 2021 3 commits
  29. 03 Mar, 2021 1 commit