{"id":19697556,"url":"https://github.com/murdos/easy-random-protobuf","last_synced_at":"2025-04-29T12:30:27.281Z","repository":{"id":37980802,"uuid":"318911645","full_name":"murdos/easy-random-protobuf","owner":"murdos","description":"Easy Random protobuf support","archived":false,"fork":false,"pushed_at":"2023-10-30T08:31:20.000Z","size":105,"stargazers_count":10,"open_issues_count":6,"forks_count":6,"subscribers_count":2,"default_branch":"main","last_synced_at":"2023-10-30T09:31:55.041Z","etag":null,"topics":["easy-random","java","object-mother","protobuf","random","random-generation"],"latest_commit_sha":null,"homepage":"","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/murdos.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2020-12-05T23:39:55.000Z","updated_at":"2023-07-23T20:24:49.000Z","dependencies_parsed_at":"2023-02-12T21:00:35.740Z","dependency_job_id":"c80eeaa5-1c9a-4a71-bde8-d41ce8cb3e37","html_url":"https://github.com/murdos/easy-random-protobuf","commit_stats":{"total_commits":62,"total_committers":5,"mean_commits":12.4,"dds":0.467741935483871,"last_synced_commit":"8e9d20f173b15f312d5ab55d802667489d4b51fa"},"previous_names":[],"tags_count":4,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/murdos%2Feasy-random-protobuf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/murdos%2Feasy-random-protobuf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/murdos%2Feasy-random-protobuf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/murdos%2Feasy-random-protobuf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/murdos","download_url":"https://codeload.github.com/murdos/easy-random-protobuf/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224165784,"owners_count":17267004,"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":["easy-random","java","object-mother","protobuf","random","random-generation"],"created_at":"2024-11-11T19:38:40.520Z","updated_at":"2024-11-11T19:38:41.061Z","avatar_url":"https://github.com/murdos.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# easy-random-protobuf\n\n[![Apache2 license](http://img.shields.io/badge/license-Apache2-brightgreen.svg?style=flat)](https://opensource.org/licenses/Apache-2.0)\n[![Build Status](https://github.com/murdos/easy-random-protobuf/workflows/Java%20CI/badge.svg)](https://github.com/murdos/easy-random-protobuf/actions)\n[![Maven Central](https://img.shields.io/maven-central/v/io.github.murdos/easy-random-protobuf.svg)](https://repo1.maven.org/maven2/io/github/murdos/easy-random-protobuf/0.3.0/)\n[![Javadocs](https://javadoc.io/badge2/io.github.murdos/easy-random-protobuf/javadoc.svg)](https://javadoc.io/doc/io.github.murdos/easy-random-protobuf)\n\nExtension for [Easy Random library](https://github.com/j-easy/easy-random) adding support for [Protocol buffers](https://developers.google.com/protocol-buffers).\n\n## Maven\n```xml\n\u003cdependency\u003e\n    \u003cgroupId\u003eio.github.murdos\u003c/groupId\u003e\n    \u003cartifactId\u003eeasy-random-protobuf\u003c/artifactId\u003e\n    \u003cversion\u003e0.4.0\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n## Usage\n\nThis library declares a [SPI provider](https://github.com/j-easy/easy-random/wiki/Grouping-Randomizers), so Easy Random will detect it automatically.\n\nIf you want to explicitly use it:\n\n```java\nEasyRandomParameters parameters = new EasyRandomParameters()\n        .randomizerRegistry(new ProtobufRandomizerRegistry());\n\nEasyRandom easyRandom = new EasyRandom(parameters);\n\nPerson randomPerson = easyRandom.nextObject(Person.class); // With Person being a generated class from a .proto file\n```\n\n### Building\n\n```\n$ git clone https://github.com/murdos/easy-random-protobuf.git\n$ cd easy-random-protobuf\n$ mvn clean install\n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmurdos%2Feasy-random-protobuf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmurdos%2Feasy-random-protobuf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmurdos%2Feasy-random-protobuf/lists"}