{"id":17034746,"url":"https://github.com/rantav/glu-scripts-contrib","last_synced_at":"2025-04-24T07:26:06.130Z","repository":{"id":66841842,"uuid":"2111525","full_name":"rantav/glu-scripts-contrib","owner":"rantav","description":"This project contains glu scripts that have been contributed by the community","archived":false,"fork":false,"pushed_at":"2011-07-27T09:36:02.000Z","size":108,"stargazers_count":2,"open_issues_count":0,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-30T08:07:50.637Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://linkedin.github.com/glu/docs/latest/html/index.html","language":"Groovy","has_issues":false,"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/rantav.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}},"created_at":"2011-07-27T07:20:52.000Z","updated_at":"2019-06-06T06:23:25.000Z","dependencies_parsed_at":"2023-02-20T12:45:47.508Z","dependency_job_id":null,"html_url":"https://github.com/rantav/glu-scripts-contrib","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/rantav%2Fglu-scripts-contrib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rantav%2Fglu-scripts-contrib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rantav%2Fglu-scripts-contrib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rantav%2Fglu-scripts-contrib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rantav","download_url":"https://codeload.github.com/rantav/glu-scripts-contrib/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250581591,"owners_count":21453701,"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-10-14T08:44:30.132Z","updated_at":"2025-04-24T07:26:06.110Z","avatar_url":"https://github.com/rantav.png","language":"Groovy","funding_links":[],"categories":[],"sub_categories":[],"readme":"Introduction\n============\nThis project contains a set of glu scripts that have been contributed by the community. It also\nserves as an example on how to write and test glu scripts. Checkout the\n[glu project](https://www.github.com/linkedin/glu) for more details about glu.\n\nHow to write and test a glu script\n----------------------------------\nFirst, you should check the documentation which gives some information about \n[glu scripts](http://linkedin.github.com/glu/docs/latest/html/glu-script.html).\n\nNext, you should check the sample glu script checked in with this project which demonstrates\nhow to use some basic features as well as how to write a unit test for your glu script. The javadoc\nis fairly extensive and should allow you to bootstrap pretty quickly.\n\nYou may also want to check a real-life glu script for more details about advanced features by\nchecking the [jetty glu script](https://github.com/linkedin/glu/blob/master/scripts/org.linkedin.glu.script-jetty/src/main/groovy/JettyGluScript.groovy)\nas well as its [unit test](https://github.com/linkedin/glu/blob/master/scripts/org.linkedin.glu.script-jetty/src/test/groovy/test/script/jetty/TestJettyGluScript.groovy).\n\nIf you want to embed glu scripts in your own build lifecycle, the critical piece is the dependencies \nsection in the `scripts/build.gradle` file:\n\n    dependencies {\n      compile spec.external.linkedinUtilsGroovy\n      compile spec.external.gluAgentAPI\n      groovy  spec.external.groovy\n\n      testCompile spec.external.gluScriptsTestFwk\n      testCompile spec.external.junit\n    }\n\nwhich looks like this expanded (`spec.external` refers to the map defined in `project-spect.groovy`):\n\n    dependencies {\n      compile \"org.linkedin:org.linkedin.util-groovy:1.7.0\"\n      compile \"org.linkedin:org.linkedin.glu.agent-api:3.1.0\"\n      groovy  \"org.codehaus.groovy:groovy:1.7.5\"\n\n      testCompile \"org.linkedin:org.linkedin.glu.scripts-test-fwk:3.1.0\"\n      testCompile \"junit:junit:4.4\"\n    }\n\nBuild configuration\n===================\nThe project uses the [`org.linkedin.userConfig`](https://github.com/linkedin/gradle-plugins/blob/master/README.md) plugin and as such can be configured\n\n    Example:\n    ~/.userConfig.properties\n    top.build.dir=\"/Volumes/Disk2/deployment/${userConfig.project.name}\"\n    top.install.dir=\"/export/content/${userConfig.project.name}\"\n    top.release.dir=\"/export/content/repositories/release\"\n    top.publish.dir=\"/export/content/repositories/publish\"","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frantav%2Fglu-scripts-contrib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frantav%2Fglu-scripts-contrib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frantav%2Fglu-scripts-contrib/lists"}