vayacondios-server 0.2.5 → 0.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/.gitignore
CHANGED
data/lib/vayacondios/version.rb
CHANGED
data/pom.xml
CHANGED
@@ -4,84 +4,17 @@
|
|
4
4
|
<groupId>com.infochimps</groupId>
|
5
5
|
<artifactId>vayacondios</artifactId>
|
6
6
|
<packaging>jar</packaging>
|
7
|
-
|
7
|
+
<!-- ICSVERS --><version>1.6.2-SNAPSHOT</version>
|
8
8
|
<name>java-common</name>
|
9
9
|
<url>http://maven.apache.org</url>
|
10
10
|
|
11
11
|
<parent>
|
12
12
|
<groupId>com.infochimps</groupId>
|
13
13
|
<artifactId>parent-pom</artifactId>
|
14
|
-
|
14
|
+
<!-- ICSVERS --><version>1.6.2-SNAPSHOT</version>
|
15
|
+
<relativePath></relativePath>
|
15
16
|
</parent>
|
16
17
|
|
17
|
-
<properties>
|
18
|
-
<test.logLevel>info</test.logLevel>
|
19
|
-
</properties>
|
20
|
-
|
21
|
-
<reporting>
|
22
|
-
<plugins>
|
23
|
-
<plugin>
|
24
|
-
<groupId>org.apache.maven.plugins</groupId>
|
25
|
-
<artifactId>maven-javadoc-plugin</artifactId>
|
26
|
-
<version>2.9</version>
|
27
|
-
<configuration>
|
28
|
-
<show>public</show>
|
29
|
-
</configuration>
|
30
|
-
</plugin>
|
31
|
-
</plugins>
|
32
|
-
</reporting>
|
33
|
-
|
34
|
-
<build>
|
35
|
-
<plugins>
|
36
|
-
<plugin>
|
37
|
-
<groupId>org.apache.maven.plugins</groupId>
|
38
|
-
<artifactId>maven-shade-plugin</artifactId>
|
39
|
-
<version>2.0</version>
|
40
|
-
<executions>
|
41
|
-
<execution>
|
42
|
-
<phase>package</phase>
|
43
|
-
<goals>
|
44
|
-
<goal>shade</goal>
|
45
|
-
</goals>
|
46
|
-
<configuration>
|
47
|
-
<transformers>
|
48
|
-
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
|
49
|
-
<mainClass>com.infochimps.vayacondios.VCDIntegrationTest</mainClass>
|
50
|
-
</transformer>
|
51
|
-
</transformers>
|
52
|
-
</configuration>
|
53
|
-
</execution>
|
54
|
-
</executions>
|
55
|
-
</plugin>
|
56
|
-
<plugin>
|
57
|
-
<groupId>org.codehaus.mojo</groupId>
|
58
|
-
<artifactId>exec-maven-plugin</artifactId>
|
59
|
-
<version>1.2.1</version>
|
60
|
-
<configuration>
|
61
|
-
<executable>java</executable>
|
62
|
-
<arguments>
|
63
|
-
<argument>-cp</argument>
|
64
|
-
<classpath/>
|
65
|
-
<argument>-Dlog4j.debug</argument>
|
66
|
-
<argument>-Dlog4j.configuration=file://${project.basedir}/config/log4j.properties</argument>
|
67
|
-
<argument>-jar</argument>
|
68
|
-
<argument>target/${project.artifactId}-${project.version}.jar</argument>
|
69
|
-
</arguments>
|
70
|
-
</configuration>
|
71
|
-
</plugin>
|
72
|
-
<plugin>
|
73
|
-
<groupId>org.apache.maven.plugins</groupId>
|
74
|
-
<artifactId>maven-surefire-plugin</artifactId>
|
75
|
-
<version>2.14.1</version>
|
76
|
-
<configuration>
|
77
|
-
<systemPropertyVariables>
|
78
|
-
<org.slf4j.simpleLogger.defaultLogLevel>${test.logLevel}</org.slf4j.simpleLogger.defaultLogLevel>
|
79
|
-
</systemPropertyVariables>
|
80
|
-
</configuration>
|
81
|
-
</plugin>
|
82
|
-
</plugins>
|
83
|
-
</build>
|
84
|
-
|
85
18
|
<repositories>
|
86
19
|
<!-- Infochimps Repositories -->
|
87
20
|
<repository>
|
@@ -111,21 +44,5 @@
|
|
111
44
|
<artifactId>commons-codec</artifactId>
|
112
45
|
<version>1.2</version>
|
113
46
|
</dependency>
|
114
|
-
<dependency>
|
115
|
-
<groupId>org.slf4j</groupId>
|
116
|
-
<artifactId>slf4j-api</artifactId>
|
117
|
-
<version>1.7.5</version>
|
118
|
-
</dependency>
|
119
|
-
<dependency>
|
120
|
-
<groupId>org.slf4j</groupId>
|
121
|
-
<artifactId>slf4j-log4j12</artifactId>
|
122
|
-
<version>1.7.5</version>
|
123
|
-
</dependency>
|
124
|
-
<dependency>
|
125
|
-
<groupId>junit</groupId>
|
126
|
-
<artifactId>junit</artifactId>
|
127
|
-
<version>4.10</version>
|
128
|
-
<scope>test</scope>
|
129
|
-
</dependency>
|
130
47
|
</dependencies>
|
131
48
|
</project>
|
@@ -143,9 +143,9 @@ public class HttpHelper {
|
|
143
143
|
new BufferedReader(
|
144
144
|
new InputStreamReader(getStream(con, log), inputCharset));
|
145
145
|
|
146
|
-
log.
|
147
|
-
|
148
|
-
|
146
|
+
log.debug("successfully opened connection to {} with character encoding {}",
|
147
|
+
con.getURL().toString(),
|
148
|
+
inputCharset);
|
149
149
|
|
150
150
|
return reader;
|
151
151
|
}
|
@@ -22,9 +22,13 @@ public class VCDIntegrationTest {
|
|
22
22
|
private static final Logger LOG = getLogger();
|
23
23
|
|
24
24
|
public static void setUp() {
|
25
|
-
|
25
|
+
// This will default to false when the property is null, which is
|
26
|
+
// what we happen to want.
|
27
|
+
boolean legacyMode =
|
28
|
+
Boolean.valueOf(System.getProperty("vayacondios.legacy"));
|
29
|
+
LOG.info("Using Vayacondios {} mode", legacyMode ? "legacy" : "standard");
|
30
|
+
StandardVCDLink.forceLegacy(legacyMode);
|
26
31
|
}
|
27
|
-
|
28
32
|
private static ItemSets itemSets() {
|
29
33
|
return new VayacondiosClient("localhost", VCD_PORT).
|
30
34
|
organization("org").
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vayacondios-server
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.6
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -12,7 +12,7 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
|
-
date: 2013-
|
15
|
+
date: 2013-07-19 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: configliere
|
@@ -279,7 +279,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
279
279
|
version: '0'
|
280
280
|
segments:
|
281
281
|
- 0
|
282
|
-
hash:
|
282
|
+
hash: 2406222611066502190
|
283
283
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
284
284
|
none: false
|
285
285
|
requirements:
|
@@ -288,7 +288,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
288
288
|
version: '0'
|
289
289
|
segments:
|
290
290
|
- 0
|
291
|
-
hash:
|
291
|
+
hash: 2406222611066502190
|
292
292
|
requirements: []
|
293
293
|
rubyforge_project:
|
294
294
|
rubygems_version: 1.8.25
|