• New Feature
  • Status: Closed
  • 2 Major
  • Resolution: Fixed
  • Integration Modules
  • asingh
  • Reporter: teck
  • January 14, 2009
  • 0
  • Watchers: 2
  • April 10, 2009
  • February 05, 2009

Description

An example of an “internal’ TIM is something like “tim-ehcache-commons”. It is certainly needed by the various tim-ehcache TIMs, but it is not something a user should care about, see or list explicitly in their tc-config.xml.

This item is to add some way to mark TIMs as “internal”. This flag will be used by tim-get.sh to either completely remove it from commands like “list”, or at least to decorate it differently somehow to indicate it’s type.

When the session code is moved to the forge there will be lots more of these “internal” TIMs in existence

Comments

Taylor Gautier 2009-01-15

1) internal flag or attribute internal: true

2) tim-get.sh list by default won’t show internal tims

3) need to add an option to tim-get.sh list to list all

Alex Miller 2009-01-21

Abhishek, this will involve adding a new property that our tc-maven-plugin understands, similar to the existing terracottaProjectStatus element (example from tim-quartz below). I would recommend that we name the tag something like “terracottaInteralTim”. The ManifestMojo in tc-maven-plugin should pick up this element and write it’s value into the TIM jar manifest.

The forge publisher (or whatever process does this) needs to build the data files describing tims in the forge to add the information from the TIM jar manifest (again, just like terracottaProjectStatus). You should talk to Jason about the details of this part as I don’t know them.

Finally, the tim-get.sh tool needs to read this data file and change it’s behavior by skipping tims that have this flag set to true. We also need to add a new option on the “list” command to *not* hide an internal tim.

You can test with tim-ehcache-commons as a useful example of an internal tim. Let me know if you have any questions…

org.terracotta.maven.plugins tc-maven-plugin org.terracotta.modules.quartz_1_6_1.QuartzTerracottaConfigurator org.terracotta.modules.configuration Certified

Abhishek Singh 2009-02-05

Added new config in tc-maven terracottaInternalTIM TIM’s marked true won’t be displayed by default by “tim-get list” e.g. Usage:

org.terracotta.maven.plugins tc-maven-plugin org.terracotta.modules.quartz_1_6_1.QuartzTerracottaConfigurator org.terracotta.modules.configuration Certified true </build Added "-a" "-all" option in "tim-get list" to show all integration modules </div> {:.comment-heading} ### **Himadri Singh** 2009-03-27

internal tims are included in tim-get.sh -a / –all

Internal tims are

(+) clustered-surefire-2.3 3.0.0-SNAPSHOT (+) excludes-config 3.0.0-SNAPSHOT (+) guimodels-config 3.0.0-SNAPSHOT (+) jdk15-preinst-config 3.0.0-SNAPSHOT (+) modules-base 1.0.0-SNAPSHOT (+) spring-config 3.0.0-SNAPSHOT (+) standard-config 3.0.0-SNAPSHOT (-) tim-ehcache-commons 1.3.0-SNAPSHOT (-) tim-glassfish-common 1.0.0-SNAPSHOT (-) tim-jboss-3.2 1.0.0-SNAPSHOT (-) tim-jboss-common 1.0.0-SNAPSHOT (+) tim-session-common 1.0.0-SNAPSHOT (-) tim-session-system-tests 1.0.0-SNAPSHOT (+) tim-tomcat-common 1.0.0-SNAPSHOT (-) tim-weblogic-common 1.0.0-SNAPSHOT

bash-3.2$ ./tim-get.sh list Terracotta Enterprise 3.0.0-stable1, as of 20090318-130357 (Revision 3755-12200 by cruise@su10mo5 from 3.0)

*** Terracotta Integration Modules for TC 3.0.0-SNAPSHOT ***

