{"id":18969067,"url":"https://github.com/ranman/xray-lambda-demo","last_synced_at":"2026-04-05T14:30:17.119Z","repository":{"id":141493554,"uuid":"135502881","full_name":"ranman/xray-lambda-demo","owner":"ranman","description":null,"archived":false,"fork":false,"pushed_at":"2018-05-30T22:15:50.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-01T07:09:59.418Z","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/ranman.png","metadata":{"files":{"readme":"README.html","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":"2018-05-30T22:15:41.000Z","updated_at":"2018-05-30T22:15:51.000Z","dependencies_parsed_at":"2023-07-09T05:17:50.187Z","dependency_job_id":null,"html_url":"https://github.com/ranman/xray-lambda-demo","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/ranman%2Fxray-lambda-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ranman%2Fxray-lambda-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ranman%2Fxray-lambda-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ranman%2Fxray-lambda-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ranman","download_url":"https://codeload.github.com/ranman/xray-lambda-demo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239966070,"owners_count":19726256,"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-11-08T14:51:40.136Z","updated_at":"2026-04-05T14:30:17.079Z","avatar_url":"https://github.com/ranman.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003chtml\u003e\n\u003chead\u003e\n\u003cstyle\u003e\n/*************************************\nGENERAL\n*************************************/\nbody {\n    margin: 15;\n    padding: 0;\n    font: 12px/1.4em \"Lucida Grande\", Verdana, sans-serif;\n    color: #333;\n    overflow-y: scroll;\n    text-rendering: optimizeLegibility;\n    background-color: #F2F2F2;\n}\n\nh2 {\n    font-size: 1.3em;\n    line-height: 1.5em;\n    font-weight: bold;\n    margin: 20px 0 0 0;\n    padding: 0;\n    border-bottom: 3px solid #eee;\n\n    /* icon setup */\n    padding: 0.2em 1em 0.2em 30px;\n    background-position: 0 50%;\n    background-repeat: no-repeat;\n}\n\n\n/*************************************\nSECTIONS\n*************************************/\ndiv#content {\n    margin: 30px auto;\n    padding: 0 30px 15px 30px;\n    background-color: #fff;\n    width: 940px;\n\n    /* box-shadow */\n    -moz-box-shadow: 0 5px 10px #aaa;\n    -webkit-box-shadow: 0 5px 10px #aaa;\n    box-shadow: 0 5px 10px #aaa;\n\n    /* bottom corners */\n    -webkit-border-bottom-right-radius: 7px;\n    -webkit-border-bottom-left-radius: 7px;\n    -moz-border-radius-bottomright: 7px;\n    -moz-border-radius-bottomleft: 7px;\n    border-bottom-right-radius: 7px;\n    border-bottom-left-radius: 7px;\n}\n\n/*div#content div.section {}*/\n\ndiv#content div.section ul {\n    margin: 0;\n    padding: 1em 0 0 2em;\n    overflow: hidden;\n}\n\ndiv#content div.section ul li {\n    list-style-type: square;\n    white-space: nowrap;\n    line-height: 1.5em;\n}\n\n/* Section titles */\ndiv#content div.section.s3 h2 {\n    background-image: url(../images/drive.png);\n}\n\ndiv#content div.section.ec2 h2 {\n    background-image: url(../images/server.png);\n}\n\ndiv#content div.section.sdb h2 {\n    background-image: url(../images/database.png);\n}\n\n\n/*************************************\nCONTAINERS\n*************************************/\n.container {\n    zoom: 1;\n}\n\n.container:after {\n    content: \".\";\n    display: block;\n    height: 0;\n    clear: both;\n    visibility: hidden;\n}\n\n\n/*************************************\nGRIDS\n*************************************/\n.grid { float: left; margin-right: 20px; }\n.gridlast { margin-right: 0; }\n.grid5 { width: 300px; }\n.grid15 { width: 940px; }\n\n\u003c/style\u003e\n\u003c/head\u003e\n\u003cdiv style=\"left: 32px; width: 975px; height: 753px;\"\u003e\n\u003cdiv style=\"padding-left: 37.5px; padding-right: 37.5px;\"\u003e\n\n\u003cdiv\u003e\n\n\u003ch1\u003eAWS Toolkit for Eclipse - AWS Serverless Project\u003c/h1\u003e\n\n\u003cblockquote\u003e\n\u003cp\u003e\u003cstrong\u003eNote:\u003c/strong\u003e If you are brand new to AWS Serverless application,\nplease see \u003ca href=\"http://docs.aws.amazon.com/lambda/latest/dg/deploying-lambda-apps.html\"\u003eLambda-based Applications\u003c/a\u003e for more information.\u003c/p\u003e\n\u003c/blockquote\u003e\n\n\u003cp\u003eThe \u003cstrong\u003eserverless.template\u003c/strong\u003e file under your workspace is a simplified version\nof \u003ca href=\"https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md\"\u003eAWS Serverless Application Model (SAM)\u003c/a\u003e that leverages\nthe Eclipse toolkit so that you only need to specify the parameters you care about. Specifically, the toolkit helps you with the following settings:\u003c/p\u003e\n\n\u003cul\u003e\n  \u003cli\u003e\u003cstrong\u003eAWSTemplateFormatVersion\u003c/strong\u003e and \u003cstrong\u003eTransform\u003c/strong\u003e: optional, the toolkit will use the default values.\u003c/li\u003e\n  \u003cli\u003e\u003cstrong\u003eAWS::Serverless::Function\u003c/strong\u003e/\u003cstrong\u003eRuntime\u003c/strong\u003e: optional, only \u003cstrong\u003ejava\u003c/strong\u003e is supported for this parameter.\u003c/li\u003e\n  \u003cli\u003e\u003cstrong\u003eAWS::Serverless::Function\u003c/strong\u003e/\u003cstrong\u003eCodeUri\u003c/strong\u003e: disabled, the toolkit will generate the code uri for you.\u003c/li\u003e\n  \u003cli\u003e\u003cstrong\u003eAWS::Serverless::Function\u003c/strong\u003e/\u003cstrong\u003eHandler\u003c/strong\u003e: take it as class name instead of the fully qualified class name (FQCN). The toolkit will put all the Lambda handlers under one package and generate the FQCN for these handlers before deployment.\u003c/li\u003e\n\u003c/ul\u003e\n\n\u003ch2\u003eWhat's next?\u003c/h2\u003e\n\n\u003chr\u003e\n\n\u003c/div\u003e\n\n\u003cdiv\u003e\n\n\u003ch3\u003eStep 1: Implement your functions\u003c/h3\u003e\n\n\u003cblockquote\u003e\n\u003cp\u003e\u003cstrong\u003eNote:\u003c/strong\u003e If this project is created from a \u003cstrong\u003eblueprint\u003c/strong\u003e, go to Step 2. The \u003cstrong\u003eblueprint\u003c/strong\u003e already implemented all the Lambda functions.\u003c/p\u003e\n\u003c/blockquote\u003e\n\n\u003cp\u003eOpen up all the Lambda function files in your \u003cstrong\u003efunction\u003c/strong\u003e package and implement the \u003cstrong\u003ehandleRequest\u003c/strong\u003e method for each of them. This method is the entry point for your Lambda function, and it will be invoked by Lambda in response to input from the event sources of your function.\u003c/p\u003e\n\n\u003cblockquote\u003e\n  \u003cp\u003e\u003cstrong\u003eNote:\u003c/strong\u003e You can add new classes and additional external dependencies in your project if needed.\u003c/p\u003e\n\u003c/blockquote\u003e\n\n\u003ch3\u003eStep 2: Deploy your Serverless project\u003c/h3\u003e\n\n\u003cp\u003e\nUnder Project or Package Explorer View, right-click on your project and select \u003cstrong\u003eAmazon Web Services -\u0026gt; Deploy Serverless Project...\u003c/strong\u003e.\nThen follow the steps to create a new AWS CloudFormation stack with all the resources related to Lambda functions.\n\u003c/p\u003e\n\n\u003c/div\u003e\n\n\u003cdiv\u003e\n\n\u003ch2\u003eLearn more\u003c/h2\u003e\n\n\u003chr\u003e\n\n\u003cp\u003eIf you want to know more about AWS Lambda, check out the following links:\u003c/p\u003e\n\n\u003cul\u003e\n\u003cli\u003e\u003ca href=\"http://aws.amazon.com/lambda/details/\"\u003eAWS Lambda Product Details\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"http://docs.aws.amazon.com/lambda/latest/dg/welcome.html\"\u003eAWS Lambda Developer Guide\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n\n\u003cp\u003eIf you want to know more about AWS API Gateway, check out the following links:\u003c/p\u003e\n\n\u003cul\u003e\n\u003cli\u003e\u003ca href=\"https://aws.amazon.com/api-gateway/details/\"\u003eAWS AWS Gateway Product Details\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"http://docs.aws.amazon.com/apigateway/latest/developerguide/getting-started.html\"\u003eBuild an API to Expose a Lambda Function\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n\n\u003cp\u003eIf you want to know more about AWS CloudFormation, check out the following links:\u003c/p\u003e\n\u003cli\u003e\u003ca href=\"https://aws.amazon.com/cloudformation/details/\"\u003eAWS CloudFormation Product Details\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/CHAP_Using.html\"\u003eAWS CloudFormation Walkthroughs\u003c/a\u003e\u003c/li\u003e\n\n\u003cp\u003e\u003ca href=\"mailto:aws-eclipse-feedback@amazon.com\"\u003eContact us\u003c/a\u003e to send bug reports and feedbacks.\u003c/p\u003e\n\n\u003cp\u003e\u003cstrong\u003e\u003cem\u003eAWS SDK for Java team\u003c/em\u003e\u003c/strong\u003e\u003c/p\u003e\n\n\u003c/div\u003e\n\n\u003c/div\u003e\n\n\u003c/div\u003e\n\u003c/html\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Franman%2Fxray-lambda-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Franman%2Fxray-lambda-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Franman%2Fxray-lambda-demo/lists"}