nacx wants to merge 1 commit into jclouds:master from nacx:chef-context:

Refactored the Chef integration to get rid of the old `ChefContext` and use the 
`ApiContext<ChefApi>`. Instead of injecting the `ChefService` everywhere, it is 
more correct to inject directly the context that provides access to both the 
`ChefApi` and the `ChefService`.

Verified by running the CLI and creating different Chef services. Both can be 
individually referenced and commands can be run on each, so looks like all the 
caching stuff and everything is working as expected.

/cc @iocanel @ccustine 
You can view, comment on, or merge this pull request online at:

  https://github.com/jclouds/jclouds-karaf/pull/65

-- Commit Summary --

  * Removed the uses of the old ChefContext

-- File Changes --

    M cache/src/main/java/org/jclouds/karaf/cache/utils/CacheUtils.java (24)
    M chef/cache/src/main/java/org/jclouds/karaf/chef/cache/Activator.java (10)
    M 
chef/commands/src/main/java/org/jclouds/karaf/chef/commands/ChefCommandBase.java
 (31)
    M 
chef/commands/src/main/java/org/jclouds/karaf/chef/commands/ChefCommandWithOptions.java
 (17)
    M 
chef/commands/src/main/java/org/jclouds/karaf/chef/commands/ChefCookbookListCommand.java
 (7)
    M 
chef/commands/src/main/java/org/jclouds/karaf/chef/commands/ChefGroupBootStrap.java
 (2)
    M 
chef/commands/src/main/java/org/jclouds/karaf/chef/commands/ChefNodeBootstrap.java
 (2)
    M 
chef/commands/src/main/java/org/jclouds/karaf/chef/commands/ChefRunscriptBase.java
 (15)
    M 
chef/commands/src/main/java/org/jclouds/karaf/chef/commands/ChefServiceCreateCommand.java
 (13)
    M 
chef/commands/src/main/java/org/jclouds/karaf/chef/commands/ChefServiceListCommand.java
 (6)
    M 
chef/commands/src/main/java/org/jclouds/karaf/chef/commands/completer/ChefApiCompleter.java
 (24)
    M 
chef/commands/src/main/java/org/jclouds/karaf/chef/commands/completer/ChefCompleterSupport.java
 (9)
    M 
chef/commands/src/main/java/org/jclouds/karaf/chef/commands/completer/ChefContextNameCompleter.java
 (17)
    M 
chef/commands/src/main/java/org/jclouds/karaf/chef/commands/completer/CookbookCompleter.java
 (8)
    M 
chef/commands/src/main/resources/OSGI-INF/blueprint/jclouds-chef-commands.xml 
(2)
    M chef/core/src/main/java/org/jclouds/karaf/chef/core/ChefHelper.java (82)
    M chef/services/pom.xml (2)
    M 
chef/services/src/main/java/org/jclouds/karaf/chef/services/Activator.java (20)
    M 
chef/services/src/main/java/org/jclouds/karaf/chef/services/ChefRecipeProvider.java
 (9)
    M 
chef/services/src/main/java/org/jclouds/karaf/chef/services/ChefServiceFactory.java
 (25)
    M 
chef/services/src/main/java/org/jclouds/karaf/chef/services/EnvBasedChefRecipeProvider.java
 (6)

-- Patch Links --

https://github.com/jclouds/jclouds-karaf/pull/65.patch
https://github.com/jclouds/jclouds-karaf/pull/65.diff

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-karaf/pull/65

Reply via email to