{"id":16660161,"url":"https://github.com/djblue/klojure","last_synced_at":"2025-08-24T17:37:36.852Z","repository":{"id":69104459,"uuid":"98900913","full_name":"djblue/klojure","owner":"djblue","description":"A blueprint bundle for deploying a nrepl server to a karaf container. ","archived":false,"fork":false,"pushed_at":"2024-03-13T17:41:03.000Z","size":125,"stargazers_count":7,"open_issues_count":2,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-23T20:43:44.680Z","etag":null,"topics":["clojure","ddf","java","karaf","nrepl","osgi"],"latest_commit_sha":null,"homepage":"https://djblue.github.io/klojure/","language":"Clojure","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/djblue.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-07-31T14:58:06.000Z","updated_at":"2024-03-13T17:40:57.000Z","dependencies_parsed_at":"2025-02-15T13:33:09.588Z","dependency_job_id":"925a3aac-e6f5-4fa1-b4c0-a756fa97d67b","html_url":"https://github.com/djblue/klojure","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/djblue%2Fklojure","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/djblue%2Fklojure/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/djblue%2Fklojure/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/djblue%2Fklojure/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/djblue","download_url":"https://codeload.github.com/djblue/klojure/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248090361,"owners_count":21046071,"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":["clojure","ddf","java","karaf","nrepl","osgi"],"created_at":"2024-10-12T10:28:12.583Z","updated_at":"2025-04-09T18:42:56.354Z","avatar_url":"https://github.com/djblue.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"# klojure\n\n[![Build Status](https://travis-ci.org/djblue/klojure.svg?branch=master)](https://travis-ci.org/djblue/klojure)\n\nA blueprint bundle for deploying a\n[nrepl](https://nrepl.org/nrepl/0.6.0/index.html) server to a\n[karaf](https://karaf.apache.org/) container.\n\n## Installing\n\nTo install the bundle in a running karaf instance, do:\n\n    bundle:install https://git.io/fjHIs; start klojure\n\n**NOTE**: you will probably need to disable the DDF Security Manager as\nclojure brings along its own classloader which causes problems with\nsecurity.\n\n## Running a REPL\n\nTo run a repl in the karaf console, do:\n\n    clj:repl\n\nTo connect to the nrepl server with [lein](https://leiningen.org/), do:\n\n    lein repl :connect 7888\n\nThe nrepl server is also available for clients such as\n[cursive](https://cursive-ide.com/) and\n[vim-fireplace](https://github.com/tpope/vim-fireplace).\n\n## DDF Clojure API\n\nKlojure exposes a clojure API for [DDF](https://github.com/codice/ddf). It\ncan be found in the [`catalog.core`](src/main/clojure/catalog/core.clj)\nnamespace.\n\nBelow is an example of the API:\n\n```clojure\n(require '[catalog.core :as c])\n\n; query for exisitng metacards\n(c/query [[:attribute \"id\"] :is :like [:text \"*\"]])\n\n; create a new metacard\n(c/create! {:id \"\" :title \"one\"})\n\n; delete a metacard by id\n(c/delete! \"afa5099ccfcb40c3b39bade0148fc342\")\n\n; delete all metacards\n(-\u003e\u003e (c/query [[:attribute \"id\"] :is :like [:text \"*\"]])\n     (map ::id)\n     (apply c/delete!))\n\n; query for all workspaces\n(c/query [[:attribute \"metacard-tags\"] :is :like [:text \"workspace\"]])\n```\n\n## Building\n\nTo build the klojure jar, do:\n\n    mvn clean install\n\nTo hot deploy a development version, do:\n\n    cp target/klojure-*.jar $DDF_HOME/deploy\n\n## Documentation\n\n * [API Docs](http://djblue.github.io/klojure/)\n\n## License\n\nCopyright (c) 2019 Chris Badahdah\n\nPermission is hereby granted, free of charge, to any person obtaining a\ncopy of this software and associated documentation files (the \"Software\"),\nto deal in the Software without restriction, including without limitation\nthe rights to use, copy, modify, merge, publish, distribute, sublicense,\nand/or sell copies of the Software, and to permit persons to whom the\nSoftware is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL\nTHE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\nFROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER\nDEALINGS IN THE SOFTWARE.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdjblue%2Fklojure","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdjblue%2Fklojure","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdjblue%2Fklojure/lists"}