1. 05 May, 2020 1 commit
    • Ciarán Ó Rourke's avatar
      Support command line parsing and configuration files · ba82dd36
      Ciarán Ó Rourke authored
      Change log:
      * src/utils directory for configuration, logging, etc
      * Config class for handling configuration (command line parsing, etc)
      * include Catch2 and CLI11 as system files so clang-tidy will ignore
        them
      * support basic command line options:
            - hostname (positional, required)
            - number of threads
            - http_port
            - https_port
      * add configuration to fiphoboserver executable main function
      * return on exception for incompatible hostname
      * return after parsing command line arguments if arguments are bad
        or --help is supplied
      * don't pass command line arguments to folly
      * Config returns struct of command line options
      * accept configuration options from config file
      * option to write current configuration to file
      * integration tests: reflect changes to fiphoboserver executable
      ba82dd36
  2. 24 Apr, 2020 2 commits
  3. 21 Apr, 2020 1 commit
  4. 15 Apr, 2020 1 commit
    • Sophie Wenzel-Teuber's avatar
      Add Amazon Authorisation · 18b7825f
      Sophie Wenzel-Teuber authored
      The signature of amazon users is checked against a text file of known users and requests are accepted or rejected depending on the signature
      18b7825f
  5. 14 Apr, 2020 3 commits
  6. 09 Apr, 2020 3 commits
  7. 08 Apr, 2020 2 commits
  8. 07 Apr, 2020 1 commit
  9. 03 Apr, 2020 2 commits
    • Ciarán Ó Rourke's avatar
      Develop integration testing and run during CI · 9569a15f
      Ciarán Ó Rourke authored
      * separate directories for unit tests and integration tests
      * text files directory for testing server functions
      * module for s3 utility functions
      * module for file comparison utility functions
      * module for generating random keys and meta data
      * handle server executable within tests
      * basic test for PUT and GET
      * PUT and GET test for zero-byte file
      * add integration testing to CI
      * correct Clang Tidy job
      * PUT command supports optional meta data
      * test for GETMD
      * test that GET with bad key fails
      * test that PUT with used key fails
      9569a15f
    • Aaron Dees's avatar
      Merge branch '8-ci' into 'devel' · 88a6e21c
      Aaron Dees authored
      Resolve "CI"
      
      See merge request oilgas/ltfs/fiphoboserver!22
      88a6e21c
  10. 02 Apr, 2020 1 commit
    • Ciarán Ó Rourke's avatar
      * src/storage/phobos_file.cc: need to set xd_objid to NULL to avoid double free · 1392c1f9
      Ciarán Ó Rourke authored
      * src/storage/phobos_file.hexplicit copy constructors to avoid double free of xd_objid
      * tests: reflect meta data change to std::map from std::vector
      * run Clang Format
      * resolve Clang Tidy warnings
      * add Gitlab-CI
      * use fiphoboserver docker image
      * update DockerHub image with Doxygen requirements
      * CI: Clang Format job
      * CI: Clang Tidy job
      * CI: Doxygen build job
      * CI: Unit Tests job
      1392c1f9
  11. 31 Mar, 2020 3 commits
  12. 30 Mar, 2020 1 commit
    • Ciarán Ó Rourke's avatar
      Squashed commit of the following: · 755f0d1a
      Ciarán Ó Rourke authored
      * utility functions for tests (utils.h, utils.cc)
      * copy test text files to test binary directory during build
      * tests for Phobos_file constructors
      * tests for Phobos_file PUT and GET
      * Phobos_file PUT and GET tests for empty file
      * Phobos_file GETMD test
      * in-memory (disk) storage solution for testing stream objects
      * Fifo file descriptors must be copied explicitly as they are now an array
      * Fifo tests for PUT and GET
      * repeat Fifo tests for empty file
      * Fifo tests for GETMD
      * tests for Fifo object construction
      * need to determine file size before db_get
      * Phobos_file PUT  test for bad file descriptor exception
      * Phobos_file PUT test for used object_id exception
      * Phobos_file GETMD test for bad object_id
      * Phobos_file GET test for bad object_id
      * meta data is only written upon PUT operation in disk storage
      755f0d1a
  13. 24 Mar, 2020 5 commits
  14. 23 Mar, 2020 1 commit
  15. 16 Mar, 2020 2 commits
  16. 13 Mar, 2020 3 commits
  17. 12 Mar, 2020 1 commit
    • Ciarán Ó Rourke's avatar
      Implement Clang Tidy · daa9c80e
      Ciarán Ó Rourke authored
      Change log:
      * use std::move to return from get_meta_data
      * Fifo::put: replace Folly object argument with void pointer and size_t as arguments and return ssize_t
      * Fifo::put considers rc < count to be an exception
      * run Clang Tidy
      * rename i_ps to IPs in main.cc
      daa9c80e
  18. 05 Mar, 2020 5 commits
  19. 28 Feb, 2020 2 commits