summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Tim Van Steenburgh [Sun, 6 Nov 2016 01:47:29 +0000 (21:47 -0400)]
Add ModelState tests
Tim Van Steenburgh [Sun, 6 Nov 2016 00:32:25 +0000 (20:32 -0400)]
Add Observer tests
Tim Van Steenburgh [Fri, 4 Nov 2016 15:06:46 +0000 (11:06 -0400)]
Merge pull request #4 from petevg/bug/fix-action-wait
Fixed status to check for for failed messages in unit.run
Pete Vander Giessen [Fri, 4 Nov 2016 15:04:23 +0000 (11:04 -0400)]
Fixed status to check for for failed messages in unit.run
error -> failed
Tim Van Steenburgh [Wed, 2 Nov 2016 19:28:14 +0000 (15:28 -0400)]
Merge pull request #3 from petevg/feature/wait-for-action-complete
Added observer + callback for unit.run.
Pete Vander Giessen [Wed, 2 Nov 2016 19:25:18 +0000 (15:25 -0400)]
Fixed call to self._wait in _wait_for_new
Added 'add'
Pete Vander Giessen [Wed, 2 Nov 2016 19:10:27 +0000 (15:10 -0400)]
Addressed PR comments.
Made a more generic _wait method in the model, and wrapped
_wait_for_new, and a new public method called wait_for_action around it.
unit.run now returns an action object, with .results that can be unpacked.
Pete Vander Giessen [Tue, 1 Nov 2016 21:28:21 +0000 (17:28 -0400)]
Added observer + callback for unit.run.
Allows us to wait until an action has actually been completed before
returning a result.
Tim Van Steenburgh [Tue, 1 Nov 2016 22:39:40 +0000 (18:39 -0400)]
Implement Application.run()
Tim Van Steenburgh [Tue, 1 Nov 2016 20:17:11 +0000 (16:17 -0400)]
Add set config/constraints for Application
Tim Van Steenburgh [Tue, 1 Nov 2016 19:48:44 +0000 (15:48 -0400)]
Add get_config() and get_constraints() for Application
Tim Van Steenburgh [Tue, 1 Nov 2016 19:10:40 +0000 (15:10 -0400)]
If deploying a single app, return the App instead of a list
Tim Van Steenburgh [Tue, 1 Nov 2016 19:08:50 +0000 (15:08 -0400)]
Run bundle app waits concurrently
Tim Van Steenburgh [Tue, 1 Nov 2016 18:47:16 +0000 (14:47 -0400)]
Wire up more Application apis
Cory Johns [Tue, 25 Oct 2016 21:35:00 +0000 (17:35 -0400)]
Add application status and message property
Cory Johns [Tue, 25 Oct 2016 18:41:16 +0000 (14:41 -0400)]
Add agent and workload status properties to Unit
Cory Johns [Mon, 24 Oct 2016 19:02:59 +0000 (15:02 -0400)]
Return app ModelEntities from bundle deploy
Match behavior when deploying a single charm.
Tim Van Steenburgh [Tue, 18 Oct 2016 20:20:18 +0000 (16:20 -0400)]
Wait for entity if it doesn't exist yet
Tim Van Steenburgh [Tue, 18 Oct 2016 20:11:11 +0000 (16:11 -0400)]
Fix copy-paste bug
Tim Van Steenburgh [Tue, 18 Oct 2016 14:13:46 +0000 (10:13 -0400)]
Move set_annotations to Application, Machine
Tim Van Steenburgh [Tue, 18 Oct 2016 13:37:26 +0000 (09:37 -0400)]
Move add_unit logic into Application
Tim Van Steenburgh [Tue, 18 Oct 2016 12:14:39 +0000 (08:14 -0400)]
Move expose() logic to Application
Tim Van Steenburgh [Tue, 18 Oct 2016 11:57:44 +0000 (07:57 -0400)]
Move add_relation logic from BundleHandler up into Model
Tim Van Steenburgh [Mon, 17 Oct 2016 22:39:45 +0000 (18:39 -0400)]
Add predicate support for observers and Model._wait_for_new()
Cory Johns [Mon, 17 Oct 2016 17:56:54 +0000 (13:56 -0400)]
Fix URL for theblues req
Tim Van Steenburgh [Mon, 17 Oct 2016 17:41:52 +0000 (13:41 -0400)]
Add ModelEntity callbacks and async return values.
- Change callbacks can now be registered directly on ModelEntity
objects.
- Coroutines that create new objects in the model can (and should)
now return the new ModelEntity by using Model._wait_for_new(). Only
implemented for app = Model.deploy() so far but should be easy to
add for others.
Cory Johns [Fri, 14 Oct 2016 20:07:17 +0000 (16:07 -0400)]
Added temporary requirements.txt to point to theblues fork
Cory Johns [Fri, 14 Oct 2016 00:23:56 +0000 (20:23 -0400)]
Add support for deploying bundles
Tim Van Steenburgh [Fri, 14 Oct 2016 16:15:26 +0000 (12:15 -0400)]
Refactor model state management.
Maintain entity state history in the model, not in the entities.
Add methods for navigating an entity's history.
Tim Van Steenburgh [Fri, 7 Oct 2016 16:52:53 +0000 (12:52 -0400)]
Minor cleanups. Added todo list of next work.
Tim Van Steenburgh [Fri, 7 Oct 2016 16:40:37 +0000 (12:40 -0400)]
Fix unitrun example
Tim Van Steenburgh [Fri, 7 Oct 2016 16:11:06 +0000 (12:11 -0400)]
Fix livemodel example
Tim Van Steenburgh [Fri, 7 Oct 2016 16:02:50 +0000 (12:02 -0400)]
Fix the deploy example
Tim Van Steenburgh [Wed, 14 Sep 2016 00:21:26 +0000 (20:21 -0400)]
Make observers async; make model.reset() blocking
Tim Van Steenburgh [Sat, 10 Sep 2016 03:43:53 +0000 (23:43 -0400)]
Add relate example
Tim Van Steenburgh [Thu, 8 Sep 2016 23:04:27 +0000 (19:04 -0400)]
Clean up deploy example
Tim Van Steenburgh [Thu, 8 Sep 2016 20:40:35 +0000 (16:40 -0400)]
Deploy/destroy example
Tim Van Steenburgh [Thu, 1 Sep 2016 15:43:05 +0000 (11:43 -0400)]
Fixes for latest juju-2 beta
Tim Van Steenburgh [Fri, 15 Jul 2016 15:07:54 +0000 (11:07 -0400)]
Get everything working on juju-2.0beta11
Tim Van Steenburgh [Fri, 1 Jul 2016 20:33:56 +0000 (16:33 -0400)]
Update readme
Tim Van Steenburgh [Sat, 25 Jun 2016 01:03:26 +0000 (21:03 -0400)]
Hook up Unit.run() to api
Tim Van Steenburgh [Fri, 24 Jun 2016 21:38:02 +0000 (17:38 -0400)]
Async model updates
Tim Van Steenburgh [Fri, 10 Jun 2016 02:25:03 +0000 (22:25 -0400)]
FullStatus example
Tim Van Steenburgh [Thu, 9 Jun 2016 18:08:52 +0000 (14:08 -0400)]
Working async AllWatcher example
Tim Van Steenburgh [Wed, 8 Jun 2016 14:37:35 +0000 (10:37 -0400)]
Don't create objects for None params
Tim Van Steenburgh [Wed, 8 Jun 2016 14:04:54 +0000 (10:04 -0400)]
Deserialize api results back to Types
Tim Van Steenburgh [Wed, 25 May 2016 00:22:59 +0000 (20:22 -0400)]
fix test name
Tim Van Steenburgh [Tue, 24 May 2016 14:59:53 +0000 (10:59 -0400)]
add simple (currently failing) client test
Tim Van Steenburgh [Mon, 23 May 2016 21:09:16 +0000 (17:09 -0400)]
actually add tests/
Tim Van Steenburgh [Mon, 23 May 2016 20:36:01 +0000 (16:36 -0400)]
connection test
Tim Van Steenburgh [Mon, 23 May 2016 15:37:10 +0000 (11:37 -0400)]
Add client code from bcsaller
Tim Van Steenburgh [Thu, 19 May 2016 15:56:06 +0000 (11:56 -0400)]
doc skeleton
Tim Van Steenburgh [Thu, 19 May 2016 15:07:13 +0000 (11:07 -0400)]
Update readme
Tim Van Steenburgh [Thu, 19 May 2016 14:48:06 +0000 (10:48 -0400)]
Remainder of params/docstrings
Tim Van Steenburgh [Thu, 19 May 2016 02:05:21 +0000 (22:05 -0400)]
More work on params, docstrings
Tim Van Steenburgh [Wed, 18 May 2016 21:44:58 +0000 (17:44 -0400)]
Filling in params, docstrings (wip)
Tim Van Steenburgh [Wed, 18 May 2016 00:05:32 +0000 (20:05 -0400)]
Square one.
A simple usage example in the readme, more needed.
The beginnings of the OO interface are here, though it isn't complete.