(-) tim-annotations 1.3.0-SNAPSHOT (-) tim-apache-collections-3.1 1.0.0-SNAPSHOT (+) tim-apache-struts-1.1 1.3.0-SNAPSHOT (-) tim-async-processing 1.1.0-SNAPSHOT (-) tim-cglib-2.1.3 1.3.0-SNAPSHOT (+) tim-concurrent-collections 1.1.0-SNAPSHOT (-) tim-ehcache-1.3 1.3.0-SNAPSHOT (-) tim-ehcache-1.4.1 1.3.0-SNAPSHOT (-) tim-glassfish-v1 1.0.0-SNAPSHOT (-) tim-glassfish-v2 1.0.0-SNAPSHOT (-) tim-guice-1.0 1.1.0-SNAPSHOT (-) tim-hashtable 2.4.0-SNAPSHOT (-) tim-hibernate-3.2.5 1.3.0-SNAPSHOT (-) tim-ibatis-2.2.0 1.2.0-SNAPSHOT (-) tim-jboss-4.0 1.0.0-SNAPSHOT (-) tim-jboss-4.2 1.0.0-SNAPSHOT (+) tim-jetty-6.1 1.2.0-SNAPSHOT (-) tim-map-evictor 1.1.0-SNAPSHOT (-) tim-masterworker 1.4.0-SNAPSHOT (-) tim-pipes 1.4.0-SNAPSHOT (-) tim-quartz-1.5.1 1.1.0-SNAPSHOT (-) tim-quartz-1.6.1 1.1.0-SNAPSHOT (-) tim-richfaces 1.1.0-SNAPSHOT (+) tim-rife-1.6.0 1.2.0-SNAPSHOT (-) tim-spring-security-2.0 1.1.0-SNAPSHOT (-) tim-spring-webflow 1.1.0-SNAPSHOT (+) tim-svt 1.1.0-SNAPSHOT (-) tim-synchronizedcollection 2.4.0-SNAPSHOT (-) tim-synchronizedmap 2.4.0-SNAPSHOT (-) tim-synchronizedset 2.4.0-SNAPSHOT (-) tim-synchronizedsortedmap 2.4.0-SNAPSHOT (-) tim-synchronizedsortedset 2.4.0-SNAPSHOT (-) tim-tccache 1.1.0-SNAPSHOT (+) tim-tomcat-5.0 1.0.0-SNAPSHOT (-) tim-tomcat-5.5 1.0.0-SNAPSHOT (-) tim-tomcat-6.0 1.0.0-SNAPSHOT (-) tim-tree-map-cache 1.3.0-SNAPSHOT (-) tim-vector 2.4.0-SNAPSHOT (-) tim-weblogic-10 1.0.0-SNAPSHOT (-) tim-weblogic-9 1.0.0-SNAPSHOT (-) tim-wicket-1.3 1.2.0-SNAPSHOT

(+) Installed (-) Not installed (!) Installed but newer version exists

bash-3.2$ ./tim-get.sh list –all Terracotta Enterprise 3.0.0-stable1, as of 20090318-130357 (Revision 3755-12200 by cruise@su10mo5 from 3.0)

*** Terracotta Integration Modules for TC 3.0.0-SNAPSHOT ***

(+) clustered-surefire-2.3 3.0.0-SNAPSHOT (+) excludes-config 3.0.0-SNAPSHOT (+) guimodels-config 3.0.0-SNAPSHOT (+) jdk15-preinst-config 3.0.0-SNAPSHOT (+) modules-base 1.0.0-SNAPSHOT (+) spring-config 3.0.0-SNAPSHOT (+) standard-config 3.0.0-SNAPSHOT (-) tim-annotations 1.3.0-SNAPSHOT (-) tim-apache-collections-3.1 1.0.0-SNAPSHOT (+) tim-apache-struts-1.1 1.3.0-SNAPSHOT (-) tim-async-processing 1.1.0-SNAPSHOT (-) tim-cglib-2.1.3 1.3.0-SNAPSHOT (+) tim-concurrent-collections 1.1.0-SNAPSHOT (-) tim-ehcache-1.3 1.3.0-SNAPSHOT (-) tim-ehcache-1.4.1 1.3.0-SNAPSHOT (-) tim-ehcache-commons 1.3.0-SNAPSHOT (-) tim-glassfish-common 1.0.0-SNAPSHOT (-) tim-glassfish-v1 1.0.0-SNAPSHOT (-) tim-glassfish-v2 1.0.0-SNAPSHOT (-) tim-guice-1.0 1.1.0-SNAPSHOT (-) tim-hashtable 2.4.0-SNAPSHOT (-) tim-hibernate-3.2.5 1.3.0-SNAPSHOT (-) tim-ibatis-2.2.0 1.2.0-SNAPSHOT (-) tim-jboss-3.2 1.0.0-SNAPSHOT (-) tim-jboss-4.0 1.0.0-SNAPSHOT (-) tim-jboss-4.2 1.0.0-SNAPSHOT (-) tim-jboss-common 1.0.0-SNAPSHOT (+) tim-jetty-6.1 1.2.0-SNAPSHOT (-) tim-map-evictor 1.1.0-SNAPSHOT (-) tim-masterworker 1.4.0-SNAPSHOT (-) tim-pipes 1.4.0-SNAPSHOT (-) tim-quartz-1.5.1 1.1.0-SNAPSHOT (-) tim-quartz-1.6.1 1.1.0-SNAPSHOT (-) tim-richfaces 1.1.0-SNAPSHOT (+) tim-rife-1.6.0 1.2.0-SNAPSHOT (+) tim-session-common 1.0.0-SNAPSHOT (-) tim-session-system-tests 1.0.0-SNAPSHOT (-) tim-spring-security-2.0 1.1.0-SNAPSHOT (-) tim-spring-webflow 1.1.0-SNAPSHOT (+) tim-svt 1.1.0-SNAPSHOT (-) tim-synchronizedcollection 2.4.0-SNAPSHOT (-) tim-synchronizedmap 2.4.0-SNAPSHOT (-) tim-synchronizedset 2.4.0-SNAPSHOT (-) tim-synchronizedsortedmap 2.4.0-SNAPSHOT (-) tim-synchronizedsortedset 2.4.0-SNAPSHOT (-) tim-tccache 1.1.0-SNAPSHOT (+) tim-tomcat-5.0 1.0.0-SNAPSHOT (-) tim-tomcat-5.5 1.0.0-SNAPSHOT (-) tim-tomcat-6.0 1.0.0-SNAPSHOT (+) tim-tomcat-common 1.0.0-SNAPSHOT (-) tim-tree-map-cache 1.3.0-SNAPSHOT (-) tim-vector 2.4.0-SNAPSHOT (-) tim-weblogic-10 1.0.0-SNAPSHOT (-) tim-weblogic-9 1.0.0-SNAPSHOT (-) tim-weblogic-common 1.0.0-SNAPSHOT (-) tim-wicket-1.3 1.2.0-SNAPSHOT

