Commit Graph

278 Commits

Author SHA1 Message Date
Gavin M. Roy a0692a2086 Cleanup and refactoring
- Strip down httpc_aws_urllib
- WIP cleanup of doc strings and specs
- Add some types to the include
- Start to model out the static API that invokes gen_server
- Clean up all dialyzer warnings
- Update tests to reflect changes
2016-04-08 01:45:34 -04:00
Gavin M. Roy ada51d69b6 Setup the OTP side of the API
- To remove the need to send configuration data for each request, setup a gen_server structure for keeping configuration state.
- Move constants and record info into a hrl file to recode per-file definition overhead.
- Update file headers to be consistent
2016-04-07 20:59:52 -04:00
Gavin M. Roy 74d29a37e8 Add erlang.mk support 2016-04-07 20:22:04 -04:00
Gavin M. Roy 48a150051b Headers are unused 2016-04-07 20:20:16 -04:00
Gavin M. Roy e35342cf75 Look at the http response status code 2016-03-31 18:11:54 -04:00
Gavin M. Roy d72b3aed99 Working credentials from instance metadata 2016-03-31 18:06:31 -04:00
Gavin M. Roy bb737a0a56 Work in process on httpc_aws_config:credentials/1
Works for local files, need to implement the request to the EC2 metadata instance service
2016-03-31 17:22:20 -04:00
Gavin M. Roy 6aa9406ac7 Documentation and API updates 2016-03-31 14:50:55 -04:00
Gavin M. Roy ab1e7338a6 Update precedence documentation 2016-03-31 00:44:26 -04:00
Gavin M. Roy 2e12047a16 Add httpc_aws_config:value/2
- Rename httpc_aws_config:config_data/2 to httpc_aws_config:valus/1
- Add test coverage
2016-03-31 00:32:27 -04:00
Gavin M. Roy a5bcfb5fe8 Change config_data/1 to public 2016-03-31 00:16:52 -04:00
Gavin M. Roy eeca3dcd47 Drop older erlang versions 2016-03-31 00:13:11 -04:00
Gavin M. Roy 470015e1b2 Add httpc_aws_config:region and supporting things
- Copy in urilib as a module in httpc_aws for building URIs
- Add logic to get region from env var, config, or EC2 instance metadata service
2016-03-31 00:11:39 -04:00
Gavin M. Roy 03c2118f99 Add badges 2016-03-30 21:44:18 -04:00
Gavin M. Roy 235a98fade Remove -spec 2016-03-30 13:34:26 -04:00
Gavin M. Roy b663731662 Refactor to remove nested cases 2016-03-30 13:33:15 -04:00
Gavin M. Roy c32141b397 Increase test coverage of existing functions 2016-03-30 10:49:02 -04:00
Gavin M. Roy c9014ebb9c Ignore a few things 2016-03-29 17:11:42 -04:00
Gavin M. Roy 395f5ed464 Add coverage options to rebar config 2016-03-29 17:10:56 -04:00
Gavin M. Roy 8b9806277e Add covertool for code coverage reporting 2016-03-29 17:06:54 -04:00
Gavin M. Roy a47f340425 Fix the tests for travis 2016-03-29 17:04:20 -04:00
Gavin M. Roy 9ef32c7940 Add some output for debugging in travis 2016-03-29 16:55:17 -04:00
Gavin M. Roy ce4f3cce16 Enumerate the env vars (stub) 2016-03-29 00:18:04 -04:00
Gavin M. Roy 2f45aee4a4 Initial WIP commit 2016-03-29 00:14:17 -04:00
Gavin M. Roy 8fd2844112 Add rebar3 for testing 2016-03-29 00:13:05 -04:00
Gavin M. Roy 953da0868a Add .editorconfig settings 2016-03-28 20:42:33 -04:00
Gavin M. Roy 48c464b938 Add description 2016-03-28 20:40:23 -04:00
Gavin M. Roy 6df38694ac Initial setup from rebar3 lib template 2016-03-28 20:39:45 -04:00