{"id":18645955,"url":"https://github.com/giosil/micro-json-rpc","last_synced_at":"2025-11-05T04:30:34.318Z","repository":{"id":204730390,"uuid":"712516572","full_name":"giosil/micro-json-rpc","owner":"giosil","description":"Implementation of JSON-RPC protocol based on Quarkus microservice.","archived":false,"fork":false,"pushed_at":"2023-11-13T16:25:05.000Z","size":227,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-27T11:44:36.001Z","etag":null,"topics":["json-rpc","json-rpc-server","json-rpc2","microservices","quarkus"],"latest_commit_sha":null,"homepage":"","language":"HTML","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/giosil.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}},"created_at":"2023-10-31T16:11:51.000Z","updated_at":"2023-10-31T16:13:49.000Z","dependencies_parsed_at":"2023-11-13T17:44:35.908Z","dependency_job_id":null,"html_url":"https://github.com/giosil/micro-json-rpc","commit_stats":null,"previous_names":["giosil/micro-json-rpc"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giosil%2Fmicro-json-rpc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giosil%2Fmicro-json-rpc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giosil%2Fmicro-json-rpc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giosil%2Fmicro-json-rpc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/giosil","download_url":"https://codeload.github.com/giosil/micro-json-rpc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239449594,"owners_count":19640535,"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":["json-rpc","json-rpc-server","json-rpc2","microservices","quarkus"],"created_at":"2024-11-07T06:17:49.280Z","updated_at":"2025-11-05T04:30:34.287Z","avatar_url":"https://github.com/giosil.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# micro-json-rpc\n\nImplementation of JSON-RPC protocol based on Quarkus microservice.\n\n## Dependencies\n\n**wcollections**\n\n- `git clone https://github.com/giosil/wcollections.git` \n- `mvn clean install` - this will publish `wcollections-1.0.0.jar` in Maven local repository\n\n## Quarkus usage\n\nThe project was created with the following command:\n\n`quarkus create app org.dew.jsonrpc:micro-json-rpc --extension='resteasy-reactive-jsonb'`\n\nTo consult the list of dependencies:\n\n`quarkus ext list`\n\nor simply:\n\n`quarkus ext`\n\n## Build with Maven\n\n- `git clone https://github.com/giosil/micro-json-rpc.git`\n- `mvn clean install`\n\n## Build with Quarkus\n\n- `git clone https://github.com/giosil/micro-json-rpc.git`\n- `quarkus build`\n\nBuild a native executable:\n\n- `quarkus build --native`\n\nBuild a container friendly executable:\n\n- `quarkus build --native -Dquarkus.native.container-build=true`\n\n## Run in development mode\n\n- `quarkus dev`\n\nTo enable debug :\n\n- `quarkus dev -Dsuspend -Ddebug` \n\nThen, attach your debugger to localhost:5005.\n\n## Test\n\nPOST `http://localhost:8080/rpc`\n\n```json\n{\n  \"id\": 1,\n  \"jsonrpc\": \"2.0\",\n  \"method\": \"DEMO.hello\",\n  \"params\": [\"world\"]\n}\n```\n\n```json\n{\n  \"id\": 1,\n  \"jsonrpc\": \"2.0\",\n  \"method\": \"DEMO.helloObj\",\n  \"params\": [\"world\"]\n}\n```\n\n## Connection pool\n\nIf you want to add a connection pool to a DBMS:\n\n`quarkus ext add io.quarkus:quarkus-agroal`\n\nThis command inserts a new dependency into the pom.xml file\n\n```xml\n    \u003cdependency\u003e\n      \u003cgroupId\u003eio.quarkus\u003c/groupId\u003e\n      \u003cartifactId\u003equarkus-agroal\u003c/artifactId\u003e\n    \u003c/dependency\u003e\n```\n\nTo remove the dependency:\n\n`quarkus ext remove io.quarkus:quarkus-agroal`\n\nDatasource configuration:\n\nEdit file `src/main/resources/application.properties`:\n\n```\nquarkus.datasource.db-kind=mariadb\nquarkus.datasource.username=user\nquarkus.datasource.password=password\nquarkus.datasource.jdbc.url=jdbc:mariadb://localhost:3306/database\nquarkus.datasource.jdbc.min-size=5\nquarkus.datasource.jdbc.max-size=20\nquarkus.datasource.jdbc.connection-timeout=5s\n```\n\n## License\n\n[![License](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)\n\n\n## Contributors\n\n* [Giorgio Silvestris](https://github.com/giosil)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgiosil%2Fmicro-json-rpc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgiosil%2Fmicro-json-rpc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgiosil%2Fmicro-json-rpc/lists"}