mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-09-20 12:45:35 +00:00
replaced the Manage2Sail URL of Travemuender Week by the Kieler Woche URL
This commit is contained in:
+2
-6
@@ -18,16 +18,12 @@ import com.sap.sailing.resultimport.ResultUrlRegistry;
|
||||
import com.sap.sailing.xrr.resultimport.ParserFactory;
|
||||
|
||||
public class Activator implements BundleActivator {
|
||||
// private static String MANAGE2SAIL_KIELWEEK_2013_URL = "http://manage2sail.com/api/public/links/event/da33884e-24fe-44f6-8501-d253587f7cc8?accesstoken=bDAv8CwsTM94ujZ&mediaType=json";
|
||||
private static String MANAGE2SAIL_TW_2013_URL = "http://manage2sail.com/api/public/links/event/937a5c0a-5a28-4a07-806a-8c8ec1efc85c?accesstoken=bDAv8CwsTM94ujZ&mediaType=json";
|
||||
private static String MANAGE2SAIL_KW_2014_URL = "http://manage2sail.com/api/public/links/event/d30883d3-2876-4d7e-af49-891af6cbae1b?accesstoken=bDAv8CwsTM94ujZ&mediaType=json";
|
||||
|
||||
public void start(BundleContext bundleContext) throws Exception {
|
||||
final ScoreCorrectionProviderImpl service = new ScoreCorrectionProviderImpl(ParserFactory.INSTANCE, ResultUrlRegistry.INSTANCE);
|
||||
bundleContext.registerService(ScoreCorrectionProvider.class, service, /* properties */null);
|
||||
|
||||
// ResultUrlRegistry.INSTANCE.registerResultUrl(ScoreCorrectionProviderImpl.NAME, new URL(MANAGE2SAIL_KIELWEEK_2013_URL));
|
||||
ResultUrlRegistry.INSTANCE.registerResultUrl(ScoreCorrectionProviderImpl.NAME, new URL(MANAGE2SAIL_TW_2013_URL));
|
||||
|
||||
ResultUrlRegistry.INSTANCE.registerResultUrl(ScoreCorrectionProviderImpl.NAME, new URL(MANAGE2SAIL_KW_2014_URL));
|
||||
createAnAllCertificatesTrustingManagerforSSL();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user