Release Notes - Administration Console
February 2015
+-
+
- The Event panel now links the event name to the event page in the new design. The old "RegattaOverview" + link is now shown in the panel below, shown when selecting the event in the table above, called + "Event Overview." + +
December 2014
- We added user management. The /gwt/AdminConsole.html entry point for a fresh server set-up uses
diff --git a/java/com.sap.sailing.xrr.resultimport.test/META-INF/MANIFEST.MF b/java/com.sap.sailing.xrr.resultimport.test/META-INF/MANIFEST.MF
index 98d70b203e1..1d11bdf45a4 100644
--- a/java/com.sap.sailing.xrr.resultimport.test/META-INF/MANIFEST.MF
+++ b/java/com.sap.sailing.xrr.resultimport.test/META-INF/MANIFEST.MF
@@ -1,12 +1,12 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Name: Test
-Bundle-SymbolicName: com.sap.sailing.xrr.resultimport.test
-Bundle-Version: 1.0.0.qualifier
-Bundle-Vendor: SAP
-Fragment-Host: com.sap.sailing.xrr.resultimport
-Bundle-RequiredExecutionEnvironment: JavaSE-1.8
-Require-Bundle: org.junit4;bundle-version="4.8.2",
- com.sap.sse.common
-Export-Package: com.sap.sailing.xrr.resultimport.test
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: Test
+Bundle-SymbolicName: com.sap.sailing.xrr.resultimport.test
+Bundle-Version: 1.0.0.qualifier
+Bundle-Vendor: SAP
+Fragment-Host: com.sap.sailing.xrr.resultimport
+Bundle-RequiredExecutionEnvironment: JavaSE-1.8
+Require-Bundle: org.junit4;bundle-version="4.8.2",
+ com.sap.sse.common
+Export-Package: com.sap.sailing.xrr.resultimport.test
Import-Package: com.sap.sailing.xrr.schema
diff --git a/java/com.sap.sailing.xrr.resultimport/META-INF/MANIFEST.MF b/java/com.sap.sailing.xrr.resultimport/META-INF/MANIFEST.MF
index 490f8570201..58883e77295 100644
--- a/java/com.sap.sailing.xrr.resultimport/META-INF/MANIFEST.MF
+++ b/java/com.sap.sailing.xrr.resultimport/META-INF/MANIFEST.MF
@@ -1,22 +1,22 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Name: Resultimport
-Bundle-SymbolicName: com.sap.sailing.xrr.resultimport
-Bundle-Version: 1.0.0.qualifier
-Bundle-Vendor: SAP
-Bundle-RequiredExecutionEnvironment: JavaSE-1.8
-Export-Package: com.sap.sailing.xrr.resultimport,
- com.sap.sailing.xrr.resultimport.impl
-Import-Package: com.google.gwt.json.client,
- com.sap.sailing.server,
- com.sap.sailing.server.impl,
- com.sap.sailing.server.operationaltransformation,
- com.sap.sailing.xrr.schema,
- org.json.simple,
- org.json.simple.parser,
- org.osgi.framework;version="1.6.0"
-Require-Bundle: com.sap.sailing.domain,
- com.sap.sailing.domain.common,
- com.sap.sailing.resultimport,
- com.sap.sse.common
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: Resultimport
+Bundle-SymbolicName: com.sap.sailing.xrr.resultimport
+Bundle-Version: 1.0.0.qualifier
+Bundle-Vendor: SAP
+Bundle-RequiredExecutionEnvironment: JavaSE-1.8
+Export-Package: com.sap.sailing.xrr.resultimport,
+ com.sap.sailing.xrr.resultimport.impl
+Import-Package: com.google.gwt.json.client,
+ com.sap.sailing.server,
+ com.sap.sailing.server.impl,
+ com.sap.sailing.server.operationaltransformation,
+ com.sap.sailing.xrr.schema,
+ org.json.simple,
+ org.json.simple.parser,
+ org.osgi.framework;version="1.6.0"
+Require-Bundle: com.sap.sailing.domain,
+ com.sap.sailing.domain.common,
+ com.sap.sailing.resultimport,
+ com.sap.sse.common
Bundle-Activator: com.sap.sailing.xrr.resultimport.impl.Activator
diff --git a/java/com.sap.sailing.xrr.schema/META-INF/MANIFEST.MF b/java/com.sap.sailing.xrr.schema/META-INF/MANIFEST.MF
old mode 100755
new mode 100644
diff --git a/java/com.sap.sailing.xrr.structureimport/META-INF/MANIFEST.MF b/java/com.sap.sailing.xrr.structureimport/META-INF/MANIFEST.MF
old mode 100755
new mode 100644
diff --git a/java/com.sap.sse.filestorage/META-INF/MANIFEST.MF b/java/com.sap.sse.filestorage/META-INF/MANIFEST.MF
old mode 100755
new mode 100644
index f2d8afce059..4df238efad2
--- a/java/com.sap.sse.filestorage/META-INF/MANIFEST.MF
+++ b/java/com.sap.sse.filestorage/META-INF/MANIFEST.MF
@@ -18,8 +18,8 @@ Require-Bundle: org.apache.servicemix.bundles.aws-java-sdk;bundle-version="1.9.8
org.apache.commons.logging;bundle-version="1.1.3",
com.sap.sse.common,
com.sap.sse.mongodb,
- com.mongodb.driver;bundle-version="2.6.2",
com.sap.sse.replication,
com.sap.sse.operationaltransformation,
com.sap.sse,
- org.apache.commons.io
+ org.apache.commons.io,
+ org.mongodb.mongo-java-driver;bundle-version="2.13.0"
diff --git a/java/com.sap.sse.filestorage/src/com/sap/sse/filestorage/impl/MongoFileStorageServicePropertyStoreImpl.java b/java/com.sap.sse.filestorage/src/com/sap/sse/filestorage/impl/MongoFileStorageServicePropertyStoreImpl.java
index c38bc6a19e6..9e0988cb7d9 100644
--- a/java/com.sap.sse.filestorage/src/com/sap/sse/filestorage/impl/MongoFileStorageServicePropertyStoreImpl.java
+++ b/java/com.sap.sse.filestorage/src/com/sap/sse/filestorage/impl/MongoFileStorageServicePropertyStoreImpl.java
@@ -25,7 +25,7 @@ public class MongoFileStorageServicePropertyStoreImpl implements FileStorageServ
propertiesCollection = dbService.getDB().getCollection(PROPERTIES_COLLECTION_NAME);
DBObject index = new BasicDBObjectBuilder().add(FieldNames.SERVICE_NAME.name(), true)
.add(FieldNames.PROPERTY_NAME.name(), true).get();
- propertiesCollection.ensureIndex(index, "unique service name/property name combination", true);
+ propertiesCollection.createIndex(index, "unique service name/property name combination", true);
activeServiceCollection = dbService.getDB().getCollection(ACTIVE_SERVICE_COLLECTION_NAME);
}
diff --git a/java/com.sap.sse.gwt.adminconsole/META-INF/MANIFEST.MF b/java/com.sap.sse.gwt.adminconsole/META-INF/MANIFEST.MF
old mode 100755
new mode 100644
diff --git a/java/com.sap.sse.mongodb/META-INF/MANIFEST.MF b/java/com.sap.sse.mongodb/META-INF/MANIFEST.MF
index d12bd5a9f90..194578782aa 100644
--- a/java/com.sap.sse.mongodb/META-INF/MANIFEST.MF
+++ b/java/com.sap.sse.mongodb/META-INF/MANIFEST.MF
@@ -5,8 +5,8 @@ Bundle-SymbolicName: com.sap.sse.mongodb
Bundle-Version: 1.0.0.qualifier
Bundle-Vendor: SAP
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
-Require-Bundle: com.mongodb.driver;bundle-version="2.6.2",
- com.sap.sse.common
+Require-Bundle: com.sap.sse.common,
+ org.mongodb.mongo-java-driver;bundle-version="2.13.0"
Export-Package: com.sap.sse.mongodb
Bundle-ActivationPolicy: lazy
Import-Package: com.sap.sailing.util,
diff --git a/java/com.sap.sse.mongodb/src/com/sap/sse/mongodb/internal/MongoDBServiceImpl.java b/java/com.sap.sse.mongodb/src/com/sap/sse/mongodb/internal/MongoDBServiceImpl.java
index 12bfb61bd23..1c007c60580 100644
--- a/java/com.sap.sse.mongodb/src/com/sap/sse/mongodb/internal/MongoDBServiceImpl.java
+++ b/java/com.sap.sse.mongodb/src/com/sap/sse/mongodb/internal/MongoDBServiceImpl.java
@@ -8,6 +8,7 @@ import java.util.logging.Logger;
import com.mongodb.DB;
import com.mongodb.Mongo;
+import com.mongodb.MongoClient;
import com.sap.sse.mongodb.AlreadyRegisteredException;
import com.sap.sse.mongodb.MongoDBConfiguration;
import com.sap.sse.mongodb.MongoDBService;
@@ -65,7 +66,7 @@ public class MongoDBServiceImpl implements MongoDBService {
if (db == null) {
Mongo mongo = mongos.get(key);
if (mongo == null) {
- mongo = new Mongo(mongoDBConfiguration.getHostName(), mongoDBConfiguration.getPort());
+ mongo = new MongoClient(mongoDBConfiguration.getHostName(), mongoDBConfiguration.getPort());
mongos.put(key, mongo);
}
db = mongo.getDB(mongoDBConfiguration.getDatabaseName());
diff --git a/java/com.sap.sse.replication.testsupport/META-INF/MANIFEST.MF b/java/com.sap.sse.replication.testsupport/META-INF/MANIFEST.MF
old mode 100755
new mode 100644
diff --git a/java/com.sap.sse.security.common/META-INF/MANIFEST.MF b/java/com.sap.sse.security.common/META-INF/MANIFEST.MF
old mode 100755
new mode 100644
diff --git a/java/com.sap.sse.security.replication.test/META-INF/MANIFEST.MF b/java/com.sap.sse.security.replication.test/META-INF/MANIFEST.MF
old mode 100755
new mode 100644
index 15b1ae22c52..8945be6f73c
--- a/java/com.sap.sse.security.replication.test/META-INF/MANIFEST.MF
+++ b/java/com.sap.sse.security.replication.test/META-INF/MANIFEST.MF
@@ -9,7 +9,7 @@ Bundle-RequiredExecutionEnvironment: JavaSE-1.8
Require-Bundle: org.junit4;bundle-version="4.8.2",
com.sap.sse.security.userstore.mongodb,
com.sap.sse.mongodb,
- com.mongodb.driver,
com.rabbitmq.client,
+ org.mongodb.mongo-java-driver;bundle-version="2.13.0",
com.sap.sse.replication.testsupport,
com.sap.sse.replication.testsupport
diff --git a/java/com.sap.sse.security.replication.test/src/com/sap/sse/security/replication/test/AbstractSecurityReplicationTest.java b/java/com.sap.sse.security.replication.test/src/com/sap/sse/security/replication/test/AbstractSecurityReplicationTest.java
index 54d7628f87f..14eccc103aa 100755
--- a/java/com.sap.sse.security.replication.test/src/com/sap/sse/security/replication/test/AbstractSecurityReplicationTest.java
+++ b/java/com.sap.sse.security.replication.test/src/com/sap/sse/security/replication/test/AbstractSecurityReplicationTest.java
@@ -7,13 +7,10 @@ import com.sap.sse.mongodb.MongoDBService;
import com.sap.sse.replication.testsupport.AbstractServerReplicationTest;
import com.sap.sse.security.SecurityService;
import com.sap.sse.security.impl.SecurityServiceImpl;
-import com.sap.sse.security.userstore.mongodb.MongoObjectFactory;
-import com.sap.sse.security.userstore.mongodb.PersistenceFactory;
import com.sap.sse.security.userstore.mongodb.UserStoreImpl;
public abstract class AbstractSecurityReplicationTest extends AbstractServerReplicationTest
{ private MongoDBService mongoDBService; - private MongoObjectFactory mongoObjectFactory; @Override protected void persistenceSetUp(boolean dropDB) { @@ -21,8 +18,6 @@ public abstract class AbstractSecurityReplicationTest extends AbstractServerRepl if (dropDB) { mongoDBService.getDB().dropDatabase(); } - mongoObjectFactory = PersistenceFactory.INSTANCE.getMongoObjectFactory(mongoDBService); - mongoObjectFactory.getDatabase().requestStart(); } @Override @@ -36,9 +31,4 @@ public abstract class AbstractSecurityReplicationTest extends AbstractServerRepl protected SecurityServiceImpl createNewReplica() { return new SecurityServiceImpl(new UserStoreImpl()); } - - @Override - protected void persistenceTearDown() { - mongoObjectFactory.getDatabase().requestDone(); - } } diff --git a/java/com.sap.sse.security.test/META-INF/MANIFEST.MF b/java/com.sap.sse.security.test/META-INF/MANIFEST.MF index 1247c3ec236..bfc2d1b32f4 100644 --- a/java/com.sap.sse.security.test/META-INF/MANIFEST.MF +++ b/java/com.sap.sse.security.test/META-INF/MANIFEST.MF @@ -8,6 +8,6 @@ Fragment-Host: com.sap.sse.security Bundle-RequiredExecutionEnvironment: JavaSE-1.8 Require-Bundle: org.junit4;bundle-version="4.8.2", com.sap.sse.security.userstore.mongodb, - com.mongodb.driver, + org.mongodb.mongo-java-driver;bundle-version="2.13.0", com.sap.sse.mongodb, com.sap.sse.mail diff --git a/java/com.sap.sse.security.ui/Security UI sdm.launch b/java/com.sap.sse.security.ui/Security UI sdm.launch old mode 100755 new mode 100644 index 4655b59b08e..c74715a12d6 --- a/java/com.sap.sse.security.ui/Security UI sdm.launch +++ b/java/com.sap.sse.security.ui/Security UI sdm.launch @@ -1,49 +1,49 @@ - - - + +- - - - - -- - - - - - -- - -- - -- - - -- - - - - - - - - - - - - - - - - - - - - - - + diff --git a/java/com.sap.sse.security.ui/WEB-INF/web.xml b/java/com.sap.sse.security.ui/WEB-INF/web.xml index 12e77ad4efc..6a4bf7d0912 100644 --- a/java/com.sap.sse.security.ui/WEB-INF/web.xml +++ b/java/com.sap.sse.security.ui/WEB-INF/web.xml @@ -3,6 +3,16 @@ xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" version="2.5"> + ++ + + + + ++ + + + + + ++ + ++ + ++ + + ++ + + + + + + + + + + + + + + + + + + + + + + + default +org.eclipse.jetty.servlet.DefaultServlet + ++ +useFileMappedBuffer +false +diff --git a/java/com.sap.sse.security.userstore.mongodb/META-INF/MANIFEST.MF b/java/com.sap.sse.security.userstore.mongodb/META-INF/MANIFEST.MF index 142723bcd75..12b89a6475f 100644 --- a/java/com.sap.sse.security.userstore.mongodb/META-INF/MANIFEST.MF +++ b/java/com.sap.sse.security.userstore.mongodb/META-INF/MANIFEST.MF @@ -10,7 +10,7 @@ Import-Package: org.osgi.framework;version="1.3.0" Bundle-ActivationPolicy: lazy Bundle-ClassPath: . Require-Bundle: com.sap.sse.security, - com.mongodb.driver;bundle-version="2.6.2", + org.mongodb.mongo-java-driver;bundle-version="2.13.0", org.apache.shiro.core;bundle-version="1.2.2", com.sap.sse.mongodb, com.sap.sse.common, diff --git a/java/com.sap.sse.security.userstore.mongodb/src/com/sap/sse/security/userstore/mongodb/impl/MongoObjectFactoryImpl.java b/java/com.sap.sse.security.userstore.mongodb/src/com/sap/sse/security/userstore/mongodb/impl/MongoObjectFactoryImpl.java index 53e1fadb6d8..fe9e9ef3feb 100644 --- a/java/com.sap.sse.security.userstore.mongodb/src/com/sap/sse/security/userstore/mongodb/impl/MongoObjectFactoryImpl.java +++ b/java/com.sap.sse.security.userstore.mongodb/src/com/sap/sse/security/userstore/mongodb/impl/MongoObjectFactoryImpl.java @@ -33,7 +33,7 @@ public class MongoObjectFactoryImpl implements MongoObjectFactory { @Override public void storeUser(User user) { DBCollection usersCollection = db.getCollection(CollectionNames.USERS.name()); - usersCollection.ensureIndex(FieldNames.User.NAME.name()); + usersCollection.createIndex(new BasicDBObject(FieldNames.User.NAME.name(), null)); DBObject dbUser = new BasicDBObject(); DBObject query = new BasicDBObject(FieldNames.User.NAME.name(), user.getName()); dbUser.put(FieldNames.User.NAME.name(), user.getName()); @@ -84,7 +84,7 @@ public class MongoObjectFactoryImpl implements MongoObjectFactory { @Override public void storeSettings(Map settings) { DBCollection settingCollection = db.getCollection(CollectionNames.SETTINGS.name()); - settingCollection.ensureIndex(FieldNames.Settings.NAME.name()); + settingCollection.createIndex(new BasicDBObject(FieldNames.Settings.NAME.name(), null)); DBObject dbSettings = new BasicDBObject(); DBObject query = new BasicDBObject(FieldNames.Settings.NAME.name(), FieldNames.Settings.VALUES.name()); dbSettings.put(FieldNames.Settings.NAME.name(), FieldNames.Settings.VALUES.name()); @@ -96,7 +96,7 @@ public class MongoObjectFactoryImpl implements MongoObjectFactory { @Override public void storePreferences(String username, Map userMap) { DBCollection settingCollection = db.getCollection(CollectionNames.PREFERENCES.name()); - settingCollection.ensureIndex(FieldNames.Preferences.USERNAME.name()); + settingCollection.createIndex(new BasicDBObject(FieldNames.Preferences.USERNAME.name(), null)); BasicDBList dbSettings = new BasicDBList(); for (Entry e : userMap.entrySet()) { DBObject entry = new BasicDBObject(); @@ -113,7 +113,7 @@ public class MongoObjectFactoryImpl implements MongoObjectFactory { @Override public void storeSettingTypes(Map > settingTypes) { DBCollection settingCollection = db.getCollection(CollectionNames.SETTINGS.name()); - settingCollection.ensureIndex(FieldNames.Settings.NAME.name()); + settingCollection.createIndex(new BasicDBObject(FieldNames.Settings.NAME.name(), null)); DBObject dbSettingTypes = new BasicDBObject(); DBObject query = new BasicDBObject(FieldNames.Settings.NAME.name(), FieldNames.Settings.TYPES.name()); dbSettingTypes.put(FieldNames.Settings.NAME.name(), FieldNames.Settings.TYPES.name()); diff --git a/java/com.sap.sse.security/META-INF/MANIFEST.MF b/java/com.sap.sse.security/META-INF/MANIFEST.MF index e8ca35e3510..d7c272be079 100644 --- a/java/com.sap.sse.security/META-INF/MANIFEST.MF +++ b/java/com.sap.sse.security/META-INF/MANIFEST.MF @@ -12,6 +12,7 @@ Import-Package: com.sap.sse.util, javax.ws.rs;version="1.1.1", javax.ws.rs.core;version="1.1.1", javax.ws.rs.ext;version="1.1.1", + org.codehaus.jackson.jaxrs;version="1.9.13", org.osgi.framework;version="1.3.0", org.osgi.util.tracker;version="1.5.1" Bundle-ActivationPolicy: lazy diff --git a/java/com.sap.sse.shared.android/META-INF/MANIFEST.MF b/java/com.sap.sse.shared.android/META-INF/MANIFEST.MF old mode 100755 new mode 100644 diff --git a/java/com.sap.sse/META-INF/MANIFEST.MF b/java/com.sap.sse/META-INF/MANIFEST.MF old mode 100755 new mode 100644 diff --git a/java/org.moxieapps.gwt.highcharts/META-INF/MANIFEST.MF b/java/org.moxieapps.gwt.highcharts/META-INF/MANIFEST.MF old mode 100755 new mode 100644 index 7a4966d0521..f4258435c9b --- a/java/org.moxieapps.gwt.highcharts/META-INF/MANIFEST.MF +++ b/java/org.moxieapps.gwt.highcharts/META-INF/MANIFEST.MF @@ -1,22 +1,22 @@ -Manifest-Version: 1.0 -Bundle-ManifestVersion: 2 -Bundle-Name: Moxie Apps GWT Highcharts -Bundle-SymbolicName: org.moxieapps.gwt.highcharts -Bundle-Version: 1.6.0.qualifier -Bundle-RequiredExecutionEnvironment: JavaSE-1.6 -Export-Package: org.moxieapps.gwt.highcharts.client.plotOptions;uses:="o - rg.moxieapps.gwt.highcharts.client,com.google.gwt.json.client,org.moxie - apps.gwt.highcharts.client.events,org.moxieapps.gwt.highcharts.client.l - abels";version="1.5.0",org.moxieapps.gwt.highcharts;version="1.5.0",org - .moxieapps.gwt.highcharts.client;uses:="com.google.gwt.core.client,com. - google.gwt.dom.client,com.google.gwt.json.client,org.moxieapps.gwt.high - charts.client.plotOptions,com.google.gwt.user.client,org.moxieapps.gwt. - highcharts.client.events,org.moxieapps.gwt.highcharts.client.labels,com - .google.gwt.user.client.ui";version="1.5.0",org.moxieapps.gwt.highchart - s.client.events;uses:="com.google.gwt.core.client,com.google.gwt.dom.cl - ient,org.moxieapps.gwt.highcharts.client";version="1.5.0",org.moxieapps - .gwt.highcharts.client.labels;uses:="com.google.gwt.core.client,org.mox - ieapps.gwt.highcharts.client,com.google.gwt.json.client";version="1.5.0 - " -Bundle-ActivationPolicy: lazy -Require-Bundle: com.google.gwt.osgi;bundle-version="2.6.0" +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: Moxie Apps GWT Highcharts +Bundle-SymbolicName: org.moxieapps.gwt.highcharts +Bundle-Version: 1.6.0.qualifier +Bundle-RequiredExecutionEnvironment: JavaSE-1.6 +Export-Package: org.moxieapps.gwt.highcharts.client.plotOptions;uses:="o + rg.moxieapps.gwt.highcharts.client,com.google.gwt.json.client,org.moxie + apps.gwt.highcharts.client.events,org.moxieapps.gwt.highcharts.client.l + abels";version="1.5.0",org.moxieapps.gwt.highcharts;version="1.5.0",org + .moxieapps.gwt.highcharts.client;uses:="com.google.gwt.core.client,com. + google.gwt.dom.client,com.google.gwt.json.client,org.moxieapps.gwt.high + charts.client.plotOptions,com.google.gwt.user.client,org.moxieapps.gwt. + highcharts.client.events,org.moxieapps.gwt.highcharts.client.labels,com + .google.gwt.user.client.ui";version="1.5.0",org.moxieapps.gwt.highchart + s.client.events;uses:="com.google.gwt.core.client,com.google.gwt.dom.cl + ient,org.moxieapps.gwt.highcharts.client";version="1.5.0",org.moxieapps + .gwt.highcharts.client.labels;uses:="com.google.gwt.core.client,org.mox + ieapps.gwt.highcharts.client,com.google.gwt.json.client";version="1.5.0 + " +Bundle-ActivationPolicy: lazy +Require-Bundle: com.google.gwt.osgi;bundle-version="2.6.0" diff --git a/java/pom.xml b/java/pom.xml index 6a147f8817c..d3fbc338c41 100755 --- a/java/pom.xml +++ b/java/pom.xml @@ -60,7 +60,6 @@ com.google.gwt.osgi com.tractrac.clientmodule org.json.simple -com.mongodb.driver com.googlecode.java-diff-utils com.googlecode.mgwt com.sap.sailing.dashboards.gwt diff --git a/wiki/extreme-sailing-series.md b/wiki/extreme-sailing-series.md index 039e9b61d79..8bfaadbb665 100644 --- a/wiki/extreme-sailing-series.md +++ b/wiki/extreme-sailing-series.md @@ -91,6 +91,18 @@ The setup for such an event usually consists of the following departments: * Sunset & Vine APP (TV) * Sarah Greene (Manager) +## Team Contact Information + ++The Wave Rob Wilson rob@robwilsonsailing.com +Team Russia Alberto Barovier abarovier@gmail.com +Red Bull Nick Blackman njblackman@gmail.com +SAP Michael Hestbek michael.hestbek@sapextremesailing.com +Oman Air Rob Wilson rob@robwilsonsailing.com +GAC Pindar Tyson Lamond tysonlamond@me.com +Team Turx Edhem Dirvana edhemdirvana@gmail.com +
+ ## Technical Architecture The technical infrastructure can be divided into two major parts. @@ -492,20 +504,18 @@ There is a web interface that is configued in `/etc/httpd/conf.d/squid.conf` tha * (Caching) squidclient -h 192.168.1.202 cache_object://localhost/ mgr:info * (Caching) http://192.168.1.202/Squid/cgi-bin/cachemgr.cgi?host=localhost&port=3128&user_name=&operation=counters&auth= -### Competitor colors for 2014 +### Competitor colors for 2015-#33CC33 Groupama -#FF0000 Alinghi -#2AFFFF GAC -#000010 ETNZ -#FFFFFF Gazprom -#999999 JP Morgan -#FFC61E SAP -#B07A00 Oman Air -#000099 Realteam -#990099 Red Bull -#16A6ED The Wave +The Wave #16A6ED +Oman Air #B07A00 +Gazprom Team Russia #FFFFFF +Lino Sonego Team Italia #000099 +SAP Extreme Sailing Team #FFC61E +Invite #FFFF00 +Beko Team Turx #FF0000 +GAC Pindar #2AFFFF +Red Bull Sailing Team #990099
### Opening replication channel for Sailing Analytics server diff --git a/wiki/super-dev-mode.md b/wiki/super-dev-mode.md index ad820f320e9..324705d600b 100644 --- a/wiki/super-dev-mode.md +++ b/wiki/super-dev-mode.md @@ -19,6 +19,8 @@ You can add "GWT.debugger();" statements to your Java code. This will force the JavaScript debugger to stop at this statement. So you don't have to manually open the file in the dev tools and set a break point. +In addition, there's a composite launch configuration "SailingGWT All SDM.launch" that will start SDM for the SailingGWT modules as well as the Security UI modules. + ## Using Eclipse debugger for GWT SuperDevMode Debugging Java Code in the browser is very inconvenient (e.g. you have to manually open the files you already opened in Eclipse). @@ -29,16 +31,12 @@ Using Using Eclipse debugger for GWT SuperDevMode [[SDBG|http://sdbg.github.io/] To start SDM debugging in Eclipse, do the following: * Start the backend as you would always do. -* Start GWT Super Dev Mode by launching "SailingGWT sdm.launch". +* Start GWT Super Dev Mode by launching "SailingGWT sdm.launch" or "SailingGWT All SDM.launch". * Do not Click on the URLs provided in "Development view"! -* Copy one of the URLs instead -* Go to Run -> Run Configurations ... -* Create a new configuration of type "Launch Chrome" -* Paste the URL and select the UI project you launched SDM for -* Save and run => A new instance of Chrome is started and you will see a debug session running in Eclipse +* Run "Debug SailingGWT SDM on Chrome.launch" +* A new instance of Chrome is started and you will see a debug session running in Eclipse * Your Eclipse break points will now work in the running debug session. - -The created and save run configuration can be used for subsequent launches. +* You are free to change the URL or navigate to other pages in the automatically openend browser window (debugging will go on) ### Noteworthy information & Troubleshooting @@ -57,3 +55,56 @@ Be aware that some of the Eclipse debugger features do NOT work with this kind o * Variable naming is not 1:1 what you expect in the Java world * Stacks look different but clicking on Stack elements should * [[Stack Traces logged in Chrome do not use source maps|https://code.google.com/p/chromium/issues/detail?id=357958]], so you see the JavaScript Stack Trace instead. + +## Debugging SDM on Android devices + +### Requirements + +To enable [[https://developer.chrome.com/devtools/docs/remote-debugging|remote debugging for your Android device]] do the following steps: + +* Go to the System settings +* If you do not see the "Developer options" menu, go to "About the device" and tap multiple times on "Build number" until a message appears +* Go to the "Developer options" menu +* Activate "USB debugging" +* A notification apears in the system notification center while USB-debugging is turned on + +Other requirements: + +* You need Android 4.0+ to make remote debugging work +* You need a recent version of Chrome installed on both, the Android device and your development system + +To be able to discover your Chrome browser running on the Android device from your development system you need to do the following: + +* Connect your device with USB-debugging turned on to your development system +* Open Chrome on the Android device + +### Debugging via Desktop Chrome + +Do the following to start a debugging session via Chrome installed on your development system: + +* Open Chrome on your development system and navigate to [[chrome://inspect/#devices]] +* Only the first time you need to configure the needed ports: + * Check "Discover USB Devices + * Click the button "Port forwarding ..." + * Add an Entry for Port "8888" for address "localhost:8888" + * Add an Entry for Port "9876" for address "localhost:9876" + * Close the dialog +* Enter the URL (e.g. [[http://localhost:8888/gwt/Home.html]]) nearby the connected Chrome browser of your device and press open +* The specified URL will be opended in a new tab on your android device +* A new window with an instance of the developer tools will appear on the development system + * If it doesn't open automatically press "inspect" for the browser tab +* You can now go to "Sources" and debug the source-mapped JS source as it is a local browser tab + +### Debugging via SDBG + +To debug SDM on your Android Chrome via SDBG do the following: + +* Get to know your Device ID + * Navigate to [[chrome://inspect/#devices]] using your desktop Chrome while the device is connected with USB-Debugging turned on + * The Device ID is shown next to the device name + * Take the Device ID without the prefixed "#" +* Copy the launch configuration templates "Debug SailingGWT SDM on Android.launch.template" and "Forward SailingGWT Ports for Android.launch.template" as *.launch files +* Replacewith your concrete Device ID +* Launch "Forward SailingGWT Ports for Android.launch" +* Launch "Debug SailingGWT SDM on Android.launch" +* You should now be able to debug in Eclipse as described above