diff options
author | jmisinco | 2016-07-21 20:37:48 +0000 |
---|---|---|
committer | Ryan D. Brooks | 2016-08-31 16:17:48 +0000 |
commit | 7b2c058d5d70fe2433514fe9c34e6f5655e25559 (patch) | |
tree | 4d17db51a519cb78c888e50e37d3b02b120e9191 | |
parent | efd216d8a8b59d075f1d754edf1c482adc228dfc (diff) | |
download | org.eclipse.osee-7b2c058d5d70fe2433514fe9c34e6f5655e25559.tar.gz org.eclipse.osee-7b2c058d5d70fe2433514fe9c34e6f5655e25559.tar.xz org.eclipse.osee-7b2c058d5d70fe2433514fe9c34e6f5655e25559.zip |
refinement: Remove osee.http.jetty bundles
Change-Id: If65cbd451b9c87ddc95d854e4671e4e66c824506
7 files changed, 0 insertions, 170 deletions
diff --git a/plugins/org.eclipse.osee.http.jetty.test/.project b/plugins/org.eclipse.osee.http.jetty.test/.project deleted file mode 100644 index 36404739d3f..00000000000 --- a/plugins/org.eclipse.osee.http.jetty.test/.project +++ /dev/null @@ -1,28 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<projectDescription> - <name>org.eclipse.osee.http.jetty.test</name> - <comment></comment> - <projects> - </projects> - <buildSpec> - <buildCommand> - <name>org.eclipse.jdt.core.javabuilder</name> - <arguments> - </arguments> - </buildCommand> - <buildCommand> - <name>org.eclipse.pde.ManifestBuilder</name> - <arguments> - </arguments> - </buildCommand> - <buildCommand> - <name>org.eclipse.pde.SchemaBuilder</name> - <arguments> - </arguments> - </buildCommand> - </buildSpec> - <natures> - <nature>org.eclipse.pde.PluginNature</nature> - <nature>org.eclipse.jdt.core.javanature</nature> - </natures> -</projectDescription> diff --git a/plugins/org.eclipse.osee.http.jetty/OSGI-INF/jdbc.http.service.xml b/plugins/org.eclipse.osee.http.jetty/OSGI-INF/jdbc.http.service.xml deleted file mode 100644 index e9ebba3ae94..00000000000 --- a/plugins/org.eclipse.osee.http.jetty/OSGI-INF/jdbc.http.service.xml +++ /dev/null @@ -1,9 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<scr:component xmlns:scr="http://www.osgi.org/xmlns/scr/v1.1.0" activate="start" configuration-policy="require" deactivate="stop" immediate="true" modified="update"> - <implementation class="org.eclipse.osee.http.jetty.internal.osgi.JdbcJettyHttpService" /> - <reference bind="setLogger" cardinality="1..1" interface="org.eclipse.osee.logger.Log" name="Log" policy="static"/> - <reference bind="setJdbcService" cardinality="1..1" interface="org.eclipse.osee.jdbc.JdbcService" name="JdbcService" policy="static" target="(osgi.binding=jetty.jdbc.service)"/> - <service> - <provide interface="org.eclipse.osee.http.jetty.JettyHttpService"/> - </service> -</scr:component> diff --git a/plugins/org.eclipse.osee.http.jetty/src/org/eclipse/osee/http/jetty/JettyHttpService.java b/plugins/org.eclipse.osee.http.jetty/src/org/eclipse/osee/http/jetty/JettyHttpService.java deleted file mode 100644 index db881d54313..00000000000 --- a/plugins/org.eclipse.osee.http.jetty/src/org/eclipse/osee/http/jetty/JettyHttpService.java +++ /dev/null @@ -1,20 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2015 Boeing. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Boeing - initial API and implementation - *******************************************************************************/ -package org.eclipse.osee.http.jetty; - -/** - * @author Donald G. Dunne - */ -public interface JettyHttpService { - - public JettyConfig getConfig(); - -} diff --git a/plugins/org.eclipse.osee.http.jetty/src/org/eclipse/osee/http/jetty/internal/jdbc/JdbcHttpSessionMigrationResource.java b/plugins/org.eclipse.osee.http.jetty/src/org/eclipse/osee/http/jetty/internal/jdbc/JdbcHttpSessionMigrationResource.java deleted file mode 100644 index 19cb8ed1c91..00000000000 --- a/plugins/org.eclipse.osee.http.jetty/src/org/eclipse/osee/http/jetty/internal/jdbc/JdbcHttpSessionMigrationResource.java +++ /dev/null @@ -1,28 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2015 Boeing. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Boeing - initial API and implementation - *******************************************************************************/ -package org.eclipse.osee.http.jetty.internal.jdbc; - -import java.net.URL; -import org.eclipse.osee.jdbc.AbstractJdbcMigrationResource; - -/** - * @author Roberto E. Escobar - */ -public class JdbcHttpSessionMigrationResource extends AbstractJdbcMigrationResource { - - private static final String SCHEMA_PATH = "migration/"; - - @Override - public URL getLocation() { - return getClass().getResource(SCHEMA_PATH); - } - -} diff --git a/plugins/org.eclipse.osee.http.jetty/src/org/eclipse/osee/http/jetty/internal/jdbc/migration/V0.21.0_2015_02_25_1600__Http_Session.sql b/plugins/org.eclipse.osee.http.jetty/src/org/eclipse/osee/http/jetty/internal/jdbc/migration/V0.21.0_2015_02_25_1600__Http_Session.sql deleted file mode 100644 index 08dd6bdc0bc..00000000000 --- a/plugins/org.eclipse.osee.http.jetty/src/org/eclipse/osee/http/jetty/internal/jdbc/migration/V0.21.0_2015_02_25_1600__Http_Session.sql +++ /dev/null @@ -1,25 +0,0 @@ --- OSEE_HTTP_SESSION_ID -CREATE TABLE OSEE_HTTP_SESSION_ID ( - ID VARCHAR(120) NOT NULL, - CONSTRAINT OSEE_HTTP_SESSION_ID__ID PRIMARY KEY(ID) -); - --- OSEE_HTTP_SESSION -CREATE TABLE OSEE_HTTP_SESSION ( - CONTEXT_PATH VARCHAR(60), - SESSION_ROW_ID VARCHAR(120) NOT NULL, - LAST_SAVED_TIME ${db.bigint}, - ACCESS_TIME ${db.bigint}, - CREATED_ON ${db.bigint}, - EXPIRES_IN ${db.bigint}, - LAST_ACCESS_TIME ${db.bigint}, - ATTRIBUTES ${db.blob}, - SESSION_ID VARCHAR(120) NOT NULL, - COOKIE_SET_ON ${db.bigint}, - LAST_NODE VARCHAR(60), - VIRTUAL_HOST VARCHAR(60), - CONSTRAINT OSEE_HTTP_SESSION__ID PRIMARY KEY(SESSION_ROW_ID) -); - -CREATE INDEX OSEE_HTTP_SESSION__E_IDX ON OSEE_HTTP_SESSION(EXPIRES_IN); -CREATE INDEX OSEE_HTTP_SESSION__SC_IDX ON OSEE_HTTP_SESSION(SESSION_ID,CONTEXT_PATH);
\ No newline at end of file diff --git a/plugins/org.eclipse.osee.http.jetty/src/org/eclipse/osee/http/jetty/internal/osgi/InMemoryJettyHttpService.java b/plugins/org.eclipse.osee.http.jetty/src/org/eclipse/osee/http/jetty/internal/osgi/InMemoryJettyHttpService.java deleted file mode 100644 index fc58fdc63fb..00000000000 --- a/plugins/org.eclipse.osee.http.jetty/src/org/eclipse/osee/http/jetty/internal/osgi/InMemoryJettyHttpService.java +++ /dev/null @@ -1,27 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2015 Boeing. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Boeing - initial API and implementation - *******************************************************************************/ -package org.eclipse.osee.http.jetty.internal.osgi; - -import java.util.Map; -import org.eclipse.osee.http.jetty.JettyServer.Builder; -import org.eclipse.osee.http.jetty.internal.session.InMemoryJettySessionManagerFactory; - -/** - * @author Roberto E. Escobar - */ -public class InMemoryJettyHttpService extends AbstractJettyHttpService { - - @Override - protected void customizeJettyServer(Builder builder, Map<String, Object> props) { - builder.sessionManagerFactory(new InMemoryJettySessionManagerFactory()); - } - -}
\ No newline at end of file diff --git a/plugins/org.eclipse.osee.http.jetty/src/org/eclipse/osee/http/jetty/internal/osgi/JdbcJettyHttpService.java b/plugins/org.eclipse.osee.http.jetty/src/org/eclipse/osee/http/jetty/internal/osgi/JdbcJettyHttpService.java deleted file mode 100644 index df038fd9c27..00000000000 --- a/plugins/org.eclipse.osee.http.jetty/src/org/eclipse/osee/http/jetty/internal/osgi/JdbcJettyHttpService.java +++ /dev/null @@ -1,33 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2015 Boeing. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Boeing - initial API and implementation - *******************************************************************************/ -package org.eclipse.osee.http.jetty.internal.osgi; - -import java.util.Map; -import org.eclipse.osee.http.jetty.JettyServer.Builder; -import org.eclipse.osee.jdbc.JdbcService; - -/** - * @author Roberto E. Escobar - */ -public class JdbcJettyHttpService extends AbstractJettyHttpService { - - private JdbcService jdbcService; - - public void setJdbcService(JdbcService jdbcService) { - this.jdbcService = jdbcService; - } - - @Override - protected void customizeJettyServer(Builder builder, Map<String, Object> props) { - builder.jdbcSessionManagerFactory(jdbcService.getClient()); - } - -}
\ No newline at end of file |