update the package name
[dmaap/messagerouter/msgrtr.git] / src / test / java / org / onap / dmaap / mr / cambria / embed / KafkaLocal.java
@@ -1,58 +1,58 @@
-/*-\r
- * ============LICENSE_START=======================================================\r
- * ONAP Policy Engine\r
- * ================================================================================\r
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.\r
- * ================================================================================\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- * \r
- *      http://www.apache.org/licenses/LICENSE-2.0\r
- * \r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- * ============LICENSE_END=========================================================\r
- */\r
-\r
-package com.att.nsa.cambria.embed;\r
-\r
-import java.io.IOException;\r
-import java.util.Properties;\r
-\r
-import kafka.server.KafkaConfig;\r
-import kafka.server.KafkaServerStartable;\r
\r
\r
-public class KafkaLocal {\r
\r
-       public KafkaServerStartable kafka;\r
-       public ZooKeeperLocal zookeeper;\r
-       \r
-       public KafkaLocal(Properties kafkaProperties, Properties zkProperties) throws IOException, InterruptedException{\r
-               KafkaConfig kafkaConfig = new KafkaConfig(kafkaProperties);\r
-               \r
-               //start local zookeeper\r
-               System.out.println("starting local zookeeper...");\r
-               zookeeper = new ZooKeeperLocal(zkProperties);\r
-               System.out.println("done");\r
-               \r
-               //start local kafka broker\r
-               kafka = new KafkaServerStartable(kafkaConfig);\r
-               System.out.println("starting local kafka broker...");\r
-               kafka.startup();\r
-               System.out.println("done");\r
-       }\r
-       \r
-       \r
-       public void stop(){\r
-               //stop kafka broker\r
-               System.out.println("stopping kafka...");\r
-               kafka.shutdown();\r
-               System.out.println("done");\r
-       }\r
-       \r
+/*-
+ * ============LICENSE_START=======================================================
+ * ONAP Policy Engine
+ * ================================================================================
+ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+ * ================================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END=========================================================
+ */
+
+ package org.onap.dmaap.mr.cambria.embed;
+
+import java.io.IOException;
+import java.util.Properties;
+
+import kafka.server.KafkaConfig;
+import kafka.server.KafkaServerStartable;
+public class KafkaLocal {
+       public KafkaServerStartable kafka;
+       public ZooKeeperLocal zookeeper;
+       
+       public KafkaLocal(Properties kafkaProperties, Properties zkProperties) throws IOException, InterruptedException{
+               KafkaConfig kafkaConfig = new KafkaConfig(kafkaProperties);
+               
+               //start local zookeeper
+               System.out.println("starting local zookeeper...");
+               zookeeper = new ZooKeeperLocal(zkProperties);
+               System.out.println("done");
+               
+               //start local kafka broker
+               kafka = new KafkaServerStartable(kafkaConfig);
+               System.out.println("starting local kafka broker...");
+               kafka.startup();
+               System.out.println("done");
+       }
+       
+       
+       public void stop(){
+               //stop kafka broker
+               System.out.println("stopping kafka...");
+               kafka.shutdown();
+               System.out.println("done");
+       }
+       
 }
\ No newline at end of file