{"id":36604280,"url":"https://github.com/labai/ted","last_synced_at":"2026-01-12T08:42:09.584Z","repository":{"id":32679718,"uuid":"133005635","full_name":"labai/ted","owner":"labai","description":"TedLib - java lib for creating and executing tasks using db","archived":false,"fork":false,"pushed_at":"2025-08-23T05:36:24.000Z","size":738,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-24T08:47:49.835Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"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/labai.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2018-05-11T07:31:10.000Z","updated_at":"2025-08-23T05:36:20.000Z","dependencies_parsed_at":"2024-02-03T18:32:50.689Z","dependency_job_id":"087ba9ad-1e48-4a2f-8839-1618ae78009c","html_url":"https://github.com/labai/ted","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/labai/ted","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/labai%2Fted","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/labai%2Fted/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/labai%2Fted/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/labai%2Fted/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/labai","download_url":"https://codeload.github.com/labai/ted/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/labai%2Fted/sbom","scorecard":{"id":576340,"data":{"date":"2025-08-11","repo":{"name":"github.com/labai/ted","commit":"66ecc0e8b14aaa369ba3139fef387f054c2cf632"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.7,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/4 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 26 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"34 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-2qp4-g3q3-f92w","Warn: Project is vulnerable to: GHSA-cqj8-47ch-rvvq","Warn: Project is vulnerable to: GHSA-4wp7-92pw-q264","Warn: Project is vulnerable to: GHSA-6v67-2wr5-gvf4","Warn: Project is vulnerable to: GHSA-pr98-23f8-jwxv","Warn: Project is vulnerable to: GHSA-j288-q9x7-2f5v","Warn: Project is vulnerable to: GHSA-vmq6-5m68-f53m","Warn: Project is vulnerable to: GHSA-668q-qrv7-99fm","Warn: Project is vulnerable to: GHSA-6pcc-3rfx-4gpm","Warn: Project is vulnerable to: GHSA-hwj3-m3p6-hj38","Warn: Project is vulnerable to: GHSA-8grg-q944-cch5","Warn: Project is vulnerable to: GHSA-j8jw-g6fq-mp7h","Warn: Project is vulnerable to: GHSA-cm59-pr5q-cw85","Warn: Project is vulnerable to: GHSA-rc42-6c7j-7h5r","Warn: Project is vulnerable to: GHSA-xf96-w227-r7c4","Warn: Project is vulnerable to: GHSA-jgmr-wrwx-mgfj","Warn: Project is vulnerable to: GHSA-xggx-fx6w-v7ch","Warn: Project is vulnerable to: GHSA-36p3-wjmg-h94x","Warn: Project is vulnerable to: GHSA-hh26-6xwr-ggv7","Warn: Project is vulnerable to: GHSA-4gc7-5j7h-4qph","Warn: Project is vulnerable to: GHSA-g5mm-vmx4-3rg7","Warn: Project is vulnerable to: GHSA-ffvq-7w96-97p7","Warn: Project is vulnerable to: GHSA-558x-2xjg-6232","Warn: Project is vulnerable to: GHSA-564r-hj7v-mcr5","Warn: Project is vulnerable to: GHSA-9cmq-m9j5-mvww","Warn: Project is vulnerable to: GHSA-wxqc-pxw9-g2p8","Warn: Project is vulnerable to: GHSA-3mc7-4q67-w48m","Warn: Project is vulnerable to: GHSA-98wm-3w3q-mw94","Warn: Project is vulnerable to: GHSA-9w3m-gqgf-c4p9","Warn: Project is vulnerable to: GHSA-c4r9-r8fh-9vj2","Warn: Project is vulnerable to: GHSA-hhhw-99gj-p3c3","Warn: Project is vulnerable to: GHSA-mjmj-j48q-9wg2","Warn: Project is vulnerable to: GHSA-rvwf-54qp-4r6v","Warn: Project is vulnerable to: GHSA-w37g-rhq8-7m4j"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-20T17:53:49.808Z","repository_id":32679718,"created_at":"2025-08-20T17:53:49.809Z","updated_at":"2025-08-20T17:53:49.809Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28337599,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T06:09:07.588Z","status":"ssl_error","status_checked_at":"2026-01-12T06:05:18.301Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":"2026-01-12T08:42:09.526Z","updated_at":"2026-01-12T08:42:09.575Z","avatar_url":"https://github.com/labai.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TedLib - task execution lib\n\n## About\n\nTED is library for Java to handle task execution.\n\nTasks are stored in PostgreSql/Oracle db (table _tedtask_). \nTed checks for new tasks in that table, retrieves them, calls task processor and after finish sets status (DONE, ERROR or RETRY).\n\n##### Main things kept in mind while creating TED\n- simplicity of use;\n- good performance;\n- no jar dependencies;\n- easy support using standard sql tools (view task history, restart task);\n- can be used for short (milliseconds) and long (hours) tasks;\n\n##### Features\nMain features:\n- is a part of war (or other app), no needs for separate process;\n- tasks are in db, thus tasks remain after restart of app, it is easy to browse history ann manage using standard sql;  \n- there is _auto cleaning_ of tasks;\n- task is executed only by one application instance;\n- works with PostgreSQL (9.5+), Oracle DB; from Java 1.8;\n- _task configuration_ is in separate ted.properties file, may be tuned without recompile;\n- _channels_ - allows to assign separate thread pools to different types of tasks; \n- [ted-scheduler](ted-ext/ted-scheduler/readme.md) allows using ted-driver as scheduler engine\n\nSee more in [Ted features](docs/wiki/Ted-features.md) in wiki.\n\n \n## Usage example\n\n```xml\n\u003cdependency\u003e\n    \u003cgroupId\u003ecom.github.labai\u003c/groupId\u003e\n    \u003cartifactId\u003eted-driver\u003c/artifactId\u003e\n    \u003cversion\u003e0.3.8\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n```java\n@Configuration\npublic class TedConfig {\n  ...\n  @Bean\n  public TedDriver tedDriver(){\n    ... \n    TedDriver tedDriver = new TedDriver(TedDbType.POSTGRES, dataSource, properties);\n    // register factories, which returns TedProcessor object\n    tedDriver.registerTaskConfig(\"DATA_SYN\", taskName -\u003e tedJobs.syncDataTedProcessor());\n    tedDriver.start();\n    return tedDriver;\n  }\n```\n\n```java\n// implements TedProcessor object\n@Component\npublic class TedJobs {\n    ...\n    public TedProcessor syncInstrTedProcessor() {\n        return task -\u003e {\n            if (isEmpty(task.getData()))\n                return TedResult.error(\"task.data is empty\");\n            ...\n            return TedResult.done();\n        };\n    }\n}\n```\n\nand then create tasks \n\n```java\n// create TedTask\ntedDriver.createTask(\"DATA_SYN\", \"{\\\"customerId\\\" : \\\"1234\\\"}\");\n```\n\nSee also [Start-to-use](docs/wiki/Start-to-use.md)  \nin wiki. More samples in [ted-samples](/labai/ted/tree/master/ted-samples).\n\n\n## DB Structure\n\n#### tedtask table\n\nAll tasks are stored into _tedtask_ table. Ted driver periodically checks for new tasks and takes portion for execution.  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flabai%2Fted","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flabai%2Fted","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flabai%2Fted/lists"}