{"id":19336758,"url":"https://github.com/samrocketman/nexus3-config-as-code","last_synced_at":"2025-06-24T20:10:39.136Z","repository":{"id":145442307,"uuid":"130929174","full_name":"samrocketman/nexus3-config-as-code","owner":"samrocketman","description":"Configuration as code automation for Nexus Repository Manager v3.","archived":false,"fork":false,"pushed_at":"2020-10-18T07:11:59.000Z","size":64,"stargazers_count":63,"open_issues_count":5,"forks_count":17,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-23T01:35:22.217Z","etag":null,"topics":["automation","configuration-as-code","configuration-management","nexus","nexus-repository","nexus-script","nexus3"],"latest_commit_sha":null,"homepage":"","language":"Groovy","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/samrocketman.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2018-04-25T00:34:32.000Z","updated_at":"2025-03-07T06:29:46.000Z","dependencies_parsed_at":"2023-06-03T18:31:15.108Z","dependency_job_id":null,"html_url":"https://github.com/samrocketman/nexus3-config-as-code","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/samrocketman/nexus3-config-as-code","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samrocketman%2Fnexus3-config-as-code","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samrocketman%2Fnexus3-config-as-code/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samrocketman%2Fnexus3-config-as-code/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samrocketman%2Fnexus3-config-as-code/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/samrocketman","download_url":"https://codeload.github.com/samrocketman/nexus3-config-as-code/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samrocketman%2Fnexus3-config-as-code/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261749240,"owners_count":23203990,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automation","configuration-as-code","configuration-management","nexus","nexus-repository","nexus-script","nexus3"],"created_at":"2024-11-10T03:12:22.837Z","updated_at":"2025-06-24T20:10:39.109Z","avatar_url":"https://github.com/samrocketman.png","language":"Groovy","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Nexus 3 Configuration As Code\n\n- Tested against Nexus Repository Manager OSS 3.10.0-04\n\nThis project contains scripts and standards for configuration as code for Nexus.\nThis allows Nexus configuration changes to be reviewed in pull requests and\navoids the need of granting anybody admin access to Nexus.\n\n# Configuration as Code\n\n- [Repository Configuration as Code](./docs/repositories.md) format.  Covers\n  repositories, blob stores, and content selectors.\n\n# Organization of this repository\n\n- `functions/` - a directory of Nexus scripts meant to be uploaded to the [Nexus\n  Script API][nexus-script].  A script is what is called a \"function\" in this\n  repository and will be referenced from now on as a function.\n- `scripts/` - Local scripts designed to be run from automation or a local\n  machine to interact with Nexus.\n\n# Executing Configuration As Code\n\nAll configuration as code scripts are meant to be run via the [Nexus Script\nAPI][nexus-script].  [`./scripts/upload_function.py`][upload-fxn] has been\nprovided to perform the following actions:\n\n- Upload functions to the Nexus Script API.\n- Delete functions from the Nexus Script API.\n- Execute functions available in the Nexus Script API.  Option to submit data as\n  an argument to the function is also possible.\n\nExamples:\n\n```bash\n# Delete all default repositories and blob stores in Nexus\n./scripts/upload_function.py -rf ./functions/deleteAllRepositoriesAndBlobstores.groovy\n\n# Configure new repositories and blob stores\n./scripts/upload_function.py -rf ./functions/repositoryConfiguration.groovy -d ./examples/repository.json\n```\n\nSee [additional USAGE](docs/USAGE.md) for more examples and options.\n\n# Backup and Restore Guide\n\nFor backing up and restoring a production Nexus installation, refer to the\n[Backup and Restore Guide](./docs/backup_restore.md).\n\n# License\n\n[ASL v2](LICENSE)\n\n```\nCopyright (c) 2018 Sam Gleske - https://github.com/samrocketman/nexus3-config-as-code\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n```\n\n[nexus-script]: https://help.sonatype.com/repomanager3/rest-and-integration-api/script-api\n[upload-fxn]: ./scripts/upload_function.py\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamrocketman%2Fnexus3-config-as-code","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamrocketman%2Fnexus3-config-as-code","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamrocketman%2Fnexus3-config-as-code/lists"}