Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(9209)

Issue 14441069: Add a new api endpoint for /bundle/proof.

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 6 months ago by rharding
Modified:
10 years, 6 months ago
Reviewers:
bac, mp+191037
Visibility:
Public.

Description

Add a new api endpoint for /bundle/proof. Initial check is that we can resolve and locate the charms defined in the services block. - Add a new BundleCharmDescription object which contains the important data about a charm and notes any assumptions made about how we'll attempt to identify that charm. - Update the resolving code to use this new Description object vs the old manual methods - Add the new api endpoint and attempt to load and resolve each of the services. If it cannot be resolved, an error message with a "process" list is added to the error messages to assist the user in understanding what the server did to attempt to locate the charm. https://code.launchpad.net/~rharding/charmworld/api-proof/+merge/191037 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 29

Patch Set 2 : Add a new api endpoint for /bundle/proof. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+387 lines, -104 lines) Patch
M Makefile View 1 chunk +2 lines, -2 lines 0 comments Download
A [revision details] View 1 1 chunk +2 lines, -0 lines 0 comments Download
M charmworld/models.py View 1 1 chunk +146 lines, -43 lines 0 comments Download
M charmworld/testing/__init__.py View 1 chunk +10 lines, -0 lines 0 comments Download
M charmworld/tests/test_models.py View 1 9 chunks +90 lines, -50 lines 0 comments Download
M charmworld/views/api.py View 1 6 chunks +64 lines, -9 lines 0 comments Download
M charmworld/views/tests/test_api.py View 1 3 chunks +73 lines, -0 lines 0 comments Download

Messages

Total messages: 6
rharding
Please take a look.
10 years, 6 months ago (2013-10-14 20:07:40 UTC) #1
rharding
Added reviewer notes https://codereview.appspot.com/14441069/diff/1/Makefile File Makefile (right): https://codereview.appspot.com/14441069/diff/1/Makefile#newcode15 Makefile:15: subversion nodejs charm-tools is now a ...
10 years, 6 months ago (2013-10-14 20:10:42 UTC) #2
bac
Rick a very nice branch. I've got some suggestions and one bug fix. Should be ...
10 years, 6 months ago (2013-10-15 13:45:52 UTC) #3
rharding
Comments below. Pushing update branch shortly. https://codereview.appspot.com/14441069/diff/1/charmworld/models.py File charmworld/models.py (right): https://codereview.appspot.com/14441069/diff/1/charmworld/models.py#newcode1494 charmworld/models.py:1494: class BundleCharmDescription(object): On ...
10 years, 6 months ago (2013-10-15 16:19:09 UTC) #4
rharding
Please take a look.
10 years, 6 months ago (2013-10-15 16:23:22 UTC) #5
bac
10 years, 6 months ago (2013-10-15 17:35:16 UTC) #6
LGTM -- thanks for the nice changes.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b