You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by bd...@apache.org on 2013/08/06 08:47:17 UTC
svn commit: r1510868 - in
/sling/branches/SLING-2987-healthcheck-redesign/sling-demo: ./
src/main/java/ src/main/resources/SLING-CONTENT/apps/hc/
src/main/resources/SLING-CONTENT/apps/hc/demo/
src/main/resources/SLING-CONTENT/apps/hc/install/
Author: bdelacretaz
Date: Tue Aug 6 06:47:16 2013
New Revision: 1510868
URL: http://svn.apache.org/r1510868
Log:
SLING-2987 - remove old demo content
Added:
sling/branches/SLING-2987-healthcheck-redesign/sling-demo/src/main/resources/SLING-CONTENT/apps/hc/install/org.apache.sling.hc.impl.JmxAttributeHealthCheck-1.json
- copied, changed from r1510683, sling/branches/SLING-2987-healthcheck-redesign/sling-demo/src/main/resources/SLING-CONTENT/apps/hc/install/org.apache.sling.hc.sling.impl.RulesMBeans-1.json
Removed:
sling/branches/SLING-2987-healthcheck-redesign/sling-demo/src/main/java/
sling/branches/SLING-2987-healthcheck-redesign/sling-demo/src/main/resources/SLING-CONTENT/apps/hc/demo/
sling/branches/SLING-2987-healthcheck-redesign/sling-demo/src/main/resources/SLING-CONTENT/apps/hc/demo.json
sling/branches/SLING-2987-healthcheck-redesign/sling-demo/src/main/resources/SLING-CONTENT/apps/hc/install/org.apache.sling.hc.sling.impl.RulesMBeans-1.json
Modified:
sling/branches/SLING-2987-healthcheck-redesign/sling-demo/pom.xml
Modified: sling/branches/SLING-2987-healthcheck-redesign/sling-demo/pom.xml
URL: http://svn.apache.org/viewvc/sling/branches/SLING-2987-healthcheck-redesign/sling-demo/pom.xml?rev=1510868&r1=1510867&r2=1510868&view=diff
==============================================================================
--- sling/branches/SLING-2987-healthcheck-redesign/sling-demo/pom.xml (original)
+++ sling/branches/SLING-2987-healthcheck-redesign/sling-demo/pom.xml Tue Aug 6 06:47:16 2013
@@ -22,7 +22,7 @@
<inceptionYear>2013</inceptionYear>
<description>
- Sling demo content and tests for Sling Health Check
+ Sling demo content for Sling Health Check
</description>
<build>
@@ -33,59 +33,10 @@
<extensions>true</extensions>
<configuration>
<instructions>
- <Sling-Initial-Content>SLING-CONTENT</Sling-Initial-Content>
- <Import-Package>
- org.junit.*;resolution:=optional,
- org.apache.sling.junit.*;resolution:=optional,
- *
- </Import-Package>
- <Private-Package>
- org.apache.sling.hc.sling.demo.*
- </Private-Package>
- <Sling-Test-Regexp>.*Test</Sling-Test-Regexp>
+ <Sling-Initial-Content>SLING-CONTENT;overwrite:=true</Sling-Initial-Content>
</instructions>
</configuration>
</plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <configuration>
- <source>1.6</source>
- <target>1.6</target>
- </configuration>
- </plugin>
</plugins>
</build>
-
- <dependencies>
- <dependency>
- <groupId>org.apache.sling</groupId>
- <artifactId>org.apache.sling.api</artifactId>
- <version>2.0.6</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.sling</groupId>
- <artifactId>org.apache.sling.jcr.api</artifactId>
- <version>2.0.4</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.sling</groupId>
- <artifactId>org.apache.sling.junit.core</artifactId>
- <version>1.0.6</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>javax.jcr</groupId>
- <artifactId>jcr</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>4.8.1</version>
- <scope>provided</scope>
- </dependency>
- </dependencies>
</project>
Copied: sling/branches/SLING-2987-healthcheck-redesign/sling-demo/src/main/resources/SLING-CONTENT/apps/hc/install/org.apache.sling.hc.impl.JmxAttributeHealthCheck-1.json (from r1510683, sling/branches/SLING-2987-healthcheck-redesign/sling-demo/src/main/resources/SLING-CONTENT/apps/hc/install/org.apache.sling.hc.sling.impl.RulesMBeans-1.json)
URL: http://svn.apache.org/viewvc/sling/branches/SLING-2987-healthcheck-redesign/sling-demo/src/main/resources/SLING-CONTENT/apps/hc/install/org.apache.sling.hc.impl.JmxAttributeHealthCheck-1.json?p2=sling/branches/SLING-2987-healthcheck-redesign/sling-demo/src/main/resources/SLING-CONTENT/apps/hc/install/org.apache.sling.hc.impl.JmxAttributeHealthCheck-1.json&p1=sling/branches/SLING-2987-healthcheck-redesign/sling-demo/src/main/resources/SLING-CONTENT/apps/hc/install/org.apache.sling.hc.sling.impl.RulesMBeans-1.json&r1=1510683&r2=1510868&rev=1510868&view=diff
==============================================================================
--- sling/branches/SLING-2987-healthcheck-redesign/sling-demo/src/main/resources/SLING-CONTENT/apps/hc/install/org.apache.sling.hc.sling.impl.RulesMBeans-1.json (original)
+++ sling/branches/SLING-2987-healthcheck-redesign/sling-demo/src/main/resources/SLING-CONTENT/apps/hc/install/org.apache.sling.hc.impl.JmxAttributeHealthCheck-1.json Tue Aug 6 06:47:16 2013
@@ -1,5 +1,8 @@
{
"jcr:primaryType" : "sling:OsgiConfig",
- "rules.path" : "/apps/hc/demo",
- "jcr:description" : "This configuration causes Rules MBeans to be created for rules found under the specified rules.path"
+ "mbean.name" : "java.lang:type=ClassLoading",
+ "attribute.name" : "LoadedClassCount",
+ "attribute.value.constraint" : "between 5000 and 50000",
+ "hc.name" : "JMX class loading example",
+ "hc.tags" : [jvm, classloading]
}