10 Commits
Author SHA1 Message Date
tomer doronandGitHub aa6468b360 add docker-compose setup for amazon linux (#114)
motivation: swift 5.2.4 now supportes AL2

changes:
* add docker-compose file for al2 5.2.4
* correct 5.3 docker-file to say al2 instead of 18.04
2020-06-05 20:23:08 -07:00
75d05ca954 docs cleanup (#91)
motivation: cleanup docs for oss

changes:
* add useful information in readme, with pointers to examples
* update ci setup and example to use latest tools
* update contributors list

Co-authored-by: Yim Lee <yim_lee@apple.com>
2020-05-28 12:19:19 -07:00
d956b89dbc improve debugging example (#84)
motivation: clearer examples as we prepare to open source

changes:
* rename debugging example to make the name more accurate
* add more information in the local debugging example
* add a Shared module to show how to share code between client and server
* make example more useful - use JSON for registration like flow
* add docker-compose task to test examples

Co-authored-by: Yim Lee <yim_lee@apple.com>
2020-05-21 09:07:38 -07:00
53930fef38 add debug functionality to test with mock server (#73)
motivation: allow end to end testing locally

changes:
* add a Lambda+LocalServer which exposes Lambda.withLocalServer available only in DEBUG mode
* local server can receive POST requests with payloads on a configurable endpoint and and send them to the Lambda
* move Lifecycle completely into EventLoop
* remove all locks since running in one EventLoop
* Use UUID for requestId

Co-authored-by: tom doron <tomer@apple.com>
2020-05-15 16:56:17 -07:00
tomer doronandGitHub dede451849 update ci setup (#56)
motivation: 5.2 adoption, prepare for 5.3

changes:
* add 5.2 docker-compose setup
* add 5.3 docker-compose setup (placeholder)
* format
2020-04-03 19:50:46 -07:00
tomer doronandGitHub a9606fc636 better formatting (#44)
motvation: update swift-format

changes:
* explicitly set swift version
* update swift-format to v44
2020-03-19 22:28:51 -07:00
tomer doronandGitHub 88f3b504f4 swift 5.2 (#37)
motivation: amazon linux support will land in 5.2

changes:
* remove inline as its default in 5.2
* remove linux test and lean on --enable-test-discovery
* adjust package syntax
* format code to match 5.2
2020-03-13 12:54:12 -07:00
tomer doronandGitHub eb2f31ce7c add ci setup for 5.2 (#31)
motivation: 5.2 is coming soon, need to test against that target version

changes: add docker files setup for 5.2
2020-03-10 00:10:26 -07:00
tomer doronandGitHub e0b34c4e2f test with tsan (#30)
motivation: better testing, safer code

changes: run 5.1 tests with tsan on
2020-03-09 23:33:05 -07:00
tomer doronandGitHub b8a6466577 add docker support (#15)
motivation: enable CI

changes: add docker files support for ubuntu 16.04 and 18.04 and swift 5.0 and 5.1

note that eventyally this will need to move to AL2 docker images, but we dont have official ones yet
2020-03-06 18:43:16 -08:00