Coder Social home page Coder Social logo

legend-juju-gitlab-integrator's People

Contributors

aznashwan avatar claudiubelu avatar fabi200123 avatar maoo avatar pedroleaoc avatar smiclea avatar thejuanandonly99 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

legend-juju-gitlab-integrator's Issues

Integration tests for the Gitlab Integrator Charm

Currently, we're only running lint and unit tests on presubmit. Unit tests are useful, but insufficient in ensuring that new pull requests do not break the current charm.

The integration tests should:

  • build and deploy the charm.
  • set the gitlab-secret-id and gitlab-secret-name config options and expect that the charm will become Active.
  • add the necessary (tester) charms and relations for the following relations: legend-studio, legend-sdlc, legend-engine.
  • check that the charm updates their relation data with the necessary Gitlab connection details.
  • update the charm's gitlab-secret-id / gitlab-secret-name and assert that the related charms' relation data is updated.
  • check that the Legend Engine configuration files are updated when the above relations are updated with new data.
  • call the get-redirect-uris action and assert that it contains the Callback URIs given by the related charms.

Update Callback URIs for hosted gitlab Applications

Currently, if the charm is configured to use a private gitlab instance, it will create the Gitlab Application which will be then used by FINOS Legend. When the Application is created, it will also configure the Callback URIs received from the related Legend applications.

However, if the Callback URIs change due to various reasons (external-hostname / enable-tls config options have changed), this charm does not update those Callback URIs, which are mandatory for the Legend applications authorization.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.