(+) Installed (-) Not installed (!) Installed but newer version exists

bash-3.2$ ./tim-get.sh list -a Terracotta Enterprise 3.0.0-stable1, as of 20090318-130357 (Revision 3755-12200 by cruise@su10mo5 from 3.0)

*** Terracotta Integration Modules for TC 3.0.0-SNAPSHOT ***

(+) clustered-surefire-2.3 3.0.0-SNAPSHOT (+) excludes-config 3.0.0-SNAPSHOT (+) guimodels-config 3.0.0-SNAPSHOT (+) jdk15-preinst-config 3.0.0-SNAPSHOT (+) modules-base 1.0.0-SNAPSHOT (+) spring-config 3.0.0-SNAPSHOT (+) standard-config 3.0.0-SNAPSHOT (-) tim-annotations 1.3.0-SNAPSHOT (-) tim-apache-collections-3.1 1.0.0-SNAPSHOT (+) tim-apache-struts-1.1 1.3.0-SNAPSHOT (-) tim-async-processing 1.1.0-SNAPSHOT (-) tim-cglib-2.1.3 1.3.0-SNAPSHOT (+) tim-concurrent-collections 1.1.0-SNAPSHOT (-) tim-ehcache-1.3 1.3.0-SNAPSHOT (-) tim-ehcache-1.4.1 1.3.0-SNAPSHOT (-) tim-ehcache-commons 1.3.0-SNAPSHOT (-) tim-glassfish-common 1.0.0-SNAPSHOT (-) tim-glassfish-v1 1.0.0-SNAPSHOT (-) tim-glassfish-v2 1.0.0-SNAPSHOT (-) tim-guice-1.0 1.1.0-SNAPSHOT (-) tim-hashtable 2.4.0-SNAPSHOT (-) tim-hibernate-3.2.5 1.3.0-SNAPSHOT (-) tim-ibatis-2.2.0 1.2.0-SNAPSHOT (-) tim-jboss-3.2 1.0.0-SNAPSHOT (-) tim-jboss-4.0 1.0.0-SNAPSHOT (-) tim-jboss-4.2 1.0.0-SNAPSHOT (-) tim-jboss-common 1.0.0-SNAPSHOT (+) tim-jetty-6.1 1.2.0-SNAPSHOT (-) tim-map-evictor 1.1.0-SNAPSHOT (-) tim-masterworker 1.4.0-SNAPSHOT (-) tim-pipes 1.4.0-SNAPSHOT (-) tim-quartz-1.5.1 1.1.0-SNAPSHOT (-) tim-quartz-1.6.1 1.1.0-SNAPSHOT (-) tim-richfaces 1.1.0-SNAPSHOT (+) tim-rife-1.6.0 1.2.0-SNAPSHOT (+) tim-session-common 1.0.0-SNAPSHOT (-) tim-session-system-tests 1.0.0-SNAPSHOT (-) tim-spring-security-2.0 1.1.0-SNAPSHOT (-) tim-spring-webflow 1.1.0-SNAPSHOT (+) tim-svt 1.1.0-SNAPSHOT (-) tim-synchronizedcollection 2.4.0-SNAPSHOT (-) tim-synchronizedmap 2.4.0-SNAPSHOT (-) tim-synchronizedset 2.4.0-SNAPSHOT (-) tim-synchronizedsortedmap 2.4.0-SNAPSHOT (-) tim-synchronizedsortedset 2.4.0-SNAPSHOT (-) tim-tccache 1.1.0-SNAPSHOT (+) tim-tomcat-5.0 1.0.0-SNAPSHOT (-) tim-tomcat-5.5 1.0.0-SNAPSHOT (-) tim-tomcat-6.0 1.0.0-SNAPSHOT (+) tim-tomcat-common 1.0.0-SNAPSHOT (-) tim-tree-map-cache 1.3.0-SNAPSHOT (-) tim-vector 2.4.0-SNAPSHOT (-) tim-weblogic-10 1.0.0-SNAPSHOT (-) tim-weblogic-9 1.0.0-SNAPSHOT (-) tim-weblogic-common 1.0.0-SNAPSHOT (-) tim-wicket-1.3 1.2.0-SNAPSHOT

(+) Installed (-) Not installed (!) Installed but newer version exists