{"id":21557826,"url":"https://github.com/showpune/spring-cloud-task-edu-samples","last_synced_at":"2025-03-18T03:27:10.968Z","repository":{"id":45215848,"uuid":"405585019","full_name":"showpune/spring-cloud-task-edu-samples","owner":"showpune","description":null,"archived":false,"fork":false,"pushed_at":"2023-12-15T05:27:51.000Z","size":31,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-24T10:47:08.900Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/showpune.png","metadata":{"files":{"readme":"README.adoc","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2021-09-12T08:13:14.000Z","updated_at":"2021-09-13T01:22:21.000Z","dependencies_parsed_at":"2025-01-24T10:42:35.149Z","dependency_job_id":"ef7f6649-b369-4939-b715-aa8d0c7d1e15","html_url":"https://github.com/showpune/spring-cloud-task-edu-samples","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/showpune%2Fspring-cloud-task-edu-samples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/showpune%2Fspring-cloud-task-edu-samples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/showpune%2Fspring-cloud-task-edu-samples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/showpune%2Fspring-cloud-task-edu-samples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/showpune","download_url":"https://codeload.github.com/showpune/spring-cloud-task-edu-samples/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244149022,"owners_count":20406285,"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-11-24T08:13:19.359Z","updated_at":"2025-03-18T03:27:10.949Z","avatar_url":"https://github.com/showpune.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"= Task EDU Samples\n\nThis is the foundation project from which Spring Cloud Data Flow's Task Edu materials will be derived.\n\n== Overview\nThis project contains 2 apps:\n\n* *billsetuptask* - is a Spring Cloud Task app that will create the table required for the billrun application.\n* *billrun* - is a Spring Cloud Task/Spring Batch app that will read JSON files containing simple user cellphone usage data from a specified directory, price it and place the results in another table.\n\n== Build the project\nFrom the root project execute the following:\n```\n$ ./mvnw clean package\n```\n\n== Build the project zip file\n```\n$./mvnw clean package -Pdist\n```\n\n== Build the Docker Images for the project\n```\n$ ./mvnw clean package jib:dockerBuild\n```\n\nNOTE: You can modify the docker org and version by applying the following: `-Ddocker.org=\u003cyour org\u003e -Ddocker.version=\u003cyour version\u003e`\n\n== Executing the jars\n\n=== To execute billsetuptask locally\n\nAssuming you are using MySql\n```\n$ java -jar target/billsetuptask-1.0.0.BUILD-SNAPSHOT.jar --spring.datasource.url=jdbc:mysql://localhost:3306/\u003cyour database\u003e?useSSL=false --spring.datasource.username=\u003cuser\u003e --spring.datasource.password=\u003cpassword\u003e --spring.datasource.driverClassName=com.mysql.jdbc.Driver\n```\n\n=== To execute billrun locally\n\nAssuming you are using MySql, this app will load data from the usageinfo.txt file found in the classpath (included in the jar).\n```\n$ java -jar target/billrun-1.0.0.BUILD-SNAPSHOT.jar --spring.datasource.url=jdbc:mysql://localhost:3306/\u003cyourdatabase\u003e?useSSL=false --spring.datasource.username=\u003cyour user\u003e --spring.datasource.password=\u003cyour password\u003e --spring.datasource.driverClassName=com.mysql.jdbc.Driver\n```\nIf you wish to read a directory containing the data you can use the following command line argument:\n`--usage.file.name=file://\u003clocation of json file to upload\u003e`\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshowpune%2Fspring-cloud-task-edu-samples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshowpune%2Fspring-cloud-task-edu-samples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshowpune%2Fspring-cloud-task-edu-samples/lists"}