{"id":26057649,"url":"https://github.com/wavefronthq/sample-app-java","last_synced_at":"2025-08-15T18:54:59.973Z","repository":{"id":41047146,"uuid":"150689828","full_name":"wavefrontHQ/sample-app-java","owner":"wavefrontHQ","description":null,"archived":false,"fork":false,"pushed_at":"2024-03-28T22:32:17.000Z","size":225732,"stargazers_count":2,"open_issues_count":3,"forks_count":34,"subscribers_count":31,"default_branch":"master","last_synced_at":"2025-04-11T05:07:09.291Z","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/wavefrontHQ.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-09-28T05:25:35.000Z","updated_at":"2024-10-18T13:08:48.000Z","dependencies_parsed_at":"2025-04-11T05:07:10.237Z","dependency_job_id":"40124e3d-7162-4c52-88b6-437949d2559a","html_url":"https://github.com/wavefrontHQ/sample-app-java","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/wavefrontHQ/sample-app-java","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wavefrontHQ%2Fsample-app-java","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wavefrontHQ%2Fsample-app-java/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wavefrontHQ%2Fsample-app-java/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wavefrontHQ%2Fsample-app-java/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wavefrontHQ","download_url":"https://codeload.github.com/wavefrontHQ/sample-app-java/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wavefrontHQ%2Fsample-app-java/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270616784,"owners_count":24617109,"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","status":"online","status_checked_at":"2025-08-15T02:00:12.559Z","response_time":110,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2025-03-08T11:58:13.599Z","updated_at":"2025-08-15T18:54:59.949Z","avatar_url":"https://github.com/wavefrontHQ.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sample-app-java\nThis is a sample java application called beachshirts which makes cool shirts for beach. \nBeachshirts is built with a microservices architecture composed of dropwizard and gRPC frameworks.\n\n### Running Application locally\n- Build the application by running `mvn clean install` from the root directory of the project.\n- Now run all the services using below commands from root directory of the project. \n```\njava -jar ./shopping/target/shopping-0.9.0-SNAPSHOT.jar server ./shopping/app.yaml\njava -jar ./styling/target/styling-0.9.0-SNAPSHOT.jar server ./styling/app.yaml\njava -jar ./printing/target/printing-0.9.0-SNAPSHOT.jar ./printing/app.yaml\njava -jar ./packaging/target/packaging-0.9.0-SNAPSHOT.jar ./packaging/app.yaml\njava -jar ./delivery/target/delivery-0.9.0-SNAPSHOT.jar  --spring.config.location=./delivery/src/main/resources/application.yml \n```\n- Now view the shopping menus using HTTP GET request: `http://localhost:50050/api/shop/menu`\n- Order shirts using HTTP POST request: \n```\nhttp://localhost:50050/api/shop/order\nPayload: {\"styleName\" : \"testStyle1\",\"quantity\" : 5}\n```\n- Optionally you can run a load generation script included in the project to generate requests \nusing the below command from the root directory of the project.\n```\njava -jar ./loadgen/target/loadgen-0.9.0-SNAPSHOT.jar localhost 50050 2 \n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwavefronthq%2Fsample-app-java","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwavefronthq%2Fsample-app-java","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwavefronthq%2Fsample-app-java/lists"}