{"id":22287360,"url":"https://github.com/darklynx/virgo-bundles-cli","last_synced_at":"2025-10-27T13:03:59.019Z","repository":{"id":13137034,"uuid":"15819210","full_name":"darklynx/virgo-bundles-cli","owner":"darklynx","description":"Command line tool for Virgo Eclipse OSGi server automation","archived":false,"fork":false,"pushed_at":"2015-11-23T10:50:39.000Z","size":18,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-30T18:28:19.790Z","etag":null,"topics":["automation","cli","deployment","osgi","virgo"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/darklynx.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}},"created_at":"2014-01-11T08:19:25.000Z","updated_at":"2023-02-03T16:56:14.000Z","dependencies_parsed_at":"2022-09-11T07:11:25.640Z","dependency_job_id":null,"html_url":"https://github.com/darklynx/virgo-bundles-cli","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darklynx%2Fvirgo-bundles-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darklynx%2Fvirgo-bundles-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darklynx%2Fvirgo-bundles-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darklynx%2Fvirgo-bundles-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/darklynx","download_url":"https://codeload.github.com/darklynx/virgo-bundles-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245543160,"owners_count":20632637,"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","cli","deployment","osgi","virgo"],"created_at":"2024-12-03T16:59:50.549Z","updated_at":"2025-10-27T13:03:59.012Z","avatar_url":"https://github.com/darklynx.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Virgo OSGi bundles CLI\n\nCommand line tool for Virgo OSGi server management and automation.\n\nThese bash scripts allow you upload, deploy and manage OSGi bundles at [Virgo OSGi server](http://www.eclipse.org/virgo/) and legacy [SpringSource dm Server](http://docs.spring.io/s2-dmserver/2.0.5.RELEASE/user-guide/htmlsingle/user-guide.html).\n\n\n## Getting Started\n\nThis project provides 2 scripts to manage OSGi bundles at:\n\n* `virgo-bundles.sh` - Virgo OSGi server from EclipseRT\n* `dmserver-bundles.sh` - SpringSource dm Server (legacy)\n\nUse following format to run scripts:\n\n    ./virgo-bundles.sh \u003ccommand\u003e [options]\n\n### Commands\n\nScripts support following commands:\n\n* `deploy` - upload and deploy OSGi bundle to Virgo server, required options: `-f`\n* `status` - check status of bundle at Virgo server, required options: `-n`, `-v`\n* `stop` - stop bundle at Virgo server, required options: `-n`, `-v`\n* `start` - start bundle at Virgo server, required options: `-n`, `-v`\n* `refresh` - refresh bundle at Virgo server, required options: `-n`, `-v`\n* `uninstall` - uninstall bundle from Virgo server, required options: `-n`, `-v`\n* `list` - list bundles deployed at Virgo server, optional filter options: `-n`, `-t`, `-v`\n* `help` - display help information\n\n### Options\n\nFollowing options are supported by each script:\n\n* `-f` _path_ - location of OSGi bundle to upload, e.g. /opt/repo/org.slf4j.api-1.7.2.jar\n* `-n` _name_ - bundle symbolic name, e.g. org.slf4j.api\n* `-v` _version_ - bundle version, e.g. 1.7.2\n* `-t` _type_ - bundle type, possible types: bundle, plan, par, configuration, default: **bundle**\n* `-user` _auth_ - user name and password for basic auth, e.g. admin:passwd (will be prompted if not given)\n* `-url` _url_ - Virgo server URL, e.g. http://virgo.internal:7070\n* `-verbose` - enable verbose output\n\n### Examples\n\nUpload and deploy a new OSGi bundle to Virgo server, deployed bundle will be activated:\n\n    ./virgo-bundles.sh deploy -f ~/dev/virgo-test-1.0.0-SNAPSHOT.jar\n\nCheck status of deployed bundle, possible bundle states: ACTIVE, RESOLVED:\n\n    ./virgo-bundles.sh status -n virgo-test -v 1.0.0.SNAPSHOT\n\nStop activated bundle at Virgo server:\n\n    ./virgo-bundles.sh stop -n virgo-test -v 1.0.0.SNAPSHOT -url http://localhost:8081\n\nStart deployed bundle at Virgo server:\n\n    ./virgo-bundles.sh start -n virgo-test -v 1.0.0.SNAPSHOT -verbose\n\nRefresh deployed bundle at Virgo server:\n\n    ./virgo-bundles.sh refresh -n virgo-test -v 1.0.0.SNAPSHOT\n\nUninstall deployed bundle:\n\n    ./virgo-bundles.sh uninstall -n virgo-test -v 1.0.0.SNAPSHOT\n\n\n## References\n\n* [Virgo from EclipseRT](http://www.eclipse.org/virgo/) official web site\n* [Continuous Deployment with Docker and Virgo](http://eclipsesource.com/blogs/2013/10/25/continuous-deployment-with-docker-and-virgo/)\n* [UploadServlet.java](https://eclipse.googlesource.com/virgo/org.eclipse.virgo.kernel/+/3.6.x/org.eclipse.virgo.management.console/src/main/java/org/eclipse/virgo/management/console/UploadServlet.java) from Virgo management console\n* [Latest version of SpringSource dm Server](http://dist.springframework.org/release/DMS/springsource-dm-server-2.0.5.RELEASE.zip)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarklynx%2Fvirgo-bundles-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdarklynx%2Fvirgo-bundles-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarklynx%2Fvirgo-bundles-cli/lists"}