syncthing /
syncthing-android
Wrapper of syncthing for Android.
Loading repository data…
pclin76 / repository
A Java wrapper to run Spring inside AWS Lambda and it natively supports API Gateway's proxy integration models for requests and responses.
The naofen project, created with aws-serverless-java-container.
The starter project defines a simple /ping resource that can accept GET requests with its tests.
The project folder also includes a template.yml file. You can use this SAM file to deploy the project to AWS Lambda and Amazon API Gateway or test in local with the SAM CLI.
You can use the SAM CLI to quickly build the project
$ mvn archetype:generate -DartifactId=naofen -DarchetypeGroupId=com.amazonaws.serverless.archetypes -DarchetypeArtifactId=aws-serverless-jersey-archetype -DarchetypeVersion=1.5 -DgroupId=com.facebook.groups -Dversion=1.0.0 -Dinteractive=false
$ cd naofen
$ sam build
Building resource 'NaofenFunction'
Running JavaGradleWorkflow:GradleBuild
Running JavaGradleWorkflow:CopyArtifacts
Build Succeeded
Built Artifacts : .aws-sam/build
Built Template : .aws-sam/build/template.yaml
Commands you can use next
=========================
[*] Invoke Function: sam local invoke
[*] Deploy: sam deploy --guided
From the project root folder - where the template.yml file is located - start the API with the SAM CLI.
$ sam local start-api
...
Mounting com.amazonaws.serverless.archetypes.StreamLambdaHandler::handleRequest (java8) at http://127.0.0.1:3000/{proxy+} [OPTIONS GET HEAD POST PUT DELETE PATCH]
...
Using a new shell, you can send a test ping request to your API:
$ curl -s http://127.0.0.1:3000/ping | python -m json.tool
{
"pong": "Hello, World!"
}
To deploy the application in your AWS account, you can use the SAM CLI's guided deployment process and follow the instructions on the screen
$ sam deploy --guided
Once the deployment is completed, the SAM CLI will print out the stack's outputs, including the new application URL. You can use curl or a web browser to make a call to the URL
...
-------------------------------------------------------------------------------------------------------------
OutputKey-Description OutputValue
-------------------------------------------------------------------------------------------------------------
NaofenApi - URL for application https://xxxxxxxxxx.execute-api.us-west-2.amazonaws.com/Prod/pets
-------------------------------------------------------------------------------------------------------------
Copy the OutputValue into a browser or use curl to test your first request:
$ curl -s https://xxxxxxx.execute-api.us-west-2.amazonaws.com/Prod/ping | python -m json.tool
{
"pong": "Hello, World!"
}
Selected from shared topics, language and repository description—not editorial ratings.
syncthing /
Wrapper of syncthing for Android.
andrewssobral /
A C++ Background Subtraction Library with wrappers for Python, MATLAB, Java and GUI on QT
A Java wrapper to run Spring, Spring Boot, Jersey, and other apps inside AWS Lambda.
spotify-web-api-java /
A Java wrapper for Spotify's Web API.
MobileGL-Dev /
MobileGlues, which stands for "(on) Mobile, GL uses ES", is a GL implementation running on top of host OpenGL ES 3.2, with running Minecraft Java Edition in mind.
retrooper /
PacketEvents is a protocol library tailored to Minecraft Java Edition, designed to facilitate the processing and transmission of packets.