{"id":15487954,"url":"https://github.com/dblock/opensearch-hello-plugin-java","last_synced_at":"2025-04-05T06:14:45.748Z","repository":{"id":196848357,"uuid":"697273389","full_name":"dblock/opensearch-hello-plugin-java","owner":"dblock","description":"A hello world plugin for OpenSearch written in Java.","archived":false,"fork":false,"pushed_at":"2023-09-27T12:38:53.000Z","size":47,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-10T13:44:12.319Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","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/dblock.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null}},"created_at":"2023-09-27T11:53:15.000Z","updated_at":"2023-10-05T00:59:43.000Z","dependencies_parsed_at":"2023-09-27T22:56:35.341Z","dependency_job_id":null,"html_url":"https://github.com/dblock/opensearch-hello-plugin-java","commit_stats":null,"previous_names":["dblock/opensearch-hello-plugin-java"],"tags_count":0,"template":false,"template_full_name":"opensearch-project/opensearch-plugin-template-java","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dblock%2Fopensearch-hello-plugin-java","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dblock%2Fopensearch-hello-plugin-java/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dblock%2Fopensearch-hello-plugin-java/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dblock%2Fopensearch-hello-plugin-java/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dblock","download_url":"https://codeload.github.com/dblock/opensearch-hello-plugin-java/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247294570,"owners_count":20915341,"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":[],"created_at":"2024-10-02T06:45:00.176Z","updated_at":"2025-04-05T06:14:45.721Z","avatar_url":"https://github.com/dblock.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Hello OpenSearch Plugin\n\n[![Build and Test](https://github.com/dblock/opensearch-hello-plugin-java/actions/workflows/CI.yml/badge.svg)](https://github.com/dblock/opensearch-hello-plugin-java/actions/workflows/CI.yml)\n\nA plugin that says hello, written in Java.\n\n### Build\n\nBuild a distribution.\n\n```sh\n./gradlew assemble\n```\n\nThis produces `build/distributions/hello.zip`.\n\n### Install\n\nCheck out OpenSearch code, run it once with `./gradlew run`.\n\nInstall the plugin, you may need to adjust `darwin-arm64-tar` below to your platform, and use the location of your plugin zip.\n\n```sh\n$ ./distribution/archives/darwin-arm64-tar/build/install/opensearch-3.0.0-SNAPSHOT/bin/opensearch-plugin install file:///Users/dblock/source/opensearch-project/opensearch-hello-plugin-java/build/distributions/hello.zip\n\n-\u003e Installed hello with folder name hello\n```\n\nWhen you run OpenSeaerch with `./gradlew run` you should see the plugin loaded in the logs.\n\n```\n[2023-09-27T08:35:48,627][INFO ][o.o.p.PluginsService] [runTask-0] loaded plugin [hello]\n```\n\n### Test\n\n```sh\n$ curl http://localhost:9200/_plugins/hello-world-java\n\nHello from Java! 👋\n```\n\n### Uninstall\n\n```sh\n./distribution/archives/darwin-arm64-tar/build/install/opensearch-3.0.0-SNAPSHOT/bin/opensearch-plugin remove hello\n\n-\u003e removing [hello]...\n```\n\n## License\n\nThis code is licensed under the Apache 2.0 License. See [LICENSE.txt](LICENSE.txt).\n\n## Copyright\n\nCopyright OpenSearch Contributors. See [NOTICE](NOTICE.txt) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdblock%2Fopensearch-hello-plugin-java","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdblock%2Fopensearch-hello-plugin-java","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdblock%2Fopensearch-hello-plugin-java/lists"}