{"id":13565060,"url":"https://github.com/cTwospoons/camel-spock-test","last_synced_at":"2025-04-03T22:30:33.461Z","repository":{"id":201538012,"uuid":"100805428","full_name":"cTwospoons/camel-spock-test","owner":"cTwospoons","description":"A simple project to show how to use Spock to unit test Camel routes.","archived":false,"fork":false,"pushed_at":"2017-08-20T15:40:39.000Z","size":58,"stargazers_count":4,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-11-04T18:46:03.114Z","etag":null,"topics":["apache-camel","groovy","spock","spring-boot","testing"],"latest_commit_sha":null,"homepage":null,"language":"Groovy","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/cTwospoons.png","metadata":{"files":{"readme":"README.md","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}},"created_at":"2017-08-19T16:05:02.000Z","updated_at":"2020-10-17T20:24:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"d4817e66-11bf-4655-8fec-77ea2e416075","html_url":"https://github.com/cTwospoons/camel-spock-test","commit_stats":null,"previous_names":["ctwospoons/camel-spock-test"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cTwospoons%2Fcamel-spock-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cTwospoons%2Fcamel-spock-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cTwospoons%2Fcamel-spock-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cTwospoons%2Fcamel-spock-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cTwospoons","download_url":"https://codeload.github.com/cTwospoons/camel-spock-test/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247089715,"owners_count":20881822,"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":["apache-camel","groovy","spock","spring-boot","testing"],"created_at":"2024-08-01T13:01:40.076Z","updated_at":"2025-04-03T22:30:32.957Z","avatar_url":"https://github.com/cTwospoons.png","language":"Groovy","funding_links":[],"categories":["Groovy"],"sub_categories":[],"readme":"# Camel Spock Testing\n\nA simple project showing how to use Spock to unit test camel routes.\n\n### Introduction\n\nApache Camel is a popular integration framework with [documentation](http://camel.apache.org/) and [source code](https://github.com/apache/camel) available with instructions on it's use and various components.\n\nThis project uses [Spock](http://spockframework.org/) to explore a simple way to unit test routing logic avoiding the need for a full-fledged integration context.  \n\n### Requirements\n\n* Apache Camel\n* Spring Boot\n* Spock\n* Groovy\n\n### Running the App\n\n#### Running locally\n```bash\n./gradlew bootRun\n```\n\n#### Running the tests\n```bash\n./gradlew test\n```\n\n#### Sending messages along the Camel routes  \nThe app starts a basic Spring context with Spring Boot putting a request listener on the default port. \n\nTo send a message along the Camel routes when the app is running, issue a simple GET request to \n\n```bash\ncurl http://localhost:8080/simple\n```\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FcTwospoons%2Fcamel-spock-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FcTwospoons%2Fcamel-spock-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FcTwospoons%2Fcamel-spock-test/lists"}