Skip to content

concord-workflow/repository-browser-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

repository-browser-plugin

Serves Concord repositories as static resources.

Usage

Add the plugin JAR to the concord-server classpath and use the following endpoint:

GET /api/plugin/repositorybrowser/v1/{orgName}/{projectName}/{repositoryName}/{filePath:*}

For example:

curl -X 'Authorization: <your_concord_token>' http://localhost:8001/api/plugin/repositorybrowser/v1/Acme/prod/my-assets/assets/logo.png

will fetch assets/logo.png from the configured repository named "my-assets", located in the project "prod" and the organization "Acme".

filePath patterns must be added to the project configuration:

{
    "_plugin": {
        "repository-browser": {
            "allowList": {
                "my-assets": [
                    ".*\\.png"
                ]
            }
        }
    }
}

Results are cached for 5 minutes.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages