Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .dockerignore
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
/target/
.idea
*.iml
*.ipr
.classpath
.settings
.project
8 changes: 8 additions & 0 deletions .gitignore
Original file line numberDiff line numberDiff line change
Expand Up@@ -21,3 +21,11 @@

# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*

/target/
.idea
*.iml
*.ipr
.classpath
.settings
.project
21 changes: 21 additions & 0 deletions .travis.yml
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
language: java
dist: xenial

services:
- docker

branches:
only:
- master

install:
- set -e
- nohup docker pull localstack/localstack > /dev/null &
- nohup docker pull lambci/lambda:java8 > /dev/null &

script:
- set -e
- make test

notifications:
email: false
File renamed without changes.
15 changes: 15 additions & 0 deletions Makefile
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
ADDITIONAL_MVN_ARGS ?= -DskipTests -q

usage: ## Show this help
@fgrep -h "##" $(MAKEFILE_LIST) | fgrep -v fgrep | sed -e 's/\\$$//' | sed -e 's/##//'

build: ## Build the code using Maven
mvn -Pfatjar $(ADDITIONAL_MVN_ARGS) clean javadoc:jar source:jar package $(ADDITIONAL_MVN_TARGETS)

publish-maven: ## Publish artifacts to Maven Central
ADDITIONAL_MVN_TARGETS=deploy ADDITIONAL_MVN_ARGS=" " make build

test: ## Run tests for Java/JUnit compatibility
USE_SSL=1 SERVICES=serverless,kinesis,sns,sqs,cloudwatch mvn $(MVN_ARGS) -q test

.PHONY: usage clean install test
26 changes: 25 additions & 1 deletion README.md
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,26 @@
# localstack-java-client
Java utilities and JUnit integration for LocalStack

Java utilities and JUnit integration for [LocalStack](https://github.com/localstack/localstack).

## Usage

For more details, please refer to the README of the main LocalStack repo: https://github.com/localstack/localstack

## Prerequisites

* Java
* Maven
* LocalStack

## Building

To build the latest version of the code via Maven:
```
make build
```

## License

Copyright (c) 2017-2020 LocalStack maintainers and contributors.

This version of LocalStack is released under the Apache License, Version 2.0 (see LICENSE.txt).
Loading