-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EC2 DescribeInstances API doesn't work (and likely many others) #70
Comments
It looks like this patch to the code generator template was enough to fix most places:
I'll submit a PR soon. Based on the diff, it looks like this mostly impacted EC2 APIs, but there were some changes in S3 as well. |
Looks like there's a similar problem on the request side as well. For instance the InstanceIds filter is serialized incorrectly. |
thanks for your work on this, after you submit the pull request, I'll rerun the integration tests and make sure we didn't break anything. Ec2 is a special snowflake when it comes to protocol and is unfortunately an edge case we haven't tested too much. |
Cool, will do. How do you prefer the commits for this? Should I do one for the code-gen change and one with the new cpp files, or just all at once? |
just the code-gen change. I'll regenerate clients on my end. Once we've verified the fix, we'll regenerate all clients and push them out. |
This primarily impacts the EC2 APIs. See issue aws#70
Any luck on this / the pull request? |
Im testing it now. Should finish today some time.
|
Great! I'll probably have another PR coming up too to fix the filter serialization. |
This primarily impacts the EC2 APIs. See issue aws#70
I submitted a preliminary PR for fixing filters, but I'm pretty sure its not 100% correct. I'd appreciate if you could check it out at some point and comment on it? Thanks! |
This primarily impacts the EC2 APIs. See issue aws#70
This primarily impacts the EC2 APIs. See issue aws#70
ping? |
so I merged in this pull request, but your other one is almost correct (though breaks SNS). I'm going to regenerate everything and push the new clients up. If you can look at my comments on the other PR, I can get that merged in as soon as it is ready. |
just pushed the updates along with fixes for SNS |
…-to-cluster-manager to develop # By Michał Żmuda # Via Michał Żmuda * commit 'b605f933fc0c4c4d76a250e63b8afc6c4b423760': VFS-1457 facilitating acceptance testing VFS-1457 PR issues: refactoring starting cluster workers VFS-1457 fix ccm app name VFS-1457 initial cluster-manager renaming
* Use github actions for OSX * Update deps to get mac fixes
I was attempting to use EC2Client::DescribeInstances, but never got any reservations back.
Digging into the code, it looks like the generated parsers are incorrect. DescribeInstancesResult looks for a "Reservations" XML node, however the actual XML response is "reservationsSet". It looks like the generated code isn't looking for the locationName as specified in the API JSON descriptors, and instead only using the member key.
The text was updated successfully, but these errors were encountered: