Giter Site home page Giter Site logo

octopus-external-systems-client's People

Contributors

aryabokon avatar camaraderoman avatar fishinitself avatar octopusden avatar ozonophore avatar qu0d avatar

Watchers

 avatar  avatar  avatar  avatar

octopus-external-systems-client's Issues

Add validation of `id` parameter in `getCommit` method of BitBucket client

Если параметр id будет содержать слеш, это приведет к вызову "на несуществующий эндпоинт BitBucket" и попытке десериализовать xml в json на BitbucketClientErrorDecoder.

Проблемный кейс: когда commitIdOrRef на VCS facade содержит несуществующий в репозитории ref head со слешом, getBranchLatestCommit не подменяет его на CID и сервис (считая значение commitIdOrRef CID'ом) делает вызов BitBucket клиента с "невалидным" значением id.

Treat vcsUrl as case insensitive in git test clients

При менеджменте репозиториев в тестовых клиентах vcsUrl используется как ключ

https://github.com/octopusden/octopus-external-systems-client/blob/5e177e93e1922b95ea3932f0b7daf3e65049d141/test-client-commons/src/main/kotlin/org/octopusden/octopus/infrastructure/common/test/BaseTestClient.kt#L23C7-L23C59

При этом для git нет разницы например между [email protected]:octopusden/octopus-base.git и [email protected]:OCTOPUSDEN/octopus-base.git. Соответственно при попытке сделать коммиты в один и тот же репозиторий по vcsUrl'ам в разном регистре тестовый клиент попытается создать еще один репозиторий и упадет с ошибкой java.lang.IllegalStateException: The repository with the same name already exists.

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.