-
Notifications
You must be signed in to change notification settings - Fork 372
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
Adding more deployment endpoint code to Service #158
base: develop
Are you sure you want to change the base?
Conversation
vegitron
commented
Oct 28, 2016
- Fixes the URL for PATH_DEPLOYMENT_SERVERCLASSES
- Exposes deployment_apps, deployment_clients and server_classes in the Service class
- Adding virtualenv related entries to .gitignore
* Fixes the URL for PATH_DEPLOYMENT_SERVERCLASSES * Exposes deployment_apps, deployment_clients and server_classes in the Service class * Adding virtualenv related entries to .gitignore
Thanks for the PR @vegitron! |
Probably a 3. We can do a pip install from my github fork for a while if needed. Is the failing test something I should worry about? It doesn't look like it's related to my changes. |
@vegitron OK, we appreciate the flexibility. The test failure is a recent regression around SSL certs, it's unrelated to your changes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure if you are still following this PR but if so this generally looks good - just a few small changes, resolving merge conflicts with the latest changes in develop
and adding a tests to verify the functionality would allow us to merge this. Otherwise we can put this work on hold if someone else is able to pick it back up.
class DeploymentApps(Collection): | ||
"""This class represents a collection of deployment apps.""" | ||
def __init__(self, service): | ||
Collection.__init__(self, service, PATH_DEPLOYMENT_APPS, item=ServerClass) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you meant item= DeploymentApp
class DeploymentClient(Collection): | ||
"""This class represents a collection of deployment clients.""" | ||
def __init__(self, service): | ||
Collection.__init__(self, service, PATH_DEPLOYMENT_CLIENTS, item=ServerClass) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You'll want to change the name of the collection to DeploymentClients
(plural) and this line to item=DeploymentClient