##Test task for erlang
How to test:
- PREREQUISITES
- Erlang and rebar are installed
- Copy access.keys file to 'priv' folder
- GET CODE
git clone https://github.com/Lapinskas/erlang_testtask.git
cd erlang_testtask
- GET DEPS
make deps
- COMPILE
make all
- LOAD KEYS
source priv/access.keys
- RUN SERVER
make server
- RUN CLIENT ( on another terminal from project folder )
make test
- TEST
8.1 Create record
1> test_client:test_set("ABC","123").
Test set: ok
ok
8.2 Get record
2> test_client:test_get("ABC").
Test get: ok
Test Key: "ABC"
Test Value: "123"
ok
8.3 Use wrong key to get record
3> test_client:test_get("Abc").
Test get: not_found
ok
Status:
-
A. Develop a Service
-
B. Create CloudFormation template
-
1) The data at rest in DynamoDB is encrypted using AWS KMS service.
-
2) Data bigger than 4K can be stored.
-
3) Service exposes an API over TCP using serialized Google protocolbuffer messages as payload.
-
4) Rebar (https://github.com/rebar/rebar) is used for building and creating deployments.
-
5) Erlcloud (https://github.com/erlcloud/erlcloud.git) is used to access AWS services.
-
6) A simple test-client is included with server which invokes requests over GPB / TCP interface to verify the Service functionality.
-
7) Service is deployed using CloudFormation template into existing VPC network.