{"id":37022065,"url":"https://github.com/visionarts/power-jambda","last_synced_at":"2026-01-14T02:37:41.924Z","repository":{"id":45150748,"uuid":"99087385","full_name":"visionarts/power-jambda","owner":"visionarts","description":"The java serverless microframework for AWS Lambda - Java + Lambda = Power Jambda","archived":false,"fork":false,"pushed_at":"2025-06-24T07:19:47.000Z","size":349,"stargazers_count":12,"open_issues_count":2,"forks_count":1,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-07-07T05:59:04.271Z","etag":null,"topics":["api-gateway","aws","aws-lambda","jackson","java-serverless-microframework","json","log4j2","rest-api","serverless-application-model"],"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/visionarts.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}},"created_at":"2017-08-02T07:41:07.000Z","updated_at":"2025-06-24T07:19:51.000Z","dependencies_parsed_at":"2022-08-12T11:41:03.790Z","dependency_job_id":null,"html_url":"https://github.com/visionarts/power-jambda","commit_stats":null,"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"purl":"pkg:github/visionarts/power-jambda","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/visionarts%2Fpower-jambda","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/visionarts%2Fpower-jambda/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/visionarts%2Fpower-jambda/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/visionarts%2Fpower-jambda/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/visionarts","download_url":"https://codeload.github.com/visionarts/power-jambda/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/visionarts%2Fpower-jambda/sbom","scorecard":{"id":923627,"data":{"date":"2025-08-11","repo":{"name":"github.com/visionarts/power-jambda","commit":"996dc63f8e318176aaa272daf4b35a5839926e37"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.4,"checks":[{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","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":"Code-Review","score":0,"reason":"Found 1/17 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":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/action.yml:1","Info: no jobLevel write permissions found"],"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":"Maintained","score":6,"reason":"8 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 6","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"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":"Binary-Artifacts","score":9,"reason":"binaries present in source code","details":["Warn: binary detected: .mvn/wrapper/maven-wrapper.jar:1"],"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":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/action.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/visionarts/power-jambda/action.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/action.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/visionarts/power-jambda/action.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/action.yml:29: update your workflow using https://app.stepsecurity.io/secureworkflow/visionarts/power-jambda/action.yml/master?enable=pin","Info:   0 out of   3 GitHub-owned GitHubAction dependencies pinned"],"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":"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":"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":"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":"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":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/action.yml:9"],"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 20 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":"11 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-h46c-h94j-95f3","Warn: Project is vulnerable to: GHSA-wf8f-6423-gfxg","Warn: Project is vulnerable to: GHSA-288c-cq4h-88gq","Warn: Project is vulnerable to: GHSA-3x8x-79m2-3w2w","Warn: Project is vulnerable to: GHSA-57j2-w4cx-62h2","Warn: Project is vulnerable to: GHSA-jjjh-jjxp-wpff","Warn: Project is vulnerable to: GHSA-rgv9-q543-rqg4","Warn: Project is vulnerable to: GHSA-5mg8-w23w-74h3","Warn: Project is vulnerable to: GHSA-7g45-4rm6-3mm3","Warn: Project is vulnerable to: GHSA-mvr2-9pj6-7w5j","Warn: Project is vulnerable to: GHSA-j288-q9x7-2f5v"],"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-25T07:24:30.901Z","repository_id":45150748,"created_at":"2025-08-25T07:24:30.901Z","updated_at":"2025-08-25T07:24:30.901Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28408711,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T01:52:23.358Z","status":"online","status_checked_at":"2026-01-14T02:00:06.678Z","response_time":107,"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":["api-gateway","aws","aws-lambda","jackson","java-serverless-microframework","json","log4j2","rest-api","serverless-application-model"],"created_at":"2026-01-14T02:37:41.230Z","updated_at":"2026-01-14T02:37:41.911Z","avatar_url":"https://github.com/visionarts.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Power-Jambda\n\n[![GitHub license](https://img.shields.io/badge/license-Apache%202-blue.svg)](https://raw.githubusercontent.com/visionarts/power-jambda/master/LICENSE)\n[![CI with Maven](https://github.com/visionarts/power-jambda/actions/workflows/action.yml/badge.svg?branch=master)](https://github.com/visionarts/power-jambda/actions/workflows/action.yml)\n[![Coverage Status](https://codecov.io/gh/visionarts/power-jambda/branch/master/graph/badge.svg)](https://codecov.io/gh/visionarts/power-jambda)\n[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.visionarts/power-jambda-pom/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.visionarts/power-jambda-pom)\n[![Javadocs](http://javadoc.io/badge/com.visionarts/power-jambda-core.svg)](http://javadoc.io/doc/com.visionarts/power-jambda-core)\n\nThe java serverless microframework for RESTful API allows you to quickly develop applications that use Amazon API Gateway and AWS Lambda.\n\n## Getting Started\n\n#### Maven installation ####\nThe recommended way to get started using this framework\nin your project is with a dependency management system\n\n```xml\n\u003cdependencies\u003e\n  \u003cdependency\u003e\n    \u003cgroupId\u003ecom.visionarts\u003c/groupId\u003e\n    \u003cartifactId\u003epower-jambda-core\u003c/artifactId\u003e\n    \u003cversion\u003e0.9.17\u003c/version\u003e\n  \u003c/dependency\u003e\n\u003c/dependencies\u003e\n```\n\n#### Quick Start ####\nHere you create an Application class to have main Lambda function handler:\n\nsrc/main/java/sample/SampleApplication.java\n\n```Java\n/**\n * Sample application.\n */\npublic class SampleApplication implements RequestStreamHandler {\n\n    @Override\n    public void handleRequest(InputStream input, OutputStream output, Context context) throws IOException {\n        try {\n            LambdaApplication.run(SampleApplication.class, input, output, context);\n        } catch (Exception e) {\n            throw new RuntimeException(e);\n        }\n    }\n}\n```\n\nNow you can create a action class for handling RESTful API request:\n\nsrc/main/java/sample/action/SampleAction.java\n```Java\n/**\n * Sample action class.\n */\n@Route(resourcePath = \"/sample\", methods = HttpMethod.POST)\npublic class SampleAction extends AbstractLambdaAction\u003cSampleMessageBody, SampleMessageBody\u003e {\n\n    @Override\n    public Class\u003cSampleMessageBody\u003e actionBodyType() {\n        return SampleMessageBody.class;\n    }\n\n    @Override\n    public SampleMessageBody handle(ActionRequest\u003cSampleMessageBody\u003e request, Context context) {\n        // echo back\n        SampleMessageBody res = new SampleMessageBody();\n        res.message = request.getBody().message;\n        res.name = request.getBody().name;\n        return res;\n    }\n\n    @ExceptionHandler(IllegalArgumentException.class)\n    public ResponseEntity\u003cSampleErrorModel\u003e handleException(IllegalArgumentException e, Context context) {\n        SampleErrorModel body = new SampleErrorModel();\n        body.error = \"BadRequest\";\n        body.code = 400001;\n        body.description = e.getMessage();\n\n        return new ResponseEntity\u003cSampleErrorModel\u003e()\n                .body(body)\n                .statusCode(400);\n    }\n\n}\n```\nThe class is annotated a **@Route**, meaning it’s ready for use by AWS Lambda to handle  requests. **@Route** maps 'POST /sample' to this action class.\nWhen invoked from API Gateway using curl on the command line, the handle method returns 200 OK, including a json content serialized SampleMessageBody('application/json').\n\nSee [RESTful API example](samples/simple-case) for more information.\n\n### Tutorial: Return RESTful API response\n\nTBD\n\n### Tutorial: Error Handling\n\nTBD\n\n### Tutorial: Customizing the HTTP Response\n\nTBD\n\n### Tutorial: CORS support\nBy default, injects the ``Access-Control-Allow-Origin: *`` header to your responses,\nincluding error responses return from action.\n\nIf more control of the CORS headers is desired, set the ``cors``\nparameter in your ``@Route`` to an instance of ``CorsConfiguration``.\nThe ``CorsConfiguration`` interface can be implemented as follows.\n\n```Java\npublic class MyCorsConfig implements CorsConfiguration {\n    @Override\n    public Optional\u003cString\u003e getAllowOrigin() {\n        return Optional.of(\"http://www.example.com\");\n    }\n\n    @Override\n    public Optional\u003cBoolean\u003e getAllowCredentials() {\n        return Optional.of(true);\n    }\n}\n```\n```Java\n@Route(resourcePath = \"/sample\", methods = HttpMethod.POST, cors = MyCorsConfig.class)\npublic class SampleAction extends AbstractLambdaAction\u003cSampleMessageBody, SampleMessageBody\u003e {\n}\n```\nIf you disable CORS support, specify ``cors = NoneCorsConfiguration.class`` in your ``@Route``.\n\n    \n## Building From Source\n\nOnce you check out the code from GitHub, you can build it using Maven.\n\n```sh\n./mvnw clean install\n```\n\nLicense\n-------\nCopyright (C) 2017 [Visionarts, Inc](https://www.visionarts.co.jp/)\n\nDistributed under the Apache License v2.0.  See the file LICENSE.\n\n\nDevelopment and Contribution\n----------------------------\nWe will open for contributions.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvisionarts%2Fpower-jambda","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvisionarts%2Fpower-jambda","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvisionarts%2Fpower-jambda/lists"}