[POLICY-73] replace openecomp for policy-engine
[policy/engine.git] / packages / base / src / files / bin / policy.sh
index 0b061a4..f21030e 100644 (file)
@@ -1,6 +1,6 @@
 ###
 # ============LICENSE_START=======================================================
-# ECOMP Policy Engine
+# ONAP Policy Engine
 # ================================================================================
 # Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
 # ================================================================================
@@ -104,14 +104,14 @@ function policy_status() {
                component_status configs
        fi
        
-       if check_x_file "${POLICY_HOME}/etc/init.d/pypdp"; then
-               component_status pypdp
-       fi
-       
        if check_x_file "${POLICY_HOME}/etc/init.d/console"; then
                component_status console
        fi
        
+       if check_x_file "${POLICY_HOME}/etc/init.d/elk"; then
+               component_status elk
+       fi
+       
        if check_x_file "${POLICY_HOME}/etc/init.d/brmsgw"; then
                component_status brmsgw
        fi
@@ -147,14 +147,14 @@ function policy_start() {
                component_start configs
        fi
        
-       if check_x_file "${POLICY_HOME}/etc/init.d/pypdp"; then
-               component_start pypdp
-       fi
-       
        if check_x_file "${POLICY_HOME}/etc/init.d/console"; then
                component_start console
        fi
        
+       if check_x_file "${POLICY_HOME}/etc/init.d/elk"; then
+               component_start elk
+       fi
+       
        if check_x_file "${POLICY_HOME}/etc/init.d/brmsgw"; then
                component_start brmsgw
        fi
@@ -195,9 +195,9 @@ function policy_stop() {
        if check_x_file "${POLICY_HOME}/etc/init.d/console"; then
                component_stop console
        fi
-               
-       if check_x_file "${POLICY_HOME}/etc/init.d/pypdp"; then
-               component_stop pypdp
+       
+       if check_x_file "${POLICY_HOME}/etc/init.d/elk"; then
+               component_stop elk
        fi
        
        if check_x_file "${POLICY_HOME}/etc/init.d/configs"; then