Skip to content

Commit 2091852

Browse files
committed
CLOUDSTACK-212: migrate the namespace (network-ssp-plugin)
migrate the ssp plugin namespace from com.cloud to org.apache.cloudstack Signed-off-by: Hiroaki KAWAI <kawai@stratosphere.co.jp>
1 parent 0f40cfb commit 2091852

20 files changed

Lines changed: 58 additions & 51 deletions

File tree

‎client/tomcatconf/componentContext.xml.in‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -73,13 +73,13 @@
7373
<!--
7474
Stratosphere SSP support components
7575
-->
76-
<bean id="sspCredentialDaoImpl" class="com.cloud.network.dao.SspCredentialDaoImpl"/>
77-
<bean id="sspTenantDaoImpl" class="com.cloud.network.dao.SspTenantDaoImpl"/>
78-
<bean id="sspUuidDaoImpl" class="com.cloud.network.dao.SspUuidDaoImpl"/>
79-
<bean id="SspGuestNetworkGuru" class="com.cloud.network.guru.SspGuestNetworkGuru">
76+
<bean id="sspCredentialDaoImpl" class="org.apache.cloudstack.network.dao.SspCredentialDaoImpl"/>
77+
<bean id="sspTenantDaoImpl" class="org.apache.cloudstack.network.dao.SspTenantDaoImpl"/>
78+
<bean id="sspUuidDaoImpl" class="org.apache.cloudstack.network.dao.SspUuidDaoImpl"/>
79+
<bean id="SspGuestNetworkGuru" class="org.apache.cloudstack.network.guru.SspGuestNetworkGuru">
8080
<property name="name" value="SspGuestNetworkGuru"/>
8181
</bean>
82-
<bean id="StratosphereSsp" class="com.cloud.network.element.SspElement">
82+
<bean id="StratosphereSsp" class="org.apache.cloudstack.network.element.SspElement">
8383
<property name="name" value="StratosphereSsp"/>
8484
</bean>
8585

plugins/network-elements/stratosphere-ssp/src/com/cloud/api/commands/AddSspCmd.java renamed to plugins/network-elements/stratosphere-ssp/src/org/apache/cloudstack/api/commands/AddSspCmd.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,25 +14,25 @@
1414
// KIND, either express or implied. See the License for the
1515
// specific language governing permissions and limitations
1616
// under the License.
17-
package com.cloud.api.commands;
17+
package org.apache.cloudstack.api.commands;
1818
import javax.inject.Inject;
1919

2020
import org.apache.cloudstack.api.APICommand;
2121
import org.apache.cloudstack.api.ApiConstants;
2222
import org.apache.cloudstack.api.BaseCmd;
23+
import org.apache.cloudstack.api.response.SspResponse;
2324
import org.apache.cloudstack.api.response.ZoneResponse;
2425
import org.apache.cloudstack.api.Parameter;
26+
import org.apache.cloudstack.network.element.SspService;
2527
import org.apache.log4j.Logger;
2628

27-
import com.cloud.api.response.SspResponse;
2829
import com.cloud.dc.dao.DataCenterDao;
2930
import com.cloud.exception.ConcurrentOperationException;
3031
import com.cloud.exception.InsufficientCapacityException;
3132
import com.cloud.exception.NetworkRuleConflictException;
3233
import com.cloud.exception.ResourceAllocationException;
3334
import com.cloud.exception.ResourceUnavailableException;
3435
import com.cloud.host.Host;
35-
import com.cloud.network.element.SspService;
3636
import com.cloud.user.UserContext;
3737

3838

plugins/network-elements/stratosphere-ssp/src/com/cloud/api/commands/DeleteSspCmd.java renamed to plugins/network-elements/stratosphere-ssp/src/org/apache/cloudstack/api/commands/DeleteSspCmd.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
// KIND, either express or implied. See the License for the
1515
// specific language governing permissions and limitations
1616
// under the License.
17-
package com.cloud.api.commands;
17+
package org.apache.cloudstack.api.commands;
1818

1919
import javax.inject.Inject;
2020

@@ -24,14 +24,14 @@
2424
import org.apache.cloudstack.api.ApiConstants;
2525
import org.apache.cloudstack.api.BaseCmd;
2626
import org.apache.cloudstack.api.Parameter;
27+
import org.apache.cloudstack.network.element.SspService;
2728
import org.apache.log4j.Logger;
2829

