This repo is a collection of Lambdas that we use internally for projects that are both internal and customer facing. We believe in sharing what we use and will continually add/improve and maintain the code.
We have structured the repo by language and the structure isnt exhaustive either. Within each directory (Python, Java etc) are sub-directories containing our Lambdas. They should also contain the accompanying tests which also should be added to Travis to ensure that we maintain a quality codebase.
We currently only test the Python Lambdas in the Python directory. The Python code is written using Python 2.6 (as was the supported Python platform at the time of development). Each test for each Lambda can be run using python test_(name of test)
.
- Implement Java improvements to produce JARS using Maven. Guide is here. Testing should happen in Travis first, then internally we use a build agent to produce the JARS.
- The Python Lambdas "ApiGatewayDomainName", "EbsSnapshot" and "ElbSgHardening" need unit testing.
- Some JS and Ruby Lambdas would be great!
We use git-flow wherever possible so contributions must follow these guidelines:
- Fork the repo
- Branch from Develop
- Make your changes
- Test your changes
- Make a PR to Develop
Copyright 2016, Alfresco
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.