Table of Contents

Every route represents relation of to . You can add multiple routes to each .

The path must follow the given pattern: /{repository}/{gav}:
  • {repository} - required name of repository used to distinguish repositories
  • {gav} - optional GAV (group-artifact-version) path
Some examples of path declaration and matched URLs:
PathMatchesStatus
//releases/*
/snapshots/*
Ok
Ok
/releases/releases/*
/snapshots/*
Ok
Unauthorized
/releases/groupId/artifactId/releases/groupId/artifactId/*
/releases/groupId/*
/snapshots/*
Ok
Unauthorized
Unauthorized

Currently supported permissions:
  • r - allows token to read resources under the associated path
  • w - allows token to write (deploy) resources under the associated path
Note: Permissions can be combined (rw) to allow read and write on associated paths.

You can add access to specified route for token using the route-add <token> <path> <permissions> command in Reposilite CLI.
$ route-add reposilite-publisher /releases/com/reposilite w
Route Route(path=/releases/com/reposilite, permissions=[WRITE]) has been added to token reposilite-publisher

You can add full access (read and write) to specified route using rw for permissions attribute in Reposilite CLI command.
$ route-add reposilite-publisher /releases/com/reposilite rw
Route Route(path=/releases/com/reposilite, permissions=[READ, WRITE]) has been added to token reposilite-publisher

You can remove access to specified route for token using the route-remove <token> <path> command in Reposilite CLI.
$ route-remove reposilite-publisher /releases/com/reposilite
Token reposilite-publisher has been updated, new routes: []

Did you find misleading or deprecated content? Maybe you just feel this section misses important elements?

Guide

Copyright © 2023 dzikoysk with ❤ panda-lang