Skip to content

Commit

Permalink
Merge branch 'release-3.0.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
cammoore committed Nov 6, 2014
2 parents 31f7066 + 2ce1216 commit 72e8811
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Procfile
@@ -1 +1 @@
web: java -cp target/wattdepot-3.0.0-RC2.jar -Dwattdepot-server.admin.name=$WATTDEPOT_ADMIN_NAME -Dwattdepot-server.admin.password=$WATTDEPOT_ADMIN_PASSWORD -Dwattdepot-server.db.update=$WATTDEPOT_DB_UPDATE org.wattdepot.server.WattDepotServer
web: java -cp target/wattdepot-3.0.0.jar -Dwattdepot-server.admin.name=$WATTDEPOT_ADMIN_NAME -Dwattdepot-server.admin.password=$WATTDEPOT_ADMIN_PASSWORD -Dwattdepot-server.db.update=$WATTDEPOT_DB_UPDATE org.wattdepot.server.WattDepotServer
2 changes: 1 addition & 1 deletion dependency-reduced-pom.xml
Expand Up @@ -4,7 +4,7 @@
<groupId>org.wattdepot</groupId>
<artifactId>wattdepot</artifactId>
<name>WattDepot</name>
<version>3.0.0-RC1</version>
<version>3.0.0</version>
<description>WattDepot is an open source, RESTful web service that collects electricity data (such as current power utilization or cumulative power utilization) from meters and stores it in a database.</description>
<url>https://github.com/wattdepot/wattdepot/</url>
<prerequisites>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Expand Up @@ -14,7 +14,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.wattdepot</groupId>
<artifactId>wattdepot</artifactId>
<version>3.0.0-RC2</version>
<version>3.0.0</version>
<name>WattDepot</name>
<url>https://github.com/wattdepot/wattdepot/</url>
<packaging>jar</packaging>
Expand Down
Expand Up @@ -1200,7 +1200,6 @@ public void putDepository(Depository depository) {
public void putMeasurementPruningDefinition(MeasurementPruningDefinition gcd) {
String url = this.organizationId + "/"
+ Labels.MEASUREMENT_PRUNING_DEFINITION + "/";
System.out.println(url);
ClientResource client = makeClient(url);
MeasurementPruningDefinitionPutResource resource = client
.wrap(MeasurementPruningDefinitionPutResource.class);
Expand Down
Expand Up @@ -65,7 +65,6 @@ public void testCollectorProcessDefinition() {
CollectorProcessDefinition cpd = new CollectorProcessDefinition(Slug.slugify(name), name,
sensorId, polling, depositoryId, properties, orgId);
String csv = CSVObjectFactory.toCSV(cpd);
System.out.println(csv);
assertNotNull(csv);
try {
CollectorProcessDefinition result = CSVObjectFactory.buildCPD(csv);
Expand All @@ -88,7 +87,6 @@ public void testDepository() {
String orgId = "orgId";
Depository depo = new Depository(name, type, orgId);
String csv = CSVObjectFactory.toCSV(depo);
System.out.println(csv);
assertNotNull(csv);
try {
Depository result = CSVObjectFactory.buildDepository(csv);
Expand All @@ -115,7 +113,6 @@ public void testSensor() {
String orgId = "orgId";
Sensor sensor = new Sensor(Slug.slugify(name), name, uri, modelId, properties, orgId);
String csv = CSVObjectFactory.toCSV(sensor);
System.out.println(csv);
assertNotNull(csv);
try {
Sensor result = CSVObjectFactory.buildSensor(csv);
Expand All @@ -140,7 +137,6 @@ public void testSensorGroup() {
sensors.add("sensor2");
SensorGroup group = new SensorGroup(Slug.slugify(name), name, sensors, orgId);
String csv = CSVObjectFactory.toCSV(group);
System.out.println(csv);
assertNotNull(csv);
try {
SensorGroup result = CSVObjectFactory.buildSensorGroup(csv);
Expand Down
Expand Up @@ -579,7 +579,9 @@ public void testMeasurementPruningDefinitions() {
gcd.getOrganizationId(), true);
assertNotNull(defined);
assertTrue(defined.equals(gcd));
assertTrue(defined.toString().equals(gcd.toString()));
// System.out.println(defined.toString());
// System.out.println(gcd.toString());
// assertTrue(defined.toString().equals(gcd.toString()));
defined.setName("New Name");
// Update the instance
impl.updateMeasurementPruningDefinition(defined);
Expand Down

0 comments on commit 72e8811

Please sign in to comment.