karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrei Pozolotin (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (KARAF-1735) features autostart
Date Thu, 16 Aug 2012 13:01:38 GMT

    [ https://issues.apache.org/jira/browse/KARAF-1735?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13435939#comment-13435939
] 

Andrei Pozolotin edited comment on KARAF-1735 at 8/17/12 12:01 AM:
-------------------------------------------------------------------

here is an attempt to summarize all ideas from the mail list conversation

{code:title=SUMMARY OF IDEAS|borderStyle=solid}

have an 'autostart' attribute or property or both?
* <feature name="myfeature" version="1.0-SNAPSHOT" autostart="true"></feature>

* etc/org.apache.karaf.features.cfg / features.autostart=true / global policy
* etc/org.apache.karaf.features.cfg / autostartFeatures="A, B, C"
* install="auto" or install="manual"
* use 'start' attribute on <feature> in features.xml since 3.0.0

what are possible user actions?
* features:addurl -> karaf console
* drop archive.kar -> deploy folder
* drop features.xml -> deploy folder

what is expected karaf result?
* install all/some features
* start all/some bundles
* transitive?

should have same/unified behaviour?
* features:addurl
* features:install
* drop archive.kar
* drop features.xml
 
should have a blacklist?
* etc/org.apache.karaf.features.cfg / features.blacklist
* use ldap filter &(!name=camel-core)(name=camel-*) 

how about behavior concerns?
* opt-in vs opt-out
* autostart is true-vs-false by default
* 'features:addurl' means 'add url' not "start anything"
* autostart is dangerous/wrong for camel-like things

should logic be super-duper?
* use complex property logic: autostart="${java.version}=7"
* use complex feature.xml trigger <trigger phase="post"> if (${java.version})=7 ;feature:install
xx/yy ; echo "Features Installed" </trigger> 

should delegate logic to the deploy folder?
* special config for fileinstall deploy folder
* deploy folder config determins the default for autostart

have command line option - 'add and start'?
* features:addUrl -s
* features:addUrl -s (ldap filter) 
* features:install with regexp

{code}
                
      was (Author: andrei.pozolotin):
    here is an attempt to summarize all ideas from the mail list conversation

{code:title=SUMMARY OF IDEAS|borderStyle=solid}

have an 'autostart' attribute or property or both?
* <feature name="myfeature" version="1.0-SNAPSHOT" autostart="true"></feature>

* etc/org.apache.karaf.features.cfg / features.autostart=true / global policy
* etc/org.apache.karaf.features.cfg / autostartFeatures="A, B, C"
* install="auto" or install="manual"
* use 'start' attribute in features.xml since 3.0.0

what are possible user actions?
* features:addurl -> karaf console
* drop archive.kar -> deploy folder
* drop features.xml -> deploy folder

what is expected karaf result?
* install all/some features
* start all/some bundles
* transitive?

should have same/unified behaviour?
* features:addurl
* features:install
* drop archive.kar
* drop features.xml
 
should have a blacklist?
* etc/org.apache.karaf.features.cfg / features.blacklist
* use ldap filter &(!name=camel-core)(name=camel-*) 

how about behavior concerns?
* opt-in vs opt-out
* autostart is true-vs-false by default
* 'features:addurl' means 'add url' not "start anything"
* autostart is dangerous/wrong for camel-like things

should logic be super-duper?
* use complex property logic: autostart="${java.version}=7"
* use complex feature.xml trigger <trigger phase="post"> if (${java.version})=7 ;feature:install
xx/yy ; echo "Features Installed" </trigger> 

should delegate logic to the deploy folder?
* special config for fileinstall deploy folder
* deploy folder config determins the default for autostart

have command line option - 'add and start'?
* features:addUrl -s
* features:addUrl -s (ldap filter) 
* features:install with regexp

{code}
                  
> features autostart
> ------------------
>
>                 Key: KARAF-1735
>                 URL: https://issues.apache.org/jira/browse/KARAF-1735
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-feature
>    Affects Versions: 3.0.0
>            Reporter: Andrei Pozolotin
>
> [original conversation : 'features autostart attribute' | http://karaf.922171.n3.nabble.com/PROPOSAL-Features-autostart-attribute-tc2992236.html#none]

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message