python-artifactory icon indicating copy to clipboard operation
python-artifactory copied to clipboard

added support for using the api for all jfrog api's

Open Ido-Zerah opened this issue 4 months ago • 7 comments

Description

as of now the artifactory api included different routes, som atart with artifactory/api/... however some of the api routes use the other services other that the api. example: access, xray, topology and such.
in order to add features that use the other routes apis i added the art-service parameter. this will appended between the base url and the route variable.

in addition in order for the pre-commit-hooks to work i needed to add a dependency to the bandit precommit

Type of change

Please delete options that are not relevant.

  • [x] Bug fix (non-breaking change which fixes an issue)
  • [x] New feature (non-breaking change which adds functionality)

How has it been tested ?

  • [x] Test A- i ran all the existing tests who all passed
  • [x] Test B- I work on a closed off network at my job, in order to add a feature we had to change this functionality, and it works wonderfully

Checklist:

  • [x] My PR is ready for prime time! Otherwise use the "Draft PR" feature
  • [x] All commits have a correct title
  • [x] Readme has been updated
  • [x] Quality tests are green (see Codacy)
  • [x] Automated tests are green (see pipeline)

Ido-Zerah avatar Aug 31 '25 15:08 Ido-Zerah