Commit Graph

239 Commits

Author SHA1 Message Date
17ff6d3e82
clean up test code in prep for other main stuff
All checks were successful
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 5m18s
2023-08-27 18:12:32 -07:00
06429e0853
re-enable full demo code
All checks were successful
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 5m16s
2023-08-27 17:36:26 -07:00
978bb783e3
all url tests passing
All checks were successful
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 5m1s
2023-08-27 17:17:14 -07:00
9fd98c176a
remove TODO 2023-08-27 17:05:20 -07:00
a4f9ca969c
bring EC2 back to par with 0.9.0 implementation
Some checks failed
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Failing after 1m15s
2023-08-27 17:04:49 -07:00
a580983c89
add failing test, reproducing issue in src/main 2023-08-27 16:29:20 -07:00
7c40549200
cast two more content_length u64 to usize
All checks were successful
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 4m12s
2023-08-27 15:43:40 -07:00
8361431754
clean up/add credential handling
Some checks failed
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Failing after 1m26s
2023-08-27 15:24:58 -07:00
779d940849
remove demos that are not yet functional 2023-08-27 11:54:31 -07:00
ae07f82dd5
disable ec2_query demos temporarily 2023-08-27 11:40:56 -07:00
b2bd779de7
re-enable whatever test that was 2023-08-27 11:03:38 -07:00
18a0ed5ce4
refalldecls for referenced dependencies 2023-08-27 11:01:40 -07:00
c84baf5152
address test leaks 2023-08-27 10:53:51 -07:00
06040ac649
you CAN fix stupid! 2023-08-27 10:53:30 -07:00
1c072c454d
fix crash. leaks remain 2023-08-27 10:34:39 -07:00
1ba69e38ed
unit test crashing and leaky, but not failing 2023-08-27 10:29:01 -07:00
5df8ae8edd
make json pass tests (2 tests skipped) 2023-08-27 10:26:22 -07:00
c6524ff1d3
fix dupeAndUnescape return value 2023-08-27 09:47:38 -07:00
088638661a
fix tests in url.zig 2023-08-27 09:35:54 -07:00
a3fd680ea6
comment log_level for tests 2023-08-27 09:23:38 -07:00
94fa9acc44
address aws_http test errors 2023-08-27 09:20:19 -07:00
b84120efe3
fix issues with aws_signing tests 2023-08-27 09:13:41 -07:00
13ffb063c5
fix tests in case.zig 2023-08-27 08:40:40 -07:00
49089ff433
address windows build
All checks were successful
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 7m36s
2023-08-15 08:50:22 -07:00
db82116103
cast to usize for non 64 bit targets
Some checks failed
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Failing after 4m10s
2023-08-15 08:41:06 -07:00
024ba8ee8f
fix edge case on ec2 query 2023-08-14 13:44:26 -07:00
9e02196dd0
clean compile on 0.11, not yet fully functional
Some checks failed
AWS-Zig Build / build-zig-0.9-amd64-host (push) Failing after 1m41s
2023-08-14 10:06:28 -07:00
4bc8889d32
fix more compile errors - leaving 2 nasty ones 2023-08-05 16:26:09 -07:00
63ff325068
find/fix more fmt errors 2023-08-05 13:29:23 -07:00
c18de40edd
remove git version info 2023-08-05 13:29:07 -07:00
d04e7b22e4
remove root pem - should no longer need this 2023-08-05 13:24:48 -07:00
e49ed1b7ad
found fix for comptime decl stuff, avoid more codegen changes 2023-08-05 13:00:55 -07:00
e5b3f03681
fix compile errors on date.zig 2023-08-05 13:00:19 -07:00
5ee53a493d
some codegen changes needed/investigation into http_query (see note)
This fixes main compile issues. Problems that remain:

