1. 02 Dec, 2020 6 commits
  2. 10 Nov, 2020 1 commit
  3. 15 Oct, 2020 3 commits
    • femiadeyemi's avatar
      fix minor typo · b015c7c6
      femiadeyemi authored
      `tar` -> `jar`
      b015c7c6
    • femiadeyemi's avatar
      skip tests · 5b989230
      femiadeyemi authored
      Motivation:
      
      When the test stage of the ci/cd is trigger, it currently fail. 
      The main reason is that it took more than the stipulated time of 
      one hour to run.
      
      Modification:
      
      skip unit/integration tests
      
      Result:
      
      no testing
      5b989230
    • femiadeyemi's avatar
      refactor the ci/cd and supress false positive dependency · b9829399
      femiadeyemi authored
      Motivation:
      
      Maven test are unncessarily ran at least twice and some
      stage that were declared that were not use. This cause
      some unexpected behaviour in the ci/cd build.
      
      Also, the ci/cd fail because of some false postive in the
      dependency vulnerabilities scan
      
      Modification:
      
      - Define only neccessary stages and use them accordingly.
      - add some few dependecies supression
      
      Result:
      
      - Keep the ci/cd simple and avoid running multiple tests
      - when `mvn org.owasp:dependency-check-maven:check` is run
      Vulnerabilities found equal 0
      
      Target: master
      Review: https://gitlab.hzdr.de/hifis-technical-platform/helmholtz-cerebrum/-/merge_requests/39
      b9829399
  4. 24 Aug, 2020 1 commit
    • femiadeyemi's avatar
      organisations-api: add integration tests · 937ce44b
      femiadeyemi authored
      Motivation:
      
      The organisations api can handle varieties of request. Since
      this will evolve over time, integration tests are needed to
      ensure that basic functionalities are not broken when a new
      patch is submitted.
      
      Modification:
      
      - add various tests scenarios to cover all HTTP methods in the
          organisations API
      - adjust the organisations controller:
          - post method to return 201, location url in the header
              and a json body that contain the newly create organisation
          - put method to return 200 if the uuid already exist or 201
              if it is a new uuid.
          - get, put and patch will first check the validity of the uuid
              and thrown and exception if the uuid is invalid.
          - change the return type of deleteUuid from void to long
      - create CerebrumInvalidUuidException which will be use for invalid
          uuid
      - add two exceptions to the CerebrumExceptionHandler which are
          CerebrumInvalidUuidException and HttpMessageNotReadableException
          (this is for malformed json or json+patch)
      - add tests to check that CerebrumExceptionHandler handle those two
          new added exceptions
      - fix some minor bugs inside CerebrumEntityUuidGenerator
      - obtain and set aai token variable that will be use by the ci
      
      Result:
      
      Improve test coverage for organisation API and some minor
      bug fixes.
      
      Target: master
      Acked-by: Franz Stephan
      Review-at: https://gitlab.hzdr.de/hifis-technical-platform/helmholtz-cerebrum/-/merge_requests/20
      937ce44b
  5. 19 Aug, 2020 2 commits
  6. 22 Jul, 2020 1 commit
    • Carsten Heidmann's avatar
      Remove configuration for Sonar job so that it fails if the requirements are not met · e669bafc
      Carsten Heidmann authored
      Motivation:
      
      As agreed upon in the team meeting from 20200720 we want to let the whole build fail if the requirements for the quality gate of Sonar are not met
      
      Modifications:
      
      Remove the GitLab CI configuration that allowed the build step to fail without letting the whole pipeline fail
      
      Result:
      
      The pipeline will fail if the requirements for the quality gate of Sonar are not met
      
      Target: master
      
      Request:
      
      Acked-by:
      
      Pull-request: !14
      e669bafc
  7. 20 Jul, 2020 1 commit
    • Carsten Heidmann's avatar
      add missing CI job for Sonar · 5448ec68
      Carsten Heidmann authored
      Motivation:
      
      The job for Sonar was prepared, but no corresponding build job was created
      
      Modifications:
      
      add the CI build job description
      
      Result:
      
      Sonar tests are being executed as part of the CI pipelines
      
      Target: master Request: Acked-by: Pull-request: !12
      5448ec68
  8. 30 Jun, 2020 3 commits