class_path="$RUNHOME/:$RUNHOME/sfc-service.jar"
echo @class_path@ $class_path
-"$JAVA" $JAVA_OPTS -classpath "$class_path" org.openo.sfc.SfcDriver server "$RUNHOME/conf/console.yml"
+"$JAVA" $JAVA_OPTS -classpath "$class_path" SfcDriver server "$RUNHOME/conf/console.yml"
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.openo.sfc;
+package org.onap.sfc;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.dropwizard.Application;
import io.dropwizard.setup.Environment;
import io.swagger.jaxrs.config.BeanConfig;
import io.swagger.jaxrs.listing.ApiListingResource;
-import org.openo.sfc.health.ConsoleHealthCheck;
-import org.openo.sfc.resources.DriverResource;
-import org.openo.sfc.service.ConfigInfo;
-import org.openo.sfc.resources.MsbServiceRegister;
-import org.openo.sfc.utils.SfcConst;
+import org.onap.sfc.utils.SfcConst;
+import org.onap.sfc.health.ConsoleHealthCheck;
+import org.onap.sfc.resources.DriverResource;
+import org.onap.sfc.service.ConfigInfo;
+import org.onap.sfc.resources.MsbServiceRegister;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
* limitations under the License.
*/
-package org.openo.sfc;
+package org.onap.sfc;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.dropwizard.Configuration;
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.openo.sfc.entity;
+package org.onap.sfc.entity;
import com.google.gson.annotations.SerializedName;
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.openo.sfc.entity;
+package org.onap.sfc.entity;
public class DelReqInfo {
private String sdnControllerId;
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.openo.sfc.entity;
+package org.onap.sfc.entity;
import com.google.gson.annotations.SerializedName;
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.openo.sfc.entity;
+package org.onap.sfc.entity;
public class FlowClassfierReq4N {
private String url;
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.openo.sfc.entity;
+package org.onap.sfc.entity;
import com.google.gson.annotations.SerializedName;
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.openo.sfc.entity;
+package org.onap.sfc.entity;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.openo.sfc.entity;
+package org.onap.sfc.entity;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.openo.sfc.entity;
+package org.onap.sfc.entity;
import com.google.gson.annotations.SerializedName;
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.openo.sfc.entity;
+package org.onap.sfc.entity;
import java.util.ArrayList;
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.openo.sfc.entity;
+package org.onap.sfc.entity;
import com.google.gson.annotations.SerializedName;
* limitations under the License.
*/
-package org.openo.sfc.entity;
+package org.onap.sfc.entity;
import com.google.gson.annotations.SerializedName;
* limitations under the License.
*/
-package org.openo.sfc.entity;
+package org.onap.sfc.entity;
import java.util.List;
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.openo.sfc.entity;
+package org.onap.sfc.entity;
import com.google.gson.annotations.SerializedName;
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.openo.sfc.entity;
+package org.onap.sfc.entity;
public class Result {
public String getId() {
* limitations under the License.
*/
-package org.openo.sfc.entity;
+package org.onap.sfc.entity;
public class SdnControllerInfo {
String url;
* limitations under the License.
*/
-package org.openo.sfc.entity.portpair;
+package org.onap.sfc.entity.portpair;
import com.google.gson.annotations.SerializedName;
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.openo.sfc.entity.portpair;
+package org.onap.sfc.entity.portpair;
import com.google.gson.annotations.SerializedName;
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.openo.sfc.entity.portpair;
+package org.onap.sfc.entity.portpair;
import java.util.Map;
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.openo.sfc.entity.portpair;
+package org.onap.sfc.entity.portpair;
import com.google.gson.annotations.SerializedName;
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.openo.sfc.entity.portpair;
+package org.onap.sfc.entity.portpair;
import com.google.gson.annotations.SerializedName;
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.openo.sfc.health;
+package org.onap.sfc.health;
import com.codahale.metrics.health.HealthCheck;
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.openo.sfc.resources;
+package org.onap.sfc.resources;
import com.codahale.metrics.annotation.Timed;
-import org.openo.sfc.entity.DelReqInfo;
-import org.openo.sfc.entity.FlowClassfierReq4N;
-import org.openo.sfc.entity.FlowClassifierReq4S;
-import org.openo.sfc.entity.PortChainReq4N;
-import org.openo.sfc.entity.PortChainReq4S;
-import org.openo.sfc.entity.PortPairGroupReq4N;
-import org.openo.sfc.entity.PortPairGroupReq4S;
-import org.openo.sfc.entity.Result;
-import org.openo.sfc.entity.portpair.PortPairReq4N;
-import org.openo.sfc.entity.portpair.PortPairReq4S;
-import org.openo.sfc.service.SdnServiceConsumer;
-import org.openo.sfc.utils.SfcDriverUtil;
-import org.openo.sfc.wrapper.N2sReqWrapper;
+import org.onap.sfc.entity.FlowClassifierReq4S;
+import org.onap.sfc.entity.PortChainReq4S;
+import org.onap.sfc.entity.PortPairGroupReq4N;
+import org.onap.sfc.entity.PortPairGroupReq4S;
+import org.onap.sfc.entity.portpair.PortPairReq4N;
+import org.onap.sfc.entity.portpair.PortPairReq4S;
+import org.onap.sfc.utils.SfcDriverUtil;
+import org.onap.sfc.wrapper.N2sReqWrapper;
+import org.onap.sfc.entity.DelReqInfo;
+import org.onap.sfc.entity.FlowClassfierReq4N;
+import org.onap.sfc.entity.PortChainReq4N;
+import org.onap.sfc.entity.Result;
+import org.onap.sfc.service.SdnServiceConsumer;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.openo.sfc.resources;
+package org.onap.sfc.resources;
-import com.google.gson.Gson;
-import org.openo.sfc.entity.MsbRegisterEntity;
-import org.openo.sfc.service.ConfigInfo;
-import org.openo.sfc.service.SdnServiceConsumer;
-import org.openo.sfc.utils.SfcDriverUtil;
+import org.onap.sfc.utils.SfcDriverUtil;
+import org.onap.sfc.entity.MsbRegisterEntity;
+import org.onap.sfc.service.ConfigInfo;
+import org.onap.sfc.service.SdnServiceConsumer;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.openo.sfc.service;
+package org.onap.sfc.service;
-import org.openo.sfc.SfcDriverConfig;
+import org.onap.sfc.SfcDriverConfig;
public class ConfigInfo {
public static SfcDriverConfig getConfig() {
* limitations under the License.
*/
-package org.openo.sfc.service;
+package org.onap.sfc.service;
-import org.openo.sfc.entity.Result;
+import org.onap.sfc.entity.Result;
import javax.ws.rs.Consumes;
import javax.ws.rs.DELETE;
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.openo.sfc.service;
+package org.onap.sfc.service;
-import org.openo.sfc.entity.MsbRegisterEntity;
+import org.onap.sfc.entity.MsbRegisterEntity;
import javax.ws.rs.Consumes;
import javax.ws.rs.POST;
* limitations under the License.
*/
-package org.openo.sfc.service;
+package org.onap.sfc.service;
import com.eclipsesource.jaxrs.consumer.ConsumerFactory;
import com.fasterxml.jackson.jaxrs.json.JacksonJsonProvider;
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.openo.sfc.utils;
+package org.onap.sfc.utils;
public interface SfcConst {
public static final int HTTP_OK = 200;
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.openo.sfc.utils;
+package org.onap.sfc.utils;
import com.google.gson.Gson;
-import org.openo.sfc.entity.ChainParameter;
-import org.openo.sfc.entity.MsbRegisterEntity;
-import org.openo.sfc.entity.NodeEntity;
-import org.openo.sfc.entity.portpair.ServiceFunctionParameter;
+import org.onap.sfc.entity.ChainParameter;
+import org.onap.sfc.entity.MsbRegisterEntity;
+import org.onap.sfc.entity.NodeEntity;
+import org.onap.sfc.entity.portpair.ServiceFunctionParameter;
import java.net.InetAddress;
import java.net.UnknownHostException;
* limitations under the License.
*/
-package org.openo.sfc.wrapper;
+package org.onap.sfc.wrapper;
-import org.openo.sfc.entity.ChainParameter;
-import org.openo.sfc.entity.FlowClassfierReq;
-import org.openo.sfc.entity.FlowClassfierReq4N;
-import org.openo.sfc.entity.FlowClassifierReq4S;
-import org.openo.sfc.entity.PortChainReq;
-import org.openo.sfc.entity.PortChainReq4N;
-import org.openo.sfc.entity.PortChainReq4S;
-import org.openo.sfc.entity.PortPairGroupReq;
-import org.openo.sfc.entity.PortPairGroupReq4N;
-import org.openo.sfc.entity.PortPairGroupReq4S;
-import org.openo.sfc.entity.portpair.PortPairReq;
-import org.openo.sfc.entity.portpair.PortPairReq4N;
-import org.openo.sfc.entity.portpair.PortPairReq4S;
-import org.openo.sfc.entity.portpair.ServiceFunctionParameter;
-import org.openo.sfc.utils.SfcDriverUtil;
+import org.onap.sfc.entity.PortChainReq;
+import org.onap.sfc.entity.PortChainReq4S;
+import org.onap.sfc.entity.PortPairGroupReq;
+import org.onap.sfc.entity.PortPairGroupReq4S;
+import org.onap.sfc.utils.SfcDriverUtil;
+import org.onap.sfc.entity.ChainParameter;
+import org.onap.sfc.entity.FlowClassfierReq;
+import org.onap.sfc.entity.FlowClassfierReq4N;
+import org.onap.sfc.entity.FlowClassifierReq4S;
+import org.onap.sfc.entity.PortChainReq4N;
+import org.onap.sfc.entity.PortPairGroupReq4N;
+import org.onap.sfc.entity.portpair.PortPairReq;
+import org.onap.sfc.entity.portpair.PortPairReq4N;
+import org.onap.sfc.entity.portpair.PortPairReq4S;
+import org.onap.sfc.entity.portpair.ServiceFunctionParameter;
import java.util.ArrayList;
import org.junit.Before;
import org.junit.Test;
-import org.openo.sfc.utils.SfcDriverUtil;
+import org.onap.sfc.utils.SfcDriverUtil;
public class TestAuthorization {
@Test
import org.junit.Before;
import org.junit.Test;
-import org.openo.sfc.entity.FlowClassfierReq4N;
-import org.openo.sfc.utils.SfcDriverUtil;
-import org.openo.sfc.wrapper.N2sReqWrapper;
+import org.onap.sfc.entity.FlowClassfierReq4N;
+import org.onap.sfc.utils.SfcDriverUtil;
+import org.onap.sfc.wrapper.N2sReqWrapper;
public class TestFlowClassifier {
import org.junit.Before;
import org.junit.Test;
-import org.openo.sfc.entity.MsbRegisterEntity;
-import org.openo.sfc.utils.SfcDriverUtil;
+import org.onap.sfc.entity.MsbRegisterEntity;
+import org.onap.sfc.utils.SfcDriverUtil;
public class TestMsbRegister {
@Test
import org.junit.Before;
import org.junit.Test;
-import org.openo.sfc.entity.PortChainReq4N;
-import org.openo.sfc.wrapper.N2sReqWrapper;
+import org.onap.sfc.entity.PortChainReq4N;
+import org.onap.sfc.wrapper.N2sReqWrapper;
public class TestPortChain {
@Test
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.Mockito;
-import org.openo.sfc.entity.portpair.PortPairReq4N;
-import org.openo.sfc.resources.DriverResource;
-import org.openo.sfc.service.ISdnControllerService;
-import org.openo.sfc.wrapper.N2sReqWrapper;
+import org.onap.sfc.entity.portpair.PortPairReq4N;
+import org.onap.sfc.resources.DriverResource;
+import org.onap.sfc.service.ISdnControllerService;
+import org.onap.sfc.wrapper.N2sReqWrapper;
import org.powermock.api.mockito.PowerMockito;
import org.powermock.core.classloader.annotations.PowerMockIgnore;
import org.powermock.core.classloader.annotations.PrepareForTest;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
-import org.openo.sfc.entity.PortPairGroupReq4N;
-import org.openo.sfc.service.ISdnControllerService;
-import org.openo.sfc.wrapper.N2sReqWrapper;
+import org.onap.sfc.entity.PortPairGroupReq4N;
+import org.onap.sfc.service.ISdnControllerService;
+import org.onap.sfc.wrapper.N2sReqWrapper;
import org.powermock.api.mockito.PowerMockito;
import org.powermock.core.classloader.annotations.PrepareForTest;
import org.powermock.modules.junit4.PowerMockRunner;
import org.junit.Before;
import org.junit.Test;
-import org.openo.sfc.entity.ChainParameter;
-import org.openo.sfc.utils.SfcDriverUtil;
+import org.onap.sfc.entity.ChainParameter;
+import org.onap.sfc.utils.SfcDriverUtil;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;