-
Notifications
You must be signed in to change notification settings - Fork 13
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
Client and Plan support #36
base: master
Are you sure you want to change the base?
Conversation
Rework contributed code to conform to existing standards.
@outofcoffee Any idea which branch I should work against? Also just noticed a few bits I need to zap before merging, but please have a play and see if it works for you. |
Declarative bits that are missing will be committed shortly |
Now I can see that the CLI needs a couple of extra commands adding to enable plans to be added to APIs (i.e. non declarative) |
@pcornish what is your philosophy when it comes to error handling? For example, at the moment with certain list commands you just get an ugly exception. My thoughts are that we could parse the returned JSON and display the canonical message? What do you think. Or is this already meant to happen? e.g.
vs (mocked up example) -- something better than a huge trace.
I'm still not quite clear whether this is meant to be happening but it's b0rked or we should be relying on CLI-side validation (which seems a lot of work and maintenance in this circumstance). |
Behaviour seemed to have changed for some reason, so took opportunity to align dependencies with Apiman main project use the ser/deser feature to fix. Signed-off-by: Marc Savy <[email protected]>
Signed-off-by: Marc Savy <[email protected]>
Okay, was having an issue that turns out to be related to a bug in Maven 3.5.0's snapshot metadata. Will be pushing some more changes shortly, hopefully. |
Signed-off-by: Marc Savy <[email protected]>
Signed-off-by: Marc Savy <[email protected]>
Signed-off-by: Marc Savy <[email protected]>
Signed-off-by: Marc Savy <[email protected]>
@pcornish I think your recent "exception cause" changes on apiman/apiman may have had an unintended side-effect of breaking the apiman-cli tests -- as some exceptions that were 404 are now showing as 500s. Investigating! |
Reference for the above d9f95c2990f01197152c5d5f3ed855aca1ea5bc9 |
Signed-off-by: Marc Savy <[email protected]>
Signed-off-by: Marc Savy <[email protected]>
Hi @msavy. On latest master (e35c0f0) and develop (776a17e) the tests look OK. Here are the steps I ran (straight from the travis config file):
If you have some specific tests you want me to look at let me know and I'll happily take a look. |
@pcornish I reverted a PR on apiman/apiman itself as it was causing the unintended side-effects. |
Ah yes, sorry, I did see that :( |
Reworked jquantins work, but excluded the deepList stuff which needs some additional discussion.