You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brooklyn.apache.org by GitBox <gi...@apache.org> on 2021/07/14 12:45:06 UTC

[GitHub] [brooklyn-dist] tbouron opened a new pull request #174: Add support setup default initializers for all deployment

tbouron opened a new pull request #174:
URL: https://github.com/apache/brooklyn-dist/pull/174


   This looks up a new configuration options called `brooklyn.deployment.initializers` (comma separated list). If specified on a Brooklyn instance, all deployments will load and execute these initializers. Theses classes are expected to be `EntityInitializer`, if an error occur (either cast or anything else) then the deployment will fail.
   
   The code will try to:
   1. load the class from the default class loader.
   2. if (1) fails, it will try to load the class from the `TypeRegistry`. This is to allow execution of custom initializers that might be installed in the catalog later on.
   3. if (1) and (2) fails, then the deployment is aborted.
   
   This PR adds the configuration to allow the above, which is done by https://github.com/apache/brooklyn-server/pull/1200


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@brooklyn.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [brooklyn-dist] asfgit closed pull request #174: Add support setup default initializers for all deployment

Posted by GitBox <gi...@apache.org>.
asfgit closed pull request #174:
URL: https://github.com/apache/brooklyn-dist/pull/174


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@brooklyn.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [brooklyn-dist] ahgittin commented on pull request #174: Add support setup default initializers for all deployment

Posted by GitBox <gi...@apache.org>.
ahgittin commented on pull request #174:
URL: https://github.com/apache/brooklyn-dist/pull/174#issuecomment-880516582


   nice to have this in - esp with https://github.com/apache/brooklyn-ui/pull/248.  merged.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@brooklyn.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [brooklyn-dist] ahgittin commented on pull request #174: Add support setup default initializers for all deployment

Posted by GitBox <gi...@apache.org>.
ahgittin commented on pull request #174:
URL: https://github.com/apache/brooklyn-dist/pull/174#issuecomment-879936206


   LGTM


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@brooklyn.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org