Граф коммитов

6 Коммитов

Автор SHA1 Сообщение Дата
Les Orchard 31b6c6a08d
Tweaks to make setting dev stage more convenient 2018-05-11 16:04:48 -04:00
Les Orchard 02d4885048
Process queue items with upstream API requests
- Make requests to upstream API

- Relay result to positive / negative client URL as appropriate

Issue #3
2018-05-10 16:32:38 -04:00
Les Orchard f897da872d
Tweaks to tests layout and npm scripts
- Move tests to live alongside functions

- Move mocks into a test-startup module, start testing processQueueItem

- Add npm start script

- Switch onchange to use polling, resolves some weirdness in windows

Issue #3
2018-05-10 16:31:44 -04:00
Les Orchard 2bdc758050
Implement image submission API
- Ensure AWS API Gateway can accept binary requests

- Add multipart form parsing, light input validation

- Expand options in client to include other API fields

- Increase S3 object expiry to 30 days

- Update tests

Fixes #1
2018-05-09 16:09:37 -04:00
Les Orchard f77ca8ad18
Implement Hawk authentication for accept endpoint
- Add prettier, deploy:dev, and client NPM scripts

- bin/client.js as a start on a Hawk-enabled example service client

- Rework accept endpoint function
  - Switch to POST requests
  - Enforce Hawk authentication, with hardcoded dev credential option and
    DynamoDB credentials

- Add Credentials table in DynamoDB

- Tests for Hawk in accept function

- README updates

Fixes #2
2018-05-09 16:02:19 -04:00
Les Orchard e2717c4c08 Initial queue poller experiment 2018-05-03 15:40:50 -04:00