View datasource.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- | |
Licensed to the Austrian Association for Software Tool Integration (AASTI) | |
under one or more contributor license agreements. See the NOTICE file | |
distributed with this work for additional information regarding copyright | |
ownership. The AASTI licenses this file to you under the Apache License, | |
Version 2.0 (the "License"); you may not use this file except in compliance | |
with the License. You may obtain a copy of the License at |
View MapMatcher.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.hamcrest.Description; | |
import org.mockito.ArgumentMatcher; | |
import java.util.HashMap; | |
import java.util.Map; | |
import java.util.Map.Entry; | |
public class MapMatcher extends ArgumentMatcher<Map> { |
View timer.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Counter failCounter = new Counter(); | |
Counter successCounter = new Counter(); | |
Timer timer = new Timer(); | |
@Override | |
public Y transform(X x) { | |
Timer.Context time = timer.time(); | |
try { | |
Y transform = delegate.transform(x); |
View main.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<component xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/component/1.1.2" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation=" | |
http://maven.apache.org/plugins/maven-assembly-plugin/component/1.1.2 | |
http://maven.apache.org/xsd/component-1.1.2.xsd | |
"> | |
<fileSets> | |
<!-- Copy over everything that needs to get unix line endings --> | |
<fileSet> |
View jquery.http.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function _ajax_request(url, data, callback, type, method) { | |
if (jQuery.isFunction(data)) { | |
callback = data; | |
data = {}; | |
} | |
return jQuery.ajax({ | |
type: "POST", | |
url: url, | |
data: data, |
View gist:1134931
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21:21:10,468 | ERROR | qtp893036286-68 | Objects | 219 - org.ops4j.pax.wicket.pax-wicket-service - 0.7.2 | Error serializing object class org.apache.karaf.webconsole.core.DashboardPage [object=[Page class = org.apache.karaf.webconsole.core.DashboardPage, id = 0, version = 0]] | |
org.apache.wicket.util.io.SerializableChecker$WicketNotSerializableException: Unable to serialize class: org.apache.felix.framework.BundleContextImpl | |
Field hierarchy is: | |
0 [class=org.apache.karaf.webconsole.core.DashboardPage, path=0] | |
private java.lang.Object org.apache.wicket.MarkupContainer.children [class=[Ljava.lang.Object;] | |
java.lang.Object org.apache.wicket.Component.data[1] [class=org.apache.karaf.webconsole.core.BasePage$1, path=0:tabs] | |
java.lang.Object org.apache.wicket.Component.data [class=org.apache.wicket.model.util.WildcardListModel] | |
private java.lang.Object org.apache.wicket.model.util.GenericBaseModel.object [class=org.ops4j.pax.wicket.util.proxy.$Proxy87] | |
View Fetch.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.code_house.webconsole.monitor.jmx; | |
import org.joda.time.DateTime; | |
import org.rrd4j.ConsolFun; | |
import org.rrd4j.core.FetchData; | |
import org.rrd4j.core.FetchRequest; | |
import org.rrd4j.core.RrdDb; | |
import org.rrd4j.core.Util; | |
public class Fetch { |
View gist:1448327
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-javadoc-plugin</artifactId> | |
<version>${code-house.plugin.javadoc.version}</version> | |
<configuration> | |
<stylesheetfile>javadoc-${division}.css</stylesheetfile> | |
<docencoding>${project.build.sourceEncoding}</docencoding> | |
<doclet>org.umlgraph.doclet.UmlGraphDoc</doclet> | |
<docletArtifact> | |
<groupId>org.umlgraph</groupId> |
View datasource.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation=" | |
http://www.osgi.org/xmlns/blueprint/v1.0.0 | |
http://www.osgi.org/xmlns/blueprint/v1.0.0 | |
http://camel.apache.org/schema/blueprint | |
http://camel.apache.org/schema/blueprint/camel-blueprint.xsd | |
"> |
View atomikos.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation=" | |
http://www.osgi.org/xmlns/blueprint/v1.0.0 | |
http://www.osgi.org/xmlns/blueprint/v1.0.0 | |
http://camel.apache.org/schema/blueprint | |
http://camel.apache.org/schema/blueprint/camel-blueprint.xsd | |
"> |
OlderNewer