{"id":21154995,"url":"https://github.com/forge/plugin-switchyard","last_synced_at":"2025-10-04T23:14:32.280Z","repository":{"id":4096447,"uuid":"5204624","full_name":"forge/plugin-switchyard","owner":"forge","description":"SwitchYard Forge Plugin","archived":false,"fork":false,"pushed_at":"2016-08-04T11:50:47.000Z","size":257,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-14T15:14:59.296Z","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/forge.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}},"created_at":"2012-07-27T13:08:40.000Z","updated_at":"2014-03-05T19:45:40.000Z","dependencies_parsed_at":"2022-08-06T15:00:26.727Z","dependency_job_id":null,"html_url":"https://github.com/forge/plugin-switchyard","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/forge/plugin-switchyard","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/forge%2Fplugin-switchyard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/forge%2Fplugin-switchyard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/forge%2Fplugin-switchyard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/forge%2Fplugin-switchyard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/forge","download_url":"https://codeload.github.com/forge/plugin-switchyard/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/forge%2Fplugin-switchyard/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278386130,"owners_count":25978113,"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-10-04T02:00:05.491Z","response_time":63,"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":"2024-11-20T11:13:52.477Z","updated_at":"2025-10-04T23:14:32.264Z","avatar_url":"https://github.com/forge.png","language":"Java","readme":"plugin-switchyard\n=================\n\nSwitchYard Forge Plugin\n\n# Switchyard Forge Clojure Component\nThis project provides an implementation of a Forge plugin capable of generating Clojure services in SwitchYard.\n_ _ _\n\n## Installing the Clojure Facet\nBefore you start make sure that you have the required plugins in your Forge classpath. This can be done by putting the jars in Forge's _lib_ directory or\nputting them in _~/.forge/plugins_. \n\nThe Clojure plugin depend on the switchyard faced. The SwitchYard facet will update the current project and add files like _switchyard.xml_.\nTo see which facets are install you can run the following command:\n    \u003e project list-facets\n    \nThe facets that are green in this list are the ones that are installed on the current project.\n\n### Installing the _switchyard_ facet\n    \u003e project install-facet switchyard\n\n### Installing the _switchyard.clojure_ facet\n    \u003e project install-facet switchyard.clojure\n    \n_ _ _\n## clojure-service create command\n    \u003e help clojure-service create\n\n    [clojure-service create] - Create a new implemenation.clojure\n\n    [OPTIONS]\n        [--serviceName, -s] - The service name - The SwitchYard service name to use for this implementation\n        [--inlineScript, -i] - Use inline Clojure script - Path to the Clojure script to inline, the content will be placed into the script element\n        [--emptyInlineScript] - Creates an empty 'script' element - An empty 'script' element will be created that can be filled in later.\n        [--externalScriptPath, -e] - Path to the external Clojure Script - Path to the external Clojure script to be referenced from the 'scriptFile' attribute\n        [--emptyExternalScriptPath] - Creates an empty 'scriptFile' attribute - An empty 'scriptFile' attribute will be created that can be filled in later.\n        [--injectExchange, -x] - Inject the SwitchYard Exchange object into the Clojure script - The SwitchYard Exchange will be injected into the Clojure script if this value is set. If not, only the Message content will be injected.\n\n### Creating with an _inline_ script\n    \u003e clojure-service create --serviceName testing --inlineScript sample.clj --injectExchange \n\n### Creating with an external script\n    \u003e clojure-service create --scriptFile \"/some/path/sample.clj\"\n_ _ _\n\n## Enable stacktraces in Forge\n\tset VERBOSE true\n_ _ _/\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fforge%2Fplugin-switchyard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fforge%2Fplugin-switchyard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fforge%2Fplugin-switchyard/lists"}