* json is borked for objects with key/value keys that need to be coerced
* currently all request structures need an http_query declaration, and this may be a hard requirement
* need to revisit all the places where we are reading http response bodies
* there are 35 compile errors that do not have reference traces and will take a while to track down
2023-08-05 12:41:04 -07:00
e3ec2b8c2e
delete duplicate test 2023-08-04 16:42:38 -07:00
5be18af930
upgrade servicemodel.zig 2023-08-04 16:39:15 -07:00
46cc57ac2d
upgrade json.zig (this needs revisiting) 2023-08-04 16:38:49 -07:00
9f5c380b66
upgrade date.zig 2023-08-04 16:38:19 -07:00
e6f7ab003d
zig fmt to take care of easy stuff 2023-08-04 10:07:58 -07:00
cfdf4a3141
these are old changes, but I believe part of 0.11 from a while back 2023-08-04 10:06:54 -07:00
8d852e8084
handle s3 key paths
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-29 09:24:16 -07:00
a662f6f674
add S3 integration test/update readme
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-05 18:34:39 -07:00
247a236ad1
reduce debug logging noise 2022-06-05 18:27:36 -07:00
b428029cc1
add http payload support 2022-06-05 18:27:10 -07:00
21b04317bd
add header parsing support 2022-06-05 18:26:42 -07:00
723c483544
add english date parsing option 2022-06-05 18:23:51 -07:00
d3a7edcadc
change verbosity levels to remove more noise 2022-06-05 18:23:16 -07:00
e34a0d8ff4
comment failing integration demo
All checks were successful
continuous-integration/drone/push Build is passing
2022-05-31 19:25:06 -07:00
ab1060b145
s3 listallbuckets/putobject working
Some checks failed
continuous-integration/drone/push Build is failing
2022-05-31 18:47:59 -07:00
b9aaffb08d
add s3 exception for virtual host addressing 2022-05-29 14:12:01 -07:00
c531164cfa
cleanup and refactoring. Addressed TODO related to comptime eval 2022-05-29 12:49:02 -07:00
03f7228662
fix rest_xml_no_input integration test 2022-05-29 11:16:55 -07:00
08c2ed0c07
move json detection to separate function 2022-05-29 11:13:05 -07:00
357c583e9b
rest_xml support, minus s3
All checks were successful
continuous-integration/drone/push Build is passing
2022-05-28 20:18:16 -07:00
73d056e845
support customization for cloudfront 2022-05-28 18:05:13 -07:00
652a04d0c3
handle greedy labels 2022-05-28 18:02:31 -07:00
46e3a4de11
add additional request id for CloudFront 2022-05-28 18:01:49 -07:00
fed45c90ee
tolerate unwrapped xml response values 2022-05-28 17:57:35 -07:00
c1880e2d43
document the other compiler bug test 2022-05-28 15:50:38 -07:00
51232cb45e
get more defensive from compiler bugs 2022-05-28 15:50:07 -07:00
e4e5288ef6
work around another compiler bug 2022-05-28 15:49:17 -07:00
f9cf8de76f
initial S3 support
All checks were successful
continuous-integration/drone/push Build is passing
2022-05-25 15:27:13 -07:00
e6d2559b80
add x-amz-content-sha256 to all requests
All checks were successful
continuous-integration/drone/push Build is passing
2022-05-25 14:24:56 -07:00
0e46bb04b2
add ec2 query with input demo
All checks were successful
continuous-integration/drone/push Build is passing
2022-05-25 11:38:34 -07:00
8727a4e038
EC2 support
All checks were successful
continuous-integration/drone/push Build is passing
2022-02-16 14:14:54 -08:00
714e7278fd
ensure logging statements are using scoped log 2022-02-16 14:04:06 -08:00
b2c915f400
dealloc on error (using a blunt instrument) and iso8601 support 2022-02-16 14:01:29 -08:00
b44ea5c3e8
add iso8601 string to timestamp 2022-02-16 13:47:19 -08:00
4b26bc884f
basic ISO8601 parsing 2022-02-16 13:45:41 -08:00
fc8a73a9c4
handle times before 1970 2022-02-15 17:28:27 -08:00
49f3f48aa8
conversion from DateTime structure to timestamp (partial)
This only handles dates after 1970. The code
is getting ugly and I think it is the wrong approach.
Will clean up in the next commit
2022-02-15 17:03:42 -08:00
0706dd5e6f
work around zig compiler bug
All checks were successful
continuous-integration/drone/push Build is passing
2022-02-11 13:36:38 -08:00
8e9b85b35f
make for easier EC2 Query development
All checks were successful
continuous-integration/drone/push Build is passing
2022-02-11 09:28:24 -08:00
bb93f41b85
add xml_shaper (see below)
This will use the Vulkan xml parser to parse data, then
massage that into a passed type. It uses code patterned
off the standard library Json parser to do the work.