2930
import com.cloud.exception.ConcurrentOperationException;
3031
import com.cloud.exception.InsufficientCapacityException;
3132
import com.cloud.exception.NetworkRuleConflictException;
3233
import com.cloud.exception.ResourceAllocationException;
3334
import com.cloud.exception.ResourceUnavailableException;
34-
import com.cloud.network.element.SspService;
3535
import com.cloud.user.UserContext;
3636

3737
@APICommand(name="deleteStratosphereSsp", responseObject=SuccessResponse.class, description="Removes stratosphere ssp server")

plugins/network-elements/stratosphere-ssp/src/com/cloud/api/response/SspResponse.java renamed to plugins/network-elements/stratosphere-ssp/src/org/apache/cloudstack/api/response/SspResponse.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
// KIND, either express or implied. See the License for the
1515
// specific language governing permissions and limitations
1616
// under the License.
17-
package com.cloud.api.response;
17+
package org.apache.cloudstack.api.response;
1818

1919
import org.apache.cloudstack.api.ApiConstants;
2020
import org.apache.cloudstack.api.BaseResponse;

plugins/network-elements/stratosphere-ssp/src/com/cloud/network/dao/SspCredentialDao.java renamed to plugins/network-elements/stratosphere-ssp/src/org/apache/cloudstack/network/dao/SspCredentialDao.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
// KIND, either express or implied. See the License for the
1515
// specific language governing permissions and limitations
1616
// under the License.
17-
package com.cloud.network.dao;
17+
package org.apache.cloudstack.network.dao;
1818

1919
import com.cloud.utils.db.GenericDao;
2020

plugins/network-elements/stratosphere-ssp/src/com/cloud/network/dao/SspCredentialDaoImpl.java renamed to plugins/network-elements/stratosphere-ssp/src/org/apache/cloudstack/network/dao/SspCredentialDaoImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
// KIND, either express or implied. See the License for the
1515
// specific language governing permissions and limitations
1616
// under the License.
17-
package com.cloud.network.dao;
17+
package org.apache.cloudstack.network.dao;
1818

1919
import javax.ejb.Local;
2020

plugins/network-elements/stratosphere-ssp/src/com/cloud/network/dao/SspCredentialVO.java renamed to plugins/network-elements/stratosphere-ssp/src/org/apache/cloudstack/network/dao/SspCredentialVO.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
// KIND, either express or implied. See the License for the
1515
// specific language governing permissions and limitations
1616
// under the License.
17-
package com.cloud.network.dao;
17+
package org.apache.cloudstack.network.dao;
1818

1919
import javax.persistence.Column;
2020
import javax.persistence.Entity;

plugins/network-elements/stratosphere-ssp/src/com/cloud/network/dao/SspTenantDao.java renamed to plugins/network-elements/stratosphere-ssp/src/org/apache/cloudstack/network/dao/SspTenantDao.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
// KIND, either express or implied. See the License for the
1515
// specific language governing permissions and limitations
1616
// under the License.
17-
package com.cloud.network.dao;
17+
package org.apache.cloudstack.network.dao;
1818

1919
import com.cloud.utils.db.GenericDao;
2020

plugins/network-elements/stratosphere-ssp/src/com/cloud/network/dao/SspTenantDaoImpl.java renamed to plugins/network-elements/stratosphere-ssp/src/org/apache/cloudstack/network/dao/SspTenantDaoImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
// KIND, either express or implied. See the License for the
1515
// specific language governing permissions and limitations
1616
// under the License.
17-
package com.cloud.network.dao;
17+
package org.apache.cloudstack.network.dao;
1818

1919
import javax.ejb.Local;
2020

plugins/network-elements/stratosphere-ssp/src/com/cloud/network/dao/SspTenantVO.java renamed to plugins/network-elements/stratosphere-ssp/src/org/apache/cloudstack/network/dao/SspTenantVO.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
// KIND, either express or implied. See the License for the
1515
// specific language governing permissions and limitations
1616
// under the License.
17-
package com.cloud.network.dao;
17+
package org.apache.cloudstack.network.dao;
1818

1919
import javax.persistence.Column;
2020
import javax.persistence.Entity;

0 commit comments

Comments
 (0)