The final, commented test is exposing a compiler bug that
needs to be reduced and sent to the zig team. Initial reports
from IRC indicate that the team is not focusing on compiler
bugs until stage 2 is done (hopefully May 2022)
2022-02-11 09:22:32 -08:00
240d2ebdd1
new EC2 code (still failing/disabled) 2022-02-11 09:17:27 -08:00
f374df3fa1
update generated models for xml mappings 2022-02-10 15:13:44 -08:00
744d834cfd
add predicate option to xml parser 2022-02-10 15:07:50 -08:00
c9369504fa
re-import xml.zig from Vulkan project 2022-02-10 10:20:00 -08:00
5bb382bda3
implement container credentials
All checks were successful
continuous-integration/drone/push Build is passing
2022-02-09 11:46:53 -08:00
5f3a201ffd
initial IMDSv2 implementation
All checks were successful
continuous-integration/drone/push Build is passing
2022-02-08 22:37:38 -08:00
628dd1da1d
replace zero with crypto secureZero 2022-02-08 22:37:20 -08:00
b53cbc3ea5
support file-based credentials
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-31 09:01:30 -08:00
6229644bca
update zero process to secureZero 2022-01-31 09:01:01 -08:00
e7734281c3
add comment about AWS_SECURITY_TOKEN 2022-01-21 06:41:10 -08:00
a88995290c
switch query_with_input test to something that will work with STS token
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-21 06:15:48 -08:00
a667dc09d1
support for STS tokens
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-20 19:42:55 -08:00
65537613e1
fix signing tests
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-20 12:58:56 -08:00
7967d7e3ab
fix signing tests
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-20 12:53:29 -08:00
d4c9f22316
32 bit support
Some checks failed
continuous-integration/drone/push Build is failing
2022-01-20 12:31:45 -08:00
691a32d719
credential cleanup/working on Windows
Some checks failed
continuous-integration/drone/push Build is failing
2022-01-20 12:18:47 -08:00
3d27b84e2d
include query in url 2022-01-20 07:32:40 -08:00
46685043e5
enable query string in canonical request 2022-01-20 07:32:26 -08:00
a05c1dfa10
remove debug output of signing key 2022-01-20 07:31:32 -08:00
1fd42fbe84
fixed signature issue with rest_json_1_work_with_lambda
All checks were successful
continuous-integration/drone/push Build is passing
There remains another issue with this same test, dealing with query string
2022-01-19 21:40:38 -08:00
014f739b09
clean up comments
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-19 21:22:25 -08:00
be42b07086
add tls trust chain for AWS
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-19 21:17:44 -08:00
e66c82468a
most requests working (see below)
All checks were successful
continuous-integration/drone/push Build is passing
rest_json_1_work_with_lambda seems to fail
STS-generated keys not working
there might be an intermittent signature failure
2022-01-19 19:29:58 -08:00
acba4d7962
remove completed TODOs from test
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-19 19:14:24 -08:00
3e9fab6ca5
return new request instead of mutating in place
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-19 19:12:50 -08:00
b928a5ec21
query_no_input working (intermittent failure?)
Some checks failed
continuous-integration/drone/push Build is failing
2022-01-19 18:58:53 -08:00