diff options
author | waqas.ikram <waqas.ikram@ericsson.com> | 2018-06-01 14:23:01 +0100 |
---|---|---|
committer | waqas.ikram <waqas.ikram@ericsson.com> | 2018-06-01 14:23:04 +0100 |
commit | 5722440b2eb8ff1923dda9d4d856f0adc1ac8e6f (patch) | |
tree | 5fb695630a8d4a2a3b111a5e3bfcacfba3dfc71d /auth/cli-editor/src/test | |
parent | fa529999c7d6e024cc3c4a478ef089a77e284974 (diff) |
Adding apex auth modules
Change-Id: Iec210465636458f0c104c99893440706279062f0
Issue-ID: POLICY-860
Signed-off-by: waqas.ikram <waqas.ikram@ericsson.com>
Diffstat (limited to 'auth/cli-editor/src/test')
29 files changed, 8573 insertions, 0 deletions
diff --git a/auth/cli-editor/src/test/java/org/onap/policy/apex/auth/clieditor/TestCLIEditorEventsContext.java b/auth/cli-editor/src/test/java/org/onap/policy/apex/auth/clieditor/TestCLIEditorEventsContext.java new file mode 100644 index 000000000..43238d63d --- /dev/null +++ b/auth/cli-editor/src/test/java/org/onap/policy/apex/auth/clieditor/TestCLIEditorEventsContext.java @@ -0,0 +1,103 @@ +/*- + * ============LICENSE_START======================================================= + * Copyright (C) 2016-2018 Ericsson. 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. + * + * SPDX-License-Identifier: Apache-2.0 + * ============LICENSE_END========================================================= + */ + +package org.onap.policy.apex.auth.clieditor; + +import static org.junit.Assert.assertEquals; + +import java.io.File; +import java.io.IOException; + +import org.junit.Test; +import org.onap.policy.apex.model.basicmodel.handling.ApexModelException; +import org.onap.policy.apex.model.utilities.TextFileUtils; + +/** + * The Class TestCLIEditorEventsContext. + */ +public class TestCLIEditorEventsContext { + // CHECKSTYLE:OFF: MagicNumber + + /** + * Test java context model. + * + * @throws IOException Signals that an I/O exception has occurred. + * @throws ApexModelException if an Apex error happens + */ + @Test + public void testJavaContextModel() throws IOException, ApexModelException { + final File tempLogFile = File.createTempFile("TestPolicyJavaEventsAndContext", ".log"); + final File tempModelFile = File.createTempFile("TestPolicyJavaEventsAndContext", ".json"); + + final String[] cliArgs = + new String[] {"-c", "src/main/resources/examples/scripts/TestPolicyJavaEventContext.apex", "-l", + tempLogFile.getAbsolutePath(), "-o", tempModelFile.getAbsolutePath()}; + + final ApexCLIEditorMain cliEditor = new ApexCLIEditorMain(cliArgs); + assertEquals(0, cliEditor.getErrorCount()); + + // Get the model and log into strings + final String logString = TextFileUtils.getTextFileAsString(tempLogFile.getCanonicalPath()); + final String modelString = TextFileUtils.getTextFileAsString(tempModelFile.getCanonicalPath()); + + // As a sanity check, count the number of non white space characters in log and model files + final int logCharCount = logString.replaceAll("\\s+", "").length(); + final int modelCharCount = modelString.replaceAll("\\s+", "").length(); + + assertEquals(25911, logCharCount); + assertEquals(46138, modelCharCount); + + tempLogFile.delete(); + tempModelFile.delete(); + } + + /** + * Test avro context model. + * + * @throws IOException Signals that an I/O exception has occurred. + * @throws ApexModelException if an Apex error happens + */ + @Test + public void testAvroContextModel() throws IOException, ApexModelException { + final File tempLogFile = File.createTempFile("TestPolicyAvroEventsAndContext", ".log"); + final File tempModelFile = File.createTempFile("TestPolicyAvroEventsAndContext", ".json"); + + final String[] cliArgs = + new String[] {"-c", "src/main/resources/examples/scripts/TestPolicyAvroEventContext.apex", "-l", + tempLogFile.getAbsolutePath(), "-o", tempModelFile.getAbsolutePath()}; + + final ApexCLIEditorMain cliEditor = new ApexCLIEditorMain(cliArgs); + assertEquals(0, cliEditor.getErrorCount()); + + // Get the model and log into strings + final String logString = TextFileUtils.getTextFileAsString(tempLogFile.getCanonicalPath()); + final String modelString = TextFileUtils.getTextFileAsString(tempModelFile.getCanonicalPath()); + + // As a sanity check, count the number of non white space characters in log and model files + final int logCharCount = logString.replaceAll("\\s+", "").length(); + final int modelCharCount = modelString.replaceAll("\\s+", "").length(); + + assertEquals(30315, logCharCount); + assertEquals(52930, modelCharCount); + + tempLogFile.delete(); + tempModelFile.delete(); + } +} diff --git a/auth/cli-editor/src/test/java/org/onap/policy/apex/auth/clieditor/TestCLIEditorOptions.java b/auth/cli-editor/src/test/java/org/onap/policy/apex/auth/clieditor/TestCLIEditorOptions.java new file mode 100644 index 000000000..87618e18d --- /dev/null +++ b/auth/cli-editor/src/test/java/org/onap/policy/apex/auth/clieditor/TestCLIEditorOptions.java @@ -0,0 +1,277 @@ +/*- + * ============LICENSE_START======================================================= + * Copyright (C) 2016-2018 Ericsson. 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. + * + * SPDX-License-Identifier: Apache-2.0 + * ============LICENSE_END========================================================= + */ + +package org.onap.policy.apex.auth.clieditor; + +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertFalse; +import static org.junit.Assert.assertTrue; + +import java.io.ByteArrayOutputStream; +import java.io.File; +import java.io.IOException; +import java.io.PrintStream; + +import org.junit.Test; +import org.onap.policy.apex.model.basicmodel.handling.ApexModelException; +import org.onap.policy.apex.model.utilities.TextFileUtils; + +/** + * The Class TestCLIEditorOptions. + * + * @author Liam Fallon (liam.fallon@ericsson.com) + */ +public class TestCLIEditorOptions { + // CHECKSTYLE:OFF: MagicNumber + + /** + * Test script options log model. + * + * @throws IOException Signals that an I/O exception has occurred. + * @throws ApexModelException if there is an Apex error + */ + @Test + public void testScriptOptionsLogModel() throws IOException, ApexModelException { + final File tempLogFile = File.createTempFile("ShellPolicyModel", ".log"); + final File tempModelFile = File.createTempFile("ShellPolicyModel", ".json"); + + final String[] cliArgs = new String[] {"-c", "src/main/resources/examples/scripts/ShellPolicyModel.apex", "-l", + tempLogFile.getAbsolutePath(), "-o", tempModelFile.getAbsolutePath()}; + + final ApexCLIEditorMain cliEditor = new ApexCLIEditorMain(cliArgs); + assertEquals(0, cliEditor.getErrorCount()); + + // Get the model and log into strings + final String logString = TextFileUtils.getTextFileAsString(tempLogFile.getCanonicalPath()); + final String modelString = TextFileUtils.getTextFileAsString(tempModelFile.getCanonicalPath()); + + // As a sanity check, count the number of non white space characters in log and model files + final int logCharCount = logString.replaceAll("\\s+", "").length(); + final int modelCharCount = modelString.replaceAll("\\s+", "").length(); + + assertEquals(1204, logCharCount); + assertEquals(2924, modelCharCount); + + tempLogFile.delete(); + tempModelFile.delete(); + } + + /** + * Test script options no log no model spec. + * + * @throws IOException Signals that an I/O exception has occurred. + * @throws ApexModelException if there is an Apex error + */ + @Test + public void testScriptOptionsNoLogNoModelSpec() throws IOException, ApexModelException { + final File tempLogFile = File.createTempFile("ShellPolicyModel", ".log"); + final File tempModelFile = File.createTempFile("ShellPolicyModel", ".json"); + + final String[] cliArgs = new String[] {"-c", "src/main/resources/examples/scripts/ShellPolicyModel.apex", "-l", + tempLogFile.getAbsolutePath(), "-o", tempModelFile.getAbsolutePath(), "-nl", "-nm"}; + + final ApexCLIEditorMain cliEditor = new ApexCLIEditorMain(cliArgs); + assertEquals(0, cliEditor.getErrorCount()); + + // Get the model and log into strings + final String logString = TextFileUtils.getTextFileAsString(tempLogFile.getCanonicalPath()); + final String modelString = TextFileUtils.getTextFileAsString(tempModelFile.getCanonicalPath()); + + // As a sanity check, count the number of non white space characters in log and model files + final int logCharCount = logString.replaceAll("\\s+", "").length(); + final int modelCharCount = modelString.replaceAll("\\s+", "").length(); + + assertEquals(0, logCharCount); + assertEquals(0, modelCharCount); + + tempLogFile.delete(); + tempModelFile.delete(); + } + + /** + * Test script options log no model spec. + * + * @throws IOException Signals that an I/O exception has occurred. + * @throws ApexModelException if there is an Apex error + */ + @Test + public void testScriptOptionsLogNoModelSpec() throws IOException, ApexModelException { + final File tempLogFile = File.createTempFile("ShellPolicyModel", ".log"); + final File tempModelFile = File.createTempFile("ShellPolicyModel", ".json"); + + final String[] cliArgs = new String[] {"-c", "src/main/resources/examples/scripts/ShellPolicyModel.apex", "-l", + tempLogFile.getAbsolutePath(), "-o", tempModelFile.getAbsolutePath(), "-nm"}; + + final ApexCLIEditorMain cliEditor = new ApexCLIEditorMain(cliArgs); + assertEquals(0, cliEditor.getErrorCount()); + + // Get the model and log into strings + final String logString = TextFileUtils.getTextFileAsString(tempLogFile.getCanonicalPath()); + final String modelString = TextFileUtils.getTextFileAsString(tempModelFile.getCanonicalPath()); + + System.err.println(modelString); + // As a sanity check, count the number of non white space characters in log and model files + final int logCharCount = logString.replaceAll("\\s+", "").length(); + final int modelCharCount = modelString.replaceAll("\\s+", "").length(); + + assertEquals(1204, logCharCount); + assertEquals(0, modelCharCount); + + tempLogFile.delete(); + tempModelFile.delete(); + } + + /** + * Test script options no log model spec. + * + * @throws IOException Signals that an I/O exception has occurred. + * @throws ApexModelException if there is an Apex error + */ + @Test + public void testScriptOptionsNoLogModelSpec() throws IOException, ApexModelException { + final File tempLogFile = File.createTempFile("ShellPolicyModel", ".log"); + final File tempModelFile = File.createTempFile("ShellPolicyModel", ".json"); + + final String[] cliArgs = new String[] {"-c", "src/main/resources/examples/scripts/ShellPolicyModel.apex", "-l", + tempLogFile.getAbsolutePath(), "-o", tempModelFile.getAbsolutePath(), "-nl"}; + + final ApexCLIEditorMain cliEditor = new ApexCLIEditorMain(cliArgs); + assertEquals(0, cliEditor.getErrorCount()); + + // Get the model and log into strings + final String logString = TextFileUtils.getTextFileAsString(tempLogFile.getCanonicalPath()); + final String modelString = TextFileUtils.getTextFileAsString(tempModelFile.getCanonicalPath()); + + // As a sanity check, count the number of non white space characters in log and model files + final int logCharCount = logString.replaceAll("\\s+", "").length(); + final int modelCharCount = modelString.replaceAll("\\s+", "").length(); + + assertEquals(0, logCharCount); + assertEquals(2924, modelCharCount); + + tempLogFile.delete(); + tempModelFile.delete(); + } + + /** + * Test script options no log no model no spec. + * + * @throws IOException Signals that an I/O exception has occurred. + * @throws ApexModelException if there is an Apex error + */ + @Test + public void testScriptOptionsNoLogNoModelNoSpec() throws IOException, ApexModelException { + final String[] cliArgs = + new String[] {"-c", "src/main/resources/examples/scripts/ShellPolicyModel.apex", "-nl", "-nm"}; + + final ByteArrayOutputStream baos = new ByteArrayOutputStream(); + + System.setOut(new PrintStream(baos)); + final ApexCLIEditorMain cliEditor = new ApexCLIEditorMain(cliArgs); + assertEquals(0, cliEditor.getErrorCount()); + + // Cursor for log + assertFalse(baos.toString().contains(">")); + + // Curly bracket from JSON model + assertFalse(baos.toString().contains("{")); + } + + /** + * Test script options log model no spec. + * + * @throws IOException Signals that an I/O exception has occurred. + * @throws ApexModelException if there is an Apex error + */ + @Test + public void testScriptOptionsLogModelNoSpec() throws IOException, ApexModelException { + final String[] cliArgs = new String[] {"-c", "src/main/resources/examples/scripts/ShellPolicyModel.apex"}; + + final ByteArrayOutputStream baos = new ByteArrayOutputStream(); + + final PrintStream stdout = System.out; + System.setOut(new PrintStream(baos)); + final ApexCLIEditorMain cliEditor = new ApexCLIEditorMain(cliArgs); + assertEquals(0, cliEditor.getErrorCount()); + + // Cursor for log + assertTrue(baos.toString().contains(">")); + + // Curly bracket from JSON model + assertTrue(baos.toString().contains("{")); + + System.setOut(stdout); + } + + /** + * Test script options input output model. + * + * @throws IOException Signals that an I/O exception has occurred. + * @throws ApexModelException if there is an Apex error + */ + @Test + public void testScriptOptionsInputOutputModel() throws IOException, ApexModelException { + final File tempLogFileIn = File.createTempFile("ShellPolicyModelIn", ".log"); + final File tempLogFileOut = File.createTempFile("ShellPolicyModelOut", ".log"); + final File tempModelFileIn = File.createTempFile("ShellPolicyModelIn", ".json"); + final File tempModelFileOut = File.createTempFile("ShellPolicyModelOut", ".json"); + + // Generate input model + final String[] cliArgsIn = new String[] {"-c", "src/main/resources/examples/scripts/ShellPolicyModel.apex", + "-l", tempLogFileIn.getAbsolutePath(), "-o", tempModelFileIn.getAbsolutePath()}; + + final ApexCLIEditorMain cliEditorIn = new ApexCLIEditorMain(cliArgsIn); + assertEquals(0, cliEditorIn.getErrorCount()); + + // Get the model and log into strings + final String tempLogFileInString = TextFileUtils.getTextFileAsString(tempLogFileIn.getCanonicalPath()); + final String tempModelFileInString = TextFileUtils.getTextFileAsString(tempModelFileIn.getCanonicalPath()); + + // As a sanity check, count the number of non white space characters in log and model files + final int tempLogFileInCharCount = tempLogFileInString.replaceAll("\\s+", "").length(); + final int tempModelFileInCharCount = tempModelFileInString.replaceAll("\\s+", "").length(); + + assertEquals(1204, tempLogFileInCharCount); + assertEquals(2924, tempModelFileInCharCount); + + final String[] cliArgsOut = new String[] {"-i", tempModelFileIn.getAbsolutePath(), "-c", + "src/main/resources/examples/scripts/ShellPolicyModelAddSchema.apex", "-l", + tempLogFileOut.getAbsolutePath(), "-o", tempModelFileOut.getAbsolutePath()}; + + final ApexCLIEditorMain cliEditorOut = new ApexCLIEditorMain(cliArgsOut); + assertEquals(0, cliEditorOut.getErrorCount()); + + // Get the model and log into strings + final String tempLogFileOutString = TextFileUtils.getTextFileAsString(tempLogFileOut.getCanonicalPath()); + final String tempModelFileOutString = TextFileUtils.getTextFileAsString(tempModelFileOut.getCanonicalPath()); + + // As a sanity check, count the number of non white space characters in log and model files + final int tempLogFileOutCharCount = tempLogFileOutString.replaceAll("\\s+", "").length(); + final int tempModelFileOutCharCount = tempModelFileOutString.replaceAll("\\s+", "").length(); + + assertEquals(1154, tempLogFileOutCharCount); + assertEquals(3356, tempModelFileOutCharCount); + + tempLogFileIn.delete(); + tempModelFileIn.delete(); + tempLogFileOut.delete(); + tempModelFileOut.delete(); + } +} diff --git a/auth/cli-editor/src/test/java/org/onap/policy/apex/auth/clieditor/TestCLIEditorScripting.java b/auth/cli-editor/src/test/java/org/onap/policy/apex/auth/clieditor/TestCLIEditorScripting.java new file mode 100644 index 000000000..b57a72dab --- /dev/null +++ b/auth/cli-editor/src/test/java/org/onap/policy/apex/auth/clieditor/TestCLIEditorScripting.java @@ -0,0 +1,132 @@ +/*- + * ============LICENSE_START======================================================= + * Copyright (C) 2016-2018 Ericsson. 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. + * + * SPDX-License-Identifier: Apache-2.0 + * ============LICENSE_END========================================================= + */ + +package org.onap.policy.apex.auth.clieditor; + +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertTrue; + +import java.io.File; +import java.io.IOException; +import java.net.URL; + +import org.junit.After; +import org.junit.Before; +import org.junit.Test; +import org.onap.policy.apex.model.basicmodel.concepts.AxValidationResult; +import org.onap.policy.apex.model.basicmodel.handling.ApexModelException; +import org.onap.policy.apex.model.basicmodel.handling.ApexModelReader; +import org.onap.policy.apex.model.policymodel.concepts.AxPolicyModel; +import org.onap.policy.apex.model.utilities.ResourceUtils; + +/** + * The Class TestCLIEditorScripting. + * + * @author Liam Fallon (liam.fallon@ericsson.com) + */ +public class TestCLIEditorScripting { + + private File tempModelFile; + private File tempLogFile; + + private String[] sampleLBPolicyArgs; + + private String[] sampleLBPolicyMapArgs; + + /** + * Initialise args. + * + * @throws IOException Signals that an I/O exception has occurred. + */ + @Before + public void initialiseArgs() throws IOException { + tempModelFile = File.createTempFile("SampleLBPolicyMap", ".json"); + tempLogFile = File.createTempFile("SampleLBPolicyMap", ".log"); + + sampleLBPolicyArgs = new String[] {"-c", "src/test/resources/scripts/SampleLBPolicy.apex", "-o", + tempModelFile.getAbsolutePath(), "-l", tempLogFile.getAbsolutePath()}; + + sampleLBPolicyMapArgs = new String[] {"-c", "src/test/resources/scripts/SampleLBPolicy_WithMap.apex", "-o", + tempModelFile.getAbsolutePath(), "-l", tempLogFile.getAbsolutePath()}; + } + + /** + * Removes the generated files. + */ + @After + public void removeGeneratedFiles() { + tempModelFile.delete(); + tempLogFile.delete(); + } + + /** + * Test sample Fuzzy LB policy script. + * + * @throws IOException Signals that an I/O exception has occurred. + * @throws ApexModelException if there is an Apex error + */ + @Test + public void testSampleLBPolicyScript() throws IOException, ApexModelException { + final ApexCLIEditorMain cliEditor = new ApexCLIEditorMain(sampleLBPolicyArgs); + assertEquals(0, cliEditor.getErrorCount()); + + // Read the file from disk + final ApexModelReader<AxPolicyModel> modelReader = new ApexModelReader<>(AxPolicyModel.class); + + final URL writtenModelURL = ResourceUtils.getLocalFile(tempModelFile.getCanonicalPath()); + final AxPolicyModel writtenModel = modelReader.read(writtenModelURL.openStream()); + + final URL compareModelURL = + ResourceUtils.getLocalFile("src/test/resources/compare/FuzzyPolicyModel_Compare.json"); + final AxPolicyModel compareModel = modelReader.read(compareModelURL.openStream()); + + // Ignore key info UUIDs + writtenModel.getKeyInformation().getKeyInfoMap().clear(); + compareModel.getKeyInformation().getKeyInfoMap().clear(); + + assertTrue(writtenModel.equals(compareModel)); + } + + /** + * Test sample Fuzzy LB map policy script. + * + * @throws IOException Signals that an I/O exception has occurred. + * @throws ApexModelException if there is an Apex error + */ + @Test + public void testSampleLBMapPolicyScript() throws IOException, ApexModelException { + tempModelFile.delete(); + + final ApexCLIEditorMain cliEditor = new ApexCLIEditorMain(sampleLBPolicyMapArgs); + assertEquals(0, cliEditor.getErrorCount()); + + assertTrue(tempModelFile.isFile()); + + // Read the file from disk + final ApexModelReader<AxPolicyModel> modelReader = new ApexModelReader<>(AxPolicyModel.class); + + final URL writtenModelURL = ResourceUtils.getLocalFile(tempModelFile.getCanonicalPath()); + final AxPolicyModel writtenModel = modelReader.read(writtenModelURL.openStream()); + + final AxValidationResult validationResult = new AxValidationResult(); + writtenModel.validate(validationResult); + assertEquals(AxValidationResult.ValidationResult.OBSERVATION, validationResult.getValidationResult()); + } +} diff --git a/auth/cli-editor/src/test/java/org/onap/policy/apex/auth/clieditor/TestContextAlbums.java b/auth/cli-editor/src/test/java/org/onap/policy/apex/auth/clieditor/TestContextAlbums.java new file mode 100644 index 000000000..59b2f2471 --- /dev/null +++ b/auth/cli-editor/src/test/java/org/onap/policy/apex/auth/clieditor/TestContextAlbums.java @@ -0,0 +1,93 @@ +/*- + * ============LICENSE_START======================================================= + * Copyright (C) 2016-2018 Ericsson. 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. + * + * SPDX-License-Identifier: Apache-2.0 + * ============LICENSE_END========================================================= + */ + +package org.onap.policy.apex.auth.clieditor; + +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertNotNull; +import static org.junit.Assert.assertTrue; + +import java.io.File; +import java.io.IOException; +import java.net.URL; + +import org.junit.After; +import org.junit.Before; +import org.junit.Test; +import org.onap.policy.apex.model.basicmodel.handling.ApexModelException; +import org.onap.policy.apex.model.basicmodel.handling.ApexModelReader; +import org.onap.policy.apex.model.policymodel.concepts.AxPolicyModel; +import org.onap.policy.apex.model.utilities.ResourceUtils; + +public class TestContextAlbums { + private String[] logicBlockArgs; + + private File tempModelFile; + + @Before + public void createTempFiles() throws IOException { + tempModelFile = File.createTempFile("TestPolicyModel", ".json"); + + logicBlockArgs = new String[] { + "-c", + "src/test/resources/scripts/ContextAlbums.apex", + "-o", + tempModelFile.getAbsolutePath(), + "-nl" + }; + } + + /** + * Removes the generated models. + */ + @After + public void removeGeneratedModels() { + tempModelFile.delete(); + } + + /** + * Test logic block. + * + * @throws IOException Signals that an I/O exception has occurred. + * @throws ApexModelException if there is an Apex error + */ + @Test + public void testLogicBlock() throws IOException, ApexModelException { + final ApexCLIEditorMain cliEditor = new ApexCLIEditorMain(logicBlockArgs); + assertEquals(1, cliEditor.getErrorCount()); + + // Read the file from disk + final ApexModelReader<AxPolicyModel> modelReader = new ApexModelReader<>(AxPolicyModel.class); + modelReader.setValidateFlag(false); + + final URL writtenModelURL = ResourceUtils.getLocalFile(tempModelFile.getCanonicalPath()); + final AxPolicyModel writtenModel = modelReader.read(writtenModelURL.openStream()); + assertNotNull(writtenModel); + + final URL compareModelURL = ResourceUtils.getLocalFile("src/test/resources/compare/ContextAlbumsModel_Compare.json"); + final AxPolicyModel compareModel = modelReader.read(compareModelURL.openStream()); + + // Ignore key info UUIDs + writtenModel.getKeyInformation().getKeyInfoMap().clear(); + compareModel.getKeyInformation().getKeyInfoMap().clear(); + + assertTrue(writtenModel.equals(compareModel)); + } +} diff --git a/auth/cli-editor/src/test/java/org/onap/policy/apex/auth/clieditor/TestFileMacro.java b/auth/cli-editor/src/test/java/org/onap/policy/apex/auth/clieditor/TestFileMacro.java new file mode 100644 index 000000000..e102bd2fd --- /dev/null +++ b/auth/cli-editor/src/test/java/org/onap/policy/apex/auth/clieditor/TestFileMacro.java @@ -0,0 +1,115 @@ +/*- + * ============LICENSE_START======================================================= + * Copyright (C) 2016-2018 Ericsson. 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. + * + * SPDX-License-Identifier: Apache-2.0 + * ============LICENSE_END========================================================= + */ + +package org.onap.policy.apex.auth.clieditor; + +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertTrue; + +import java.io.File; +import java.io.IOException; +import java.net.URL; +import java.nio.file.Paths; + +import org.junit.After; +import org.junit.Before; +import org.junit.Test; +import org.onap.policy.apex.model.basicmodel.handling.ApexModelException; +import org.onap.policy.apex.model.basicmodel.handling.ApexModelReader; +import org.onap.policy.apex.model.policymodel.concepts.AxPolicyModel; +import org.onap.policy.apex.model.utilities.ResourceUtils; +import org.onap.policy.apex.model.utilities.TextFileUtils; + +/** + * Test FileMacro in the CLI. + */ +public class TestFileMacro { + private String[] fileMacroArgs; + + private File tempModelFile; + private File tempLogFile; + + @Before + public void createTempFiles() throws IOException { + tempModelFile = File.createTempFile("TestPolicyModel", ".json"); + tempLogFile = File.createTempFile("TestPolicyModel", ".log"); + + fileMacroArgs = new String[] { + "-c", + "src/test/resources/scripts/FileMacro.apex", + "-l", + tempLogFile.getCanonicalPath(), + "-o", + tempModelFile.getCanonicalPath(), + "-if", + "true" + }; + } + + @After + public void removeGeneratedModels() { + tempModelFile.delete(); + } + + /** + * Test logic block macro in CLI scripts. + * + * @throws IOException Signals that an I/O exception has occurred. + * @throws ApexModelException if there is an Apex error + */ + @Test + public void testLogicBlock() throws IOException, ApexModelException { + final ApexCLIEditorMain cliEditor = new ApexCLIEditorMain(fileMacroArgs); + // We expect eight errors + assertEquals(8, cliEditor.getErrorCount()); + + // Read the file from disk + final ApexModelReader<AxPolicyModel> modelReader = new ApexModelReader<>(AxPolicyModel.class); + modelReader.setValidateFlag(false); + + final URL writtenModelURL = ResourceUtils.getLocalFile(tempModelFile.getCanonicalPath()); + final AxPolicyModel writtenModel = modelReader.read(writtenModelURL.openStream()); + + final URL compareModelURL = ResourceUtils.getLocalFile("src/test/resources/compare/FileMacroModel_Compare.json"); + final AxPolicyModel compareModel = modelReader.read(compareModelURL.openStream()); + + // Ignore key info UUIDs + writtenModel.getKeyInformation().getKeyInfoMap().clear(); + compareModel.getKeyInformation().getKeyInfoMap().clear(); + + assertTrue(writtenModel.equals(compareModel)); + + // The output event is in this file + final File outputLogFile = new File(tempLogFile.getCanonicalPath()); + + final String outputLogString = TextFileUtils + .getTextFileAsString(outputLogFile.getCanonicalPath()) + .replace(Paths.get("").toAbsolutePath().toString() + File.separator, "") + .replaceAll("\\s+", ""); + + // We compare the log to what we expect to get + final String outputLogCompareString = TextFileUtils + .getTextFileAsString("src/test/resources/compare/FileMacro_Compare.log") + .replaceAll("\\s+", ""); + + // Check what we got is what we expected to get + assertEquals(outputLogCompareString, outputLogString); + } +} diff --git a/auth/cli-editor/src/test/java/org/onap/policy/apex/auth/clieditor/TestLogicBlock.java b/auth/cli-editor/src/test/java/org/onap/policy/apex/auth/clieditor/TestLogicBlock.java new file mode 100644 index 000000000..2fe63fcf8 --- /dev/null +++ b/auth/cli-editor/src/test/java/org/onap/policy/apex/auth/clieditor/TestLogicBlock.java @@ -0,0 +1,117 @@ +/*- + * ============LICENSE_START======================================================= + * Copyright (C) 2016-2018 Ericsson. 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. + * + * SPDX-License-Identifier: Apache-2.0 + * ============LICENSE_END========================================================= + */ + +package org.onap.policy.apex.auth.clieditor; + +import static org.junit.Assert.assertTrue; + +import java.io.File; +import java.io.IOException; +import java.net.URL; + +import org.junit.After; +import org.junit.Before; +import org.junit.Test; +import org.onap.policy.apex.model.basicmodel.handling.ApexModelException; +import org.onap.policy.apex.model.basicmodel.handling.ApexModelReader; +import org.onap.policy.apex.model.policymodel.concepts.AxPolicyModel; +import org.onap.policy.apex.model.utilities.ResourceUtils; + +public class TestLogicBlock { + private String[] logicBlockArgs; + private String[] avroSchemaArgs; + + private File tempLogicModelFile; + private File tempAvroModelFile; + + @Before + public void createTempFiles() throws IOException { + tempLogicModelFile = File.createTempFile("TestLogicPolicyModel", ".json"); + tempAvroModelFile = File.createTempFile("TestAvroPolicyModel", ".json"); + + logicBlockArgs = new String[] {"-c", "src/test/resources/scripts/LogicBlock.apex", "-o", + tempLogicModelFile.getCanonicalPath(), "-if", "true", "-nl"}; + + avroSchemaArgs = new String[] {"-c", "src/test/resources/scripts/AvroSchema.apex", "-o", + tempAvroModelFile.getCanonicalPath(), "-nl"}; + } + + @After + public void removeTempFiles() { + tempLogicModelFile.delete(); + tempAvroModelFile.delete(); + } + + /** + * Test logic block. + * + * @throws IOException Signals that an I/O exception has occurred. + * @throws ApexModelException if there is an Apex error + */ + @Test + public void testLogicBlock() throws IOException, ApexModelException { + new ApexCLIEditorMain(logicBlockArgs); + + // Read the file from disk + final ApexModelReader<AxPolicyModel> modelReader = new ApexModelReader<>(AxPolicyModel.class); + modelReader.setValidateFlag(false); + + final URL writtenModelURL = ResourceUtils.getLocalFile(tempLogicModelFile.getCanonicalPath()); + final AxPolicyModel writtenModel = modelReader.read(writtenModelURL.openStream()); + + final URL compareModelURL = + ResourceUtils.getLocalFile("src/test/resources/compare/LogicBlockModel_Compare.json"); + final AxPolicyModel compareModel = modelReader.read(compareModelURL.openStream()); + + // Ignore key info UUIDs + writtenModel.getKeyInformation().getKeyInfoMap().clear(); + compareModel.getKeyInformation().getKeyInfoMap().clear(); + + assertTrue(writtenModel.equals(compareModel)); + } + + /** + * Test avro schema. + * + * @throws IOException Signals that an I/O exception has occurred. + * @throws ApexModelException if there is an Apex error + */ + @Test + public void testAvroSchema() throws IOException, ApexModelException { + new ApexCLIEditorMain(avroSchemaArgs); + + // Read the file from disk + final ApexModelReader<AxPolicyModel> modelReader = new ApexModelReader<>(AxPolicyModel.class); + modelReader.setValidateFlag(false); + + final URL writtenModelURL = ResourceUtils.getLocalFile(tempAvroModelFile.getCanonicalPath()); + final AxPolicyModel writtenModel = modelReader.read(writtenModelURL.openStream()); + + final URL compareModelURL = + ResourceUtils.getLocalFile("src/test/resources/compare/AvroSchemaModel_Compare.json"); + final AxPolicyModel compareModel = modelReader.read(compareModelURL.openStream()); + + // Ignore key info UUIDs + writtenModel.getKeyInformation().getKeyInfoMap().clear(); + compareModel.getKeyInformation().getKeyInfoMap().clear(); + + assertTrue(writtenModel.equals(compareModel)); + } +} diff --git a/auth/cli-editor/src/test/resources/compare/AvroSchemaModel_Compare.json b/auth/cli-editor/src/test/resources/compare/AvroSchemaModel_Compare.json new file mode 100644 index 000000000..bea9ff97f --- /dev/null +++ b/auth/cli-editor/src/test/resources/compare/AvroSchemaModel_Compare.json @@ -0,0 +1,239 @@ +{ + "apexPolicyModel" : { + "key" : { + "name" : "AvroSchemaPolicy", + "version" : "0.0.1" + }, + "keyInformation" : { + "key" : { + "name" : "AvroSchemaPolicy_KeyInfo", + "version" : "0.0.1" + }, + "keyInfoMap" : { + "entry" : [ { + "key" : { + "name" : "AvroSchemaPolicy", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "AvroSchemaPolicy", + "version" : "0.0.1" + }, + "UUID" : "9964f7a9-06fb-4a35-96d3-316bf625414b", + "description" : "Generated description for concept referred to by key \"AvroSchemaPolicy:0.0.1\"" + } + }, { + "key" : { + "name" : "AvroSchemaPolicy_Albums", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "AvroSchemaPolicy_Albums", + "version" : "0.0.1" + }, + "UUID" : "d67c4a9f-f307-472c-b4a7-21f0d3db1563", + "description" : "Generated description for concept referred to by key \"AvroSchemaPolicy_Albums:0.0.1\"" + } + }, { + "key" : { + "name" : "AvroSchemaPolicy_Events", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "AvroSchemaPolicy_Events", + "version" : "0.0.1" + }, + "UUID" : "b7bf6461-f656-48d8-9f4f-fd252f842021", + "description" : "Generated description for concept referred to by key \"AvroSchemaPolicy_Events:0.0.1\"" + } + }, { + "key" : { + "name" : "AvroSchemaPolicy_KeyInfo", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "AvroSchemaPolicy_KeyInfo", + "version" : "0.0.1" + }, + "UUID" : "3f8c3400-40cd-4450-b0bc-01bcdeacfbe2", + "description" : "Generated description for concept referred to by key \"AvroSchemaPolicy_KeyInfo:0.0.1\"" + } + }, { + "key" : { + "name" : "AvroSchemaPolicy_Policies", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "AvroSchemaPolicy_Policies", + "version" : "0.0.1" + }, + "UUID" : "f321d8e8-d8d6-43fc-adf3-c22d25668068", + "description" : "Generated description for concept referred to by key \"AvroSchemaPolicy_Policies:0.0.1\"" + } + }, { + "key" : { + "name" : "AvroSchemaPolicy_Schemas", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "AvroSchemaPolicy_Schemas", + "version" : "0.0.1" + }, + "UUID" : "804587e0-ae28-476b-83c1-db1fbd948465", + "description" : "Generated description for concept referred to by key \"AvroSchemaPolicy_Schemas:0.0.1\"" + } + }, { + "key" : { + "name" : "AvroSchemaPolicy_Tasks", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "AvroSchemaPolicy_Tasks", + "version" : "0.0.1" + }, + "UUID" : "d7bc0088-20a0-46dc-b7fd-d1bd06a1115e", + "description" : "Generated description for concept referred to by key \"AvroSchemaPolicy_Tasks:0.0.1\"" + } + }, { + "key" : { + "name" : "SchemaLogicTest", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "SchemaLogicTest", + "version" : "0.0.1" + }, + "UUID" : "a5dd9412-1b95-4a13-91e6-823d7b8806e8", + "description" : "Generated description for concept referred to by key \"SchemaLogicTest:0.0.1\"" + } + }, { + "key" : { + "name" : "Test_InputEvent", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "Test_InputEvent", + "version" : "0.0.1" + }, + "UUID" : "c2f49864-bd50-42c2-9d20-8af67c59a073", + "description" : "Generated description for concept referred to by key \"Test_InputEvent:0.0.1\"" + } + } ] + } + }, + "policies" : { + "key" : { + "name" : "AvroSchemaPolicy_Policies", + "version" : "0.0.1" + }, + "policyMap" : { + "entry" : [ ] + } + }, + "tasks" : { + "key" : { + "name" : "AvroSchemaPolicy_Tasks", + "version" : "0.0.1" + }, + "taskMap" : { + "entry" : [ ] + } + }, + "events" : { + "key" : { + "name" : "AvroSchemaPolicy_Events", + "version" : "0.0.1" + }, + "eventMap" : { + "entry" : [ { + "key" : { + "name" : "Test_InputEvent", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "Test_InputEvent", + "version" : "0.0.1" + }, + "nameSpace" : "org.onap.policy.apex.test", + "source" : "External", + "target" : "Apex", + "parameter" : { + "entry" : [ { + "key" : "AAA", + "value" : { + "key" : "AAA", + "fieldSchemaKey" : { + "name" : "SchemaLogicTest", + "version" : "0.0.1" + }, + "optional" : false + } + }, { + "key" : "BBB", + "value" : { + "key" : "BBB", + "fieldSchemaKey" : { + "name" : "SchemaLogicTest", + "version" : "0.0.1" + }, + "optional" : true + } + }, { + "key" : "CCC", + "value" : { + "key" : "CCC", + "fieldSchemaKey" : { + "name" : "SchemaLogicTest", + "version" : "0.0.1" + }, + "optional" : false + } + } ] + } + } + } ] + } + }, + "albums" : { + "key" : { + "name" : "AvroSchemaPolicy_Albums", + "version" : "0.0.1" + }, + "albums" : { + "entry" : [ ] + } + }, + "schemas" : { + "key" : { + "name" : "AvroSchemaPolicy_Schemas", + "version" : "0.0.1" + }, + "schemas" : { + "entry" : [ { + "key" : { + "name" : "SchemaLogicTest", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "SchemaLogicTest", + "version" : "0.0.1" + }, + "schemaFlavour" : "Avro", + "schemaDefinition" : "{\n \"type\" : \"record\",\n \"name\" : \"VPNActEvent\",\n \"namespace\" : \"org.onap.policy.apex.domains.vpn.events\",\n \"fields\" : [\n {\"name\": \"nameSpace\", \"type\": \"string\"},\n {\"name\": \"name\", \"type\": \"string\"},\n {\"name\": \"version\", \"type\": \"string\"},\n {\"name\": \"source\", \"type\": \"string\"},\n {\"name\": \"target\", \"type\": \"string\"},\n {\"name\": \"LinkMap\", \"type\": {\n \"type\" : \"record\",\n \"name\" : \"LinkMap\",\n \"namespace\" : \"org.onap.policy.apex.domains.vpn\",\n \"fields\" : [ ]\n }\n },\n {\"name\": \"CustomerMap\", \"type\": {\n \"type\" : \"record\",\n \"name\" : \"CustomerMap\",\n \"namespace\" : \"org.onap.policy.apex.domains.vpn\",\n \"fields\" : [ ]\n }\n }\n ]\n}" + } + } ] + } + } + } +}
\ No newline at end of file diff --git a/auth/cli-editor/src/test/resources/compare/ContextAlbumsModel_Compare.json b/auth/cli-editor/src/test/resources/compare/ContextAlbumsModel_Compare.json new file mode 100644 index 000000000..3af04cd1e --- /dev/null +++ b/auth/cli-editor/src/test/resources/compare/ContextAlbumsModel_Compare.json @@ -0,0 +1,1625 @@ +{ + "apexPolicyModel" : { + "key" : { + "name" : "LoadBalancingFuzzyPolicy_PolicyModel", + "version" : "0.0.1" + }, + "keyInformation" : { + "key" : { + "name" : "LoadBalancingFuzzyPolicy_PolicyModel_KeyInfo", + "version" : "0.0.1" + }, + "keyInfoMap" : { + "entry" : [ { + "key" : { + "name" : "Adj_CM_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "Adj_CM_type", + "version" : "0.0.1" + }, + "UUID" : "079f22b3-ae0f-4021-b3b2-4c30d30a62b2", + "description" : "Generated description for concept referred to by key \"Adj_CM_type:0.0.1\"" + } + }, { + "key" : { + "name" : "Adj_KPI_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "Adj_KPI_type", + "version" : "0.0.1" + }, + "UUID" : "b30510dc-980b-4425-8629-d564602245bb", + "description" : "Generated description for concept referred to by key \"Adj_KPI_type:0.0.1\"" + } + }, { + "key" : { + "name" : "Adjacency_4G_Name_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "Adjacency_4G_Name_type", + "version" : "0.0.1" + }, + "UUID" : "0e1c57df-6e40-4610-9e47-c481615c2b4b", + "description" : "Generated description for concept referred to by key \"Adjacency_4G_Name_type:0.0.1\"" + } + }, { + "key" : { + "name" : "CellA_CM_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "CellA_CM_type", + "version" : "0.0.1" + }, + "UUID" : "cc342ac1-6e79-420f-afe1-7968fc0dc2b6", + "description" : "Generated description for concept referred to by key \"CellA_CM_type:0.0.1\"" + } + }, { + "key" : { + "name" : "CellA_KPI_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "CellA_KPI_type", + "version" : "0.0.1" + }, + "UUID" : "879f7be0-07ff-4511-9016-2b80021cf10f", + "description" : "Generated description for concept referred to by key \"CellA_KPI_type:0.0.1\"" + } + }, { + "key" : { + "name" : "CellA_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "CellA_type", + "version" : "0.0.1" + }, + "UUID" : "a06af82c-d298-4531-b1eb-68795573c82a", + "description" : "Generated description for concept referred to by key \"CellA_type:0.0.1\"" + } + }, { + "key" : { + "name" : "CellB_CM_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "CellB_CM_type", + "version" : "0.0.1" + }, + "UUID" : "b357ec78-e469-43aa-9bc9-29097108c10b", + "description" : "Generated description for concept referred to by key \"CellB_CM_type:0.0.1\"" + } + }, { + "key" : { + "name" : "CellB_KPI_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "CellB_KPI_type", + "version" : "0.0.1" + }, + "UUID" : "b89da6a0-1e86-4393-a5e0-7f1a24b34f62", + "description" : "Generated description for concept referred to by key \"CellB_KPI_type:0.0.1\"" + } + }, { + "key" : { + "name" : "CellB_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "CellB_type", + "version" : "0.0.1" + }, + "UUID" : "fc1922ed-b8a3-4544-9cd9-4f0400b92af8", + "description" : "Generated description for concept referred to by key \"CellB_type:0.0.1\"" + } + }, { + "key" : { + "name" : "ENABLE_CONGESTION_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "ENABLE_CONGESTION_type", + "version" : "0.0.1" + }, + "UUID" : "f437e1ad-27d9-4b55-b961-46ca6750288b", + "description" : "Generated description for concept referred to by key \"ENABLE_CONGESTION_type:0.0.1\"" + } + }, { + "key" : { + "name" : "ExternalBag0", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "ExternalBag0", + "version" : "0.0.1" + }, + "UUID" : "938c0553-51ec-4846-bae1-972ed3c4d552", + "description" : "Generated description for concept referred to by key \"ExternalBag0:0.0.1\"" + } + }, { + "key" : { + "name" : "ExternalBag1", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "ExternalBag1", + "version" : "0.0.1" + }, + "UUID" : "a631e868-7da5-4378-9cbd-a3d06dee3c81", + "description" : "Generated description for concept referred to by key \"ExternalBag1:0.0.1\"" + } + }, { + "key" : { + "name" : "ExternalBag2", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "ExternalBag2", + "version" : "0.0.1" + }, + "UUID" : "ee693749-0d79-49ac-9027-19056b44d5ce", + "description" : "Generated description for concept referred to by key \"ExternalBag2:0.0.1\"" + } + }, { + "key" : { + "name" : "ExternalBag3", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "ExternalBag3", + "version" : "0.0.1" + }, + "UUID" : "ef711a31-c366-4184-8178-f3fa95f8d2cb", + "description" : "Generated description for concept referred to by key \"ExternalBag3:0.0.1\"" + } + }, { + "key" : { + "name" : "FREQ_REL_TYPE_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "FREQ_REL_TYPE_type", + "version" : "0.0.1" + }, + "UUID" : "300185af-a93a-4e90-ae7d-44d9241d2760", + "description" : "Generated description for concept referred to by key \"FREQ_REL_TYPE_type:0.0.1\"" + } + }, { + "key" : { + "name" : "FooBar_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "FooBar_type", + "version" : "0.0.1" + }, + "UUID" : "bc32c94f-d2d0-4dfb-b5bb-6dac8aa19618", + "description" : "Generated description for concept referred to by key \"FooBar_type:0.0.1\"" + } + }, { + "key" : { + "name" : "HO_EXEC_FAIL_RATE_AB_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "HO_EXEC_FAIL_RATE_AB_type", + "version" : "0.0.1" + }, + "UUID" : "3649128f-db51-47fd-9d6c-e78e8ca0f26b", + "description" : "Generated description for concept referred to by key \"HO_EXEC_FAIL_RATE_AB_type:0.0.1\"" + } + }, { + "key" : { + "name" : "HO_EXEC_FAIL_RATE_BA_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "HO_EXEC_FAIL_RATE_BA_type", + "version" : "0.0.1" + }, + "UUID" : "a089892e-5914-4375-879d-05cdad521c94", + "description" : "Generated description for concept referred to by key \"HO_EXEC_FAIL_RATE_BA_type:0.0.1\"" + } + }, { + "key" : { + "name" : "LOW_CQI_SAMPLES_RATE_HO_AB_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "LOW_CQI_SAMPLES_RATE_HO_AB_type", + "version" : "0.0.1" + }, + "UUID" : "567f0726-593f-4093-bab4-cf9a0eb4541f", + "description" : "Generated description for concept referred to by key \"LOW_CQI_SAMPLES_RATE_HO_AB_type:0.0.1\"" + } + }, { + "key" : { + "name" : "LOW_CQI_SAMPLES_RATE_HO_BA_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "LOW_CQI_SAMPLES_RATE_HO_BA_type", + "version" : "0.0.1" + }, + "UUID" : "75f08508-b4f3-40bd-a171-224da6e6f132", + "description" : "Generated description for concept referred to by key \"LOW_CQI_SAMPLES_RATE_HO_BA_type:0.0.1\"" + } + }, { + "key" : { + "name" : "LOW_PUSCH_SINR_SAMPLES_RATE_HO_AB_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "LOW_PUSCH_SINR_SAMPLES_RATE_HO_AB_type", + "version" : "0.0.1" + }, + "UUID" : "0a1fef5c-14f3-4357-a128-339e2515bd0a", + "description" : "Generated description for concept referred to by key \"LOW_PUSCH_SINR_SAMPLES_RATE_HO_AB_type:0.0.1\"" + } + }, { + "key" : { + "name" : "LOW_PUSCH_SINR_SAMPLES_RATE_HO_BA_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "LOW_PUSCH_SINR_SAMPLES_RATE_HO_BA_type", + "version" : "0.0.1" + }, + "UUID" : "06227743-177e-49fe-9ed7-587e878b57f9", + "description" : "Generated description for concept referred to by key \"LOW_PUSCH_SINR_SAMPLES_RATE_HO_BA_type:0.0.1\"" + } + }, { + "key" : { + "name" : "LoadBalancingFuzzyPolicy_PolicyModel", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "LoadBalancingFuzzyPolicy_PolicyModel", + "version" : "0.0.1" + }, + "UUID" : "5cc28437-d07a-4cd1-a223-38360763ac77", + "description" : "Generated description for concept referred to by key \"LoadBalancingFuzzyPolicy_PolicyModel:0.0.1\"" + } + }, { + "key" : { + "name" : "LoadBalancingFuzzyPolicy_PolicyModel_Albums", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "LoadBalancingFuzzyPolicy_PolicyModel_Albums", + "version" : "0.0.1" + }, + "UUID" : "cad40903-a798-42a1-94f6-84d290c646de", + "description" : "Generated description for concept referred to by key \"LoadBalancingFuzzyPolicy_PolicyModel_Albums:0.0.1\"" + } + }, { + "key" : { + "name" : "LoadBalancingFuzzyPolicy_PolicyModel_Events", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "LoadBalancingFuzzyPolicy_PolicyModel_Events", + "version" : "0.0.1" + }, + "UUID" : "0f44b5c9-22a4-4873-aaa1-f1b80de5aa4b", + "description" : "Generated description for concept referred to by key \"LoadBalancingFuzzyPolicy_PolicyModel_Events:0.0.1\"" + } + }, { + "key" : { + "name" : "LoadBalancingFuzzyPolicy_PolicyModel_KeyInfo", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "LoadBalancingFuzzyPolicy_PolicyModel_KeyInfo", + "version" : "0.0.1" + }, + "UUID" : "5db641cb-d898-4f67-9f64-7dde5ecb12ae", + "description" : "Generated description for concept referred to by key \"LoadBalancingFuzzyPolicy_PolicyModel_KeyInfo:0.0.1\"" + } + }, { + "key" : { + "name" : "LoadBalancingFuzzyPolicy_PolicyModel_Policies", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "LoadBalancingFuzzyPolicy_PolicyModel_Policies", + "version" : "0.0.1" + }, + "UUID" : "f12f6531-bf2f-4c70-b4fe-346d945e52f1", + "description" : "Generated description for concept referred to by key \"LoadBalancingFuzzyPolicy_PolicyModel_Policies:0.0.1\"" + } + }, { + "key" : { + "name" : "LoadBalancingFuzzyPolicy_PolicyModel_Schemas", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "LoadBalancingFuzzyPolicy_PolicyModel_Schemas", + "version" : "0.0.1" + }, + "UUID" : "f0e76392-4541-4fdf-910b-bbf4ee19ff2c", + "description" : "Generated description for concept referred to by key \"LoadBalancingFuzzyPolicy_PolicyModel_Schemas:0.0.1\"" + } + }, { + "key" : { + "name" : "LoadBalancingFuzzyPolicy_PolicyModel_Tasks", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "LoadBalancingFuzzyPolicy_PolicyModel_Tasks", + "version" : "0.0.1" + }, + "UUID" : "c65233c8-634a-4729-8d74-69061cd62c51", + "description" : "Generated description for concept referred to by key \"LoadBalancingFuzzyPolicy_PolicyModel_Tasks:0.0.1\"" + } + }, { + "key" : { + "name" : "OCN_AB_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "OCN_AB_type", + "version" : "0.0.1" + }, + "UUID" : "a6444cc9-b507-4567-981b-c80cf7a4f438", + "description" : "Generated description for concept referred to by key \"OCN_AB_type:0.0.1\"" + } + }, { + "key" : { + "name" : "OCN_BA_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "OCN_BA_type", + "version" : "0.0.1" + }, + "UUID" : "d7a7d62a-d374-4ec4-a6e5-9a272470b161", + "description" : "Generated description for concept referred to by key \"OCN_BA_type:0.0.1\"" + } + }, { + "key" : { + "name" : "PDCCH_CCE_HIGH_LOAD_DELTA_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "PDCCH_CCE_HIGH_LOAD_DELTA_type", + "version" : "0.0.1" + }, + "UUID" : "9ba290d5-c39d-45f0-b18e-0747829eec29", + "description" : "Generated description for concept referred to by key \"PDCCH_CCE_HIGH_LOAD_DELTA_type:0.0.1\"" + } + }, { + "key" : { + "name" : "REL_HO_EXEC_FAIL_RATE_AB_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "REL_HO_EXEC_FAIL_RATE_AB_type", + "version" : "0.0.1" + }, + "UUID" : "97f57551-7173-4ac7-9d1a-1582d2fc74a2", + "description" : "Generated description for concept referred to by key \"REL_HO_EXEC_FAIL_RATE_AB_type:0.0.1\"" + } + }, { + "key" : { + "name" : "REL_HO_EXEC_FAIL_RATE_BA_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "REL_HO_EXEC_FAIL_RATE_BA_type", + "version" : "0.0.1" + }, + "UUID" : "ab468764-2672-4b6c-b25e-3f65ee92871e", + "description" : "Generated description for concept referred to by key \"REL_HO_EXEC_FAIL_RATE_BA_type:0.0.1\"" + } + }, { + "key" : { + "name" : "REL_HO_EXEC_FAIL_RATE_HIGH_AB_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "REL_HO_EXEC_FAIL_RATE_HIGH_AB_type", + "version" : "0.0.1" + }, + "UUID" : "eb6d0c05-df8c-4b4c-83b3-5807cf7a0a8d", + "description" : "Generated description for concept referred to by key \"REL_HO_EXEC_FAIL_RATE_HIGH_AB_type:0.0.1\"" + } + }, { + "key" : { + "name" : "REL_HO_EXEC_FAIL_RATE_HIGH_BA_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "REL_HO_EXEC_FAIL_RATE_HIGH_BA_type", + "version" : "0.0.1" + }, + "UUID" : "8476c5a3-612a-4dc0-aad1-ed136322eea7", + "description" : "Generated description for concept referred to by key \"REL_HO_EXEC_FAIL_RATE_HIGH_BA_type:0.0.1\"" + } + }, { + "key" : { + "name" : "REL_HO_EXEC_FAIL_RATE_LOW_AB_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "REL_HO_EXEC_FAIL_RATE_LOW_AB_type", + "version" : "0.0.1" + }, + "UUID" : "22564698-5c73-442c-8c44-c7bf9a124bbb", + "description" : "Generated description for concept referred to by key \"REL_HO_EXEC_FAIL_RATE_LOW_AB_type:0.0.1\"" + } + }, { + "key" : { + "name" : "REL_HO_EXEC_FAIL_RATE_LOW_BA_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "REL_HO_EXEC_FAIL_RATE_LOW_BA_type", + "version" : "0.0.1" + }, + "UUID" : "09c76386-9d9c-42ce-b969-c85d8e60fd6b", + "description" : "Generated description for concept referred to by key \"REL_HO_EXEC_FAIL_RATE_LOW_BA_type:0.0.1\"" + } + }, { + "key" : { + "name" : "REL_NUM_HO_WITH_EVENTS_AB_IN_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "REL_NUM_HO_WITH_EVENTS_AB_IN_type", + "version" : "0.0.1" + }, + "UUID" : "ca221793-e153-49d2-8c14-6fec2c294159", + "description" : "Generated description for concept referred to by key \"REL_NUM_HO_WITH_EVENTS_AB_IN_type:0.0.1\"" + } + }, { + "key" : { + "name" : "REL_NUM_HO_WITH_EVENTS_AB_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "REL_NUM_HO_WITH_EVENTS_AB_type", + "version" : "0.0.1" + }, + "UUID" : "93d6d2c2-b98e-4c9a-9841-22858ced9ca9", + "description" : "Generated description for concept referred to by key \"REL_NUM_HO_WITH_EVENTS_AB_type:0.0.1\"" + } + }, { + "key" : { + "name" : "REL_NUM_HO_WITH_EVENTS_BA_IN_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "REL_NUM_HO_WITH_EVENTS_BA_IN_type", + "version" : "0.0.1" + }, + "UUID" : "9fb35bc3-cf7d-4516-b643-4d90315f4aac", + "description" : "Generated description for concept referred to by key \"REL_NUM_HO_WITH_EVENTS_BA_IN_type:0.0.1\"" + } + }, { + "key" : { + "name" : "REL_NUM_HO_WITH_EVENTS_BA_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "REL_NUM_HO_WITH_EVENTS_BA_type", + "version" : "0.0.1" + }, + "UUID" : "18975ab6-836c-4901-9ae2-e189e0277343", + "description" : "Generated description for concept referred to by key \"REL_NUM_HO_WITH_EVENTS_BA_type:0.0.1\"" + } + }, { + "key" : { + "name" : "REL_TOO_EARLY_HO_RATE_AB_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "REL_TOO_EARLY_HO_RATE_AB_type", + "version" : "0.0.1" + }, + "UUID" : "1c28ffda-7661-4af7-a60d-e01a8d8bad4d", + "description" : "Generated description for concept referred to by key \"REL_TOO_EARLY_HO_RATE_AB_type:0.0.1\"" + } + }, { + "key" : { + "name" : "REL_TOO_EARLY_HO_RATE_BA_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "REL_TOO_EARLY_HO_RATE_BA_type", + "version" : "0.0.1" + }, + "UUID" : "40bc34bb-9ef0-4763-9f73-1cb915bc316d", + "description" : "Generated description for concept referred to by key \"REL_TOO_EARLY_HO_RATE_BA_type:0.0.1\"" + } + }, { + "key" : { + "name" : "REL_TOO_EARLY_HO_RATE_HIGH_AB_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "REL_TOO_EARLY_HO_RATE_HIGH_AB_type", + "version" : "0.0.1" + }, + "UUID" : "1603fb66-0c15-4ccb-9c1a-3d4c88fe0501", + "description" : "Generated description for concept referred to by key \"REL_TOO_EARLY_HO_RATE_HIGH_AB_type:0.0.1\"" + } + }, { + "key" : { + "name" : "REL_TOO_EARLY_HO_RATE_HIGH_BA_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "REL_TOO_EARLY_HO_RATE_HIGH_BA_type", + "version" : "0.0.1" + }, + "UUID" : "dbc0cd42-4d58-4a1c-a41f-4b0e3c039fc0", + "description" : "Generated description for concept referred to by key \"REL_TOO_EARLY_HO_RATE_HIGH_BA_type:0.0.1\"" + } + }, { + "key" : { + "name" : "REL_TOO_EARLY_HO_RATE_LOW_AB_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "REL_TOO_EARLY_HO_RATE_LOW_AB_type", + "version" : "0.0.1" + }, + "UUID" : "f22a8dbc-e6d7-4a9f-8702-a4cbe41f6e54", + "description" : "Generated description for concept referred to by key \"REL_TOO_EARLY_HO_RATE_LOW_AB_type:0.0.1\"" + } + }, { + "key" : { + "name" : "REL_TOO_EARLY_HO_RATE_LOW_BA_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "REL_TOO_EARLY_HO_RATE_LOW_BA_type", + "version" : "0.0.1" + }, + "UUID" : "6445553b-73e6-43b5-b29d-b1bdf6df73cc", + "description" : "Generated description for concept referred to by key \"REL_TOO_EARLY_HO_RATE_LOW_BA_type:0.0.1\"" + } + }, { + "key" : { + "name" : "REL_TOO_LATE_HO_RATE_AB_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "REL_TOO_LATE_HO_RATE_AB_type", + "version" : "0.0.1" + }, + "UUID" : "6f374a84-bafa-413f-a3ae-32e446646fe9", + "description" : "Generated description for concept referred to by key \"REL_TOO_LATE_HO_RATE_AB_type:0.0.1\"" + } + }, { + "key" : { + "name" : "REL_TOO_LATE_HO_RATE_BA_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "REL_TOO_LATE_HO_RATE_BA_type", + "version" : "0.0.1" + }, + "UUID" : "521fb432-25b7-499f-80ff-1a0b7bad69a2", + "description" : "Generated description for concept referred to by key \"REL_TOO_LATE_HO_RATE_BA_type:0.0.1\"" + } + }, { + "key" : { + "name" : "REL_TOO_LATE_HO_RATE_HIGH_AB_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "REL_TOO_LATE_HO_RATE_HIGH_AB_type", + "version" : "0.0.1" + }, + "UUID" : "32488185-fc0f-45e4-84e3-adcbfb9adf83", + "description" : "Generated description for concept referred to by key \"REL_TOO_LATE_HO_RATE_HIGH_AB_type:0.0.1\"" + } + }, { + "key" : { + "name" : "REL_TOO_LATE_HO_RATE_HIGH_BA_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "REL_TOO_LATE_HO_RATE_HIGH_BA_type", + "version" : "0.0.1" + }, + "UUID" : "cbdfec23-6f95-4b92-8939-3a32603db654", + "description" : "Generated description for concept referred to by key \"REL_TOO_LATE_HO_RATE_HIGH_BA_type:0.0.1\"" + } + }, { + "key" : { + "name" : "REL_TOO_LATE_HO_RATE_LOW_AB_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "REL_TOO_LATE_HO_RATE_LOW_AB_type", + "version" : "0.0.1" + }, + "UUID" : "b9089519-42a0-4564-9388-e841ec53033b", + "description" : "Generated description for concept referred to by key \"REL_TOO_LATE_HO_RATE_LOW_AB_type:0.0.1\"" + } + }, { + "key" : { + "name" : "REL_TOO_LATE_HO_RATE_LOW_BA_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "REL_TOO_LATE_HO_RATE_LOW_BA_type", + "version" : "0.0.1" + }, + "UUID" : "6e8bc992-2a75-4121-8246-38995e9caf0c", + "description" : "Generated description for concept referred to by key \"REL_TOO_LATE_HO_RATE_LOW_BA_type:0.0.1\"" + } + }, { + "key" : { + "name" : "RRC_CONGESTION_DELTA_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "RRC_CONGESTION_DELTA_type", + "version" : "0.0.1" + }, + "UUID" : "31107997-a363-4a69-a322-82e3e0fd5dd2", + "description" : "Generated description for concept referred to by key \"RRC_CONGESTION_DELTA_type:0.0.1\"" + } + }, { + "key" : { + "name" : "SB_OCN_AB_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "SB_OCN_AB_type", + "version" : "0.0.1" + }, + "UUID" : "30401bd4-108c-4a99-9446-6c6a4b226de7", + "description" : "Generated description for concept referred to by key \"SB_OCN_AB_type:0.0.1\"" + } + }, { + "key" : { + "name" : "SB_OCN_BA_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "SB_OCN_BA_type", + "version" : "0.0.1" + }, + "UUID" : "88647bbf-111b-4a17-8383-e437c7d45af4", + "description" : "Generated description for concept referred to by key \"SB_OCN_BA_type:0.0.1\"" + } + }, { + "key" : { + "name" : "SET_TYPE_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "SET_TYPE_type", + "version" : "0.0.1" + }, + "UUID" : "0f772d7a-1386-438b-95c0-dbbc05b78183", + "description" : "Generated description for concept referred to by key \"SET_TYPE_type:0.0.1\"" + } + }, { + "key" : { + "name" : "TOO_EARLY_HO_RATE_AB_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "TOO_EARLY_HO_RATE_AB_type", + "version" : "0.0.1" + }, + "UUID" : "0eb28504-3bcf-44a3-8ceb-2bbea3bfc93c", + "description" : "Generated description for concept referred to by key \"TOO_EARLY_HO_RATE_AB_type:0.0.1\"" + } + }, { + "key" : { + "name" : "TOO_EARLY_HO_RATE_BA_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "TOO_EARLY_HO_RATE_BA_type", + "version" : "0.0.1" + }, + "UUID" : "d940ffd6-c000-4c28-b37b-658e432dbe11", + "description" : "Generated description for concept referred to by key \"TOO_EARLY_HO_RATE_BA_type:0.0.1\"" + } + }, { + "key" : { + "name" : "TOO_LATE_HO_RATE_AB_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "TOO_LATE_HO_RATE_AB_type", + "version" : "0.0.1" + }, + "UUID" : "d01604b4-aeb4-49af-bde3-ad8ed9366e62", + "description" : "Generated description for concept referred to by key \"TOO_LATE_HO_RATE_AB_type:0.0.1\"" + } + }, { + "key" : { + "name" : "TOO_LATE_HO_RATE_BA_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "TOO_LATE_HO_RATE_BA_type", + "version" : "0.0.1" + }, + "UUID" : "0ce0d4a3-65ce-4b05-8aca-ddae63a2639b", + "description" : "Generated description for concept referred to by key \"TOO_LATE_HO_RATE_BA_type:0.0.1\"" + } + }, { + "key" : { + "name" : "TimeStamp_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "TimeStamp_type", + "version" : "0.0.1" + }, + "UUID" : "2fbaea79-62fb-44ce-9810-8bd2d2fd77f9", + "description" : "Generated description for concept referred to by key \"TimeStamp_type:0.0.1\"" + } + } ] + } + }, + "policies" : { + "key" : { + "name" : "LoadBalancingFuzzyPolicy_PolicyModel_Policies", + "version" : "0.0.1" + }, + "policyMap" : { + "entry" : [ ] + } + }, + "tasks" : { + "key" : { + "name" : "LoadBalancingFuzzyPolicy_PolicyModel_Tasks", + "version" : "0.0.1" + }, + "taskMap" : { + "entry" : [ ] + } + }, + "events" : { + "key" : { + "name" : "LoadBalancingFuzzyPolicy_PolicyModel_Events", + "version" : "0.0.1" + }, + "eventMap" : { + "entry" : [ ] + } + }, + "albums" : { + "key" : { + "name" : "LoadBalancingFuzzyPolicy_PolicyModel_Albums", + "version" : "0.0.1" + }, + "albums" : { + "entry" : [ { + "key" : { + "name" : "ExternalBag0", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "ExternalBag0", + "version" : "0.0.1" + }, + "scope" : "EXTERNAL", + "isWritable" : false, + "itemSchema" : { + "name" : "OCN_AB_type", + "version" : "0.0.1" + } + } + }, { + "key" : { + "name" : "ExternalBag1", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "ExternalBag1", + "version" : "0.0.1" + }, + "scope" : "EXTERNAL", + "isWritable" : false, + "itemSchema" : { + "name" : "CellA_CM_type", + "version" : "0.0.1" + } + } + }, { + "key" : { + "name" : "ExternalBag2", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "ExternalBag2", + "version" : "0.0.1" + }, + "scope" : "EXTERNAL", + "isWritable" : false, + "itemSchema" : { + "name" : "TOO_EARLY_HO_RATE_AB_type", + "version" : "0.0.1" + } + } + }, { + "key" : { + "name" : "ExternalBag3", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "ExternalBag3", + "version" : "0.0.1" + }, + "scope" : "EXTERNAL", + "isWritable" : false, + "itemSchema" : { + "name" : "FooBar_type", + "version" : "0.0.1" + } + } + } ] + } + }, + "schemas" : { + "key" : { + "name" : "LoadBalancingFuzzyPolicy_PolicyModel_Schemas", + "version" : "0.0.1" + }, + "schemas" : { + "entry" : [ { + "key" : { + "name" : "Adj_CM_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "Adj_CM_type", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.util.HashMap<String,String>" + } + }, { + "key" : { + "name" : "Adj_KPI_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "Adj_KPI_type", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.util.HashMap<String,String>" + } + }, { + "key" : { + "name" : "Adjacency_4G_Name_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "Adjacency_4G_Name_type", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.String" + } + }, { + "key" : { + "name" : "CellA_CM_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "CellA_CM_type", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.util.HashMap<String,String>" + } + }, { + "key" : { + "name" : "CellA_KPI_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "CellA_KPI_type", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.util.HashMap<String,String>" + } + }, { + "key" : { + "name" : "CellA_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "CellA_type", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.String" + } + }, { + "key" : { + "name" : "CellB_CM_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "CellB_CM_type", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.util.HashMap<String,String>" + } + }, { + "key" : { + "name" : "CellB_KPI_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "CellB_KPI_type", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.util.HashMap<String,String>" + } + }, { + "key" : { + "name" : "CellB_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "CellB_type", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.String" + } + }, { + "key" : { + "name" : "ENABLE_CONGESTION_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "ENABLE_CONGESTION_type", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.Boolean" + } + }, { + "key" : { + "name" : "FREQ_REL_TYPE_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "FREQ_REL_TYPE_type", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.String" + } + }, { + "key" : { + "name" : "FooBar_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "FooBar_type", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "org.onap.policy.apex.sample.sampletypes.sampletypes.Foo" + } + }, { + "key" : { + "name" : "HO_EXEC_FAIL_RATE_AB_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "HO_EXEC_FAIL_RATE_AB_type", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.Float" + } + }, { + "key" : { + "name" : "HO_EXEC_FAIL_RATE_BA_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "HO_EXEC_FAIL_RATE_BA_type", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.Float" + } + }, { + "key" : { + "name" : "LOW_CQI_SAMPLES_RATE_HO_AB_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "LOW_CQI_SAMPLES_RATE_HO_AB_type", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.Float" + } + }, { + "key" : { + "name" : "LOW_CQI_SAMPLES_RATE_HO_BA_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "LOW_CQI_SAMPLES_RATE_HO_BA_type", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.Float" + } + }, { + "key" : { + "name" : "LOW_PUSCH_SINR_SAMPLES_RATE_HO_AB_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "LOW_PUSCH_SINR_SAMPLES_RATE_HO_AB_type", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.Float" + } + }, { + "key" : { + "name" : "LOW_PUSCH_SINR_SAMPLES_RATE_HO_BA_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "LOW_PUSCH_SINR_SAMPLES_RATE_HO_BA_type", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.Float" + } + }, { + "key" : { + "name" : "OCN_AB_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "OCN_AB_type", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.Double" + } + }, { + "key" : { + "name" : "OCN_BA_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "OCN_BA_type", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.Double" + } + }, { + "key" : { + "name" : "PDCCH_CCE_HIGH_LOAD_DELTA_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "PDCCH_CCE_HIGH_LOAD_DELTA_type", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.Float" + } + }, { + "key" : { + "name" : "REL_HO_EXEC_FAIL_RATE_AB_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "REL_HO_EXEC_FAIL_RATE_AB_type", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.Boolean" + } + }, { + "key" : { + "name" : "REL_HO_EXEC_FAIL_RATE_BA_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "REL_HO_EXEC_FAIL_RATE_BA_type", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.Boolean" + } + }, { + "key" : { + "name" : "REL_HO_EXEC_FAIL_RATE_HIGH_AB_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "REL_HO_EXEC_FAIL_RATE_HIGH_AB_type", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.Float" + } + }, { + "key" : { + "name" : "REL_HO_EXEC_FAIL_RATE_HIGH_BA_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "REL_HO_EXEC_FAIL_RATE_HIGH_BA_type", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.Float" + } + }, { + "key" : { + "name" : "REL_HO_EXEC_FAIL_RATE_LOW_AB_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "REL_HO_EXEC_FAIL_RATE_LOW_AB_type", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.Float" + } + }, { + "key" : { + "name" : "REL_HO_EXEC_FAIL_RATE_LOW_BA_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "REL_HO_EXEC_FAIL_RATE_LOW_BA_type", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.Float" + } + }, { + "key" : { + "name" : "REL_NUM_HO_WITH_EVENTS_AB_IN_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "REL_NUM_HO_WITH_EVENTS_AB_IN_type", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.Float" + } + }, { + "key" : { + "name" : "REL_NUM_HO_WITH_EVENTS_AB_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "REL_NUM_HO_WITH_EVENTS_AB_type", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.Boolean" + } + }, { + "key" : { + "name" : "REL_NUM_HO_WITH_EVENTS_BA_IN_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "REL_NUM_HO_WITH_EVENTS_BA_IN_type", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.Float" + } + }, { + "key" : { + "name" : "REL_NUM_HO_WITH_EVENTS_BA_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "REL_NUM_HO_WITH_EVENTS_BA_type", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.Boolean" + } + }, { + "key" : { + "name" : "REL_TOO_EARLY_HO_RATE_AB_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "REL_TOO_EARLY_HO_RATE_AB_type", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.Boolean" + } + }, { + "key" : { + "name" : "REL_TOO_EARLY_HO_RATE_BA_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "REL_TOO_EARLY_HO_RATE_BA_type", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.Boolean" + } + }, { + "key" : { + "name" : "REL_TOO_EARLY_HO_RATE_HIGH_AB_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "REL_TOO_EARLY_HO_RATE_HIGH_AB_type", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.Float" + } + }, { + "key" : { + "name" : "REL_TOO_EARLY_HO_RATE_HIGH_BA_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "REL_TOO_EARLY_HO_RATE_HIGH_BA_type", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.Float" + } + }, { + "key" : { + "name" : "REL_TOO_EARLY_HO_RATE_LOW_AB_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "REL_TOO_EARLY_HO_RATE_LOW_AB_type", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.Float" + } + }, { + "key" : { + "name" : "REL_TOO_EARLY_HO_RATE_LOW_BA_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "REL_TOO_EARLY_HO_RATE_LOW_BA_type", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.Float" + } + }, { + "key" : { + "name" : "REL_TOO_LATE_HO_RATE_AB_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "REL_TOO_LATE_HO_RATE_AB_type", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.Boolean" + } + }, { + "key" : { + "name" : "REL_TOO_LATE_HO_RATE_BA_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "REL_TOO_LATE_HO_RATE_BA_type", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.Boolean" + } + }, { + "key" : { + "name" : "REL_TOO_LATE_HO_RATE_HIGH_AB_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "REL_TOO_LATE_HO_RATE_HIGH_AB_type", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.Float" + } + }, { + "key" : { + "name" : "REL_TOO_LATE_HO_RATE_HIGH_BA_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "REL_TOO_LATE_HO_RATE_HIGH_BA_type", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.Float" + } + }, { + "key" : { + "name" : "REL_TOO_LATE_HO_RATE_LOW_AB_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "REL_TOO_LATE_HO_RATE_LOW_AB_type", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.Float" + } + }, { + "key" : { + "name" : "REL_TOO_LATE_HO_RATE_LOW_BA_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "REL_TOO_LATE_HO_RATE_LOW_BA_type", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.Float" + } + }, { + "key" : { + "name" : "RRC_CONGESTION_DELTA_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "RRC_CONGESTION_DELTA_type", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.Float" + } + }, { + "key" : { + "name" : "SB_OCN_AB_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "SB_OCN_AB_type", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.String" + } + }, { + "key" : { + "name" : "SB_OCN_BA_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "SB_OCN_BA_type", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.String" + } + }, { + "key" : { + "name" : "SET_TYPE_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "SET_TYPE_type", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.String" + } + }, { + "key" : { + "name" : "TOO_EARLY_HO_RATE_AB_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "TOO_EARLY_HO_RATE_AB_type", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.Float" + } + }, { + "key" : { + "name" : "TOO_EARLY_HO_RATE_BA_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "TOO_EARLY_HO_RATE_BA_type", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.Float" + } + }, { + "key" : { + "name" : "TOO_LATE_HO_RATE_AB_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "TOO_LATE_HO_RATE_AB_type", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.Float" + } + }, { + "key" : { + "name" : "TOO_LATE_HO_RATE_BA_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "TOO_LATE_HO_RATE_BA_type", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.Float" + } + }, { + "key" : { + "name" : "TimeStamp_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "TimeStamp_type", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.Long" + } + } ] + } + } + } +}
\ No newline at end of file diff --git a/auth/cli-editor/src/test/resources/compare/FileMacroModel_Compare.json b/auth/cli-editor/src/test/resources/compare/FileMacroModel_Compare.json new file mode 100644 index 000000000..5a8796b14 --- /dev/null +++ b/auth/cli-editor/src/test/resources/compare/FileMacroModel_Compare.json @@ -0,0 +1,361 @@ +{ + "apexPolicyModel" : { + "key" : { + "name" : "MacroFileTest_PolicyModel", + "version" : "0.0.1" + }, + "keyInformation" : { + "key" : { + "name" : "MacroFileTest_PolicyModel_KeyInfo", + "version" : "0.0.1" + }, + "keyInfoMap" : { + "entry" : [ { + "key" : { + "name" : "MacroFileTest_PolicyModel", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "MacroFileTest_PolicyModel", + "version" : "0.0.1" + }, + "UUID" : "ac575ca5-e2f5-3958-8873-f6068cd04440", + "description" : "Generated description for concept referred to by key \"MacroFileTest_PolicyModel:0.0.1\"" + } + }, { + "key" : { + "name" : "MacroFileTest_PolicyModel_Albums", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "MacroFileTest_PolicyModel_Albums", + "version" : "0.0.1" + }, + "UUID" : "a8864eb8-4f01-3b39-aaf8-2170311132e1", + "description" : "Generated description for concept referred to by key \"MacroFileTest_PolicyModel_Albums:0.0.1\"" + } + }, { + "key" : { + "name" : "MacroFileTest_PolicyModel_Events", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "MacroFileTest_PolicyModel_Events", + "version" : "0.0.1" + }, + "UUID" : "bd50051c-0761-38b0-940f-27d9d505c263", + "description" : "Generated description for concept referred to by key \"MacroFileTest_PolicyModel_Events:0.0.1\"" + } + }, { + "key" : { + "name" : "MacroFileTest_PolicyModel_KeyInfo", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "MacroFileTest_PolicyModel_KeyInfo", + "version" : "0.0.1" + }, + "UUID" : "81634b5c-d5d8-3c15-a80b-d9a12bd87760", + "description" : "Generated description for concept referred to by key \"MacroFileTest_PolicyModel_KeyInfo:0.0.1\"" + } + }, { + "key" : { + "name" : "MacroFileTest_PolicyModel_Policies", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "MacroFileTest_PolicyModel_Policies", + "version" : "0.0.1" + }, + "UUID" : "810268e3-6a5a-33c9-b24e-4206646cdace", + "description" : "Generated description for concept referred to by key \"MacroFileTest_PolicyModel_Policies:0.0.1\"" + } + }, { + "key" : { + "name" : "MacroFileTest_PolicyModel_Schemas", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "MacroFileTest_PolicyModel_Schemas", + "version" : "0.0.1" + }, + "UUID" : "f8f180ee-551d-30b7-850b-d707318cf25e", + "description" : "Generated description for concept referred to by key \"MacroFileTest_PolicyModel_Schemas:0.0.1\"" + } + }, { + "key" : { + "name" : "MacroFileTest_PolicyModel_Tasks", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "MacroFileTest_PolicyModel_Tasks", + "version" : "0.0.1" + }, + "UUID" : "ef8c00a8-3736-3e6d-be31-c07116ba67e4", + "description" : "Generated description for concept referred to by key \"MacroFileTest_PolicyModel_Tasks:0.0.1\"" + } + }, { + "key" : { + "name" : "MacroFile_type1", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "MacroFile_type1", + "version" : "0.0.1" + }, + "UUID" : "a2841e1e-e6da-3124-ab58-be301457f49c", + "description" : "Generated description for concept referred to by key \"MacroFile_type1:0.0.1\"" + } + }, { + "key" : { + "name" : "MacroFile_type2", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "MacroFile_type2", + "version" : "0.0.1" + }, + "UUID" : "d4b061be-9c01-3983-951b-8e28bb838a7c", + "description" : "Generated description for concept referred to by key \"MacroFile_type2:0.0.1\"" + } + }, { + "key" : { + "name" : "MacroFile_type3", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "MacroFile_type3", + "version" : "0.0.1" + }, + "UUID" : "5da3c65c-bc46-3d84-a080-875b67e9a546", + "description" : "Generated description for concept referred to by key \"MacroFile_type3:0.0.1\"" + } + }, { + "key" : { + "name" : "MacroFile_type4", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "MacroFile_type4", + "version" : "0.0.1" + }, + "UUID" : "19d7bb93-22af-34e3-a8ff-e715fdda265e", + "description" : "Generated description for concept referred to by key \"MacroFile_type4:0.0.1\"" + } + }, { + "key" : { + "name" : "MacroFile_type5", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "MacroFile_type5", + "version" : "0.0.1" + }, + "UUID" : "15039345-454e-3c11-9524-5e5d149394dc", + "description" : "Generated description for concept referred to by key \"MacroFile_type5:0.0.1\"" + } + }, { + "key" : { + "name" : "dummyTask1", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "dummyTask1", + "version" : "0.0.1" + }, + "UUID" : "41045520-f99e-3f78-8ac8-ebba16b94a98", + "description" : "Generated description for concept referred to by key \"dummyTask1:0.0.1\"" + } + }, { + "key" : { + "name" : "dummyTask2", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "dummyTask2", + "version" : "0.0.1" + }, + "UUID" : "e366e97f-b769-394a-b388-4ad65e105ccb", + "description" : "Generated description for concept referred to by key \"dummyTask2:0.0.1\"" + } + } ] + } + }, + "policies" : { + "key" : { + "name" : "MacroFileTest_PolicyModel_Policies", + "version" : "0.0.1" + }, + "policyMap" : { + "entry" : [ ] + } + }, + "tasks" : { + "key" : { + "name" : "MacroFileTest_PolicyModel_Tasks", + "version" : "0.0.1" + }, + "taskMap" : { + "entry" : [ { + "key" : { + "name" : "dummyTask1", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "dummyTask1", + "version" : "0.0.1" + }, + "inputFields" : { + "entry" : [ ] + }, + "outputFields" : { + "entry" : [ ] + }, + "taskParameters" : { + "entry" : [ ] + }, + "contextAlbumReference" : [ ], + "taskLogic" : { + "key" : "TaskLogic", + "logicFlavour" : "JAVASCRIPT", + "logic" : "var returnValueType = Java.type(\"java.lang.Boolean\");\nvar returnValue = new returnValueType(true);" + } + } + }, { + "key" : { + "name" : "dummyTask2", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "dummyTask2", + "version" : "0.0.1" + }, + "inputFields" : { + "entry" : [ ] + }, + "outputFields" : { + "entry" : [ ] + }, + "taskParameters" : { + "entry" : [ ] + }, + "contextAlbumReference" : [ ], + "taskLogic" : { + "key" : "TaskLogic", + "logicFlavour" : "JAVASCRIPT", + "logic" : "x=x+1\nvar returnValueType = Java.type(\"java.lang.Boolean\");\nvar returnValue = new returnValueType(true);\n\nx=x+1\nvar returnValueType = Java.type(\"java.lang.Boolean\");\nvar returnValue = new returnValueType(true);\n\nx=x+1" + } + } + } ] + } + }, + "events" : { + "key" : { + "name" : "MacroFileTest_PolicyModel_Events", + "version" : "0.0.1" + }, + "eventMap" : { + "entry" : [ ] + } + }, + "albums" : { + "key" : { + "name" : "MacroFileTest_PolicyModel_Albums", + "version" : "0.0.1" + }, + "albums" : { + "entry" : [ ] + } + }, + "schemas" : { + "key" : { + "name" : "MacroFileTest_PolicyModel_Schemas", + "version" : "0.0.1" + }, + "schemas" : { + "entry" : [ { + "key" : { + "name" : "MacroFile_type1", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "MacroFile_type1", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.String" + } + }, { + "key" : { + "name" : "MacroFile_type2", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "MacroFile_type2", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.String" + } + }, { + "key" : { + "name" : "MacroFile_type3", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "MacroFile_type3", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.String" + } + }, { + "key" : { + "name" : "MacroFile_type4", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "MacroFile_type4", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.String" + } + }, { + "key" : { + "name" : "MacroFile_type5", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "MacroFile_type5", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.String" + } + } ] + } + } + } +} diff --git a/auth/cli-editor/src/test/resources/compare/FileMacro_Compare.log b/auth/cli-editor/src/test/resources/compare/FileMacro_Compare.log new file mode 100644 index 000000000..fd1b4173f --- /dev/null +++ b/auth/cli-editor/src/test/resources/compare/FileMacro_Compare.log @@ -0,0 +1,77 @@ +/root>#------------------------------------------------------------------------------- +/root># ============LICENSE_START======================================================= +/root># Copyright (C) 2016-2018 Ericsson. All rights reserved. +/root># ================================================================================ +/root># Licensed under the Apache License, Version 2.0 (the "License"); +/root># you may not use this file except in compliance with the License. +/root># You may obtain a copy of the License at +/root># +/root># http://www.apache.org/licenses/LICENSE-2.0 +/root># +/root># Unless required by applicable law or agreed to in writing, software +/root># distributed under the License is distributed on an "AS IS" BASIS, +/root># WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +/root># See the License for the specific language governing permissions and +/root># limitations under the License. +/root># +/root># SPDX-License-Identifier: Apache-2.0 +/root># ============LICENSE_END========================================================= +/root>#------------------------------------------------------------------------------- +/root> +/root> model create name=MacroFileTest_PolicyModel +result: SUCCESS + +/root> schema create name=MacroFile_type1 flavour=Java schema=java.lang.String +result: SUCCESS + +/root> macro file name "src/test/resources/macros/MacroFile0.apexmacro" must exist and be quoted with double quotes "" +/root> macro file name "src/test/resources/macros/MacroFile0.apexmacro" must exist and be quoted with double quotes "" +/root> macro file name """ must exist and be quoted with double quotes "" +/root> macro file name ""src/test/resources/macros/MacroFile1.apexmacro" must exist and be quoted with double quotes "" +/root> schema create name=MacroFile_type2 flavour=Java schema=java.lang.String +result: SUCCESS + +/root> schema create name=MacroFile_type3 flavour=Java schema=java.lang.String +result: SUCCESS + +/root> schema create name=MacroFile_type4 flavour=Java schema=java.lang.String # This is a comment +result: SUCCESS + +/root> macro file name "" must exist and be quoted with double quotes "" +/root> macro file name "" must exist and be quoted with double quotes "" +/root> #MACROFILE +/root> MACROFILE: +first command word is not alphanumeric or is not a command: MACROFILE: +/root> file "src/test/resources/macros/MacroFileNonExistant.ApexMacro" specified in Macro File Tag not found +/root> schema create schema create name=MacroFile_type5 flavour=Java schema=java.lang.String +result: SUCCESS + +/root> +/root> task create name=dummyTask1 +result: SUCCESS + +/root> task logic create name=dummyTask1 logicFlavour=JAVASCRIPT logic=LS +var returnValueType = Java.type("java.lang.Boolean"); +var returnValue = new returnValueType(true); + +LE +result: SUCCESS + +/root> +/root> task create name=dummyTask2 +result: SUCCESS + +/root> task logic create name=dummyTask2 logicFlavour=JAVASCRIPT logic=LS +x=x+1 +var returnValueType = Java.type("java.lang.Boolean"); +var returnValue = new returnValueType(true); + +x=x+1 +var returnValueType = Java.type("java.lang.Boolean"); +var returnValue = new returnValueType(true); + +x=x+1 +LE +result: SUCCESS + +/root>
\ No newline at end of file diff --git a/auth/cli-editor/src/test/resources/compare/FuzzyPolicyModel_Compare.json b/auth/cli-editor/src/test/resources/compare/FuzzyPolicyModel_Compare.json new file mode 100644 index 000000000..84874d428 --- /dev/null +++ b/auth/cli-editor/src/test/resources/compare/FuzzyPolicyModel_Compare.json @@ -0,0 +1,3897 @@ +{ + "apexPolicyModel" : { + "key" : { + "name" : "LoadBalancingFuzzyPolicy_PolicyModel", + "version" : "0.0.1" + }, + "keyInformation" : { + "key" : { + "name" : "LoadBalancingFuzzyPolicy_PolicyModel_KeyInfo", + "version" : "0.0.1" + }, + "keyInfoMap" : { + "entry" : [ { + "key" : { + "name" : "Adjacency_4G_Name_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "Adjacency_4G_Name_type", + "version" : "0.0.1" + }, + "UUID" : "fa58e9cd-488e-4eec-9ccb-e156f6a43a35", + "description" : "Generated description for concept referred to by key \"Adjacency_4G_Name_type:0.0.1\"" + } + }, { + "key" : { + "name" : "CellA_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "CellA_type", + "version" : "0.0.1" + }, + "UUID" : "c41e1e24-ab71-4dbd-a2b7-7d349bade884", + "description" : "Generated description for concept referred to by key \"CellA_type:0.0.1\"" + } + }, { + "key" : { + "name" : "CellB_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "CellB_type", + "version" : "0.0.1" + }, + "UUID" : "f2d43289-fcf7-4c9c-a186-ecd2d49fafa9", + "description" : "Generated description for concept referred to by key \"CellB_type:0.0.1\"" + } + }, { + "key" : { + "name" : "ENABLE_CONGESTION_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "ENABLE_CONGESTION_type", + "version" : "0.0.1" + }, + "UUID" : "a2217f20-97fd-457e-8f28-30bf0c02068f", + "description" : "Generated description for concept referred to by key \"ENABLE_CONGESTION_type:0.0.1\"" + } + }, { + "key" : { + "name" : "FREQ_REL_TYPE_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "FREQ_REL_TYPE_type", + "version" : "0.0.1" + }, + "UUID" : "628be116-99bb-4c8f-a833-94a452f6a582", + "description" : "Generated description for concept referred to by key \"FREQ_REL_TYPE_type:0.0.1\"" + } + }, { + "key" : { + "name" : "HO_EXEC_FAIL_RATE_AB_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "HO_EXEC_FAIL_RATE_AB_type", + "version" : "0.0.1" + }, + "UUID" : "37c742ed-f039-48eb-a20d-2931940f4bf1", + "description" : "Generated description for concept referred to by key \"HO_EXEC_FAIL_RATE_AB_type:0.0.1\"" + } + }, { + "key" : { + "name" : "HO_EXEC_FAIL_RATE_BA_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "HO_EXEC_FAIL_RATE_BA_type", + "version" : "0.0.1" + }, + "UUID" : "29c1077f-c382-4520-80b8-9d0ddad7547a", + "description" : "Generated description for concept referred to by key \"HO_EXEC_FAIL_RATE_BA_type:0.0.1\"" + } + }, { + "key" : { + "name" : "LOW_CQI_SAMPLES_RATE_HO_AB_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "LOW_CQI_SAMPLES_RATE_HO_AB_type", + "version" : "0.0.1" + }, + "UUID" : "0de782d4-f6d7-42f1-b3e4-fbc3d917a68b", + "description" : "Generated description for concept referred to by key \"LOW_CQI_SAMPLES_RATE_HO_AB_type:0.0.1\"" + } + }, { + "key" : { + "name" : "LOW_CQI_SAMPLES_RATE_HO_BA_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "LOW_CQI_SAMPLES_RATE_HO_BA_type", + "version" : "0.0.1" + }, + "UUID" : "d81522cd-b143-4a0c-aedb-271725fc2506", + "description" : "Generated description for concept referred to by key \"LOW_CQI_SAMPLES_RATE_HO_BA_type:0.0.1\"" + } + }, { + "key" : { + "name" : "LOW_PUSCH_SINR_SAMPLES_RATE_HO_AB_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "LOW_PUSCH_SINR_SAMPLES_RATE_HO_AB_type", + "version" : "0.0.1" + }, + "UUID" : "828e3584-d194-48d1-8a49-45afb8b0cd5d", + "description" : "Generated description for concept referred to by key \"LOW_PUSCH_SINR_SAMPLES_RATE_HO_AB_type:0.0.1\"" + } + }, { + "key" : { + "name" : "LOW_PUSCH_SINR_SAMPLES_RATE_HO_BA_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "LOW_PUSCH_SINR_SAMPLES_RATE_HO_BA_type", + "version" : "0.0.1" + }, + "UUID" : "88d9aaec-c2de-47d1-9264-4318e76ebdee", + "description" : "Generated description for concept referred to by key \"LOW_PUSCH_SINR_SAMPLES_RATE_HO_BA_type:0.0.1\"" + } + }, { + "key" : { + "name" : "LoadBalancingFuzzyPolicy_InputEvent", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "LoadBalancingFuzzyPolicy_InputEvent", + "version" : "0.0.1" + }, + "UUID" : "f99b46f4-42fa-4873-a3f0-663ef950e917", + "description" : "Generated description for concept referred to by key \"LoadBalancingFuzzyPolicy_InputEvent:0.0.1\"" + } + }, { + "key" : { + "name" : "LoadBalancingFuzzyPolicy_OutputEvent", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "LoadBalancingFuzzyPolicy_OutputEvent", + "version" : "0.0.1" + }, + "UUID" : "90d481b5-d0df-4167-a14b-6c1fd9ee4a4c", + "description" : "Generated description for concept referred to by key \"LoadBalancingFuzzyPolicy_OutputEvent:0.0.1\"" + } + }, { + "key" : { + "name" : "LoadBalancingFuzzyPolicy_Policy", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "LoadBalancingFuzzyPolicy_Policy", + "version" : "0.0.1" + }, + "UUID" : "26c27f19-c56f-4ddc-8561-bfa1a89dc9db", + "description" : "Generated description for concept referred to by key \"LoadBalancingFuzzyPolicy_Policy:0.0.1\"" + } + }, { + "key" : { + "name" : "LoadBalancingFuzzyPolicy_PolicyModel", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "LoadBalancingFuzzyPolicy_PolicyModel", + "version" : "0.0.1" + }, + "UUID" : "aeb5ab2b-0b60-41ac-889d-787e3b59fd19", + "description" : "Generated description for concept referred to by key \"LoadBalancingFuzzyPolicy_PolicyModel:0.0.1\"" + } + }, { + "key" : { + "name" : "LoadBalancingFuzzyPolicy_PolicyModel_Albums", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "LoadBalancingFuzzyPolicy_PolicyModel_Albums", + "version" : "0.0.1" + }, + "UUID" : "b72eb47e-6b70-419c-ba8d-1ed55a91aa2f", + "description" : "Generated description for concept referred to by key \"LoadBalancingFuzzyPolicy_PolicyModel_Albums:0.0.1\"" + } + }, { + "key" : { + "name" : "LoadBalancingFuzzyPolicy_PolicyModel_Events", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "LoadBalancingFuzzyPolicy_PolicyModel_Events", + "version" : "0.0.1" + }, + "UUID" : "952468c2-386e-4984-9f46-8c84208ad9bc", + "description" : "Generated description for concept referred to by key \"LoadBalancingFuzzyPolicy_PolicyModel_Events:0.0.1\"" + } + }, { + "key" : { + "name" : "LoadBalancingFuzzyPolicy_PolicyModel_KeyInfo", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "LoadBalancingFuzzyPolicy_PolicyModel_KeyInfo", + "version" : "0.0.1" + }, + "UUID" : "0e7c3475-8fbc-446d-afbe-d54ae56fc0ee", + "description" : "Generated description for concept referred to by key \"LoadBalancingFuzzyPolicy_PolicyModel_KeyInfo:0.0.1\"" + } + }, { + "key" : { + "name" : "LoadBalancingFuzzyPolicy_PolicyModel_Policies", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "LoadBalancingFuzzyPolicy_PolicyModel_Policies", + "version" : "0.0.1" + }, + "UUID" : "c2130341-3a43-41ae-a942-5aeba3f86724", + "description" : "Generated description for concept referred to by key \"LoadBalancingFuzzyPolicy_PolicyModel_Policies:0.0.1\"" + } + }, { + "key" : { + "name" : "LoadBalancingFuzzyPolicy_PolicyModel_Schemas", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "LoadBalancingFuzzyPolicy_PolicyModel_Schemas", + "version" : "0.0.1" + }, + "UUID" : "09dd200b-9280-4f27-a85a-fab9fa276586", + "description" : "Generated description for concept referred to by key \"LoadBalancingFuzzyPolicy_PolicyModel_Schemas:0.0.1\"" + } + }, { + "key" : { + "name" : "LoadBalancingFuzzyPolicy_PolicyModel_Tasks", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "LoadBalancingFuzzyPolicy_PolicyModel_Tasks", + "version" : "0.0.1" + }, + "UUID" : "4eb61362-ef5b-454e-b540-e1301df8108b", + "description" : "Generated description for concept referred to by key \"LoadBalancingFuzzyPolicy_PolicyModel_Tasks:0.0.1\"" + } + }, { + "key" : { + "name" : "LoadBalancingFuzzyPolicy_Task", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "LoadBalancingFuzzyPolicy_Task", + "version" : "0.0.1" + }, + "UUID" : "76e762b7-8fdf-4d02-b4f3-60bf340997fd", + "description" : "Generated description for concept referred to by key \"LoadBalancingFuzzyPolicy_Task:0.0.1\"" + } + }, { + "key" : { + "name" : "LoadBalancingFuzzyPolicy_Task_Post", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "LoadBalancingFuzzyPolicy_Task_Post", + "version" : "0.0.1" + }, + "UUID" : "3252ff86-02ee-4561-a818-4c7a12546045", + "description" : "Generated description for concept referred to by key \"LoadBalancingFuzzyPolicy_Task_Post:0.0.1\"" + } + }, { + "key" : { + "name" : "LoadBalancingFuzzyPolicy_Task_Pre", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "LoadBalancingFuzzyPolicy_Task_Pre", + "version" : "0.0.1" + }, + "UUID" : "c4fde272-52f0-4ac0-a37b-a25aa043e122", + "description" : "Generated description for concept referred to by key \"LoadBalancingFuzzyPolicy_Task_Pre:0.0.1\"" + } + }, { + "key" : { + "name" : "LoadBalancingFuzzyPolicy_fromFuzzy", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "LoadBalancingFuzzyPolicy_fromFuzzy", + "version" : "0.0.1" + }, + "UUID" : "54b771b4-11af-43eb-94a2-d97e8b585515", + "description" : "Generated description for concept referred to by key \"LoadBalancingFuzzyPolicy_fromFuzzy:0.0.1\"" + } + }, { + "key" : { + "name" : "LoadBalancingFuzzyPolicy_toFuzzy", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "LoadBalancingFuzzyPolicy_toFuzzy", + "version" : "0.0.1" + }, + "UUID" : "960205cd-3cf1-4e90-a456-a0ac59bb06d5", + "description" : "Generated description for concept referred to by key \"LoadBalancingFuzzyPolicy_toFuzzy:0.0.1\"" + } + }, { + "key" : { + "name" : "OCN_AB_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "OCN_AB_type", + "version" : "0.0.1" + }, + "UUID" : "0cb3cebd-9f7e-40b6-be2b-83da8a3bb249", + "description" : "Generated description for concept referred to by key \"OCN_AB_type:0.0.1\"" + } + }, { + "key" : { + "name" : "OCN_BA_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "OCN_BA_type", + "version" : "0.0.1" + }, + "UUID" : "db41babb-500e-4369-acea-26b312de47c3", + "description" : "Generated description for concept referred to by key \"OCN_BA_type:0.0.1\"" + } + }, { + "key" : { + "name" : "PDCCH_CCE_HIGH_LOAD_DELTA_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "PDCCH_CCE_HIGH_LOAD_DELTA_type", + "version" : "0.0.1" + }, + "UUID" : "c1374266-f148-4c6e-9aa0-eb4ad4e812a0", + "description" : "Generated description for concept referred to by key \"PDCCH_CCE_HIGH_LOAD_DELTA_type:0.0.1\"" + } + }, { + "key" : { + "name" : "REL_HO_EXEC_FAIL_RATE_AB_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "REL_HO_EXEC_FAIL_RATE_AB_type", + "version" : "0.0.1" + }, + "UUID" : "285b0913-0d66-4546-8893-95bf0d267911", + "description" : "Generated description for concept referred to by key \"REL_HO_EXEC_FAIL_RATE_AB_type:0.0.1\"" + } + }, { + "key" : { + "name" : "REL_HO_EXEC_FAIL_RATE_BA_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "REL_HO_EXEC_FAIL_RATE_BA_type", + "version" : "0.0.1" + }, + "UUID" : "1e5556fe-bdff-4520-b8ae-606c4275b4b3", + "description" : "Generated description for concept referred to by key \"REL_HO_EXEC_FAIL_RATE_BA_type:0.0.1\"" + } + }, { + "key" : { + "name" : "REL_HO_EXEC_FAIL_RATE_HIGH_AB_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "REL_HO_EXEC_FAIL_RATE_HIGH_AB_type", + "version" : "0.0.1" + }, + "UUID" : "857cd994-c1ce-43b2-94f0-215e824cab75", + "description" : "Generated description for concept referred to by key \"REL_HO_EXEC_FAIL_RATE_HIGH_AB_type:0.0.1\"" + } + }, { + "key" : { + "name" : "REL_HO_EXEC_FAIL_RATE_HIGH_BA_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "REL_HO_EXEC_FAIL_RATE_HIGH_BA_type", + "version" : "0.0.1" + }, + "UUID" : "6a9fa224-1568-4da7-be8a-5fc897373f57", + "description" : "Generated description for concept referred to by key \"REL_HO_EXEC_FAIL_RATE_HIGH_BA_type:0.0.1\"" + } + }, { + "key" : { + "name" : "REL_HO_EXEC_FAIL_RATE_LOW_AB_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "REL_HO_EXEC_FAIL_RATE_LOW_AB_type", + "version" : "0.0.1" + }, + "UUID" : "cec3b03a-7c12-4b37-b60f-79c95a3adb97", + "description" : "Generated description for concept referred to by key \"REL_HO_EXEC_FAIL_RATE_LOW_AB_type:0.0.1\"" + } + }, { + "key" : { + "name" : "REL_HO_EXEC_FAIL_RATE_LOW_BA_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "REL_HO_EXEC_FAIL_RATE_LOW_BA_type", + "version" : "0.0.1" + }, + "UUID" : "2e0caf46-5081-4a67-bb64-6a4ff2721b6b", + "description" : "Generated description for concept referred to by key \"REL_HO_EXEC_FAIL_RATE_LOW_BA_type:0.0.1\"" + } + }, { + "key" : { + "name" : "REL_NUM_HO_WITH_EVENTS_AB_IN_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "REL_NUM_HO_WITH_EVENTS_AB_IN_type", + "version" : "0.0.1" + }, + "UUID" : "4b96864a-8922-4698-8dba-ba6d1ecc042c", + "description" : "Generated description for concept referred to by key \"REL_NUM_HO_WITH_EVENTS_AB_IN_type:0.0.1\"" + } + }, { + "key" : { + "name" : "REL_NUM_HO_WITH_EVENTS_AB_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "REL_NUM_HO_WITH_EVENTS_AB_type", + "version" : "0.0.1" + }, + "UUID" : "670708b1-5bf4-4f0c-b6f1-47affe918580", + "description" : "Generated description for concept referred to by key \"REL_NUM_HO_WITH_EVENTS_AB_type:0.0.1\"" + } + }, { + "key" : { + "name" : "REL_NUM_HO_WITH_EVENTS_BA_IN_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "REL_NUM_HO_WITH_EVENTS_BA_IN_type", + "version" : "0.0.1" + }, + "UUID" : "eacfe8b0-dd88-44b0-8f7d-89bd0fc8cd8a", + "description" : "Generated description for concept referred to by key \"REL_NUM_HO_WITH_EVENTS_BA_IN_type:0.0.1\"" + } + }, { + "key" : { + "name" : "REL_NUM_HO_WITH_EVENTS_BA_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "REL_NUM_HO_WITH_EVENTS_BA_type", + "version" : "0.0.1" + }, + "UUID" : "44129948-e185-4a0d-ac60-2851d84384c4", + "description" : "Generated description for concept referred to by key \"REL_NUM_HO_WITH_EVENTS_BA_type:0.0.1\"" + } + }, { + "key" : { + "name" : "REL_TOO_EARLY_HO_RATE_AB_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "REL_TOO_EARLY_HO_RATE_AB_type", + "version" : "0.0.1" + }, + "UUID" : "c76dfe42-a395-4977-b3c7-b9777f2873b3", + "description" : "Generated description for concept referred to by key \"REL_TOO_EARLY_HO_RATE_AB_type:0.0.1\"" + } + }, { + "key" : { + "name" : "REL_TOO_EARLY_HO_RATE_BA_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "REL_TOO_EARLY_HO_RATE_BA_type", + "version" : "0.0.1" + }, + "UUID" : "ec904666-3e58-4d70-badc-aef1212a9b99", + "description" : "Generated description for concept referred to by key \"REL_TOO_EARLY_HO_RATE_BA_type:0.0.1\"" + } + }, { + "key" : { + "name" : "REL_TOO_EARLY_HO_RATE_HIGH_AB_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "REL_TOO_EARLY_HO_RATE_HIGH_AB_type", + "version" : "0.0.1" + }, + "UUID" : "16f74164-13fe-4964-9ca3-76bf2448d31e", + "description" : "Generated description for concept referred to by key \"REL_TOO_EARLY_HO_RATE_HIGH_AB_type:0.0.1\"" + } + }, { + "key" : { + "name" : "REL_TOO_EARLY_HO_RATE_HIGH_BA_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "REL_TOO_EARLY_HO_RATE_HIGH_BA_type", + "version" : "0.0.1" + }, + "UUID" : "9ee26f19-efc8-4df2-afef-6f0fb5b7fd41", + "description" : "Generated description for concept referred to by key \"REL_TOO_EARLY_HO_RATE_HIGH_BA_type:0.0.1\"" + } + }, { + "key" : { + "name" : "REL_TOO_EARLY_HO_RATE_LOW_AB_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "REL_TOO_EARLY_HO_RATE_LOW_AB_type", + "version" : "0.0.1" + }, + "UUID" : "18553ab2-fe2b-4068-97eb-084f22e159b9", + "description" : "Generated description for concept referred to by key \"REL_TOO_EARLY_HO_RATE_LOW_AB_type:0.0.1\"" + } + }, { + "key" : { + "name" : "REL_TOO_EARLY_HO_RATE_LOW_BA_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "REL_TOO_EARLY_HO_RATE_LOW_BA_type", + "version" : "0.0.1" + }, + "UUID" : "d91c982c-1e31-499f-9c9f-a98407e24ef3", + "description" : "Generated description for concept referred to by key \"REL_TOO_EARLY_HO_RATE_LOW_BA_type:0.0.1\"" + } + }, { + "key" : { + "name" : "REL_TOO_LATE_HO_RATE_AB_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "REL_TOO_LATE_HO_RATE_AB_type", + "version" : "0.0.1" + }, + "UUID" : "f27118e0-202f-4405-b5fa-98d429ff8f27", + "description" : "Generated description for concept referred to by key \"REL_TOO_LATE_HO_RATE_AB_type:0.0.1\"" + } + }, { + "key" : { + "name" : "REL_TOO_LATE_HO_RATE_BA_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "REL_TOO_LATE_HO_RATE_BA_type", + "version" : "0.0.1" + }, + "UUID" : "11a5c54a-2ce6-4fbc-bc6e-ce4dd7af0a6a", + "description" : "Generated description for concept referred to by key \"REL_TOO_LATE_HO_RATE_BA_type:0.0.1\"" + } + }, { + "key" : { + "name" : "REL_TOO_LATE_HO_RATE_HIGH_AB_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "REL_TOO_LATE_HO_RATE_HIGH_AB_type", + "version" : "0.0.1" + }, + "UUID" : "43e67457-2c69-48ff-90f6-bc5373e45b8d", + "description" : "Generated description for concept referred to by key \"REL_TOO_LATE_HO_RATE_HIGH_AB_type:0.0.1\"" + } + }, { + "key" : { + "name" : "REL_TOO_LATE_HO_RATE_HIGH_BA_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "REL_TOO_LATE_HO_RATE_HIGH_BA_type", + "version" : "0.0.1" + }, + "UUID" : "66664526-6223-41de-af3d-991f415a84ae", + "description" : "Generated description for concept referred to by key \"REL_TOO_LATE_HO_RATE_HIGH_BA_type:0.0.1\"" + } + }, { + "key" : { + "name" : "REL_TOO_LATE_HO_RATE_LOW_AB_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "REL_TOO_LATE_HO_RATE_LOW_AB_type", + "version" : "0.0.1" + }, + "UUID" : "b5d23339-ea3a-414a-a981-b6581dfe7503", + "description" : "Generated description for concept referred to by key \"REL_TOO_LATE_HO_RATE_LOW_AB_type:0.0.1\"" + } + }, { + "key" : { + "name" : "REL_TOO_LATE_HO_RATE_LOW_BA_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "REL_TOO_LATE_HO_RATE_LOW_BA_type", + "version" : "0.0.1" + }, + "UUID" : "a2043cac-1a9b-4e8a-beb9-858eb6fe025f", + "description" : "Generated description for concept referred to by key \"REL_TOO_LATE_HO_RATE_LOW_BA_type:0.0.1\"" + } + }, { + "key" : { + "name" : "RRC_CONGESTION_DELTA_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "RRC_CONGESTION_DELTA_type", + "version" : "0.0.1" + }, + "UUID" : "354b79b0-aebd-4bee-a69b-41f833e71b4d", + "description" : "Generated description for concept referred to by key \"RRC_CONGESTION_DELTA_type:0.0.1\"" + } + }, { + "key" : { + "name" : "SB_OCN_AB_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "SB_OCN_AB_type", + "version" : "0.0.1" + }, + "UUID" : "e9d87f24-c9ec-4e80-8b22-b598b4db11bb", + "description" : "Generated description for concept referred to by key \"SB_OCN_AB_type:0.0.1\"" + } + }, { + "key" : { + "name" : "SB_OCN_BA_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "SB_OCN_BA_type", + "version" : "0.0.1" + }, + "UUID" : "c53ff327-62dd-4615-ab9f-bafa5977e0ce", + "description" : "Generated description for concept referred to by key \"SB_OCN_BA_type:0.0.1\"" + } + }, { + "key" : { + "name" : "SET_TYPE_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "SET_TYPE_type", + "version" : "0.0.1" + }, + "UUID" : "452d1d58-6290-42c7-b78e-088cc4f2280b", + "description" : "Generated description for concept referred to by key \"SET_TYPE_type:0.0.1\"" + } + }, { + "key" : { + "name" : "TOO_EARLY_HO_RATE_AB_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "TOO_EARLY_HO_RATE_AB_type", + "version" : "0.0.1" + }, + "UUID" : "f4ef6fe9-93a6-4558-b16b-006d2280c0e1", + "description" : "Generated description for concept referred to by key \"TOO_EARLY_HO_RATE_AB_type:0.0.1\"" + } + }, { + "key" : { + "name" : "TOO_EARLY_HO_RATE_BA_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "TOO_EARLY_HO_RATE_BA_type", + "version" : "0.0.1" + }, + "UUID" : "0d2b78ee-8e18-4145-9ddb-23b122a7144f", + "description" : "Generated description for concept referred to by key \"TOO_EARLY_HO_RATE_BA_type:0.0.1\"" + } + }, { + "key" : { + "name" : "TOO_LATE_HO_RATE_AB_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "TOO_LATE_HO_RATE_AB_type", + "version" : "0.0.1" + }, + "UUID" : "d672e9e4-7136-4aa8-aa90-1b724e244f3e", + "description" : "Generated description for concept referred to by key \"TOO_LATE_HO_RATE_AB_type:0.0.1\"" + } + }, { + "key" : { + "name" : "TOO_LATE_HO_RATE_BA_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "TOO_LATE_HO_RATE_BA_type", + "version" : "0.0.1" + }, + "UUID" : "58ccdd5c-69c1-4c1d-9075-1953b5f5b39c", + "description" : "Generated description for concept referred to by key \"TOO_LATE_HO_RATE_BA_type:0.0.1\"" + } + } ] + } + }, + "policies" : { + "key" : { + "name" : "LoadBalancingFuzzyPolicy_PolicyModel_Policies", + "version" : "0.0.1" + }, + "policyMap" : { + "entry" : [ { + "key" : { + "name" : "LoadBalancingFuzzyPolicy_Policy", + "version" : "0.0.1" + }, + "value" : { + "policyKey" : { + "name" : "LoadBalancingFuzzyPolicy_Policy", + "version" : "0.0.1" + }, + "template" : "FREEFORM", + "state" : { + "entry" : [ { + "key" : "FuzzyExecute", + "value" : { + "stateKey" : { + "parentKeyName" : "LoadBalancingFuzzyPolicy_Policy", + "parentKeyVersion" : "0.0.1", + "parentLocalName" : "NULL", + "localName" : "FuzzyExecute" + }, + "trigger" : { + "name" : "LoadBalancingFuzzyPolicy_toFuzzy", + "version" : "0.0.1" + }, + "stateOutputs" : { + "entry" : [ { + "key" : "Fuzzy2Post", + "value" : { + "key" : { + "parentKeyName" : "LoadBalancingFuzzyPolicy_Policy", + "parentKeyVersion" : "0.0.1", + "parentLocalName" : "FuzzyExecute", + "localName" : "Fuzzy2Post" + }, + "outgoingEvent" : { + "name" : "LoadBalancingFuzzyPolicy_fromFuzzy", + "version" : "0.0.1" + }, + "nextState" : { + "parentKeyName" : "LoadBalancingFuzzyPolicy_Policy", + "parentKeyVersion" : "0.0.1", + "parentLocalName" : "NULL", + "localName" : "PostExecute" + } + } + } ] + }, + "contextAlbumReference" : [ ], + "taskSelectionLogic" : { + "key" : "NULL", + "logicFlavour" : "UNDEFINED", + "logic" : "" + }, + "stateFinalizerLogicMap" : { + "entry" : [ ] + }, + "defaultTask" : { + "name" : "LoadBalancingFuzzyPolicy_Task", + "version" : "0.0.1" + }, + "taskReferences" : { + "entry" : [ { + "key" : { + "name" : "LoadBalancingFuzzyPolicy_Task", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "parentKeyName" : "LoadBalancingFuzzyPolicy_Policy", + "parentKeyVersion" : "0.0.1", + "parentLocalName" : "FuzzyExecute", + "localName" : "LoadBalancingFuzzyPolicy_Policy" + }, + "outputType" : "DIRECT", + "output" : { + "parentKeyName" : "LoadBalancingFuzzyPolicy_Policy", + "parentKeyVersion" : "0.0.1", + "parentLocalName" : "FuzzyExecute", + "localName" : "Fuzzy2Post" + } + } + } ] + } + } + }, { + "key" : "PostExecute", + "value" : { + "stateKey" : { + "parentKeyName" : "LoadBalancingFuzzyPolicy_Policy", + "parentKeyVersion" : "0.0.1", + "parentLocalName" : "NULL", + "localName" : "PostExecute" + }, + "trigger" : { + "name" : "LoadBalancingFuzzyPolicy_fromFuzzy", + "version" : "0.0.1" + }, + "stateOutputs" : { + "entry" : [ { + "key" : "Post2Out", + "value" : { + "key" : { + "parentKeyName" : "LoadBalancingFuzzyPolicy_Policy", + "parentKeyVersion" : "0.0.1", + "parentLocalName" : "PostExecute", + "localName" : "Post2Out" + }, + "outgoingEvent" : { + "name" : "LoadBalancingFuzzyPolicy_OutputEvent", + "version" : "0.0.1" + }, + "nextState" : { + "parentKeyName" : "NULL", + "parentKeyVersion" : "0.0.0", + "parentLocalName" : "NULL", + "localName" : "NULL" + } + } + } ] + }, + "contextAlbumReference" : [ ], + "taskSelectionLogic" : { + "key" : "NULL", + "logicFlavour" : "UNDEFINED", + "logic" : "" + }, + "stateFinalizerLogicMap" : { + "entry" : [ ] + }, + "defaultTask" : { + "name" : "LoadBalancingFuzzyPolicy_Task_Post", + "version" : "0.0.1" + }, + "taskReferences" : { + "entry" : [ { + "key" : { + "name" : "LoadBalancingFuzzyPolicy_Task_Post", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "parentKeyName" : "LoadBalancingFuzzyPolicy_Policy", + "parentKeyVersion" : "0.0.1", + "parentLocalName" : "PostExecute", + "localName" : "LoadBalancingFuzzyPolicy_Policy" + }, + "outputType" : "DIRECT", + "output" : { + "parentKeyName" : "LoadBalancingFuzzyPolicy_Policy", + "parentKeyVersion" : "0.0.1", + "parentLocalName" : "PostExecute", + "localName" : "Post2Out" + } + } + } ] + } + } + }, { + "key" : "PreExecute", + "value" : { + "stateKey" : { + "parentKeyName" : "LoadBalancingFuzzyPolicy_Policy", + "parentKeyVersion" : "0.0.1", + "parentLocalName" : "NULL", + "localName" : "PreExecute" + }, + "trigger" : { + "name" : "LoadBalancingFuzzyPolicy_InputEvent", + "version" : "0.0.1" + }, + "stateOutputs" : { + "entry" : [ { + "key" : "Pre2Fuzzy", + "value" : { + "key" : { + "parentKeyName" : "LoadBalancingFuzzyPolicy_Policy", + "parentKeyVersion" : "0.0.1", + "parentLocalName" : "PreExecute", + "localName" : "Pre2Fuzzy" + }, + "outgoingEvent" : { + "name" : "LoadBalancingFuzzyPolicy_toFuzzy", + "version" : "0.0.1" + }, + "nextState" : { + "parentKeyName" : "LoadBalancingFuzzyPolicy_Policy", + "parentKeyVersion" : "0.0.1", + "parentLocalName" : "NULL", + "localName" : "FuzzyExecute" + } + } + } ] + }, + "contextAlbumReference" : [ ], + "taskSelectionLogic" : { + "key" : "NULL", + "logicFlavour" : "UNDEFINED", + "logic" : "" + }, + "stateFinalizerLogicMap" : { + "entry" : [ ] + }, + "defaultTask" : { + "name" : "LoadBalancingFuzzyPolicy_Task_Pre", + "version" : "0.0.1" + }, + "taskReferences" : { + "entry" : [ { + "key" : { + "name" : "LoadBalancingFuzzyPolicy_Task_Pre", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "parentKeyName" : "LoadBalancingFuzzyPolicy_Policy", + "parentKeyVersion" : "0.0.1", + "parentLocalName" : "PreExecute", + "localName" : "LoadBalancingFuzzyPolicy_Policy" + }, + "outputType" : "DIRECT", + "output" : { + "parentKeyName" : "LoadBalancingFuzzyPolicy_Policy", + "parentKeyVersion" : "0.0.1", + "parentLocalName" : "PreExecute", + "localName" : "Pre2Fuzzy" + } + } + } ] + } + } + } ] + }, + "firstState" : "PreExecute" + } + } ] + } + }, + "tasks" : { + "key" : { + "name" : "LoadBalancingFuzzyPolicy_PolicyModel_Tasks", + "version" : "0.0.1" + }, + "taskMap" : { + "entry" : [ { + "key" : { + "name" : "LoadBalancingFuzzyPolicy_Task", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "LoadBalancingFuzzyPolicy_Task", + "version" : "0.0.1" + }, + "inputFields" : { + "entry" : [ { + "key" : "Adjacency_4G_Name", + "value" : { + "key" : "Adjacency_4G_Name", + "fieldSchemaKey" : { + "name" : "Adjacency_4G_Name_type", + "version" : "0.0.1" + } + } + }, { + "key" : "CellA", + "value" : { + "key" : "CellA", + "fieldSchemaKey" : { + "name" : "CellA_type", + "version" : "0.0.1" + } + } + }, { + "key" : "CellB", + "value" : { + "key" : "CellB", + "fieldSchemaKey" : { + "name" : "CellB_type", + "version" : "0.0.1" + } + } + }, { + "key" : "ENABLE_CONGESTION", + "value" : { + "key" : "ENABLE_CONGESTION", + "fieldSchemaKey" : { + "name" : "ENABLE_CONGESTION_type", + "version" : "0.0.1" + } + } + }, { + "key" : "FREQ_REL_TYPE", + "value" : { + "key" : "FREQ_REL_TYPE", + "fieldSchemaKey" : { + "name" : "FREQ_REL_TYPE_type", + "version" : "0.0.1" + } + } + }, { + "key" : "HO_EXEC_FAIL_RATE_AB", + "value" : { + "key" : "HO_EXEC_FAIL_RATE_AB", + "fieldSchemaKey" : { + "name" : "HO_EXEC_FAIL_RATE_AB_type", + "version" : "0.0.1" + } + } + }, { + "key" : "HO_EXEC_FAIL_RATE_BA", + "value" : { + "key" : "HO_EXEC_FAIL_RATE_BA", + "fieldSchemaKey" : { + "name" : "HO_EXEC_FAIL_RATE_BA_type", + "version" : "0.0.1" + } + } + }, { + "key" : "LOW_CQI_SAMPLES_RATE_HO_AB", + "value" : { + "key" : "LOW_CQI_SAMPLES_RATE_HO_AB", + "fieldSchemaKey" : { + "name" : "LOW_CQI_SAMPLES_RATE_HO_AB_type", + "version" : "0.0.1" + } + } + }, { + "key" : "LOW_CQI_SAMPLES_RATE_HO_BA", + "value" : { + "key" : "LOW_CQI_SAMPLES_RATE_HO_BA", + "fieldSchemaKey" : { + "name" : "LOW_CQI_SAMPLES_RATE_HO_BA_type", + "version" : "0.0.1" + } + } + }, { + "key" : "LOW_PUSCH_SINR_SAMPLES_RATE_HO_AB", + "value" : { + "key" : "LOW_PUSCH_SINR_SAMPLES_RATE_HO_AB", + "fieldSchemaKey" : { + "name" : "LOW_PUSCH_SINR_SAMPLES_RATE_HO_AB_type", + "version" : "0.0.1" + } + } + }, { + "key" : "LOW_PUSCH_SINR_SAMPLES_RATE_HO_BA", + "value" : { + "key" : "LOW_PUSCH_SINR_SAMPLES_RATE_HO_BA", + "fieldSchemaKey" : { + "name" : "LOW_PUSCH_SINR_SAMPLES_RATE_HO_BA_type", + "version" : "0.0.1" + } + } + }, { + "key" : "PDCCH_CCE_HIGH_LOAD_DELTA", + "value" : { + "key" : "PDCCH_CCE_HIGH_LOAD_DELTA", + "fieldSchemaKey" : { + "name" : "PDCCH_CCE_HIGH_LOAD_DELTA_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_HO_EXEC_FAIL_RATE_HIGH_AB", + "value" : { + "key" : "REL_HO_EXEC_FAIL_RATE_HIGH_AB", + "fieldSchemaKey" : { + "name" : "REL_HO_EXEC_FAIL_RATE_HIGH_AB_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_HO_EXEC_FAIL_RATE_HIGH_BA", + "value" : { + "key" : "REL_HO_EXEC_FAIL_RATE_HIGH_BA", + "fieldSchemaKey" : { + "name" : "REL_HO_EXEC_FAIL_RATE_HIGH_BA_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_HO_EXEC_FAIL_RATE_LOW_AB", + "value" : { + "key" : "REL_HO_EXEC_FAIL_RATE_LOW_AB", + "fieldSchemaKey" : { + "name" : "REL_HO_EXEC_FAIL_RATE_LOW_AB_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_HO_EXEC_FAIL_RATE_LOW_BA", + "value" : { + "key" : "REL_HO_EXEC_FAIL_RATE_LOW_BA", + "fieldSchemaKey" : { + "name" : "REL_HO_EXEC_FAIL_RATE_LOW_BA_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_NUM_HO_WITH_EVENTS_AB_IN", + "value" : { + "key" : "REL_NUM_HO_WITH_EVENTS_AB_IN", + "fieldSchemaKey" : { + "name" : "REL_NUM_HO_WITH_EVENTS_AB_IN_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_NUM_HO_WITH_EVENTS_BA_IN", + "value" : { + "key" : "REL_NUM_HO_WITH_EVENTS_BA_IN", + "fieldSchemaKey" : { + "name" : "REL_NUM_HO_WITH_EVENTS_BA_IN_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_TOO_EARLY_HO_RATE_HIGH_AB", + "value" : { + "key" : "REL_TOO_EARLY_HO_RATE_HIGH_AB", + "fieldSchemaKey" : { + "name" : "REL_TOO_EARLY_HO_RATE_HIGH_AB_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_TOO_EARLY_HO_RATE_HIGH_BA", + "value" : { + "key" : "REL_TOO_EARLY_HO_RATE_HIGH_BA", + "fieldSchemaKey" : { + "name" : "REL_TOO_EARLY_HO_RATE_HIGH_BA_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_TOO_EARLY_HO_RATE_LOW_AB", + "value" : { + "key" : "REL_TOO_EARLY_HO_RATE_LOW_AB", + "fieldSchemaKey" : { + "name" : "REL_TOO_EARLY_HO_RATE_LOW_AB_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_TOO_EARLY_HO_RATE_LOW_BA", + "value" : { + "key" : "REL_TOO_EARLY_HO_RATE_LOW_BA", + "fieldSchemaKey" : { + "name" : "REL_TOO_EARLY_HO_RATE_LOW_BA_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_TOO_LATE_HO_RATE_HIGH_AB", + "value" : { + "key" : "REL_TOO_LATE_HO_RATE_HIGH_AB", + "fieldSchemaKey" : { + "name" : "REL_TOO_LATE_HO_RATE_HIGH_AB_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_TOO_LATE_HO_RATE_HIGH_BA", + "value" : { + "key" : "REL_TOO_LATE_HO_RATE_HIGH_BA", + "fieldSchemaKey" : { + "name" : "REL_TOO_LATE_HO_RATE_HIGH_BA_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_TOO_LATE_HO_RATE_LOW_AB", + "value" : { + "key" : "REL_TOO_LATE_HO_RATE_LOW_AB", + "fieldSchemaKey" : { + "name" : "REL_TOO_LATE_HO_RATE_LOW_AB_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_TOO_LATE_HO_RATE_LOW_BA", + "value" : { + "key" : "REL_TOO_LATE_HO_RATE_LOW_BA", + "fieldSchemaKey" : { + "name" : "REL_TOO_LATE_HO_RATE_LOW_BA_type", + "version" : "0.0.1" + } + } + }, { + "key" : "RRC_CONGESTION_DELTA", + "value" : { + "key" : "RRC_CONGESTION_DELTA", + "fieldSchemaKey" : { + "name" : "RRC_CONGESTION_DELTA_type", + "version" : "0.0.1" + } + } + }, { + "key" : "SET_TYPE", + "value" : { + "key" : "SET_TYPE", + "fieldSchemaKey" : { + "name" : "SET_TYPE_type", + "version" : "0.0.1" + } + } + }, { + "key" : "TOO_EARLY_HO_RATE_AB", + "value" : { + "key" : "TOO_EARLY_HO_RATE_AB", + "fieldSchemaKey" : { + "name" : "TOO_EARLY_HO_RATE_AB_type", + "version" : "0.0.1" + } + } + }, { + "key" : "TOO_EARLY_HO_RATE_BA", + "value" : { + "key" : "TOO_EARLY_HO_RATE_BA", + "fieldSchemaKey" : { + "name" : "TOO_EARLY_HO_RATE_BA_type", + "version" : "0.0.1" + } + } + }, { + "key" : "TOO_LATE_HO_RATE_AB", + "value" : { + "key" : "TOO_LATE_HO_RATE_AB", + "fieldSchemaKey" : { + "name" : "TOO_LATE_HO_RATE_AB_type", + "version" : "0.0.1" + } + } + }, { + "key" : "TOO_LATE_HO_RATE_BA", + "value" : { + "key" : "TOO_LATE_HO_RATE_BA", + "fieldSchemaKey" : { + "name" : "TOO_LATE_HO_RATE_BA_type", + "version" : "0.0.1" + } + } + } ] + }, + "outputFields" : { + "entry" : [ { + "key" : "Adjacency_4G_Name", + "value" : { + "key" : "Adjacency_4G_Name", + "fieldSchemaKey" : { + "name" : "Adjacency_4G_Name_type", + "version" : "0.0.1" + } + } + }, { + "key" : "CellA", + "value" : { + "key" : "CellA", + "fieldSchemaKey" : { + "name" : "CellA_type", + "version" : "0.0.1" + } + } + }, { + "key" : "CellB", + "value" : { + "key" : "CellB", + "fieldSchemaKey" : { + "name" : "CellB_type", + "version" : "0.0.1" + } + } + }, { + "key" : "OCN_AB", + "value" : { + "key" : "OCN_AB", + "fieldSchemaKey" : { + "name" : "OCN_AB_type", + "version" : "0.0.1" + } + } + }, { + "key" : "OCN_BA", + "value" : { + "key" : "OCN_BA", + "fieldSchemaKey" : { + "name" : "OCN_BA_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_HO_EXEC_FAIL_RATE_AB", + "value" : { + "key" : "REL_HO_EXEC_FAIL_RATE_AB", + "fieldSchemaKey" : { + "name" : "REL_HO_EXEC_FAIL_RATE_AB_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_HO_EXEC_FAIL_RATE_BA", + "value" : { + "key" : "REL_HO_EXEC_FAIL_RATE_BA", + "fieldSchemaKey" : { + "name" : "REL_HO_EXEC_FAIL_RATE_BA_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_NUM_HO_WITH_EVENTS_AB", + "value" : { + "key" : "REL_NUM_HO_WITH_EVENTS_AB", + "fieldSchemaKey" : { + "name" : "REL_NUM_HO_WITH_EVENTS_AB_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_NUM_HO_WITH_EVENTS_BA", + "value" : { + "key" : "REL_NUM_HO_WITH_EVENTS_BA", + "fieldSchemaKey" : { + "name" : "REL_NUM_HO_WITH_EVENTS_BA_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_TOO_EARLY_HO_RATE_AB", + "value" : { + "key" : "REL_TOO_EARLY_HO_RATE_AB", + "fieldSchemaKey" : { + "name" : "REL_TOO_EARLY_HO_RATE_AB_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_TOO_EARLY_HO_RATE_BA", + "value" : { + "key" : "REL_TOO_EARLY_HO_RATE_BA", + "fieldSchemaKey" : { + "name" : "REL_TOO_EARLY_HO_RATE_BA_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_TOO_LATE_HO_RATE_AB", + "value" : { + "key" : "REL_TOO_LATE_HO_RATE_AB", + "fieldSchemaKey" : { + "name" : "REL_TOO_LATE_HO_RATE_AB_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_TOO_LATE_HO_RATE_BA", + "value" : { + "key" : "REL_TOO_LATE_HO_RATE_BA", + "fieldSchemaKey" : { + "name" : "REL_TOO_LATE_HO_RATE_BA_type", + "version" : "0.0.1" + } + } + }, { + "key" : "SB_OCN_AB", + "value" : { + "key" : "SB_OCN_AB", + "fieldSchemaKey" : { + "name" : "SB_OCN_AB_type", + "version" : "0.0.1" + } + } + }, { + "key" : "SB_OCN_BA", + "value" : { + "key" : "SB_OCN_BA", + "fieldSchemaKey" : { + "name" : "SB_OCN_BA_type", + "version" : "0.0.1" + } + } + } ] + }, + "taskParameters" : { + "entry" : [ ] + }, + "contextAlbumReference" : [ ], + "taskLogic" : { + "key" : "TaskLogic", + "logicFlavour" : "FUZZY", + "logic" : "policymodels/fuzzy/SampleLBFuzzyLogic.xml" + } + } + }, { + "key" : { + "name" : "LoadBalancingFuzzyPolicy_Task_Post", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "LoadBalancingFuzzyPolicy_Task_Post", + "version" : "0.0.1" + }, + "inputFields" : { + "entry" : [ { + "key" : "Adjacency_4G_Name", + "value" : { + "key" : "Adjacency_4G_Name", + "fieldSchemaKey" : { + "name" : "Adjacency_4G_Name_type", + "version" : "0.0.1" + } + } + }, { + "key" : "CellA", + "value" : { + "key" : "CellA", + "fieldSchemaKey" : { + "name" : "CellA_type", + "version" : "0.0.1" + } + } + }, { + "key" : "CellB", + "value" : { + "key" : "CellB", + "fieldSchemaKey" : { + "name" : "CellB_type", + "version" : "0.0.1" + } + } + }, { + "key" : "OCN_AB", + "value" : { + "key" : "OCN_AB", + "fieldSchemaKey" : { + "name" : "OCN_AB_type", + "version" : "0.0.1" + } + } + }, { + "key" : "OCN_BA", + "value" : { + "key" : "OCN_BA", + "fieldSchemaKey" : { + "name" : "OCN_BA_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_HO_EXEC_FAIL_RATE_AB", + "value" : { + "key" : "REL_HO_EXEC_FAIL_RATE_AB", + "fieldSchemaKey" : { + "name" : "REL_HO_EXEC_FAIL_RATE_AB_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_HO_EXEC_FAIL_RATE_BA", + "value" : { + "key" : "REL_HO_EXEC_FAIL_RATE_BA", + "fieldSchemaKey" : { + "name" : "REL_HO_EXEC_FAIL_RATE_BA_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_NUM_HO_WITH_EVENTS_AB", + "value" : { + "key" : "REL_NUM_HO_WITH_EVENTS_AB", + "fieldSchemaKey" : { + "name" : "REL_NUM_HO_WITH_EVENTS_AB_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_NUM_HO_WITH_EVENTS_BA", + "value" : { + "key" : "REL_NUM_HO_WITH_EVENTS_BA", + "fieldSchemaKey" : { + "name" : "REL_NUM_HO_WITH_EVENTS_BA_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_TOO_EARLY_HO_RATE_AB", + "value" : { + "key" : "REL_TOO_EARLY_HO_RATE_AB", + "fieldSchemaKey" : { + "name" : "REL_TOO_EARLY_HO_RATE_AB_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_TOO_EARLY_HO_RATE_BA", + "value" : { + "key" : "REL_TOO_EARLY_HO_RATE_BA", + "fieldSchemaKey" : { + "name" : "REL_TOO_EARLY_HO_RATE_BA_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_TOO_LATE_HO_RATE_AB", + "value" : { + "key" : "REL_TOO_LATE_HO_RATE_AB", + "fieldSchemaKey" : { + "name" : "REL_TOO_LATE_HO_RATE_AB_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_TOO_LATE_HO_RATE_BA", + "value" : { + "key" : "REL_TOO_LATE_HO_RATE_BA", + "fieldSchemaKey" : { + "name" : "REL_TOO_LATE_HO_RATE_BA_type", + "version" : "0.0.1" + } + } + }, { + "key" : "SB_OCN_AB", + "value" : { + "key" : "SB_OCN_AB", + "fieldSchemaKey" : { + "name" : "SB_OCN_AB_type", + "version" : "0.0.1" + } + } + }, { + "key" : "SB_OCN_BA", + "value" : { + "key" : "SB_OCN_BA", + "fieldSchemaKey" : { + "name" : "SB_OCN_BA_type", + "version" : "0.0.1" + } + } + } ] + }, + "outputFields" : { + "entry" : [ { + "key" : "Adjacency_4G_Name", + "value" : { + "key" : "Adjacency_4G_Name", + "fieldSchemaKey" : { + "name" : "Adjacency_4G_Name_type", + "version" : "0.0.1" + } + } + }, { + "key" : "CellA", + "value" : { + "key" : "CellA", + "fieldSchemaKey" : { + "name" : "CellA_type", + "version" : "0.0.1" + } + } + }, { + "key" : "CellB", + "value" : { + "key" : "CellB", + "fieldSchemaKey" : { + "name" : "CellB_type", + "version" : "0.0.1" + } + } + }, { + "key" : "OCN_AB", + "value" : { + "key" : "OCN_AB", + "fieldSchemaKey" : { + "name" : "OCN_AB_type", + "version" : "0.0.1" + } + } + }, { + "key" : "OCN_BA", + "value" : { + "key" : "OCN_BA", + "fieldSchemaKey" : { + "name" : "OCN_BA_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_HO_EXEC_FAIL_RATE_AB", + "value" : { + "key" : "REL_HO_EXEC_FAIL_RATE_AB", + "fieldSchemaKey" : { + "name" : "REL_HO_EXEC_FAIL_RATE_AB_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_HO_EXEC_FAIL_RATE_BA", + "value" : { + "key" : "REL_HO_EXEC_FAIL_RATE_BA", + "fieldSchemaKey" : { + "name" : "REL_HO_EXEC_FAIL_RATE_BA_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_NUM_HO_WITH_EVENTS_AB", + "value" : { + "key" : "REL_NUM_HO_WITH_EVENTS_AB", + "fieldSchemaKey" : { + "name" : "REL_NUM_HO_WITH_EVENTS_AB_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_NUM_HO_WITH_EVENTS_BA", + "value" : { + "key" : "REL_NUM_HO_WITH_EVENTS_BA", + "fieldSchemaKey" : { + "name" : "REL_NUM_HO_WITH_EVENTS_BA_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_TOO_EARLY_HO_RATE_AB", + "value" : { + "key" : "REL_TOO_EARLY_HO_RATE_AB", + "fieldSchemaKey" : { + "name" : "REL_TOO_EARLY_HO_RATE_AB_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_TOO_EARLY_HO_RATE_BA", + "value" : { + "key" : "REL_TOO_EARLY_HO_RATE_BA", + "fieldSchemaKey" : { + "name" : "REL_TOO_EARLY_HO_RATE_BA_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_TOO_LATE_HO_RATE_AB", + "value" : { + "key" : "REL_TOO_LATE_HO_RATE_AB", + "fieldSchemaKey" : { + "name" : "REL_TOO_LATE_HO_RATE_AB_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_TOO_LATE_HO_RATE_BA", + "value" : { + "key" : "REL_TOO_LATE_HO_RATE_BA", + "fieldSchemaKey" : { + "name" : "REL_TOO_LATE_HO_RATE_BA_type", + "version" : "0.0.1" + } + } + }, { + "key" : "SB_OCN_AB", + "value" : { + "key" : "SB_OCN_AB", + "fieldSchemaKey" : { + "name" : "SB_OCN_AB_type", + "version" : "0.0.1" + } + } + }, { + "key" : "SB_OCN_BA", + "value" : { + "key" : "SB_OCN_BA", + "fieldSchemaKey" : { + "name" : "SB_OCN_BA_type", + "version" : "0.0.1" + } + } + } ] + }, + "taskParameters" : { + "entry" : [ ] + }, + "contextAlbumReference" : [ ], + "taskLogic" : { + "key" : "TaskLogic", + "logicFlavour" : "MVEL", + "logic" : "logger.debug(subject.id);logger.debug(inFields);outFields.putAll(inFields);logger.debug(outFields);return true;" + } + } + }, { + "key" : { + "name" : "LoadBalancingFuzzyPolicy_Task_Pre", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "LoadBalancingFuzzyPolicy_Task_Pre", + "version" : "0.0.1" + }, + "inputFields" : { + "entry" : [ { + "key" : "Adjacency_4G_Name", + "value" : { + "key" : "Adjacency_4G_Name", + "fieldSchemaKey" : { + "name" : "Adjacency_4G_Name_type", + "version" : "0.0.1" + } + } + }, { + "key" : "CellA", + "value" : { + "key" : "CellA", + "fieldSchemaKey" : { + "name" : "CellA_type", + "version" : "0.0.1" + } + } + }, { + "key" : "CellB", + "value" : { + "key" : "CellB", + "fieldSchemaKey" : { + "name" : "CellB_type", + "version" : "0.0.1" + } + } + }, { + "key" : "ENABLE_CONGESTION", + "value" : { + "key" : "ENABLE_CONGESTION", + "fieldSchemaKey" : { + "name" : "ENABLE_CONGESTION_type", + "version" : "0.0.1" + } + } + }, { + "key" : "FREQ_REL_TYPE", + "value" : { + "key" : "FREQ_REL_TYPE", + "fieldSchemaKey" : { + "name" : "FREQ_REL_TYPE_type", + "version" : "0.0.1" + } + } + }, { + "key" : "HO_EXEC_FAIL_RATE_AB", + "value" : { + "key" : "HO_EXEC_FAIL_RATE_AB", + "fieldSchemaKey" : { + "name" : "HO_EXEC_FAIL_RATE_AB_type", + "version" : "0.0.1" + } + } + }, { + "key" : "HO_EXEC_FAIL_RATE_BA", + "value" : { + "key" : "HO_EXEC_FAIL_RATE_BA", + "fieldSchemaKey" : { + "name" : "HO_EXEC_FAIL_RATE_BA_type", + "version" : "0.0.1" + } + } + }, { + "key" : "LOW_CQI_SAMPLES_RATE_HO_AB", + "value" : { + "key" : "LOW_CQI_SAMPLES_RATE_HO_AB", + "fieldSchemaKey" : { + "name" : "LOW_CQI_SAMPLES_RATE_HO_AB_type", + "version" : "0.0.1" + } + } + }, { + "key" : "LOW_CQI_SAMPLES_RATE_HO_BA", + "value" : { + "key" : "LOW_CQI_SAMPLES_RATE_HO_BA", + "fieldSchemaKey" : { + "name" : "LOW_CQI_SAMPLES_RATE_HO_BA_type", + "version" : "0.0.1" + } + } + }, { + "key" : "LOW_PUSCH_SINR_SAMPLES_RATE_HO_AB", + "value" : { + "key" : "LOW_PUSCH_SINR_SAMPLES_RATE_HO_AB", + "fieldSchemaKey" : { + "name" : "LOW_PUSCH_SINR_SAMPLES_RATE_HO_AB_type", + "version" : "0.0.1" + } + } + }, { + "key" : "LOW_PUSCH_SINR_SAMPLES_RATE_HO_BA", + "value" : { + "key" : "LOW_PUSCH_SINR_SAMPLES_RATE_HO_BA", + "fieldSchemaKey" : { + "name" : "LOW_PUSCH_SINR_SAMPLES_RATE_HO_BA_type", + "version" : "0.0.1" + } + } + }, { + "key" : "PDCCH_CCE_HIGH_LOAD_DELTA", + "value" : { + "key" : "PDCCH_CCE_HIGH_LOAD_DELTA", + "fieldSchemaKey" : { + "name" : "PDCCH_CCE_HIGH_LOAD_DELTA_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_HO_EXEC_FAIL_RATE_HIGH_AB", + "value" : { + "key" : "REL_HO_EXEC_FAIL_RATE_HIGH_AB", + "fieldSchemaKey" : { + "name" : "REL_HO_EXEC_FAIL_RATE_HIGH_AB_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_HO_EXEC_FAIL_RATE_HIGH_BA", + "value" : { + "key" : "REL_HO_EXEC_FAIL_RATE_HIGH_BA", + "fieldSchemaKey" : { + "name" : "REL_HO_EXEC_FAIL_RATE_HIGH_BA_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_HO_EXEC_FAIL_RATE_LOW_AB", + "value" : { + "key" : "REL_HO_EXEC_FAIL_RATE_LOW_AB", + "fieldSchemaKey" : { + "name" : "REL_HO_EXEC_FAIL_RATE_LOW_AB_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_HO_EXEC_FAIL_RATE_LOW_BA", + "value" : { + "key" : "REL_HO_EXEC_FAIL_RATE_LOW_BA", + "fieldSchemaKey" : { + "name" : "REL_HO_EXEC_FAIL_RATE_LOW_BA_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_NUM_HO_WITH_EVENTS_AB_IN", + "value" : { + "key" : "REL_NUM_HO_WITH_EVENTS_AB_IN", + "fieldSchemaKey" : { + "name" : "REL_NUM_HO_WITH_EVENTS_AB_IN_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_NUM_HO_WITH_EVENTS_BA_IN", + "value" : { + "key" : "REL_NUM_HO_WITH_EVENTS_BA_IN", + "fieldSchemaKey" : { + "name" : "REL_NUM_HO_WITH_EVENTS_BA_IN_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_TOO_EARLY_HO_RATE_HIGH_AB", + "value" : { + "key" : "REL_TOO_EARLY_HO_RATE_HIGH_AB", + "fieldSchemaKey" : { + "name" : "REL_TOO_EARLY_HO_RATE_HIGH_AB_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_TOO_EARLY_HO_RATE_HIGH_BA", + "value" : { + "key" : "REL_TOO_EARLY_HO_RATE_HIGH_BA", + "fieldSchemaKey" : { + "name" : "REL_TOO_EARLY_HO_RATE_HIGH_BA_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_TOO_EARLY_HO_RATE_LOW_AB", + "value" : { + "key" : "REL_TOO_EARLY_HO_RATE_LOW_AB", + "fieldSchemaKey" : { + "name" : "REL_TOO_EARLY_HO_RATE_LOW_AB_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_TOO_EARLY_HO_RATE_LOW_BA", + "value" : { + "key" : "REL_TOO_EARLY_HO_RATE_LOW_BA", + "fieldSchemaKey" : { + "name" : "REL_TOO_EARLY_HO_RATE_LOW_BA_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_TOO_LATE_HO_RATE_HIGH_AB", + "value" : { + "key" : "REL_TOO_LATE_HO_RATE_HIGH_AB", + "fieldSchemaKey" : { + "name" : "REL_TOO_LATE_HO_RATE_HIGH_AB_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_TOO_LATE_HO_RATE_HIGH_BA", + "value" : { + "key" : "REL_TOO_LATE_HO_RATE_HIGH_BA", + "fieldSchemaKey" : { + "name" : "REL_TOO_LATE_HO_RATE_HIGH_BA_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_TOO_LATE_HO_RATE_LOW_AB", + "value" : { + "key" : "REL_TOO_LATE_HO_RATE_LOW_AB", + "fieldSchemaKey" : { + "name" : "REL_TOO_LATE_HO_RATE_LOW_AB_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_TOO_LATE_HO_RATE_LOW_BA", + "value" : { + "key" : "REL_TOO_LATE_HO_RATE_LOW_BA", + "fieldSchemaKey" : { + "name" : "REL_TOO_LATE_HO_RATE_LOW_BA_type", + "version" : "0.0.1" + } + } + }, { + "key" : "RRC_CONGESTION_DELTA", + "value" : { + "key" : "RRC_CONGESTION_DELTA", + "fieldSchemaKey" : { + "name" : "RRC_CONGESTION_DELTA_type", + "version" : "0.0.1" + } + } + }, { + "key" : "SET_TYPE", + "value" : { + "key" : "SET_TYPE", + "fieldSchemaKey" : { + "name" : "SET_TYPE_type", + "version" : "0.0.1" + } + } + }, { + "key" : "TOO_EARLY_HO_RATE_AB", + "value" : { + "key" : "TOO_EARLY_HO_RATE_AB", + "fieldSchemaKey" : { + "name" : "TOO_EARLY_HO_RATE_AB_type", + "version" : "0.0.1" + } + } + }, { + "key" : "TOO_EARLY_HO_RATE_BA", + "value" : { + "key" : "TOO_EARLY_HO_RATE_BA", + "fieldSchemaKey" : { + "name" : "TOO_EARLY_HO_RATE_BA_type", + "version" : "0.0.1" + } + } + }, { + "key" : "TOO_LATE_HO_RATE_AB", + "value" : { + "key" : "TOO_LATE_HO_RATE_AB", + "fieldSchemaKey" : { + "name" : "TOO_LATE_HO_RATE_AB_type", + "version" : "0.0.1" + } + } + }, { + "key" : "TOO_LATE_HO_RATE_BA", + "value" : { + "key" : "TOO_LATE_HO_RATE_BA", + "fieldSchemaKey" : { + "name" : "TOO_LATE_HO_RATE_BA_type", + "version" : "0.0.1" + } + } + } ] + }, + "outputFields" : { + "entry" : [ { + "key" : "Adjacency_4G_Name", + "value" : { + "key" : "Adjacency_4G_Name", + "fieldSchemaKey" : { + "name" : "Adjacency_4G_Name_type", + "version" : "0.0.1" + } + } + }, { + "key" : "CellA", + "value" : { + "key" : "CellA", + "fieldSchemaKey" : { + "name" : "CellA_type", + "version" : "0.0.1" + } + } + }, { + "key" : "CellB", + "value" : { + "key" : "CellB", + "fieldSchemaKey" : { + "name" : "CellB_type", + "version" : "0.0.1" + } + } + }, { + "key" : "ENABLE_CONGESTION", + "value" : { + "key" : "ENABLE_CONGESTION", + "fieldSchemaKey" : { + "name" : "ENABLE_CONGESTION_type", + "version" : "0.0.1" + } + } + }, { + "key" : "FREQ_REL_TYPE", + "value" : { + "key" : "FREQ_REL_TYPE", + "fieldSchemaKey" : { + "name" : "FREQ_REL_TYPE_type", + "version" : "0.0.1" + } + } + }, { + "key" : "HO_EXEC_FAIL_RATE_AB", + "value" : { + "key" : "HO_EXEC_FAIL_RATE_AB", + "fieldSchemaKey" : { + "name" : "HO_EXEC_FAIL_RATE_AB_type", + "version" : "0.0.1" + } + } + }, { + "key" : "HO_EXEC_FAIL_RATE_BA", + "value" : { + "key" : "HO_EXEC_FAIL_RATE_BA", + "fieldSchemaKey" : { + "name" : "HO_EXEC_FAIL_RATE_BA_type", + "version" : "0.0.1" + } + } + }, { + "key" : "LOW_CQI_SAMPLES_RATE_HO_AB", + "value" : { + "key" : "LOW_CQI_SAMPLES_RATE_HO_AB", + "fieldSchemaKey" : { + "name" : "LOW_CQI_SAMPLES_RATE_HO_AB_type", + "version" : "0.0.1" + } + } + }, { + "key" : "LOW_CQI_SAMPLES_RATE_HO_BA", + "value" : { + "key" : "LOW_CQI_SAMPLES_RATE_HO_BA", + "fieldSchemaKey" : { + "name" : "LOW_CQI_SAMPLES_RATE_HO_BA_type", + "version" : "0.0.1" + } + } + }, { + "key" : "LOW_PUSCH_SINR_SAMPLES_RATE_HO_AB", + "value" : { + "key" : "LOW_PUSCH_SINR_SAMPLES_RATE_HO_AB", + "fieldSchemaKey" : { + "name" : "LOW_PUSCH_SINR_SAMPLES_RATE_HO_AB_type", + "version" : "0.0.1" + } + } + }, { + "key" : "LOW_PUSCH_SINR_SAMPLES_RATE_HO_BA", + "value" : { + "key" : "LOW_PUSCH_SINR_SAMPLES_RATE_HO_BA", + "fieldSchemaKey" : { + "name" : "LOW_PUSCH_SINR_SAMPLES_RATE_HO_BA_type", + "version" : "0.0.1" + } + } + }, { + "key" : "PDCCH_CCE_HIGH_LOAD_DELTA", + "value" : { + "key" : "PDCCH_CCE_HIGH_LOAD_DELTA", + "fieldSchemaKey" : { + "name" : "PDCCH_CCE_HIGH_LOAD_DELTA_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_HO_EXEC_FAIL_RATE_HIGH_AB", + "value" : { + "key" : "REL_HO_EXEC_FAIL_RATE_HIGH_AB", + "fieldSchemaKey" : { + "name" : "REL_HO_EXEC_FAIL_RATE_HIGH_AB_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_HO_EXEC_FAIL_RATE_HIGH_BA", + "value" : { + "key" : "REL_HO_EXEC_FAIL_RATE_HIGH_BA", + "fieldSchemaKey" : { + "name" : "REL_HO_EXEC_FAIL_RATE_HIGH_BA_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_HO_EXEC_FAIL_RATE_LOW_AB", + "value" : { + "key" : "REL_HO_EXEC_FAIL_RATE_LOW_AB", + "fieldSchemaKey" : { + "name" : "REL_HO_EXEC_FAIL_RATE_LOW_AB_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_HO_EXEC_FAIL_RATE_LOW_BA", + "value" : { + "key" : "REL_HO_EXEC_FAIL_RATE_LOW_BA", + "fieldSchemaKey" : { + "name" : "REL_HO_EXEC_FAIL_RATE_LOW_BA_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_NUM_HO_WITH_EVENTS_AB_IN", + "value" : { + "key" : "REL_NUM_HO_WITH_EVENTS_AB_IN", + "fieldSchemaKey" : { + "name" : "REL_NUM_HO_WITH_EVENTS_AB_IN_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_NUM_HO_WITH_EVENTS_BA_IN", + "value" : { + "key" : "REL_NUM_HO_WITH_EVENTS_BA_IN", + "fieldSchemaKey" : { + "name" : "REL_NUM_HO_WITH_EVENTS_BA_IN_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_TOO_EARLY_HO_RATE_HIGH_AB", + "value" : { + "key" : "REL_TOO_EARLY_HO_RATE_HIGH_AB", + "fieldSchemaKey" : { + "name" : "REL_TOO_EARLY_HO_RATE_HIGH_AB_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_TOO_EARLY_HO_RATE_HIGH_BA", + "value" : { + "key" : "REL_TOO_EARLY_HO_RATE_HIGH_BA", + "fieldSchemaKey" : { + "name" : "REL_TOO_EARLY_HO_RATE_HIGH_BA_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_TOO_EARLY_HO_RATE_LOW_AB", + "value" : { + "key" : "REL_TOO_EARLY_HO_RATE_LOW_AB", + "fieldSchemaKey" : { + "name" : "REL_TOO_EARLY_HO_RATE_LOW_AB_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_TOO_EARLY_HO_RATE_LOW_BA", + "value" : { + "key" : "REL_TOO_EARLY_HO_RATE_LOW_BA", + "fieldSchemaKey" : { + "name" : "REL_TOO_EARLY_HO_RATE_LOW_BA_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_TOO_LATE_HO_RATE_HIGH_AB", + "value" : { + "key" : "REL_TOO_LATE_HO_RATE_HIGH_AB", + "fieldSchemaKey" : { + "name" : "REL_TOO_LATE_HO_RATE_HIGH_AB_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_TOO_LATE_HO_RATE_HIGH_BA", + "value" : { + "key" : "REL_TOO_LATE_HO_RATE_HIGH_BA", + "fieldSchemaKey" : { + "name" : "REL_TOO_LATE_HO_RATE_HIGH_BA_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_TOO_LATE_HO_RATE_LOW_AB", + "value" : { + "key" : "REL_TOO_LATE_HO_RATE_LOW_AB", + "fieldSchemaKey" : { + "name" : "REL_TOO_LATE_HO_RATE_LOW_AB_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_TOO_LATE_HO_RATE_LOW_BA", + "value" : { + "key" : "REL_TOO_LATE_HO_RATE_LOW_BA", + "fieldSchemaKey" : { + "name" : "REL_TOO_LATE_HO_RATE_LOW_BA_type", + "version" : "0.0.1" + } + } + }, { + "key" : "RRC_CONGESTION_DELTA", + "value" : { + "key" : "RRC_CONGESTION_DELTA", + "fieldSchemaKey" : { + "name" : "RRC_CONGESTION_DELTA_type", + "version" : "0.0.1" + } + } + }, { + "key" : "SET_TYPE", + "value" : { + "key" : "SET_TYPE", + "fieldSchemaKey" : { + "name" : "SET_TYPE_type", + "version" : "0.0.1" + } + } + }, { + "key" : "TOO_EARLY_HO_RATE_AB", + "value" : { + "key" : "TOO_EARLY_HO_RATE_AB", + "fieldSchemaKey" : { + "name" : "TOO_EARLY_HO_RATE_AB_type", + "version" : "0.0.1" + } + } + }, { + "key" : "TOO_EARLY_HO_RATE_BA", + "value" : { + "key" : "TOO_EARLY_HO_RATE_BA", + "fieldSchemaKey" : { + "name" : "TOO_EARLY_HO_RATE_BA_type", + "version" : "0.0.1" + } + } + }, { + "key" : "TOO_LATE_HO_RATE_AB", + "value" : { + "key" : "TOO_LATE_HO_RATE_AB", + "fieldSchemaKey" : { + "name" : "TOO_LATE_HO_RATE_AB_type", + "version" : "0.0.1" + } + } + }, { + "key" : "TOO_LATE_HO_RATE_BA", + "value" : { + "key" : "TOO_LATE_HO_RATE_BA", + "fieldSchemaKey" : { + "name" : "TOO_LATE_HO_RATE_BA_type", + "version" : "0.0.1" + } + } + } ] + }, + "taskParameters" : { + "entry" : [ ] + }, + "contextAlbumReference" : [ ], + "taskLogic" : { + "key" : "TaskLogic", + "logicFlavour" : "MVEL", + "logic" : "logger.debug(subject.id);logger.debug(inFields);outFields.putAll(inFields);logger.debug(outFields);return true;" + } + } + } ] + } + }, + "events" : { + "key" : { + "name" : "LoadBalancingFuzzyPolicy_PolicyModel_Events", + "version" : "0.0.1" + }, + "eventMap" : { + "entry" : [ { + "key" : { + "name" : "LoadBalancingFuzzyPolicy_InputEvent", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "LoadBalancingFuzzyPolicy_InputEvent", + "version" : "0.0.1" + }, + "nameSpace" : "org.onap.policy.apexaiasonom", + "source" : "external", + "target" : "apex", + "parameter" : { + "entry" : [ { + "key" : "Adjacency_4G_Name", + "value" : { + "key" : "Adjacency_4G_Name", + "fieldSchemaKey" : { + "name" : "Adjacency_4G_Name_type", + "version" : "0.0.1" + } + } + }, { + "key" : "CellA", + "value" : { + "key" : "CellA", + "fieldSchemaKey" : { + "name" : "CellA_type", + "version" : "0.0.1" + } + } + }, { + "key" : "CellB", + "value" : { + "key" : "CellB", + "fieldSchemaKey" : { + "name" : "CellB_type", + "version" : "0.0.1" + } + } + }, { + "key" : "ENABLE_CONGESTION", + "value" : { + "key" : "ENABLE_CONGESTION", + "fieldSchemaKey" : { + "name" : "ENABLE_CONGESTION_type", + "version" : "0.0.1" + } + } + }, { + "key" : "FREQ_REL_TYPE", + "value" : { + "key" : "FREQ_REL_TYPE", + "fieldSchemaKey" : { + "name" : "FREQ_REL_TYPE_type", + "version" : "0.0.1" + } + } + }, { + "key" : "HO_EXEC_FAIL_RATE_AB", + "value" : { + "key" : "HO_EXEC_FAIL_RATE_AB", + "fieldSchemaKey" : { + "name" : "HO_EXEC_FAIL_RATE_AB_type", + "version" : "0.0.1" + } + } + }, { + "key" : "HO_EXEC_FAIL_RATE_BA", + "value" : { + "key" : "HO_EXEC_FAIL_RATE_BA", + "fieldSchemaKey" : { + "name" : "HO_EXEC_FAIL_RATE_BA_type", + "version" : "0.0.1" + } + } + }, { + "key" : "LOW_CQI_SAMPLES_RATE_HO_AB", + "value" : { + "key" : "LOW_CQI_SAMPLES_RATE_HO_AB", + "fieldSchemaKey" : { + "name" : "LOW_CQI_SAMPLES_RATE_HO_AB_type", + "version" : "0.0.1" + } + } + }, { + "key" : "LOW_CQI_SAMPLES_RATE_HO_BA", + "value" : { + "key" : "LOW_CQI_SAMPLES_RATE_HO_BA", + "fieldSchemaKey" : { + "name" : "LOW_CQI_SAMPLES_RATE_HO_BA_type", + "version" : "0.0.1" + } + } + }, { + "key" : "LOW_PUSCH_SINR_SAMPLES_RATE_HO_AB", + "value" : { + "key" : "LOW_PUSCH_SINR_SAMPLES_RATE_HO_AB", + "fieldSchemaKey" : { + "name" : "LOW_PUSCH_SINR_SAMPLES_RATE_HO_AB_type", + "version" : "0.0.1" + } + } + }, { + "key" : "LOW_PUSCH_SINR_SAMPLES_RATE_HO_BA", + "value" : { + "key" : "LOW_PUSCH_SINR_SAMPLES_RATE_HO_BA", + "fieldSchemaKey" : { + "name" : "LOW_PUSCH_SINR_SAMPLES_RATE_HO_BA_type", + "version" : "0.0.1" + } + } + }, { + "key" : "PDCCH_CCE_HIGH_LOAD_DELTA", + "value" : { + "key" : "PDCCH_CCE_HIGH_LOAD_DELTA", + "fieldSchemaKey" : { + "name" : "PDCCH_CCE_HIGH_LOAD_DELTA_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_HO_EXEC_FAIL_RATE_HIGH_AB", + "value" : { + "key" : "REL_HO_EXEC_FAIL_RATE_HIGH_AB", + "fieldSchemaKey" : { + "name" : "REL_HO_EXEC_FAIL_RATE_HIGH_AB_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_HO_EXEC_FAIL_RATE_HIGH_BA", + "value" : { + "key" : "REL_HO_EXEC_FAIL_RATE_HIGH_BA", + "fieldSchemaKey" : { + "name" : "REL_HO_EXEC_FAIL_RATE_HIGH_BA_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_HO_EXEC_FAIL_RATE_LOW_AB", + "value" : { + "key" : "REL_HO_EXEC_FAIL_RATE_LOW_AB", + "fieldSchemaKey" : { + "name" : "REL_HO_EXEC_FAIL_RATE_LOW_AB_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_HO_EXEC_FAIL_RATE_LOW_BA", + "value" : { + "key" : "REL_HO_EXEC_FAIL_RATE_LOW_BA", + "fieldSchemaKey" : { + "name" : "REL_HO_EXEC_FAIL_RATE_LOW_BA_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_NUM_HO_WITH_EVENTS_AB_IN", + "value" : { + "key" : "REL_NUM_HO_WITH_EVENTS_AB_IN", + "fieldSchemaKey" : { + "name" : "REL_NUM_HO_WITH_EVENTS_AB_IN_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_NUM_HO_WITH_EVENTS_BA_IN", + "value" : { + "key" : "REL_NUM_HO_WITH_EVENTS_BA_IN", + "fieldSchemaKey" : { + "name" : "REL_NUM_HO_WITH_EVENTS_BA_IN_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_TOO_EARLY_HO_RATE_HIGH_AB", + "value" : { + "key" : "REL_TOO_EARLY_HO_RATE_HIGH_AB", + "fieldSchemaKey" : { + "name" : "REL_TOO_EARLY_HO_RATE_HIGH_AB_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_TOO_EARLY_HO_RATE_HIGH_BA", + "value" : { + "key" : "REL_TOO_EARLY_HO_RATE_HIGH_BA", + "fieldSchemaKey" : { + "name" : "REL_TOO_EARLY_HO_RATE_HIGH_BA_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_TOO_EARLY_HO_RATE_LOW_AB", + "value" : { + "key" : "REL_TOO_EARLY_HO_RATE_LOW_AB", + "fieldSchemaKey" : { + "name" : "REL_TOO_EARLY_HO_RATE_LOW_AB_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_TOO_EARLY_HO_RATE_LOW_BA", + "value" : { + "key" : "REL_TOO_EARLY_HO_RATE_LOW_BA", + "fieldSchemaKey" : { + "name" : "REL_TOO_EARLY_HO_RATE_LOW_BA_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_TOO_LATE_HO_RATE_HIGH_AB", + "value" : { + "key" : "REL_TOO_LATE_HO_RATE_HIGH_AB", + "fieldSchemaKey" : { + "name" : "REL_TOO_LATE_HO_RATE_HIGH_AB_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_TOO_LATE_HO_RATE_HIGH_BA", + "value" : { + "key" : "REL_TOO_LATE_HO_RATE_HIGH_BA", + "fieldSchemaKey" : { + "name" : "REL_TOO_LATE_HO_RATE_HIGH_BA_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_TOO_LATE_HO_RATE_LOW_AB", + "value" : { + "key" : "REL_TOO_LATE_HO_RATE_LOW_AB", + "fieldSchemaKey" : { + "name" : "REL_TOO_LATE_HO_RATE_LOW_AB_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_TOO_LATE_HO_RATE_LOW_BA", + "value" : { + "key" : "REL_TOO_LATE_HO_RATE_LOW_BA", + "fieldSchemaKey" : { + "name" : "REL_TOO_LATE_HO_RATE_LOW_BA_type", + "version" : "0.0.1" + } + } + }, { + "key" : "RRC_CONGESTION_DELTA", + "value" : { + "key" : "RRC_CONGESTION_DELTA", + "fieldSchemaKey" : { + "name" : "RRC_CONGESTION_DELTA_type", + "version" : "0.0.1" + } + } + }, { + "key" : "SET_TYPE", + "value" : { + "key" : "SET_TYPE", + "fieldSchemaKey" : { + "name" : "SET_TYPE_type", + "version" : "0.0.1" + } + } + }, { + "key" : "TOO_EARLY_HO_RATE_AB", + "value" : { + "key" : "TOO_EARLY_HO_RATE_AB", + "fieldSchemaKey" : { + "name" : "TOO_EARLY_HO_RATE_AB_type", + "version" : "0.0.1" + } + } + }, { + "key" : "TOO_EARLY_HO_RATE_BA", + "value" : { + "key" : "TOO_EARLY_HO_RATE_BA", + "fieldSchemaKey" : { + "name" : "TOO_EARLY_HO_RATE_BA_type", + "version" : "0.0.1" + } + } + }, { + "key" : "TOO_LATE_HO_RATE_AB", + "value" : { + "key" : "TOO_LATE_HO_RATE_AB", + "fieldSchemaKey" : { + "name" : "TOO_LATE_HO_RATE_AB_type", + "version" : "0.0.1" + } + } + }, { + "key" : "TOO_LATE_HO_RATE_BA", + "value" : { + "key" : "TOO_LATE_HO_RATE_BA", + "fieldSchemaKey" : { + "name" : "TOO_LATE_HO_RATE_BA_type", + "version" : "0.0.1" + } + } + } ] + } + } + }, { + "key" : { + "name" : "LoadBalancingFuzzyPolicy_OutputEvent", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "LoadBalancingFuzzyPolicy_OutputEvent", + "version" : "0.0.1" + }, + "nameSpace" : "org.onap.policy.apexaiasonom", + "source" : "apex", + "target" : "external", + "parameter" : { + "entry" : [ { + "key" : "Adjacency_4G_Name", + "value" : { + "key" : "Adjacency_4G_Name", + "fieldSchemaKey" : { + "name" : "Adjacency_4G_Name_type", + "version" : "0.0.1" + } + } + }, { + "key" : "CellA", + "value" : { + "key" : "CellA", + "fieldSchemaKey" : { + "name" : "CellA_type", + "version" : "0.0.1" + } + } + }, { + "key" : "CellB", + "value" : { + "key" : "CellB", + "fieldSchemaKey" : { + "name" : "CellB_type", + "version" : "0.0.1" + } + } + }, { + "key" : "OCN_AB", + "value" : { + "key" : "OCN_AB", + "fieldSchemaKey" : { + "name" : "OCN_AB_type", + "version" : "0.0.1" + } + } + }, { + "key" : "OCN_BA", + "value" : { + "key" : "OCN_BA", + "fieldSchemaKey" : { + "name" : "OCN_BA_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_HO_EXEC_FAIL_RATE_AB", + "value" : { + "key" : "REL_HO_EXEC_FAIL_RATE_AB", + "fieldSchemaKey" : { + "name" : "REL_HO_EXEC_FAIL_RATE_AB_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_HO_EXEC_FAIL_RATE_BA", + "value" : { + "key" : "REL_HO_EXEC_FAIL_RATE_BA", + "fieldSchemaKey" : { + "name" : "REL_HO_EXEC_FAIL_RATE_BA_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_NUM_HO_WITH_EVENTS_AB", + "value" : { + "key" : "REL_NUM_HO_WITH_EVENTS_AB", + "fieldSchemaKey" : { + "name" : "REL_NUM_HO_WITH_EVENTS_AB_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_NUM_HO_WITH_EVENTS_BA", + "value" : { + "key" : "REL_NUM_HO_WITH_EVENTS_BA", + "fieldSchemaKey" : { + "name" : "REL_NUM_HO_WITH_EVENTS_BA_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_TOO_EARLY_HO_RATE_AB", + "value" : { + "key" : "REL_TOO_EARLY_HO_RATE_AB", + "fieldSchemaKey" : { + "name" : "REL_TOO_EARLY_HO_RATE_AB_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_TOO_EARLY_HO_RATE_BA", + "value" : { + "key" : "REL_TOO_EARLY_HO_RATE_BA", + "fieldSchemaKey" : { + "name" : "REL_TOO_EARLY_HO_RATE_BA_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_TOO_LATE_HO_RATE_AB", + "value" : { + "key" : "REL_TOO_LATE_HO_RATE_AB", + "fieldSchemaKey" : { + "name" : "REL_TOO_LATE_HO_RATE_AB_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_TOO_LATE_HO_RATE_BA", + "value" : { + "key" : "REL_TOO_LATE_HO_RATE_BA", + "fieldSchemaKey" : { + "name" : "REL_TOO_LATE_HO_RATE_BA_type", + "version" : "0.0.1" + } + } + }, { + "key" : "SB_OCN_AB", + "value" : { + "key" : "SB_OCN_AB", + "fieldSchemaKey" : { + "name" : "SB_OCN_AB_type", + "version" : "0.0.1" + } + } + }, { + "key" : "SB_OCN_BA", + "value" : { + "key" : "SB_OCN_BA", + "fieldSchemaKey" : { + "name" : "SB_OCN_BA_type", + "version" : "0.0.1" + } + } + } ] + } + } + }, { + "key" : { + "name" : "LoadBalancingFuzzyPolicy_fromFuzzy", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "LoadBalancingFuzzyPolicy_fromFuzzy", + "version" : "0.0.1" + }, + "nameSpace" : "org.onap.policy.apexaiasonom", + "source" : "fuzzy", + "target" : "apex", + "parameter" : { + "entry" : [ { + "key" : "Adjacency_4G_Name", + "value" : { + "key" : "Adjacency_4G_Name", + "fieldSchemaKey" : { + "name" : "Adjacency_4G_Name_type", + "version" : "0.0.1" + } + } + }, { + "key" : "CellA", + "value" : { + "key" : "CellA", + "fieldSchemaKey" : { + "name" : "CellA_type", + "version" : "0.0.1" + } + } + }, { + "key" : "CellB", + "value" : { + "key" : "CellB", + "fieldSchemaKey" : { + "name" : "CellB_type", + "version" : "0.0.1" + } + } + }, { + "key" : "OCN_AB", + "value" : { + "key" : "OCN_AB", + "fieldSchemaKey" : { + "name" : "OCN_AB_type", + "version" : "0.0.1" + } + } + }, { + "key" : "OCN_BA", + "value" : { + "key" : "OCN_BA", + "fieldSchemaKey" : { + "name" : "OCN_BA_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_HO_EXEC_FAIL_RATE_AB", + "value" : { + "key" : "REL_HO_EXEC_FAIL_RATE_AB", + "fieldSchemaKey" : { + "name" : "REL_HO_EXEC_FAIL_RATE_AB_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_HO_EXEC_FAIL_RATE_BA", + "value" : { + "key" : "REL_HO_EXEC_FAIL_RATE_BA", + "fieldSchemaKey" : { + "name" : "REL_HO_EXEC_FAIL_RATE_BA_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_NUM_HO_WITH_EVENTS_AB", + "value" : { + "key" : "REL_NUM_HO_WITH_EVENTS_AB", + "fieldSchemaKey" : { + "name" : "REL_NUM_HO_WITH_EVENTS_AB_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_NUM_HO_WITH_EVENTS_BA", + "value" : { + "key" : "REL_NUM_HO_WITH_EVENTS_BA", + "fieldSchemaKey" : { + "name" : "REL_NUM_HO_WITH_EVENTS_BA_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_TOO_EARLY_HO_RATE_AB", + "value" : { + "key" : "REL_TOO_EARLY_HO_RATE_AB", + "fieldSchemaKey" : { + "name" : "REL_TOO_EARLY_HO_RATE_AB_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_TOO_EARLY_HO_RATE_BA", + "value" : { + "key" : "REL_TOO_EARLY_HO_RATE_BA", + "fieldSchemaKey" : { + "name" : "REL_TOO_EARLY_HO_RATE_BA_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_TOO_LATE_HO_RATE_AB", + "value" : { + "key" : "REL_TOO_LATE_HO_RATE_AB", + "fieldSchemaKey" : { + "name" : "REL_TOO_LATE_HO_RATE_AB_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_TOO_LATE_HO_RATE_BA", + "value" : { + "key" : "REL_TOO_LATE_HO_RATE_BA", + "fieldSchemaKey" : { + "name" : "REL_TOO_LATE_HO_RATE_BA_type", + "version" : "0.0.1" + } + } + }, { + "key" : "SB_OCN_AB", + "value" : { + "key" : "SB_OCN_AB", + "fieldSchemaKey" : { + "name" : "SB_OCN_AB_type", + "version" : "0.0.1" + } + } + }, { + "key" : "SB_OCN_BA", + "value" : { + "key" : "SB_OCN_BA", + "fieldSchemaKey" : { + "name" : "SB_OCN_BA_type", + "version" : "0.0.1" + } + } + } ] + } + } + }, { + "key" : { + "name" : "LoadBalancingFuzzyPolicy_toFuzzy", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "LoadBalancingFuzzyPolicy_toFuzzy", + "version" : "0.0.1" + }, + "nameSpace" : "org.onap.policy.apexaiasonom", + "source" : "apex", + "target" : "fuzzy", + "parameter" : { + "entry" : [ { + "key" : "Adjacency_4G_Name", + "value" : { + "key" : "Adjacency_4G_Name", + "fieldSchemaKey" : { + "name" : "Adjacency_4G_Name_type", + "version" : "0.0.1" + } + } + }, { + "key" : "CellA", + "value" : { + "key" : "CellA", + "fieldSchemaKey" : { + "name" : "CellA_type", + "version" : "0.0.1" + } + } + }, { + "key" : "CellB", + "value" : { + "key" : "CellB", + "fieldSchemaKey" : { + "name" : "CellB_type", + "version" : "0.0.1" + } + } + }, { + "key" : "ENABLE_CONGESTION", + "value" : { + "key" : "ENABLE_CONGESTION", + "fieldSchemaKey" : { + "name" : "ENABLE_CONGESTION_type", + "version" : "0.0.1" + } + } + }, { + "key" : "FREQ_REL_TYPE", + "value" : { + "key" : "FREQ_REL_TYPE", + "fieldSchemaKey" : { + "name" : "FREQ_REL_TYPE_type", + "version" : "0.0.1" + } + } + }, { + "key" : "HO_EXEC_FAIL_RATE_AB", + "value" : { + "key" : "HO_EXEC_FAIL_RATE_AB", + "fieldSchemaKey" : { + "name" : "HO_EXEC_FAIL_RATE_AB_type", + "version" : "0.0.1" + } + } + }, { + "key" : "HO_EXEC_FAIL_RATE_BA", + "value" : { + "key" : "HO_EXEC_FAIL_RATE_BA", + "fieldSchemaKey" : { + "name" : "HO_EXEC_FAIL_RATE_BA_type", + "version" : "0.0.1" + } + } + }, { + "key" : "LOW_CQI_SAMPLES_RATE_HO_AB", + "value" : { + "key" : "LOW_CQI_SAMPLES_RATE_HO_AB", + "fieldSchemaKey" : { + "name" : "LOW_CQI_SAMPLES_RATE_HO_AB_type", + "version" : "0.0.1" + } + } + }, { + "key" : "LOW_CQI_SAMPLES_RATE_HO_BA", + "value" : { + "key" : "LOW_CQI_SAMPLES_RATE_HO_BA", + "fieldSchemaKey" : { + "name" : "LOW_CQI_SAMPLES_RATE_HO_BA_type", + "version" : "0.0.1" + } + } + }, { + "key" : "LOW_PUSCH_SINR_SAMPLES_RATE_HO_AB", + "value" : { + "key" : "LOW_PUSCH_SINR_SAMPLES_RATE_HO_AB", + "fieldSchemaKey" : { + "name" : "LOW_PUSCH_SINR_SAMPLES_RATE_HO_AB_type", + "version" : "0.0.1" + } + } + }, { + "key" : "LOW_PUSCH_SINR_SAMPLES_RATE_HO_BA", + "value" : { + "key" : "LOW_PUSCH_SINR_SAMPLES_RATE_HO_BA", + "fieldSchemaKey" : { + "name" : "LOW_PUSCH_SINR_SAMPLES_RATE_HO_BA_type", + "version" : "0.0.1" + } + } + }, { + "key" : "PDCCH_CCE_HIGH_LOAD_DELTA", + "value" : { + "key" : "PDCCH_CCE_HIGH_LOAD_DELTA", + "fieldSchemaKey" : { + "name" : "PDCCH_CCE_HIGH_LOAD_DELTA_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_HO_EXEC_FAIL_RATE_HIGH_AB", + "value" : { + "key" : "REL_HO_EXEC_FAIL_RATE_HIGH_AB", + "fieldSchemaKey" : { + "name" : "REL_HO_EXEC_FAIL_RATE_HIGH_AB_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_HO_EXEC_FAIL_RATE_HIGH_BA", + "value" : { + "key" : "REL_HO_EXEC_FAIL_RATE_HIGH_BA", + "fieldSchemaKey" : { + "name" : "REL_HO_EXEC_FAIL_RATE_HIGH_BA_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_HO_EXEC_FAIL_RATE_LOW_AB", + "value" : { + "key" : "REL_HO_EXEC_FAIL_RATE_LOW_AB", + "fieldSchemaKey" : { + "name" : "REL_HO_EXEC_FAIL_RATE_LOW_AB_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_HO_EXEC_FAIL_RATE_LOW_BA", + "value" : { + "key" : "REL_HO_EXEC_FAIL_RATE_LOW_BA", + "fieldSchemaKey" : { + "name" : "REL_HO_EXEC_FAIL_RATE_LOW_BA_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_NUM_HO_WITH_EVENTS_AB_IN", + "value" : { + "key" : "REL_NUM_HO_WITH_EVENTS_AB_IN", + "fieldSchemaKey" : { + "name" : "REL_NUM_HO_WITH_EVENTS_AB_IN_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_NUM_HO_WITH_EVENTS_BA_IN", + "value" : { + "key" : "REL_NUM_HO_WITH_EVENTS_BA_IN", + "fieldSchemaKey" : { + "name" : "REL_NUM_HO_WITH_EVENTS_BA_IN_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_TOO_EARLY_HO_RATE_HIGH_AB", + "value" : { + "key" : "REL_TOO_EARLY_HO_RATE_HIGH_AB", + "fieldSchemaKey" : { + "name" : "REL_TOO_EARLY_HO_RATE_HIGH_AB_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_TOO_EARLY_HO_RATE_HIGH_BA", + "value" : { + "key" : "REL_TOO_EARLY_HO_RATE_HIGH_BA", + "fieldSchemaKey" : { + "name" : "REL_TOO_EARLY_HO_RATE_HIGH_BA_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_TOO_EARLY_HO_RATE_LOW_AB", + "value" : { + "key" : "REL_TOO_EARLY_HO_RATE_LOW_AB", + "fieldSchemaKey" : { + "name" : "REL_TOO_EARLY_HO_RATE_LOW_AB_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_TOO_EARLY_HO_RATE_LOW_BA", + "value" : { + "key" : "REL_TOO_EARLY_HO_RATE_LOW_BA", + "fieldSchemaKey" : { + "name" : "REL_TOO_EARLY_HO_RATE_LOW_BA_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_TOO_LATE_HO_RATE_HIGH_AB", + "value" : { + "key" : "REL_TOO_LATE_HO_RATE_HIGH_AB", + "fieldSchemaKey" : { + "name" : "REL_TOO_LATE_HO_RATE_HIGH_AB_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_TOO_LATE_HO_RATE_HIGH_BA", + "value" : { + "key" : "REL_TOO_LATE_HO_RATE_HIGH_BA", + "fieldSchemaKey" : { + "name" : "REL_TOO_LATE_HO_RATE_HIGH_BA_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_TOO_LATE_HO_RATE_LOW_AB", + "value" : { + "key" : "REL_TOO_LATE_HO_RATE_LOW_AB", + "fieldSchemaKey" : { + "name" : "REL_TOO_LATE_HO_RATE_LOW_AB_type", + "version" : "0.0.1" + } + } + }, { + "key" : "REL_TOO_LATE_HO_RATE_LOW_BA", + "value" : { + "key" : "REL_TOO_LATE_HO_RATE_LOW_BA", + "fieldSchemaKey" : { + "name" : "REL_TOO_LATE_HO_RATE_LOW_BA_type", + "version" : "0.0.1" + } + } + }, { + "key" : "RRC_CONGESTION_DELTA", + "value" : { + "key" : "RRC_CONGESTION_DELTA", + "fieldSchemaKey" : { + "name" : "RRC_CONGESTION_DELTA_type", + "version" : "0.0.1" + } + } + }, { + "key" : "SET_TYPE", + "value" : { + "key" : "SET_TYPE", + "fieldSchemaKey" : { + "name" : "SET_TYPE_type", + "version" : "0.0.1" + } + } + }, { + "key" : "TOO_EARLY_HO_RATE_AB", + "value" : { + "key" : "TOO_EARLY_HO_RATE_AB", + "fieldSchemaKey" : { + "name" : "TOO_EARLY_HO_RATE_AB_type", + "version" : "0.0.1" + } + } + }, { + "key" : "TOO_EARLY_HO_RATE_BA", + "value" : { + "key" : "TOO_EARLY_HO_RATE_BA", + "fieldSchemaKey" : { + "name" : "TOO_EARLY_HO_RATE_BA_type", + "version" : "0.0.1" + } + } + }, { + "key" : "TOO_LATE_HO_RATE_AB", + "value" : { + "key" : "TOO_LATE_HO_RATE_AB", + "fieldSchemaKey" : { + "name" : "TOO_LATE_HO_RATE_AB_type", + "version" : "0.0.1" + } + } + }, { + "key" : "TOO_LATE_HO_RATE_BA", + "value" : { + "key" : "TOO_LATE_HO_RATE_BA", + "fieldSchemaKey" : { + "name" : "TOO_LATE_HO_RATE_BA_type", + "version" : "0.0.1" + } + } + } ] + } + } + } ] + } + }, + "albums" : { + "key" : { + "name" : "LoadBalancingFuzzyPolicy_PolicyModel_Albums", + "version" : "0.0.1" + }, + "albums" : { + "entry" : [ ] + } + }, + "schemas" : { + "key" : { + "name" : "LoadBalancingFuzzyPolicy_PolicyModel_Schemas", + "version" : "0.0.1" + }, + "schemas" : { + "entry" : [ { + "key" : { + "name" : "Adjacency_4G_Name_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "Adjacency_4G_Name_type", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.String" + } + }, { + "key" : { + "name" : "CellA_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "CellA_type", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.String" + } + }, { + "key" : { + "name" : "CellB_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "CellB_type", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.String" + } + }, { + "key" : { + "name" : "ENABLE_CONGESTION_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "ENABLE_CONGESTION_type", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.Boolean" + } + }, { + "key" : { + "name" : "FREQ_REL_TYPE_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "FREQ_REL_TYPE_type", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.String" + } + }, { + "key" : { + "name" : "HO_EXEC_FAIL_RATE_AB_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "HO_EXEC_FAIL_RATE_AB_type", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.Float" + } + }, { + "key" : { + "name" : "HO_EXEC_FAIL_RATE_BA_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "HO_EXEC_FAIL_RATE_BA_type", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.Float" + } + }, { + "key" : { + "name" : "LOW_CQI_SAMPLES_RATE_HO_AB_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "LOW_CQI_SAMPLES_RATE_HO_AB_type", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.Float" + } + }, { + "key" : { + "name" : "LOW_CQI_SAMPLES_RATE_HO_BA_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "LOW_CQI_SAMPLES_RATE_HO_BA_type", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.Float" + } + }, { + "key" : { + "name" : "LOW_PUSCH_SINR_SAMPLES_RATE_HO_AB_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "LOW_PUSCH_SINR_SAMPLES_RATE_HO_AB_type", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.Float" + } + }, { + "key" : { + "name" : "LOW_PUSCH_SINR_SAMPLES_RATE_HO_BA_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "LOW_PUSCH_SINR_SAMPLES_RATE_HO_BA_type", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.Float" + } + }, { + "key" : { + "name" : "OCN_AB_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "OCN_AB_type", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.Double" + } + }, { + "key" : { + "name" : "OCN_BA_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "OCN_BA_type", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.Double" + } + }, { + "key" : { + "name" : "PDCCH_CCE_HIGH_LOAD_DELTA_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "PDCCH_CCE_HIGH_LOAD_DELTA_type", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.Float" + } + }, { + "key" : { + "name" : "REL_HO_EXEC_FAIL_RATE_AB_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "REL_HO_EXEC_FAIL_RATE_AB_type", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.Boolean" + } + }, { + "key" : { + "name" : "REL_HO_EXEC_FAIL_RATE_BA_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "REL_HO_EXEC_FAIL_RATE_BA_type", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.Boolean" + } + }, { + "key" : { + "name" : "REL_HO_EXEC_FAIL_RATE_HIGH_AB_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "REL_HO_EXEC_FAIL_RATE_HIGH_AB_type", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.Float" + } + }, { + "key" : { + "name" : "REL_HO_EXEC_FAIL_RATE_HIGH_BA_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "REL_HO_EXEC_FAIL_RATE_HIGH_BA_type", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.Float" + } + }, { + "key" : { + "name" : "REL_HO_EXEC_FAIL_RATE_LOW_AB_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "REL_HO_EXEC_FAIL_RATE_LOW_AB_type", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.Float" + } + }, { + "key" : { + "name" : "REL_HO_EXEC_FAIL_RATE_LOW_BA_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "REL_HO_EXEC_FAIL_RATE_LOW_BA_type", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.Float" + } + }, { + "key" : { + "name" : "REL_NUM_HO_WITH_EVENTS_AB_IN_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "REL_NUM_HO_WITH_EVENTS_AB_IN_type", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.Float" + } + }, { + "key" : { + "name" : "REL_NUM_HO_WITH_EVENTS_AB_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "REL_NUM_HO_WITH_EVENTS_AB_type", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.Boolean" + } + }, { + "key" : { + "name" : "REL_NUM_HO_WITH_EVENTS_BA_IN_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "REL_NUM_HO_WITH_EVENTS_BA_IN_type", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.Float" + } + }, { + "key" : { + "name" : "REL_NUM_HO_WITH_EVENTS_BA_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "REL_NUM_HO_WITH_EVENTS_BA_type", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.Boolean" + } + }, { + "key" : { + "name" : "REL_TOO_EARLY_HO_RATE_AB_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "REL_TOO_EARLY_HO_RATE_AB_type", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.Boolean" + } + }, { + "key" : { + "name" : "REL_TOO_EARLY_HO_RATE_BA_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "REL_TOO_EARLY_HO_RATE_BA_type", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.Boolean" + } + }, { + "key" : { + "name" : "REL_TOO_EARLY_HO_RATE_HIGH_AB_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "REL_TOO_EARLY_HO_RATE_HIGH_AB_type", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.Float" + } + }, { + "key" : { + "name" : "REL_TOO_EARLY_HO_RATE_HIGH_BA_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "REL_TOO_EARLY_HO_RATE_HIGH_BA_type", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.Float" + } + }, { + "key" : { + "name" : "REL_TOO_EARLY_HO_RATE_LOW_AB_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "REL_TOO_EARLY_HO_RATE_LOW_AB_type", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.Float" + } + }, { + "key" : { + "name" : "REL_TOO_EARLY_HO_RATE_LOW_BA_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "REL_TOO_EARLY_HO_RATE_LOW_BA_type", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.Float" + } + }, { + "key" : { + "name" : "REL_TOO_LATE_HO_RATE_AB_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "REL_TOO_LATE_HO_RATE_AB_type", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.Boolean" + } + }, { + "key" : { + "name" : "REL_TOO_LATE_HO_RATE_BA_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "REL_TOO_LATE_HO_RATE_BA_type", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.Boolean" + } + }, { + "key" : { + "name" : "REL_TOO_LATE_HO_RATE_HIGH_AB_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "REL_TOO_LATE_HO_RATE_HIGH_AB_type", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.Float" + } + }, { + "key" : { + "name" : "REL_TOO_LATE_HO_RATE_HIGH_BA_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "REL_TOO_LATE_HO_RATE_HIGH_BA_type", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.Float" + } + }, { + "key" : { + "name" : "REL_TOO_LATE_HO_RATE_LOW_AB_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "REL_TOO_LATE_HO_RATE_LOW_AB_type", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.Float" + } + }, { + "key" : { + "name" : "REL_TOO_LATE_HO_RATE_LOW_BA_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "REL_TOO_LATE_HO_RATE_LOW_BA_type", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.Float" + } + }, { + "key" : { + "name" : "RRC_CONGESTION_DELTA_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "RRC_CONGESTION_DELTA_type", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.Float" + } + }, { + "key" : { + "name" : "SB_OCN_AB_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "SB_OCN_AB_type", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.String" + } + }, { + "key" : { + "name" : "SB_OCN_BA_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "SB_OCN_BA_type", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.String" + } + }, { + "key" : { + "name" : "SET_TYPE_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "SET_TYPE_type", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.String" + } + }, { + "key" : { + "name" : "TOO_EARLY_HO_RATE_AB_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "TOO_EARLY_HO_RATE_AB_type", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.Float" + } + }, { + "key" : { + "name" : "TOO_EARLY_HO_RATE_BA_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "TOO_EARLY_HO_RATE_BA_type", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.Float" + } + }, { + "key" : { + "name" : "TOO_LATE_HO_RATE_AB_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "TOO_LATE_HO_RATE_AB_type", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.Float" + } + }, { + "key" : { + "name" : "TOO_LATE_HO_RATE_BA_type", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "TOO_LATE_HO_RATE_BA_type", + "version" : "0.0.1" + }, + "schemaFlavour" : "Java", + "schemaDefinition" : "java.lang.Float" + } + } ] + } + } + } +}
\ No newline at end of file diff --git a/auth/cli-editor/src/test/resources/compare/LogicBlockModel_Compare.json b/auth/cli-editor/src/test/resources/compare/LogicBlockModel_Compare.json new file mode 100644 index 000000000..45a7ac37d --- /dev/null +++ b/auth/cli-editor/src/test/resources/compare/LogicBlockModel_Compare.json @@ -0,0 +1,374 @@ +{ + "apexPolicyModel" : { + "key" : { + "name" : "LogicTestPolicy", + "version" : "0.0.1" + }, + "keyInformation" : { + "key" : { + "name" : "LogicTestPolicy_KeyInfo", + "version" : "0.0.1" + }, + "keyInfoMap" : { + "entry" : [ { + "key" : { + "name" : "LogicTestPolicy", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "LogicTestPolicy", + "version" : "0.0.1" + }, + "UUID" : "80b09a0f-1106-364a-9516-ba59fff987af", + "description" : "Generated description for concept referred to by key \"LogicTestPolicy:0.0.1\"" + } + }, { + "key" : { + "name" : "LogicTestPolicy_Albums", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "LogicTestPolicy_Albums", + "version" : "0.0.1" + }, + "UUID" : "0f52b1b6-da8c-3cb4-9c02-3c484a8c1db9", + "description" : "Generated description for concept referred to by key \"LogicTestPolicy_Albums:0.0.1\"" + } + }, { + "key" : { + "name" : "LogicTestPolicy_Events", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "LogicTestPolicy_Events", + "version" : "0.0.1" + }, + "UUID" : "4b9e1be6-375d-3731-9021-876df01fd619", + "description" : "Generated description for concept referred to by key \"LogicTestPolicy_Events:0.0.1\"" + } + }, { + "key" : { + "name" : "LogicTestPolicy_KeyInfo", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "LogicTestPolicy_KeyInfo", + "version" : "0.0.1" + }, + "UUID" : "34378780-583d-3588-8206-e57f47645cc7", + "description" : "Generated description for concept referred to by key \"LogicTestPolicy_KeyInfo:0.0.1\"" + } + }, { + "key" : { + "name" : "LogicTestPolicy_Policies", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "LogicTestPolicy_Policies", + "version" : "0.0.1" + }, + "UUID" : "d241ce4b-8fcb-3400-b6b5-7e56bcb79ce2", + "description" : "Generated description for concept referred to by key \"LogicTestPolicy_Policies:0.0.1\"" + } + }, { + "key" : { + "name" : "LogicTestPolicy_Schemas", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "LogicTestPolicy_Schemas", + "version" : "0.0.1" + }, + "UUID" : "a86c8519-c581-3ef2-9896-7574e5bdf4e3", + "description" : "Generated description for concept referred to by key \"LogicTestPolicy_Schemas:0.0.1\"" + } + }, { + "key" : { + "name" : "LogicTestPolicy_Tasks", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "LogicTestPolicy_Tasks", + "version" : "0.0.1" + }, + "UUID" : "c0006fa6-7b32-3fde-9217-ee26905d62c0", + "description" : "Generated description for concept referred to by key \"LogicTestPolicy_Tasks:0.0.1\"" + } + }, { + "key" : { + "name" : "LogicTestTask0", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "LogicTestTask0", + "version" : "0.0.1" + }, + "UUID" : "17709a99-bbda-3805-a953-581cb9372cff", + "description" : "Generated description for concept referred to by key \"LogicTestTask0:0.0.1\"" + } + }, { + "key" : { + "name" : "LogicTestTask1", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "LogicTestTask1", + "version" : "0.0.1" + }, + "UUID" : "0af914cd-3151-3c1c-a59e-106d12623947", + "description" : "Generated description for concept referred to by key \"LogicTestTask1:0.0.1\"" + } + }, { + "key" : { + "name" : "LogicTestTask2", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "LogicTestTask2", + "version" : "0.0.1" + }, + "UUID" : "fbc5002e-ab8e-3953-88d4-af62c0e1d850", + "description" : "Generated description for concept referred to by key \"LogicTestTask2:0.0.1\"" + } + }, { + "key" : { + "name" : "LogicTestTaskA", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "LogicTestTaskA", + "version" : "0.0.1" + }, + "UUID" : "960e874e-cf37-3c2f-982f-c6afcfd3e832", + "description" : "Generated description for concept referred to by key \"LogicTestTaskA:0.0.1\"" + } + }, { + "key" : { + "name" : "LogicTestTaskB", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "LogicTestTaskB", + "version" : "0.0.1" + }, + "UUID" : "f4772b19-cb7e-3a8d-98ca-6963d2bf688f", + "description" : "Generated description for concept referred to by key \"LogicTestTaskB:0.0.1\"" + } + }, { + "key" : { + "name" : "SchemaLogicTest", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "SchemaLogicTest", + "version" : "0.0.1" + }, + "UUID" : "4f9bb262-ccbf-3b2d-9655-c16ba2d37e95", + "description" : "Generated description for concept referred to by key \"SchemaLogicTest:0.0.1\"" + } + } ] + } + }, + "policies" : { + "key" : { + "name" : "LogicTestPolicy_Policies", + "version" : "0.0.1" + }, + "policyMap" : { + "entry" : [ ] + } + }, + "tasks" : { + "key" : { + "name" : "LogicTestPolicy_Tasks", + "version" : "0.0.1" + }, + "taskMap" : { + "entry" : [ { + "key" : { + "name" : "LogicTestTask0", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "LogicTestTask0", + "version" : "0.0.1" + }, + "inputFields" : { + "entry" : [ ] + }, + "outputFields" : { + "entry" : [ ] + }, + "taskParameters" : { + "entry" : [ ] + }, + "contextAlbumReference" : [ ], + "taskLogic" : { + "key" : "TaskLogic", + "logicFlavour" : "MVEL", + "logic" : "{\n\timport java.util.Date;\n\tlogger.debug(\"Running ConsistencyCheck\");\n\n\toutFields.putAll(inFields);\n\toutFields[\"Attribute1PolicyValue\"] = \"POLICY_DEFINED\";\n\tlogger.debug(\"Finished Running ConsistencyCheck\");\n\n\treturn true;\n}" + } + } + }, { + "key" : { + "name" : "LogicTestTask1", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "LogicTestTask1", + "version" : "0.0.1" + }, + "inputFields" : { + "entry" : [ ] + }, + "outputFields" : { + "entry" : [ ] + }, + "taskParameters" : { + "entry" : [ ] + }, + "contextAlbumReference" : [ ], + "taskLogic" : { + "key" : "TaskLogic", + "logicFlavour" : "MVEL", + "logic" : "import java.util.Date;" + } + } + }, { + "key" : { + "name" : "LogicTestTask2", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "LogicTestTask2", + "version" : "0.0.1" + }, + "inputFields" : { + "entry" : [ ] + }, + "outputFields" : { + "entry" : [ ] + }, + "taskParameters" : { + "entry" : [ ] + }, + "contextAlbumReference" : [ ], + "taskLogic" : { + "key" : "TaskLogic", + "logicFlavour" : "MVEL", + "logic" : "{\n\tsystem.out.println(\"{\");\n}" + } + } + }, { + "key" : { + "name" : "LogicTestTaskA", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "LogicTestTaskA", + "version" : "0.0.1" + }, + "inputFields" : { + "entry" : [ ] + }, + "outputFields" : { + "entry" : [ ] + }, + "taskParameters" : { + "entry" : [ ] + }, + "contextAlbumReference" : [ ], + "taskLogic" : { + "key" : "NULL", + "logicFlavour" : "UNDEFINED", + "logic" : "" + } + } + }, { + "key" : { + "name" : "LogicTestTaskB", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "LogicTestTaskB", + "version" : "0.0.1" + }, + "inputFields" : { + "entry" : [ ] + }, + "outputFields" : { + "entry" : [ ] + }, + "taskParameters" : { + "entry" : [ ] + }, + "contextAlbumReference" : [ ], + "taskLogic" : { + "key" : "NULL", + "logicFlavour" : "UNDEFINED", + "logic" : "" + } + } + } ] + } + }, + "events" : { + "key" : { + "name" : "LogicTestPolicy_Events", + "version" : "0.0.1" + }, + "eventMap" : { + "entry" : [ ] + } + }, + "albums" : { + "key" : { + "name" : "LogicTestPolicy_Albums", + "version" : "0.0.1" + }, + "albums" : { + "entry" : [ ] + } + }, + "schemas" : { + "key" : { + "name" : "LogicTestPolicy_Schemas", + "version" : "0.0.1" + }, + "schemas" : { + "entry" : [ { + "key" : { + "name" : "SchemaLogicTest", + "version" : "0.0.1" + }, + "value" : { + "key" : { + "name" : "SchemaLogicTest", + "version" : "0.0.1" + }, + "schemaFlavour" : "Exotic", + "schemaDefinition" : "{\nasdmasdm'asda'sdasd\n}" + } + } ] + } + } + } +} diff --git a/auth/cli-editor/src/test/resources/logback-test.xml b/auth/cli-editor/src/test/resources/logback-test.xml new file mode 100644 index 000000000..1a2026950 --- /dev/null +++ b/auth/cli-editor/src/test/resources/logback-test.xml @@ -0,0 +1,78 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + ============LICENSE_START======================================================= + Copyright (C) 2016-2018 Ericsson. 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. + + SPDX-License-Identifier: Apache-2.0 + ============LICENSE_END========================================================= +--> + +<configuration> + + <contextName>Apex</contextName> + <statusListener class="ch.qos.logback.core.status.OnConsoleStatusListener" /> + <property name="LOG_DIR" value="${java.io.tmpdir}/apex_logging/" /> + + <!-- USE FOR STD OUT ONLY --> + <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> + <encoder> + <Pattern>%d %contextName [%t] %level %logger{36} - %msg%n</Pattern> + </encoder> + </appender> + + <root level="INFO"> + <appender-ref ref="STDOUT" /> + </root> + + <logger name="org.infinispan" level="INFO" additivity="false"> + <appender-ref ref="STDOUT" /> + </logger> + + <logger name="org.apache.zookeeper.ClientCnxn" level="OFF" additivity="false"> + <appender-ref ref="STDOUT" /> + </logger> + + <logger name="org.onap.policy.apex.core" level="INFO" additivity="false"> + <appender-ref ref="STDOUT" /> + </logger> + + <appender name="FILE" class="ch.qos.logback.core.FileAppender"> + <file>${LOG_DIR}/apex.log</file> + <encoder> + <pattern>%d %-5relative [procId=${processId}] [%thread] %-5level + %logger{26} - %msg %n %ex{full}</pattern> + </encoder> + </appender> + + <appender name="CTXT_FILE" class="ch.qos.logback.core.FileAppender"> + <file>${LOG_DIR}/apex_ctxt.log</file> + <encoder> + <pattern>%d %-5relative [procId=${processId}] [%thread] %-5level + %logger{26} - %msg %n %ex{full}</pattern> + </encoder> + </appender> + + <logger name="org.onap.policy.apex.core.context.impl.monitoring" level="TRACE" additivity="false"> + <appender-ref ref="CTXT_FILE" /> + </logger> + + <logger name="org.onap.policy.apex.core.context" level="INFO" additivity="false"> + <appender-ref ref="STDOUT" /> + </logger> + + <logger name="org.onap.policy.apex.auth" level="INFO" additivity="false"> + <appender-ref ref="STDOUT" /> + </logger> +</configuration> diff --git a/auth/cli-editor/src/test/resources/macros/MacroFile0.apexmacro b/auth/cli-editor/src/test/resources/macros/MacroFile0.apexmacro new file mode 100644 index 000000000..b47ce111a --- /dev/null +++ b/auth/cli-editor/src/test/resources/macros/MacroFile0.apexmacro @@ -0,0 +1 @@ +model create name=MacroFileTest_PolicyModel
\ No newline at end of file diff --git a/auth/cli-editor/src/test/resources/macros/MacroFile1.apexmacro b/auth/cli-editor/src/test/resources/macros/MacroFile1.apexmacro new file mode 100644 index 000000000..6e68088cf --- /dev/null +++ b/auth/cli-editor/src/test/resources/macros/MacroFile1.apexmacro @@ -0,0 +1 @@ +schema create name=MacroFile_type1 flavour=Java schema=java.lang.String
\ No newline at end of file diff --git a/auth/cli-editor/src/test/resources/macros/MacroFile2.apexmacro b/auth/cli-editor/src/test/resources/macros/MacroFile2.apexmacro new file mode 100644 index 000000000..7c9900e41 --- /dev/null +++ b/auth/cli-editor/src/test/resources/macros/MacroFile2.apexmacro @@ -0,0 +1 @@ +schema create name=MacroFile_type2 flavour=Java schema=java.lang.String
\ No newline at end of file diff --git a/auth/cli-editor/src/test/resources/macros/MacroFile3.apexmacro b/auth/cli-editor/src/test/resources/macros/MacroFile3.apexmacro new file mode 100644 index 000000000..e1f48e60e --- /dev/null +++ b/auth/cli-editor/src/test/resources/macros/MacroFile3.apexmacro @@ -0,0 +1 @@ +schema create name=MacroFile_type3 flavour=Java schema=java.lang.String
\ No newline at end of file diff --git a/auth/cli-editor/src/test/resources/macros/MacroFile4.apexmacro b/auth/cli-editor/src/test/resources/macros/MacroFile4.apexmacro new file mode 100644 index 000000000..134b561b7 --- /dev/null +++ b/auth/cli-editor/src/test/resources/macros/MacroFile4.apexmacro @@ -0,0 +1 @@ +schema create name=MacroFile_type4 flavour=Java schema=java.lang.String
\ No newline at end of file diff --git a/auth/cli-editor/src/test/resources/macros/MacroFile5.apexmacro b/auth/cli-editor/src/test/resources/macros/MacroFile5.apexmacro new file mode 100644 index 000000000..a9c2f0cbc --- /dev/null +++ b/auth/cli-editor/src/test/resources/macros/MacroFile5.apexmacro @@ -0,0 +1 @@ +schema create name=MacroFile_type5
\ No newline at end of file diff --git a/auth/cli-editor/src/test/resources/macros/MacroFile6.apexmacro b/auth/cli-editor/src/test/resources/macros/MacroFile6.apexmacro new file mode 100644 index 000000000..f73796fc9 --- /dev/null +++ b/auth/cli-editor/src/test/resources/macros/MacroFile6.apexmacro @@ -0,0 +1 @@ +flavour=Java schema=java.lang.String
\ No newline at end of file diff --git a/auth/cli-editor/src/test/resources/macros/MacroFile7.apexmacro b/auth/cli-editor/src/test/resources/macros/MacroFile7.apexmacro new file mode 100644 index 000000000..58c14e41d --- /dev/null +++ b/auth/cli-editor/src/test/resources/macros/MacroFile7.apexmacro @@ -0,0 +1,2 @@ +var returnValueType = Java.type("java.lang.Boolean"); +var returnValue = new returnValueType(true); diff --git a/auth/cli-editor/src/test/resources/macros/MacroFile8.apexmacro b/auth/cli-editor/src/test/resources/macros/MacroFile8.apexmacro new file mode 100644 index 000000000..58c14e41d --- /dev/null +++ b/auth/cli-editor/src/test/resources/macros/MacroFile8.apexmacro @@ -0,0 +1,2 @@ +var returnValueType = Java.type("java.lang.Boolean"); +var returnValue = new returnValueType(true); diff --git a/auth/cli-editor/src/test/resources/macros/MacroFile9.apexmacro b/auth/cli-editor/src/test/resources/macros/MacroFile9.apexmacro new file mode 100644 index 000000000..58c14e41d --- /dev/null +++ b/auth/cli-editor/src/test/resources/macros/MacroFile9.apexmacro @@ -0,0 +1,2 @@ +var returnValueType = Java.type("java.lang.Boolean"); +var returnValue = new returnValueType(true); diff --git a/auth/cli-editor/src/test/resources/scripts/AvroSchema.apex b/auth/cli-editor/src/test/resources/scripts/AvroSchema.apex new file mode 100644 index 000000000..867c39527 --- /dev/null +++ b/auth/cli-editor/src/test/resources/scripts/AvroSchema.apex @@ -0,0 +1,57 @@ +#------------------------------------------------------------------------------- +# ============LICENSE_START======================================================= +# Copyright (C) 2016-2018 Ericsson. 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. +# +# SPDX-License-Identifier: Apache-2.0 +# ============LICENSE_END========================================================= +#------------------------------------------------------------------------------- + +model create name=AvroSchemaPolicy + + +schema create name=SchemaLogicTest flavour=Avro schema=LS +{ + "type" : "record", + "name" : "VPNActEvent", + "namespace" : "org.onap.policy.apex.domains.vpn.events", + "fields" : [ + {"name": "nameSpace", "type": "string"}, + {"name": "name", "type": "string"}, + {"name": "version", "type": "string"}, + {"name": "source", "type": "string"}, + {"name": "target", "type": "string"}, + {"name": "LinkMap", "type": { + "type" : "record", + "name" : "LinkMap", + "namespace" : "org.onap.policy.apex.domains.vpn", + "fields" : [ ] + } + }, + {"name": "CustomerMap", "type": { + "type" : "record", + "name" : "CustomerMap", + "namespace" : "org.onap.policy.apex.domains.vpn", + "fields" : [ ] + } + } + ] +} +LE + +event create name=Test_InputEvent nameSpace=org.onap.policy.apex.test source=External target=Apex + +event parameter create name=Test_InputEvent parName=AAA schemaName=SchemaLogicTest optional=false +event parameter create name=Test_InputEvent parName=BBB schemaName=SchemaLogicTest optional=true +event parameter create name=Test_InputEvent parName=CCC schemaName=SchemaLogicTest diff --git a/auth/cli-editor/src/test/resources/scripts/ContextAlbums.apex b/auth/cli-editor/src/test/resources/scripts/ContextAlbums.apex new file mode 100644 index 000000000..ace3cdb11 --- /dev/null +++ b/auth/cli-editor/src/test/resources/scripts/ContextAlbums.apex @@ -0,0 +1,81 @@ +#------------------------------------------------------------------------------- +# ============LICENSE_START======================================================= +# Copyright (C) 2016-2018 Ericsson. 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. +# +# SPDX-License-Identifier: Apache-2.0 +# ============LICENSE_END========================================================= +#------------------------------------------------------------------------------- + +model create name=LoadBalancingFuzzyPolicy_PolicyModel + +schema create name=Adj_CM_type flavour=Java schema=java.util.HashMap<String,String> +schema create name=Adj_KPI_type flavour=Java schema=java.util.HashMap<String,String> +schema create name=Adjacency_4G_Name_type flavour=Java schema=java.lang.String +schema create name=CellA_CM_type flavour=Java schema=java.util.HashMap<String,String> +schema create name=CellA_KPI_type flavour=Java schema=java.util.HashMap<String,String> +schema create name=CellA_type flavour=Java schema=java.lang.String +schema create name=CellB_CM_type flavour=Java schema=java.util.HashMap<String,String> +schema create name=CellB_KPI_type flavour=Java schema=java.util.HashMap<String,String> +schema create name=CellB_type flavour=Java schema=java.lang.String +schema create name=ENABLE_CONGESTION_type flavour=Java schema=java.lang.Boolean +schema create name=FREQ_REL_TYPE_type flavour=Java schema=java.lang.String +schema create name=FooBar_type flavour=Java schema=org.onap.policy.apex.sample.sampletypes.sampletypes.Foo +schema create name=HO_EXEC_FAIL_RATE_AB_type flavour=Java schema=java.lang.Float +schema create name=HO_EXEC_FAIL_RATE_BA_type flavour=Java schema=java.lang.Float +schema create name=LOW_CQI_SAMPLES_RATE_HO_AB_type flavour=Java schema=java.lang.Float +schema create name=LOW_CQI_SAMPLES_RATE_HO_BA_type flavour=Java schema=java.lang.Float +schema create name=LOW_PUSCH_SINR_SAMPLES_RATE_HO_AB_type flavour=Java schema=java.lang.Float +schema create name=LOW_PUSCH_SINR_SAMPLES_RATE_HO_BA_type flavour=Java schema=java.lang.Float +schema create name=OCN_AB_type flavour=Java schema=java.lang.Double +schema create name=OCN_BA_type flavour=Java schema=java.lang.Double +schema create name=PDCCH_CCE_HIGH_LOAD_DELTA_type flavour=Java schema=java.lang.Float +schema create name=REL_HO_EXEC_FAIL_RATE_AB_type flavour=Java schema=java.lang.Boolean +schema create name=REL_HO_EXEC_FAIL_RATE_BA_type flavour=Java schema=java.lang.Boolean +schema create name=REL_HO_EXEC_FAIL_RATE_HIGH_AB_type flavour=Java schema=java.lang.Float +schema create name=REL_HO_EXEC_FAIL_RATE_HIGH_BA_type flavour=Java schema=java.lang.Float +schema create name=REL_HO_EXEC_FAIL_RATE_LOW_AB_type flavour=Java schema=java.lang.Float +schema create name=REL_HO_EXEC_FAIL_RATE_LOW_BA_type flavour=Java schema=java.lang.Float +schema create name=REL_NUM_HO_WITH_EVENTS_AB_IN_type flavour=Java schema=java.lang.Float +schema create name=REL_NUM_HO_WITH_EVENTS_AB_type flavour=Java schema=java.lang.Boolean +schema create name=REL_NUM_HO_WITH_EVENTS_BA_IN_type flavour=Java schema=java.lang.Float +schema create name=REL_NUM_HO_WITH_EVENTS_BA_type flavour=Java schema=java.lang.Boolean +schema create name=REL_TOO_EARLY_HO_RATE_AB_type flavour=Java schema=java.lang.Boolean +schema create name=REL_TOO_EARLY_HO_RATE_BA_type flavour=Java schema=java.lang.Boolean +schema create name=REL_TOO_EARLY_HO_RATE_HIGH_AB_type flavour=Java schema=java.lang.Float +schema create name=REL_TOO_EARLY_HO_RATE_HIGH_BA_type flavour=Java schema=java.lang.Float +schema create name=REL_TOO_EARLY_HO_RATE_LOW_AB_type flavour=Java schema=java.lang.Float +schema create name=REL_TOO_EARLY_HO_RATE_LOW_BA_type flavour=Java schema=java.lang.Float +schema create name=REL_TOO_LATE_HO_RATE_AB_type flavour=Java schema=java.lang.Boolean +schema create name=REL_TOO_LATE_HO_RATE_BA_type flavour=Java schema=java.lang.Boolean +schema create name=REL_TOO_LATE_HO_RATE_HIGH_AB_type flavour=Java schema=java.lang.Float +schema create name=REL_TOO_LATE_HO_RATE_HIGH_BA_type flavour=Java schema=java.lang.Float +schema create name=REL_TOO_LATE_HO_RATE_LOW_AB_type flavour=Java schema=java.lang.Float +schema create name=REL_TOO_LATE_HO_RATE_LOW_BA_type flavour=Java schema=java.lang.Float +schema create name=RRC_CONGESTION_DELTA_type flavour=Java schema=java.lang.Float +schema create name=SB_OCN_AB_type flavour=Java schema=java.lang.String +schema create name=SB_OCN_BA_type flavour=Java schema=java.lang.String +schema create name=SET_TYPE_type flavour=Java schema=java.lang.String +schema create name=TOO_EARLY_HO_RATE_AB_type flavour=Java schema=java.lang.Float +schema create name=TOO_EARLY_HO_RATE_BA_type flavour=Java schema=java.lang.Float +schema create name=TOO_LATE_HO_RATE_AB_type flavour=Java schema=java.lang.Float +schema create name=TOO_LATE_HO_RATE_BA_type flavour=Java schema=java.lang.Float +schema create name=TimeStamp_type flavour=Java schema=java.lang.Long + +album create name=ExternalBag0 scope=EXTERNAL writable=false schemaName=OCN_AB_type +album create name=ExternalBag1 scope=EXTERNAL writable=false schemaName=CellA_CM_type +album create name=ExternalBag2 scope=EXTERNAL writable=false schemaName=TOO_EARLY_HO_RATE_AB_type +album create name=ExternalBag3 scope=EXTERNAL writable=false schemaName=FooBar_type + +album create name=Application scope=APPLICATION writable=true schemaname=OCN_AB_type diff --git a/auth/cli-editor/src/test/resources/scripts/FileMacro.apex b/auth/cli-editor/src/test/resources/scripts/FileMacro.apex new file mode 100644 index 000000000..87f36c761 --- /dev/null +++ b/auth/cli-editor/src/test/resources/scripts/FileMacro.apex @@ -0,0 +1,49 @@ +#------------------------------------------------------------------------------- +# ============LICENSE_START======================================================= +# Copyright (C) 2016-2018 Ericsson. 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. +# +# SPDX-License-Identifier: Apache-2.0 +# ============LICENSE_END========================================================= +#------------------------------------------------------------------------------- + +#MACROFILE:"src/test/resources/macros/MacroFile0.apexmacro" +#MACROFILE: "src/test/resources/macros/MacroFile1.apexmacro" +#MACROFILE:src/test/resources/macros/MacroFile0.apexmacro +#MACROFILE: src/test/resources/macros/MacroFile0.apexmacro +#MACROFILE:" src/test/resources/macros/MacroFile1.apexmacro" +#MACROFILE: "src/test/resources/macros/MacroFile1.apexmacro " +#MACROFILE: "src/test/resources/macros/MacroFile2.apexmacro" +#MACROFILE: "src/test/resources/macros/MacroFile3.apexmacro" +#MACROFILE: "src/test/resources/macros/MacroFile4.apexmacro" # This is a comment +#MACROFILE: +#MACROFILE: +#MACROFILE +MACROFILE: +#MACROFILE: "src/test/resources/macros/MacroFileNonExistant.ApexMacro" +schema create #MACROFILE:"src/test/resources/macros/MacroFile5.apexmacro" #MACROFILE: "src/test/resources/macros/MacroFile6.apexmacro" + +task create name=dummyTask1 +task logic create name=dummyTask1 logicFlavour=JAVASCRIPT logic=LS +#MACROFILE:"src/test/resources/macros/MacroFile7.apexmacro" +LE + +task create name=dummyTask2 +task logic create name=dummyTask2 logicFlavour=JAVASCRIPT logic=LS +x=x+1 +#MACROFILE:"src/test/resources/macros/MacroFile8.apexmacro" +x=x+1 +#MACROFILE:"src/test/resources/macros/MacroFile9.apexmacro" +x=x+1 +LE diff --git a/auth/cli-editor/src/test/resources/scripts/LogicBlock.apex b/auth/cli-editor/src/test/resources/scripts/LogicBlock.apex new file mode 100644 index 000000000..e1fbc96ba --- /dev/null +++ b/auth/cli-editor/src/test/resources/scripts/LogicBlock.apex @@ -0,0 +1,110 @@ +#------------------------------------------------------------------------------- +# ============LICENSE_START======================================================= +# Copyright (C) 2016-2018 Ericsson. 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. +# +# SPDX-License-Identifier: Apache-2.0 +# ============LICENSE_END========================================================= +#------------------------------------------------------------------------------- + +model create name=LogicTestPolicy + +schema create name=SchemaLogicTest flavour=Exotic schema=LS +{ +asdmasdm'asda'sdasd +} +LE + +schema create name=SchemaLogicTest flavour=Avro schema=LS +{ + "type" : "record", + "name" : "VPNActEvent", + "namespace" : "org.onap.policy.apex.domains.vpn.events", + "fields" : [ + {"name": "nameSpace", "type": "string"}, + {"name": "name", "type": "string"}, + {"name": "version", "type": "string"}, + {"name": "source", "type": "string"}, + {"name": "target", "type": "string"}, + {"name": "LinkMap", "type": { + "type" : "record", + "name" : "LinkMap", + "namespace" : "org.onap.policy.apex.domains.vpn", + "fields" : [ ] + } + }, + {"name": "CustomerMap", "type": { + "type" : "record", + "name" : "CustomerMap", + "namespace" : "org.onap.policy.apex.domains.vpn", + "fields" : [ ] + } + } + ] +} +LE + +# This creates logic as a block +task logic create name=LogicTestTask0 logicFlavour=MVEL logic=LS +{ + import java.util.Date; + logger.debug("Running ConsistencyCheck"); + + outFields.putAll(inFields); + outFields["Attribute1PolicyValue"] = "POLICY_DEFINED"; + logger.debug("Finished Running ConsistencyCheck"); + + return true; +} +LE + +task create name=LogicTestTask0 + +# This creates logic as a block +task logic create name=LogicTestTask0 logicFlavour=MVEL logic=LS +{ + import java.util.Date; + logger.debug("Running ConsistencyCheck"); + + outFields.putAll(inFields); + outFields["Attribute1PolicyValue"] = "POLICY_DEFINED"; + logger.debug("Finished Running ConsistencyCheck"); + + return true; +} +LE + +task create name=LogicTestTask1 + +# This creates logic on a single line +task logic create name=LogicTestTask1 logicFlavour=MVEL logic="import java.util.Date;" + +task create name=LogicTestTask2 + +# This creates logic as a block +task logic create name=LogicTestTask2 logicFlavour=MVEL logic=LS +{ + system.out.println("{"); +}LE + +task create name=LogicTestTaskA + +# This fails as it should +task logic create name=LogicTestTaskA logicFlavour=MVEL logic= + +task create name=LogicTestTaskB + +# This fails as it should, no end tag +task logic create name=LogicTestTaskB logicFlavour=MVEL logic=LS +{ diff --git a/auth/cli-editor/src/test/resources/scripts/SampleLBPolicy.apex b/auth/cli-editor/src/test/resources/scripts/SampleLBPolicy.apex new file mode 100644 index 000000000..ddb03e5da --- /dev/null +++ b/auth/cli-editor/src/test/resources/scripts/SampleLBPolicy.apex @@ -0,0 +1,345 @@ +#------------------------------------------------------------------------------- +# ============LICENSE_START======================================================= +# Copyright (C) 2016-2018 Ericsson. 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. +# +# SPDX-License-Identifier: Apache-2.0 +# ============LICENSE_END========================================================= +#------------------------------------------------------------------------------- + +model create name=LoadBalancingFuzzyPolicy_PolicyModel + +schema create name=Adjacency_4G_Name_type flavour=Java schema=java.lang.String +schema create name=CellA_type flavour=Java schema=java.lang.String +schema create name=CellB_type flavour=Java schema=java.lang.String +schema create name=ENABLE_CONGESTION_type flavour=Java schema=java.lang.Boolean +schema create name=FREQ_REL_TYPE_type flavour=Java schema=java.lang.String +schema create name=HO_EXEC_FAIL_RATE_AB_type flavour=Java schema=java.lang.Float +schema create name=HO_EXEC_FAIL_RATE_BA_type flavour=Java schema=java.lang.Float +schema create name=LOW_CQI_SAMPLES_RATE_HO_AB_type flavour=Java schema=java.lang.Float +schema create name=LOW_CQI_SAMPLES_RATE_HO_BA_type flavour=Java schema=java.lang.Float +schema create name=LOW_PUSCH_SINR_SAMPLES_RATE_HO_AB_type flavour=Java schema=java.lang.Float +schema create name=LOW_PUSCH_SINR_SAMPLES_RATE_HO_BA_type flavour=Java schema=java.lang.Float +schema create name=OCN_AB_type flavour=Java schema=java.lang.Double +schema create name=OCN_BA_type flavour=Java schema=java.lang.Double +schema create name=PDCCH_CCE_HIGH_LOAD_DELTA_type flavour=Java schema=java.lang.Float +schema create name=REL_HO_EXEC_FAIL_RATE_AB_type flavour=Java schema=java.lang.Boolean +schema create name=REL_HO_EXEC_FAIL_RATE_BA_type flavour=Java schema=java.lang.Boolean +schema create name=REL_HO_EXEC_FAIL_RATE_HIGH_AB_type flavour=Java schema=java.lang.Float +schema create name=REL_HO_EXEC_FAIL_RATE_HIGH_BA_type flavour=Java schema=java.lang.Float +schema create name=REL_HO_EXEC_FAIL_RATE_LOW_AB_type flavour=Java schema=java.lang.Float +schema create name=REL_HO_EXEC_FAIL_RATE_LOW_BA_type flavour=Java schema=java.lang.Float +schema create name=REL_NUM_HO_WITH_EVENTS_AB_IN_type flavour=Java schema=java.lang.Float +schema create name=REL_NUM_HO_WITH_EVENTS_AB_type flavour=Java schema=java.lang.Boolean +schema create name=REL_NUM_HO_WITH_EVENTS_BA_IN_type flavour=Java schema=java.lang.Float +schema create name=REL_NUM_HO_WITH_EVENTS_BA_type flavour=Java schema=java.lang.Boolean +schema create name=REL_TOO_EARLY_HO_RATE_AB_type flavour=Java schema=java.lang.Boolean +schema create name=REL_TOO_EARLY_HO_RATE_BA_type flavour=Java schema=java.lang.Boolean +schema create name=REL_TOO_EARLY_HO_RATE_HIGH_AB_type flavour=Java schema=java.lang.Float +schema create name=REL_TOO_EARLY_HO_RATE_HIGH_BA_type flavour=Java schema=java.lang.Float +schema create name=REL_TOO_EARLY_HO_RATE_LOW_AB_type flavour=Java schema=java.lang.Float +schema create name=REL_TOO_EARLY_HO_RATE_LOW_BA_type flavour=Java schema=java.lang.Float +schema create name=REL_TOO_LATE_HO_RATE_AB_type flavour=Java schema=java.lang.Boolean +schema create name=REL_TOO_LATE_HO_RATE_BA_type flavour=Java schema=java.lang.Boolean +schema create name=REL_TOO_LATE_HO_RATE_HIGH_AB_type flavour=Java schema=java.lang.Float +schema create name=REL_TOO_LATE_HO_RATE_HIGH_BA_type flavour=Java schema=java.lang.Float +schema create name=REL_TOO_LATE_HO_RATE_LOW_AB_type flavour=Java schema=java.lang.Float +schema create name=REL_TOO_LATE_HO_RATE_LOW_BA_type flavour=Java schema=java.lang.Float +schema create name=RRC_CONGESTION_DELTA_type flavour=Java schema=java.lang.Float +schema create name=SB_OCN_AB_type flavour=Java schema=java.lang.String +schema create name=SB_OCN_BA_type flavour=Java schema=java.lang.String +schema create name=SET_TYPE_type flavour=Java schema=java.lang.String +schema create name=TOO_EARLY_HO_RATE_AB_type flavour=Java schema=java.lang.Float +schema create name=TOO_EARLY_HO_RATE_BA_type flavour=Java schema=java.lang.Float +schema create name=TOO_LATE_HO_RATE_AB_type flavour=Java schema=java.lang.Float +schema create name=TOO_LATE_HO_RATE_BA_type flavour=Java schema=java.lang.Float + +event create name=LoadBalancingFuzzyPolicy_InputEvent nameSpace=org.onap.policy.apexaiasonom source=external target=apex + +event parameter create name=LoadBalancingFuzzyPolicy_InputEvent parName=ENABLE_CONGESTION schemaName=ENABLE_CONGESTION_type +event parameter create name=LoadBalancingFuzzyPolicy_InputEvent parName=FREQ_REL_TYPE schemaName=FREQ_REL_TYPE_type +event parameter create name=LoadBalancingFuzzyPolicy_InputEvent parName=HO_EXEC_FAIL_RATE_AB schemaName=HO_EXEC_FAIL_RATE_AB_type +event parameter create name=LoadBalancingFuzzyPolicy_InputEvent parName=HO_EXEC_FAIL_RATE_BA schemaName=HO_EXEC_FAIL_RATE_BA_type +event parameter create name=LoadBalancingFuzzyPolicy_InputEvent parName=LOW_CQI_SAMPLES_RATE_HO_AB schemaName=LOW_CQI_SAMPLES_RATE_HO_AB_type +event parameter create name=LoadBalancingFuzzyPolicy_InputEvent parName=LOW_CQI_SAMPLES_RATE_HO_BA schemaName=LOW_CQI_SAMPLES_RATE_HO_BA_type +event parameter create name=LoadBalancingFuzzyPolicy_InputEvent parName=LOW_PUSCH_SINR_SAMPLES_RATE_HO_AB schemaName=LOW_PUSCH_SINR_SAMPLES_RATE_HO_AB_type +event parameter create name=LoadBalancingFuzzyPolicy_InputEvent parName=LOW_PUSCH_SINR_SAMPLES_RATE_HO_BA schemaName=LOW_PUSCH_SINR_SAMPLES_RATE_HO_BA_type +event parameter create name=LoadBalancingFuzzyPolicy_InputEvent parName=PDCCH_CCE_HIGH_LOAD_DELTA schemaName=PDCCH_CCE_HIGH_LOAD_DELTA_type +event parameter create name=LoadBalancingFuzzyPolicy_InputEvent parName=REL_HO_EXEC_FAIL_RATE_HIGH_AB schemaName=REL_HO_EXEC_FAIL_RATE_HIGH_AB_type +event parameter create name=LoadBalancingFuzzyPolicy_InputEvent parName=REL_HO_EXEC_FAIL_RATE_HIGH_BA schemaName=REL_HO_EXEC_FAIL_RATE_HIGH_BA_type +event parameter create name=LoadBalancingFuzzyPolicy_InputEvent parName=REL_HO_EXEC_FAIL_RATE_LOW_AB schemaName=REL_HO_EXEC_FAIL_RATE_LOW_AB_type +event parameter create name=LoadBalancingFuzzyPolicy_InputEvent parName=REL_HO_EXEC_FAIL_RATE_LOW_BA schemaName=REL_HO_EXEC_FAIL_RATE_LOW_BA_type +event parameter create name=LoadBalancingFuzzyPolicy_InputEvent parName=REL_NUM_HO_WITH_EVENTS_AB_IN schemaName=REL_NUM_HO_WITH_EVENTS_AB_IN_type +event parameter create name=LoadBalancingFuzzyPolicy_InputEvent parName=REL_NUM_HO_WITH_EVENTS_BA_IN schemaName=REL_NUM_HO_WITH_EVENTS_BA_IN_type +event parameter create name=LoadBalancingFuzzyPolicy_InputEvent parName=REL_TOO_EARLY_HO_RATE_HIGH_AB schemaName=REL_TOO_EARLY_HO_RATE_HIGH_AB_type +event parameter create name=LoadBalancingFuzzyPolicy_InputEvent parName=REL_TOO_EARLY_HO_RATE_HIGH_BA schemaName=REL_TOO_EARLY_HO_RATE_HIGH_BA_type +event parameter create name=LoadBalancingFuzzyPolicy_InputEvent parName=REL_TOO_EARLY_HO_RATE_LOW_AB schemaName=REL_TOO_EARLY_HO_RATE_LOW_AB_type +event parameter create name=LoadBalancingFuzzyPolicy_InputEvent parName=REL_TOO_EARLY_HO_RATE_LOW_BA schemaName=REL_TOO_EARLY_HO_RATE_LOW_BA_type +event parameter create name=LoadBalancingFuzzyPolicy_InputEvent parName=REL_TOO_LATE_HO_RATE_HIGH_AB schemaName=REL_TOO_LATE_HO_RATE_HIGH_AB_type +event parameter create name=LoadBalancingFuzzyPolicy_InputEvent parName=REL_TOO_LATE_HO_RATE_HIGH_BA schemaName=REL_TOO_LATE_HO_RATE_HIGH_BA_type +event parameter create name=LoadBalancingFuzzyPolicy_InputEvent parName=REL_TOO_LATE_HO_RATE_LOW_AB schemaName=REL_TOO_LATE_HO_RATE_LOW_AB_type +event parameter create name=LoadBalancingFuzzyPolicy_InputEvent parName=REL_TOO_LATE_HO_RATE_LOW_BA schemaName=REL_TOO_LATE_HO_RATE_LOW_BA_type +event parameter create name=LoadBalancingFuzzyPolicy_InputEvent parName=RRC_CONGESTION_DELTA schemaName=RRC_CONGESTION_DELTA_type +event parameter create name=LoadBalancingFuzzyPolicy_InputEvent parName=SET_TYPE schemaName=SET_TYPE_type +event parameter create name=LoadBalancingFuzzyPolicy_InputEvent parName=TOO_EARLY_HO_RATE_AB schemaName=TOO_EARLY_HO_RATE_AB_type +event parameter create name=LoadBalancingFuzzyPolicy_InputEvent parName=TOO_EARLY_HO_RATE_BA schemaName=TOO_EARLY_HO_RATE_BA_type +event parameter create name=LoadBalancingFuzzyPolicy_InputEvent parName=TOO_LATE_HO_RATE_AB schemaName=TOO_LATE_HO_RATE_AB_type +event parameter create name=LoadBalancingFuzzyPolicy_InputEvent parName=TOO_LATE_HO_RATE_BA schemaName=TOO_LATE_HO_RATE_BA_type +event parameter create name=LoadBalancingFuzzyPolicy_InputEvent parName=CellA schemaName=CellA_type +event parameter create name=LoadBalancingFuzzyPolicy_InputEvent parName=CellB schemaName=CellB_type +event parameter create name=LoadBalancingFuzzyPolicy_InputEvent parName=Adjacency_4G_Name schemaName=Adjacency_4G_Name_type + +event create name=LoadBalancingFuzzyPolicy_OutputEvent nameSpace=org.onap.policy.apexaiasonom source=apex target=external + +event parameter create name=LoadBalancingFuzzyPolicy_OutputEvent parName=OCN_AB schemaName=OCN_AB_type +event parameter create name=LoadBalancingFuzzyPolicy_OutputEvent parName=OCN_BA schemaName=OCN_BA_type +event parameter create name=LoadBalancingFuzzyPolicy_OutputEvent parName=REL_HO_EXEC_FAIL_RATE_AB schemaName=REL_HO_EXEC_FAIL_RATE_AB_type +event parameter create name=LoadBalancingFuzzyPolicy_OutputEvent parName=REL_HO_EXEC_FAIL_RATE_BA schemaName=REL_HO_EXEC_FAIL_RATE_BA_type +event parameter create name=LoadBalancingFuzzyPolicy_OutputEvent parName=REL_NUM_HO_WITH_EVENTS_AB schemaName=REL_NUM_HO_WITH_EVENTS_AB_type +event parameter create name=LoadBalancingFuzzyPolicy_OutputEvent parName=REL_NUM_HO_WITH_EVENTS_BA schemaName=REL_NUM_HO_WITH_EVENTS_BA_type +event parameter create name=LoadBalancingFuzzyPolicy_OutputEvent parName=REL_TOO_EARLY_HO_RATE_AB schemaName=REL_TOO_EARLY_HO_RATE_AB_type +event parameter create name=LoadBalancingFuzzyPolicy_OutputEvent parName=REL_TOO_EARLY_HO_RATE_BA schemaName=REL_TOO_EARLY_HO_RATE_BA_type +event parameter create name=LoadBalancingFuzzyPolicy_OutputEvent parName=REL_TOO_LATE_HO_RATE_AB schemaName=REL_TOO_LATE_HO_RATE_AB_type +event parameter create name=LoadBalancingFuzzyPolicy_OutputEvent parName=REL_TOO_LATE_HO_RATE_BA schemaName=REL_TOO_LATE_HO_RATE_BA_type +event parameter create name=LoadBalancingFuzzyPolicy_OutputEvent parName=SB_OCN_AB schemaName=SB_OCN_AB_type +event parameter create name=LoadBalancingFuzzyPolicy_OutputEvent parName=SB_OCN_BA schemaName=SB_OCN_BA_type +event parameter create name=LoadBalancingFuzzyPolicy_OutputEvent parName=CellA schemaName=CellA_type +event parameter create name=LoadBalancingFuzzyPolicy_OutputEvent parName=CellB schemaName=CellB_type +event parameter create name=LoadBalancingFuzzyPolicy_OutputEvent parName=Adjacency_4G_Name schemaName=Adjacency_4G_Name_type + +event create name=LoadBalancingFuzzyPolicy_fromFuzzy nameSpace=org.onap.policy.apexaiasonom source=fuzzy target=apex + +event parameter create name=LoadBalancingFuzzyPolicy_fromFuzzy parName=OCN_AB schemaName=OCN_AB_type +event parameter create name=LoadBalancingFuzzyPolicy_fromFuzzy parName=OCN_BA schemaName=OCN_BA_type +event parameter create name=LoadBalancingFuzzyPolicy_fromFuzzy parName=REL_HO_EXEC_FAIL_RATE_AB schemaName=REL_HO_EXEC_FAIL_RATE_AB_type +event parameter create name=LoadBalancingFuzzyPolicy_fromFuzzy parName=REL_HO_EXEC_FAIL_RATE_BA schemaName=REL_HO_EXEC_FAIL_RATE_BA_type +event parameter create name=LoadBalancingFuzzyPolicy_fromFuzzy parName=REL_NUM_HO_WITH_EVENTS_AB schemaName=REL_NUM_HO_WITH_EVENTS_AB_type +event parameter create name=LoadBalancingFuzzyPolicy_fromFuzzy parName=REL_NUM_HO_WITH_EVENTS_BA schemaName=REL_NUM_HO_WITH_EVENTS_BA_type +event parameter create name=LoadBalancingFuzzyPolicy_fromFuzzy parName=REL_TOO_EARLY_HO_RATE_AB schemaName=REL_TOO_EARLY_HO_RATE_AB_type +event parameter create name=LoadBalancingFuzzyPolicy_fromFuzzy parName=REL_TOO_EARLY_HO_RATE_BA schemaName=REL_TOO_EARLY_HO_RATE_BA_type +event parameter create name=LoadBalancingFuzzyPolicy_fromFuzzy parName=REL_TOO_LATE_HO_RATE_AB schemaName=REL_TOO_LATE_HO_RATE_AB_type +event parameter create name=LoadBalancingFuzzyPolicy_fromFuzzy parName=REL_TOO_LATE_HO_RATE_BA schemaName=REL_TOO_LATE_HO_RATE_BA_type +event parameter create name=LoadBalancingFuzzyPolicy_fromFuzzy parName=SB_OCN_AB schemaName=SB_OCN_AB_type +event parameter create name=LoadBalancingFuzzyPolicy_fromFuzzy parName=SB_OCN_BA schemaName=SB_OCN_BA_type +event parameter create name=LoadBalancingFuzzyPolicy_fromFuzzy parName=CellA schemaName=CellA_type +event parameter create name=LoadBalancingFuzzyPolicy_fromFuzzy parName=CellB schemaName=CellB_type +event parameter create name=LoadBalancingFuzzyPolicy_fromFuzzy parName=Adjacency_4G_Name schemaName=Adjacency_4G_Name_type + +event create name=LoadBalancingFuzzyPolicy_toFuzzy nameSpace=org.onap.policy.apexaiasonom source=apex target=fuzzy + +event parameter create name=LoadBalancingFuzzyPolicy_toFuzzy parName=ENABLE_CONGESTION schemaName=ENABLE_CONGESTION_type +event parameter create name=LoadBalancingFuzzyPolicy_toFuzzy parName=FREQ_REL_TYPE schemaName=FREQ_REL_TYPE_type +event parameter create name=LoadBalancingFuzzyPolicy_toFuzzy parName=HO_EXEC_FAIL_RATE_AB schemaName=HO_EXEC_FAIL_RATE_AB_type +event parameter create name=LoadBalancingFuzzyPolicy_toFuzzy parName=HO_EXEC_FAIL_RATE_BA schemaName=HO_EXEC_FAIL_RATE_BA_type +event parameter create name=LoadBalancingFuzzyPolicy_toFuzzy parName=LOW_CQI_SAMPLES_RATE_HO_AB schemaName=LOW_CQI_SAMPLES_RATE_HO_AB_type +event parameter create name=LoadBalancingFuzzyPolicy_toFuzzy parName=LOW_CQI_SAMPLES_RATE_HO_BA schemaName=LOW_CQI_SAMPLES_RATE_HO_BA_type +event parameter create name=LoadBalancingFuzzyPolicy_toFuzzy parName=LOW_PUSCH_SINR_SAMPLES_RATE_HO_AB schemaName=LOW_PUSCH_SINR_SAMPLES_RATE_HO_AB_type +event parameter create name=LoadBalancingFuzzyPolicy_toFuzzy parName=LOW_PUSCH_SINR_SAMPLES_RATE_HO_BA schemaName=LOW_PUSCH_SINR_SAMPLES_RATE_HO_BA_type +event parameter create name=LoadBalancingFuzzyPolicy_toFuzzy parName=PDCCH_CCE_HIGH_LOAD_DELTA schemaName=PDCCH_CCE_HIGH_LOAD_DELTA_type +event parameter create name=LoadBalancingFuzzyPolicy_toFuzzy parName=REL_HO_EXEC_FAIL_RATE_HIGH_AB schemaName=REL_HO_EXEC_FAIL_RATE_HIGH_AB_type +event parameter create name=LoadBalancingFuzzyPolicy_toFuzzy parName=REL_HO_EXEC_FAIL_RATE_HIGH_BA schemaName=REL_HO_EXEC_FAIL_RATE_HIGH_BA_type +event parameter create name=LoadBalancingFuzzyPolicy_toFuzzy parName=REL_HO_EXEC_FAIL_RATE_LOW_AB schemaName=REL_HO_EXEC_FAIL_RATE_LOW_AB_type +event parameter create name=LoadBalancingFuzzyPolicy_toFuzzy parName=REL_HO_EXEC_FAIL_RATE_LOW_BA schemaName=REL_HO_EXEC_FAIL_RATE_LOW_BA_type +event parameter create name=LoadBalancingFuzzyPolicy_toFuzzy parName=REL_NUM_HO_WITH_EVENTS_AB_IN schemaName=REL_NUM_HO_WITH_EVENTS_AB_IN_type +event parameter create name=LoadBalancingFuzzyPolicy_toFuzzy parName=REL_NUM_HO_WITH_EVENTS_BA_IN schemaName=REL_NUM_HO_WITH_EVENTS_BA_IN_type +event parameter create name=LoadBalancingFuzzyPolicy_toFuzzy parName=REL_TOO_EARLY_HO_RATE_HIGH_AB schemaName=REL_TOO_EARLY_HO_RATE_HIGH_AB_type +event parameter create name=LoadBalancingFuzzyPolicy_toFuzzy parName=REL_TOO_EARLY_HO_RATE_HIGH_BA schemaName=REL_TOO_EARLY_HO_RATE_HIGH_BA_type +event parameter create name=LoadBalancingFuzzyPolicy_toFuzzy parName=REL_TOO_EARLY_HO_RATE_LOW_AB schemaName=REL_TOO_EARLY_HO_RATE_LOW_AB_type +event parameter create name=LoadBalancingFuzzyPolicy_toFuzzy parName=REL_TOO_EARLY_HO_RATE_LOW_BA schemaName=REL_TOO_EARLY_HO_RATE_LOW_BA_type +event parameter create name=LoadBalancingFuzzyPolicy_toFuzzy parName=REL_TOO_LATE_HO_RATE_HIGH_AB schemaName=REL_TOO_LATE_HO_RATE_HIGH_AB_type +event parameter create name=LoadBalancingFuzzyPolicy_toFuzzy parName=REL_TOO_LATE_HO_RATE_HIGH_BA schemaName=REL_TOO_LATE_HO_RATE_HIGH_BA_type +event parameter create name=LoadBalancingFuzzyPolicy_toFuzzy parName=REL_TOO_LATE_HO_RATE_LOW_AB schemaName=REL_TOO_LATE_HO_RATE_LOW_AB_type +event parameter create name=LoadBalancingFuzzyPolicy_toFuzzy parName=REL_TOO_LATE_HO_RATE_LOW_BA schemaName=REL_TOO_LATE_HO_RATE_LOW_BA_type +event parameter create name=LoadBalancingFuzzyPolicy_toFuzzy parName=RRC_CONGESTION_DELTA schemaName=RRC_CONGESTION_DELTA_type +event parameter create name=LoadBalancingFuzzyPolicy_toFuzzy parName=SET_TYPE schemaName=SET_TYPE_type +event parameter create name=LoadBalancingFuzzyPolicy_toFuzzy parName=TOO_EARLY_HO_RATE_AB schemaName=TOO_EARLY_HO_RATE_AB_type +event parameter create name=LoadBalancingFuzzyPolicy_toFuzzy parName=TOO_EARLY_HO_RATE_BA schemaName=TOO_EARLY_HO_RATE_BA_type +event parameter create name=LoadBalancingFuzzyPolicy_toFuzzy parName=TOO_LATE_HO_RATE_AB schemaName=TOO_LATE_HO_RATE_AB_type +event parameter create name=LoadBalancingFuzzyPolicy_toFuzzy parName=TOO_LATE_HO_RATE_BA schemaName=TOO_LATE_HO_RATE_BA_type +event parameter create name=LoadBalancingFuzzyPolicy_toFuzzy parName=CellA schemaName=CellA_type +event parameter create name=LoadBalancingFuzzyPolicy_toFuzzy parName=CellB schemaName=CellB_type +event parameter create name=LoadBalancingFuzzyPolicy_toFuzzy parName=Adjacency_4G_Name schemaName=Adjacency_4G_Name_type + +task create name=LoadBalancingFuzzyPolicy_Task + +task inputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=ENABLE_CONGESTION schemaName=ENABLE_CONGESTION_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=FREQ_REL_TYPE schemaName=FREQ_REL_TYPE_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=HO_EXEC_FAIL_RATE_AB schemaName=HO_EXEC_FAIL_RATE_AB_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=HO_EXEC_FAIL_RATE_BA schemaName=HO_EXEC_FAIL_RATE_BA_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=LOW_CQI_SAMPLES_RATE_HO_AB schemaName=LOW_CQI_SAMPLES_RATE_HO_AB_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=LOW_CQI_SAMPLES_RATE_HO_BA schemaName=LOW_CQI_SAMPLES_RATE_HO_BA_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=LOW_PUSCH_SINR_SAMPLES_RATE_HO_AB schemaName=LOW_PUSCH_SINR_SAMPLES_RATE_HO_AB_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=LOW_PUSCH_SINR_SAMPLES_RATE_HO_BA schemaName=LOW_PUSCH_SINR_SAMPLES_RATE_HO_BA_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=PDCCH_CCE_HIGH_LOAD_DELTA schemaName=PDCCH_CCE_HIGH_LOAD_DELTA_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=REL_HO_EXEC_FAIL_RATE_HIGH_AB schemaName=REL_HO_EXEC_FAIL_RATE_HIGH_AB_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=REL_HO_EXEC_FAIL_RATE_HIGH_BA schemaName=REL_HO_EXEC_FAIL_RATE_HIGH_BA_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=REL_HO_EXEC_FAIL_RATE_LOW_AB schemaName=REL_HO_EXEC_FAIL_RATE_LOW_AB_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=REL_HO_EXEC_FAIL_RATE_LOW_BA schemaName=REL_HO_EXEC_FAIL_RATE_LOW_BA_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=REL_NUM_HO_WITH_EVENTS_AB_IN schemaName=REL_NUM_HO_WITH_EVENTS_AB_IN_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=REL_NUM_HO_WITH_EVENTS_BA_IN schemaName=REL_NUM_HO_WITH_EVENTS_BA_IN_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=REL_TOO_EARLY_HO_RATE_HIGH_AB schemaName=REL_TOO_EARLY_HO_RATE_HIGH_AB_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=REL_TOO_EARLY_HO_RATE_HIGH_BA schemaName=REL_TOO_EARLY_HO_RATE_HIGH_BA_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=REL_TOO_EARLY_HO_RATE_LOW_AB schemaName=REL_TOO_EARLY_HO_RATE_LOW_AB_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=REL_TOO_EARLY_HO_RATE_LOW_BA schemaName=REL_TOO_EARLY_HO_RATE_LOW_BA_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=REL_TOO_LATE_HO_RATE_HIGH_AB schemaName=REL_TOO_LATE_HO_RATE_HIGH_AB_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=REL_TOO_LATE_HO_RATE_HIGH_BA schemaName=REL_TOO_LATE_HO_RATE_HIGH_BA_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=REL_TOO_LATE_HO_RATE_LOW_AB schemaName=REL_TOO_LATE_HO_RATE_LOW_AB_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=REL_TOO_LATE_HO_RATE_LOW_BA schemaName=REL_TOO_LATE_HO_RATE_LOW_BA_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=RRC_CONGESTION_DELTA schemaName=RRC_CONGESTION_DELTA_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=SET_TYPE schemaName=SET_TYPE_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=TOO_EARLY_HO_RATE_AB schemaName=TOO_EARLY_HO_RATE_AB_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=TOO_EARLY_HO_RATE_BA schemaName=TOO_EARLY_HO_RATE_BA_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=TOO_LATE_HO_RATE_AB schemaName=TOO_LATE_HO_RATE_AB_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=TOO_LATE_HO_RATE_BA schemaName=TOO_LATE_HO_RATE_BA_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=CellA schemaName=CellA_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=CellB schemaName=CellB_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=Adjacency_4G_Name schemaName=Adjacency_4G_Name_type + +task outputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=OCN_AB schemaName=OCN_AB_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=OCN_BA schemaName=OCN_BA_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=REL_HO_EXEC_FAIL_RATE_AB schemaName=REL_HO_EXEC_FAIL_RATE_AB_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=REL_HO_EXEC_FAIL_RATE_BA schemaName=REL_HO_EXEC_FAIL_RATE_BA_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=REL_NUM_HO_WITH_EVENTS_AB schemaName=REL_NUM_HO_WITH_EVENTS_AB_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=REL_NUM_HO_WITH_EVENTS_BA schemaName=REL_NUM_HO_WITH_EVENTS_BA_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=REL_TOO_EARLY_HO_RATE_AB schemaName=REL_TOO_EARLY_HO_RATE_AB_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=REL_TOO_EARLY_HO_RATE_BA schemaName=REL_TOO_EARLY_HO_RATE_BA_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=REL_TOO_LATE_HO_RATE_AB schemaName=REL_TOO_LATE_HO_RATE_AB_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=REL_TOO_LATE_HO_RATE_BA schemaName=REL_TOO_LATE_HO_RATE_BA_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=SB_OCN_AB schemaName=SB_OCN_AB_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=SB_OCN_BA schemaName=SB_OCN_BA_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=CellA schemaName=CellA_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=CellB schemaName=CellB_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=Adjacency_4G_Name schemaName=Adjacency_4G_Name_type + +task logic create name=LoadBalancingFuzzyPolicy_Task logicFlavour=FUZZY logic="policymodels/fuzzy/SampleLBFuzzyLogic.xml" + +task create name=LoadBalancingFuzzyPolicy_Task_Pre + +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=ENABLE_CONGESTION schemaName=ENABLE_CONGESTION_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=FREQ_REL_TYPE schemaName=FREQ_REL_TYPE_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=HO_EXEC_FAIL_RATE_AB schemaName=HO_EXEC_FAIL_RATE_AB_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=HO_EXEC_FAIL_RATE_BA schemaName=HO_EXEC_FAIL_RATE_BA_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=LOW_CQI_SAMPLES_RATE_HO_AB schemaName=LOW_CQI_SAMPLES_RATE_HO_AB_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=LOW_CQI_SAMPLES_RATE_HO_BA schemaName=LOW_CQI_SAMPLES_RATE_HO_BA_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=LOW_PUSCH_SINR_SAMPLES_RATE_HO_AB schemaName=LOW_PUSCH_SINR_SAMPLES_RATE_HO_AB_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=LOW_PUSCH_SINR_SAMPLES_RATE_HO_BA schemaName=LOW_PUSCH_SINR_SAMPLES_RATE_HO_BA_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=PDCCH_CCE_HIGH_LOAD_DELTA schemaName=PDCCH_CCE_HIGH_LOAD_DELTA_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=REL_HO_EXEC_FAIL_RATE_HIGH_AB schemaName=REL_HO_EXEC_FAIL_RATE_HIGH_AB_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=REL_HO_EXEC_FAIL_RATE_HIGH_BA schemaName=REL_HO_EXEC_FAIL_RATE_HIGH_BA_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=REL_HO_EXEC_FAIL_RATE_LOW_AB schemaName=REL_HO_EXEC_FAIL_RATE_LOW_AB_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=REL_HO_EXEC_FAIL_RATE_LOW_BA schemaName=REL_HO_EXEC_FAIL_RATE_LOW_BA_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=REL_NUM_HO_WITH_EVENTS_AB_IN schemaName=REL_NUM_HO_WITH_EVENTS_AB_IN_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=REL_NUM_HO_WITH_EVENTS_BA_IN schemaName=REL_NUM_HO_WITH_EVENTS_BA_IN_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=REL_TOO_EARLY_HO_RATE_HIGH_AB schemaName=REL_TOO_EARLY_HO_RATE_HIGH_AB_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=REL_TOO_EARLY_HO_RATE_HIGH_BA schemaName=REL_TOO_EARLY_HO_RATE_HIGH_BA_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=REL_TOO_EARLY_HO_RATE_LOW_AB schemaName=REL_TOO_EARLY_HO_RATE_LOW_AB_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=REL_TOO_EARLY_HO_RATE_LOW_BA schemaName=REL_TOO_EARLY_HO_RATE_LOW_BA_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=REL_TOO_LATE_HO_RATE_HIGH_AB schemaName=REL_TOO_LATE_HO_RATE_HIGH_AB_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=REL_TOO_LATE_HO_RATE_HIGH_BA schemaName=REL_TOO_LATE_HO_RATE_HIGH_BA_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=REL_TOO_LATE_HO_RATE_LOW_AB schemaName=REL_TOO_LATE_HO_RATE_LOW_AB_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=REL_TOO_LATE_HO_RATE_LOW_BA schemaName=REL_TOO_LATE_HO_RATE_LOW_BA_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=RRC_CONGESTION_DELTA schemaName=RRC_CONGESTION_DELTA_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=SET_TYPE schemaName=SET_TYPE_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=TOO_EARLY_HO_RATE_AB schemaName=TOO_EARLY_HO_RATE_AB_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=TOO_EARLY_HO_RATE_BA schemaName=TOO_EARLY_HO_RATE_BA_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=TOO_LATE_HO_RATE_AB schemaName=TOO_LATE_HO_RATE_AB_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=TOO_LATE_HO_RATE_BA schemaName=TOO_LATE_HO_RATE_BA_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=CellA schemaName=CellA_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=CellB schemaName=CellB_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=Adjacency_4G_Name schemaName=Adjacency_4G_Name_type + +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=ENABLE_CONGESTION schemaName=ENABLE_CONGESTION_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=FREQ_REL_TYPE schemaName=FREQ_REL_TYPE_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=HO_EXEC_FAIL_RATE_AB schemaName=HO_EXEC_FAIL_RATE_AB_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=HO_EXEC_FAIL_RATE_BA schemaName=HO_EXEC_FAIL_RATE_BA_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=LOW_CQI_SAMPLES_RATE_HO_AB schemaName=LOW_CQI_SAMPLES_RATE_HO_AB_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=LOW_CQI_SAMPLES_RATE_HO_BA schemaName=LOW_CQI_SAMPLES_RATE_HO_BA_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=LOW_PUSCH_SINR_SAMPLES_RATE_HO_AB schemaName=LOW_PUSCH_SINR_SAMPLES_RATE_HO_AB_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=LOW_PUSCH_SINR_SAMPLES_RATE_HO_BA schemaName=LOW_PUSCH_SINR_SAMPLES_RATE_HO_BA_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=PDCCH_CCE_HIGH_LOAD_DELTA schemaName=PDCCH_CCE_HIGH_LOAD_DELTA_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=REL_HO_EXEC_FAIL_RATE_HIGH_AB schemaName=REL_HO_EXEC_FAIL_RATE_HIGH_AB_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=REL_HO_EXEC_FAIL_RATE_HIGH_BA schemaName=REL_HO_EXEC_FAIL_RATE_HIGH_BA_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=REL_HO_EXEC_FAIL_RATE_LOW_AB schemaName=REL_HO_EXEC_FAIL_RATE_LOW_AB_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=REL_HO_EXEC_FAIL_RATE_LOW_BA schemaName=REL_HO_EXEC_FAIL_RATE_LOW_BA_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=REL_NUM_HO_WITH_EVENTS_AB_IN schemaName=REL_NUM_HO_WITH_EVENTS_AB_IN_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=REL_NUM_HO_WITH_EVENTS_BA_IN schemaName=REL_NUM_HO_WITH_EVENTS_BA_IN_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=REL_TOO_EARLY_HO_RATE_HIGH_AB schemaName=REL_TOO_EARLY_HO_RATE_HIGH_AB_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=REL_TOO_EARLY_HO_RATE_HIGH_BA schemaName=REL_TOO_EARLY_HO_RATE_HIGH_BA_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=REL_TOO_EARLY_HO_RATE_LOW_AB schemaName=REL_TOO_EARLY_HO_RATE_LOW_AB_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=REL_TOO_EARLY_HO_RATE_LOW_BA schemaName=REL_TOO_EARLY_HO_RATE_LOW_BA_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=REL_TOO_LATE_HO_RATE_HIGH_AB schemaName=REL_TOO_LATE_HO_RATE_HIGH_AB_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=REL_TOO_LATE_HO_RATE_HIGH_BA schemaName=REL_TOO_LATE_HO_RATE_HIGH_BA_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=REL_TOO_LATE_HO_RATE_LOW_AB schemaName=REL_TOO_LATE_HO_RATE_LOW_AB_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=REL_TOO_LATE_HO_RATE_LOW_BA schemaName=REL_TOO_LATE_HO_RATE_LOW_BA_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=RRC_CONGESTION_DELTA schemaName=RRC_CONGESTION_DELTA_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=SET_TYPE schemaName=SET_TYPE_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=TOO_EARLY_HO_RATE_AB schemaName=TOO_EARLY_HO_RATE_AB_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=TOO_EARLY_HO_RATE_BA schemaName=TOO_EARLY_HO_RATE_BA_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=TOO_LATE_HO_RATE_AB schemaName=TOO_LATE_HO_RATE_AB_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=TOO_LATE_HO_RATE_BA schemaName=TOO_LATE_HO_RATE_BA_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=CellA schemaName=CellA_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=CellB schemaName=CellB_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=Adjacency_4G_Name schemaName=Adjacency_4G_Name_type + +task logic create name=LoadBalancingFuzzyPolicy_Task_Pre logicFlavour=MVEL logic="logger.debug(subject.id);logger.debug(inFields);outFields.putAll(inFields);logger.debug(outFields);return true;" + +task create name=LoadBalancingFuzzyPolicy_Task_Post + +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Post fieldName=OCN_AB schemaName=OCN_AB_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Post fieldName=OCN_BA schemaName=OCN_BA_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Post fieldName=REL_HO_EXEC_FAIL_RATE_AB schemaName=REL_HO_EXEC_FAIL_RATE_AB_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Post fieldName=REL_HO_EXEC_FAIL_RATE_BA schemaName=REL_HO_EXEC_FAIL_RATE_BA_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Post fieldName=REL_NUM_HO_WITH_EVENTS_AB schemaName=REL_NUM_HO_WITH_EVENTS_AB_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Post fieldName=REL_NUM_HO_WITH_EVENTS_BA schemaName=REL_NUM_HO_WITH_EVENTS_BA_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Post fieldName=REL_TOO_EARLY_HO_RATE_AB schemaName=REL_TOO_EARLY_HO_RATE_AB_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Post fieldName=REL_TOO_EARLY_HO_RATE_BA schemaName=REL_TOO_EARLY_HO_RATE_BA_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Post fieldName=REL_TOO_LATE_HO_RATE_AB schemaName=REL_TOO_LATE_HO_RATE_AB_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Post fieldName=REL_TOO_LATE_HO_RATE_BA schemaName=REL_TOO_LATE_HO_RATE_BA_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Post fieldName=SB_OCN_AB schemaName=SB_OCN_AB_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Post fieldName=SB_OCN_BA schemaName=SB_OCN_BA_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Post fieldName=CellA schemaName=CellA_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Post fieldName=CellB schemaName=CellB_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Post fieldName=Adjacency_4G_Name schemaName=Adjacency_4G_Name_type + +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Post fieldName=OCN_AB schemaName=OCN_AB_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Post fieldName=OCN_BA schemaName=OCN_BA_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Post fieldName=REL_HO_EXEC_FAIL_RATE_AB schemaName=REL_HO_EXEC_FAIL_RATE_AB_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Post fieldName=REL_HO_EXEC_FAIL_RATE_BA schemaName=REL_HO_EXEC_FAIL_RATE_BA_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Post fieldName=REL_NUM_HO_WITH_EVENTS_AB schemaName=REL_NUM_HO_WITH_EVENTS_AB_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Post fieldName=REL_NUM_HO_WITH_EVENTS_BA schemaName=REL_NUM_HO_WITH_EVENTS_BA_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Post fieldName=REL_TOO_EARLY_HO_RATE_AB schemaName=REL_TOO_EARLY_HO_RATE_AB_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Post fieldName=REL_TOO_EARLY_HO_RATE_BA schemaName=REL_TOO_EARLY_HO_RATE_BA_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Post fieldName=REL_TOO_LATE_HO_RATE_AB schemaName=REL_TOO_LATE_HO_RATE_AB_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Post fieldName=REL_TOO_LATE_HO_RATE_BA schemaName=REL_TOO_LATE_HO_RATE_BA_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Post fieldName=SB_OCN_AB schemaName=SB_OCN_AB_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Post fieldName=SB_OCN_BA schemaName=SB_OCN_BA_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Post fieldName=CellA schemaName=CellA_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Post fieldName=CellB schemaName=CellB_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Post fieldName=Adjacency_4G_Name schemaName=Adjacency_4G_Name_type + +task logic create name=LoadBalancingFuzzyPolicy_Task_Post logicFlavour=MVEL logic="logger.debug(subject.id);logger.debug(inFields);outFields.putAll(inFields);logger.debug(outFields);return true;" + +policy create name=LoadBalancingFuzzyPolicy_Policy template=FREEFORM firstState=PreExecute + +policy state create name=LoadBalancingFuzzyPolicy_Policy stateName=PostExecute triggerName=LoadBalancingFuzzyPolicy_fromFuzzy defaultTaskName=LoadBalancingFuzzyPolicy_Task_Post +policy state output create name=LoadBalancingFuzzyPolicy_Policy stateName=PostExecute outputName=Post2Out eventName=LoadBalancingFuzzyPolicy_OutputEvent +policy state taskref create name=LoadBalancingFuzzyPolicy_Policy stateName=PostExecute taskName=LoadBalancingFuzzyPolicy_Task_Post outputType=DIRECT outputName=Post2Out + +policy state create name=LoadBalancingFuzzyPolicy_Policy stateName=FuzzyExecute triggerName=LoadBalancingFuzzyPolicy_toFuzzy defaultTaskName=LoadBalancingFuzzyPolicy_Task +policy state output create name=LoadBalancingFuzzyPolicy_Policy stateName=FuzzyExecute outputName=Fuzzy2Post eventName=LoadBalancingFuzzyPolicy_fromFuzzy nextState=PostExecute +policy state taskref create name=LoadBalancingFuzzyPolicy_Policy stateName=FuzzyExecute taskName=LoadBalancingFuzzyPolicy_Task outputType=DIRECT outputName=Fuzzy2Post + +policy state create name=LoadBalancingFuzzyPolicy_Policy stateName=PreExecute triggerName=LoadBalancingFuzzyPolicy_InputEvent defaultTaskName=LoadBalancingFuzzyPolicy_Task_Pre +policy state output create name=LoadBalancingFuzzyPolicy_Policy stateName=PreExecute outputName=Pre2Fuzzy eventName=LoadBalancingFuzzyPolicy_toFuzzy nextState=FuzzyExecute +policy state taskref create name=LoadBalancingFuzzyPolicy_Policy stateName=PreExecute taskName=LoadBalancingFuzzyPolicy_Task_Pre outputType=DIRECT outputName=Pre2Fuzzy diff --git a/auth/cli-editor/src/test/resources/scripts/SampleLBPolicy_WithMap.apex b/auth/cli-editor/src/test/resources/scripts/SampleLBPolicy_WithMap.apex new file mode 100644 index 000000000..9ae79b984 --- /dev/null +++ b/auth/cli-editor/src/test/resources/scripts/SampleLBPolicy_WithMap.apex @@ -0,0 +1,430 @@ +#------------------------------------------------------------------------------- +# ============LICENSE_START======================================================= +# Copyright (C) 2016-2018 Ericsson. 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. +# +# SPDX-License-Identifier: Apache-2.0 +# ============LICENSE_END========================================================= +#------------------------------------------------------------------------------- + +model create name=LoadBalancingFuzzyPolicy_PolicyModel + +schema create name=Adj_CM_type flavour=Java schema=java.util.HashMap<String,String> +schema create name=Adj_KPI_type flavour=Java schema=java.util.HashMap<String,String> +schema create name=Adjacency_4G_Name_type flavour=Java schema=java.lang.String +schema create name=CellA_CM_type flavour=Java schema=java.util.HashMap<String,String> +schema create name=CellA_KPI_type flavour=Java schema=java.util.HashMap<String,String> +schema create name=CellA_type flavour=Java schema=java.lang.String +schema create name=CellB_CM_type flavour=Java schema=java.util.HashMap<String,String> +schema create name=CellB_KPI_type flavour=Java schema=java.util.HashMap<String,String> +schema create name=CellB_type flavour=Java schema=java.lang.String +schema create name=ENABLE_CONGESTION_type flavour=Java schema=java.lang.Boolean +schema create name=FREQ_REL_TYPE_type flavour=Java schema=java.lang.String +schema create name=FooBar_type flavour=Java schema=org.onap.policy.apex.sample.sampletypes.Foo +schema create name=HO_EXEC_FAIL_RATE_AB_type flavour=Java schema=java.lang.Float +schema create name=HO_EXEC_FAIL_RATE_BA_type flavour=Java schema=java.lang.Float +schema create name=LOW_CQI_SAMPLES_RATE_HO_AB_type flavour=Java schema=java.lang.Float +schema create name=LOW_CQI_SAMPLES_RATE_HO_BA_type flavour=Java schema=java.lang.Float +schema create name=LOW_PUSCH_SINR_SAMPLES_RATE_HO_AB_type flavour=Java schema=java.lang.Float +schema create name=LOW_PUSCH_SINR_SAMPLES_RATE_HO_BA_type flavour=Java schema=java.lang.Float +schema create name=OCN_AB_type flavour=Java schema=java.lang.Double +schema create name=OCN_BA_type flavour=Java schema=java.lang.Double +schema create name=PDCCH_CCE_HIGH_LOAD_DELTA_type flavour=Java schema=java.lang.Float +schema create name=REL_HO_EXEC_FAIL_RATE_AB_type flavour=Java schema=java.lang.Boolean +schema create name=REL_HO_EXEC_FAIL_RATE_BA_type flavour=Java schema=java.lang.Boolean +schema create name=REL_HO_EXEC_FAIL_RATE_HIGH_AB_type flavour=Java schema=java.lang.Float +schema create name=REL_HO_EXEC_FAIL_RATE_HIGH_BA_type flavour=Java schema=java.lang.Float +schema create name=REL_HO_EXEC_FAIL_RATE_LOW_AB_type flavour=Java schema=java.lang.Float +schema create name=REL_HO_EXEC_FAIL_RATE_LOW_BA_type flavour=Java schema=java.lang.Float +schema create name=REL_NUM_HO_WITH_EVENTS_AB_IN_type flavour=Java schema=java.lang.Float +schema create name=REL_NUM_HO_WITH_EVENTS_AB_type flavour=Java schema=java.lang.Boolean +schema create name=REL_NUM_HO_WITH_EVENTS_BA_IN_type flavour=Java schema=java.lang.Float +schema create name=REL_NUM_HO_WITH_EVENTS_BA_type flavour=Java schema=java.lang.Boolean +schema create name=REL_TOO_EARLY_HO_RATE_AB_type flavour=Java schema=java.lang.Boolean +schema create name=REL_TOO_EARLY_HO_RATE_BA_type flavour=Java schema=java.lang.Boolean +schema create name=REL_TOO_EARLY_HO_RATE_HIGH_AB_type flavour=Java schema=java.lang.Float +schema create name=REL_TOO_EARLY_HO_RATE_HIGH_BA_type flavour=Java schema=java.lang.Float +schema create name=REL_TOO_EARLY_HO_RATE_LOW_AB_type flavour=Java schema=java.lang.Float +schema create name=REL_TOO_EARLY_HO_RATE_LOW_BA_type flavour=Java schema=java.lang.Float +schema create name=REL_TOO_LATE_HO_RATE_AB_type flavour=Java schema=java.lang.Boolean +schema create name=REL_TOO_LATE_HO_RATE_BA_type flavour=Java schema=java.lang.Boolean +schema create name=REL_TOO_LATE_HO_RATE_HIGH_AB_type flavour=Java schema=java.lang.Float +schema create name=REL_TOO_LATE_HO_RATE_HIGH_BA_type flavour=Java schema=java.lang.Float +schema create name=REL_TOO_LATE_HO_RATE_LOW_AB_type flavour=Java schema=java.lang.Float +schema create name=REL_TOO_LATE_HO_RATE_LOW_BA_type flavour=Java schema=java.lang.Float +schema create name=RRC_CONGESTION_DELTA_type flavour=Java schema=java.lang.Float +schema create name=SB_OCN_AB_type flavour=Java schema=java.lang.String +schema create name=SB_OCN_BA_type flavour=Java schema=java.lang.String +schema create name=SET_TYPE_type flavour=Java schema=java.lang.String +schema create name=TOO_EARLY_HO_RATE_AB_type flavour=Java schema=java.lang.Float +schema create name=TOO_EARLY_HO_RATE_BA_type flavour=Java schema=java.lang.Float +schema create name=TOO_LATE_HO_RATE_AB_type flavour=Java schema=java.lang.Float +schema create name=TOO_LATE_HO_RATE_BA_type flavour=Java schema=java.lang.Float +schema create name=TimeStamp_type flavour=Java schema=java.lang.Long + +event create name=LoadBalancingFuzzyPolicy_InputEvent nameSpace=org.onap.policy.apexaiasonom.types source=External target=Apex + +event parameter create name=LoadBalancingFuzzyPolicy_InputEvent parName=ENABLE_CONGESTION schemaName=ENABLE_CONGESTION_type +event parameter create name=LoadBalancingFuzzyPolicy_InputEvent parName=FREQ_REL_TYPE schemaName=FREQ_REL_TYPE_type +event parameter create name=LoadBalancingFuzzyPolicy_InputEvent parName=HO_EXEC_FAIL_RATE_AB schemaName=HO_EXEC_FAIL_RATE_AB_type +event parameter create name=LoadBalancingFuzzyPolicy_InputEvent parName=HO_EXEC_FAIL_RATE_BA schemaName=HO_EXEC_FAIL_RATE_BA_type +event parameter create name=LoadBalancingFuzzyPolicy_InputEvent parName=LOW_CQI_SAMPLES_RATE_HO_AB schemaName=LOW_CQI_SAMPLES_RATE_HO_AB_type +event parameter create name=LoadBalancingFuzzyPolicy_InputEvent parName=LOW_CQI_SAMPLES_RATE_HO_BA schemaName=LOW_CQI_SAMPLES_RATE_HO_BA_type +event parameter create name=LoadBalancingFuzzyPolicy_InputEvent parName=LOW_PUSCH_SINR_SAMPLES_RATE_HO_AB schemaName=LOW_PUSCH_SINR_SAMPLES_RATE_HO_AB_type +event parameter create name=LoadBalancingFuzzyPolicy_InputEvent parName=LOW_PUSCH_SINR_SAMPLES_RATE_HO_BA schemaName=LOW_PUSCH_SINR_SAMPLES_RATE_HO_BA_type +event parameter create name=LoadBalancingFuzzyPolicy_InputEvent parName=PDCCH_CCE_HIGH_LOAD_DELTA schemaName=PDCCH_CCE_HIGH_LOAD_DELTA_type +event parameter create name=LoadBalancingFuzzyPolicy_InputEvent parName=REL_HO_EXEC_FAIL_RATE_HIGH_AB schemaName=REL_HO_EXEC_FAIL_RATE_HIGH_AB_type +event parameter create name=LoadBalancingFuzzyPolicy_InputEvent parName=REL_HO_EXEC_FAIL_RATE_HIGH_BA schemaName=REL_HO_EXEC_FAIL_RATE_HIGH_BA_type +event parameter create name=LoadBalancingFuzzyPolicy_InputEvent parName=REL_HO_EXEC_FAIL_RATE_LOW_AB schemaName=REL_HO_EXEC_FAIL_RATE_LOW_AB_type +event parameter create name=LoadBalancingFuzzyPolicy_InputEvent parName=REL_HO_EXEC_FAIL_RATE_LOW_BA schemaName=REL_HO_EXEC_FAIL_RATE_LOW_BA_type +event parameter create name=LoadBalancingFuzzyPolicy_InputEvent parName=REL_NUM_HO_WITH_EVENTS_AB_IN schemaName=REL_NUM_HO_WITH_EVENTS_AB_IN_type +event parameter create name=LoadBalancingFuzzyPolicy_InputEvent parName=REL_NUM_HO_WITH_EVENTS_BA_IN schemaName=REL_NUM_HO_WITH_EVENTS_BA_IN_type +event parameter create name=LoadBalancingFuzzyPolicy_InputEvent parName=REL_TOO_EARLY_HO_RATE_HIGH_AB schemaName=REL_TOO_EARLY_HO_RATE_HIGH_AB_type +event parameter create name=LoadBalancingFuzzyPolicy_InputEvent parName=REL_TOO_EARLY_HO_RATE_HIGH_BA schemaName=REL_TOO_EARLY_HO_RATE_HIGH_BA_type +event parameter create name=LoadBalancingFuzzyPolicy_InputEvent parName=REL_TOO_EARLY_HO_RATE_LOW_AB schemaName=REL_TOO_EARLY_HO_RATE_LOW_AB_type +event parameter create name=LoadBalancingFuzzyPolicy_InputEvent parName=REL_TOO_EARLY_HO_RATE_LOW_BA schemaName=REL_TOO_EARLY_HO_RATE_LOW_BA_type +event parameter create name=LoadBalancingFuzzyPolicy_InputEvent parName=REL_TOO_LATE_HO_RATE_HIGH_AB schemaName=REL_TOO_LATE_HO_RATE_HIGH_AB_type +event parameter create name=LoadBalancingFuzzyPolicy_InputEvent parName=REL_TOO_LATE_HO_RATE_HIGH_BA schemaName=REL_TOO_LATE_HO_RATE_HIGH_BA_type +event parameter create name=LoadBalancingFuzzyPolicy_InputEvent parName=REL_TOO_LATE_HO_RATE_LOW_AB schemaName=REL_TOO_LATE_HO_RATE_LOW_AB_type +event parameter create name=LoadBalancingFuzzyPolicy_InputEvent parName=REL_TOO_LATE_HO_RATE_LOW_BA schemaName=REL_TOO_LATE_HO_RATE_LOW_BA_type +event parameter create name=LoadBalancingFuzzyPolicy_InputEvent parName=RRC_CONGESTION_DELTA schemaName=RRC_CONGESTION_DELTA_type +event parameter create name=LoadBalancingFuzzyPolicy_InputEvent parName=SET_TYPE schemaName=SET_TYPE_type +event parameter create name=LoadBalancingFuzzyPolicy_InputEvent parName=TOO_EARLY_HO_RATE_AB schemaName=TOO_EARLY_HO_RATE_AB_type +event parameter create name=LoadBalancingFuzzyPolicy_InputEvent parName=TOO_EARLY_HO_RATE_BA schemaName=TOO_EARLY_HO_RATE_BA_type +event parameter create name=LoadBalancingFuzzyPolicy_InputEvent parName=TOO_LATE_HO_RATE_AB schemaName=TOO_LATE_HO_RATE_AB_type +event parameter create name=LoadBalancingFuzzyPolicy_InputEvent parName=TOO_LATE_HO_RATE_BA schemaName=TOO_LATE_HO_RATE_BA_type +event parameter create name=LoadBalancingFuzzyPolicy_InputEvent parName=CellA schemaName=CellA_type +event parameter create name=LoadBalancingFuzzyPolicy_InputEvent parName=CellB schemaName=CellB_type +event parameter create name=LoadBalancingFuzzyPolicy_InputEvent parName=Adjacency_4G_Name schemaName=Adjacency_4G_Name_type +event parameter create name=LoadBalancingFuzzyPolicy_InputEvent parName=CellA_CM schemaName=CellA_CM_type +event parameter create name=LoadBalancingFuzzyPolicy_InputEvent parName=CellB_CM schemaName=CellB_CM_type +event parameter create name=LoadBalancingFuzzyPolicy_InputEvent parName=CellA_KPI schemaName=CellA_KPI_type +event parameter create name=LoadBalancingFuzzyPolicy_InputEvent parName=CellB_KPI schemaName=CellB_KPI_type +event parameter create name=LoadBalancingFuzzyPolicy_InputEvent parName=Adj_CM schemaName=Adj_CM_type +event parameter create name=LoadBalancingFuzzyPolicy_InputEvent parName=Adj_KPI schemaName=Adj_KPI_type +event parameter create name=LoadBalancingFuzzyPolicy_InputEvent parName=TimeStamp schemaName=TimeStamp_type +event parameter create name=LoadBalancingFuzzyPolicy_InputEvent parName=FooBar schemaName=FooBar_type + +event create name=LoadBalancingFuzzyPolicy_OutputEvent nameSpace=org.onap.policy.apexaiasonom.types source=Apex target=External +event parameter create name=LoadBalancingFuzzyPolicy_OutputEvent parName=OCN_AB schemaName=OCN_AB_type +event parameter create name=LoadBalancingFuzzyPolicy_OutputEvent parName=OCN_BA schemaName=OCN_BA_type +event parameter create name=LoadBalancingFuzzyPolicy_OutputEvent parName=REL_HO_EXEC_FAIL_RATE_AB schemaName=REL_HO_EXEC_FAIL_RATE_AB_type +event parameter create name=LoadBalancingFuzzyPolicy_OutputEvent parName=REL_HO_EXEC_FAIL_RATE_BA schemaName=REL_HO_EXEC_FAIL_RATE_BA_type +event parameter create name=LoadBalancingFuzzyPolicy_OutputEvent parName=REL_NUM_HO_WITH_EVENTS_AB schemaName=REL_NUM_HO_WITH_EVENTS_AB_type +event parameter create name=LoadBalancingFuzzyPolicy_OutputEvent parName=REL_NUM_HO_WITH_EVENTS_BA schemaName=REL_NUM_HO_WITH_EVENTS_BA_type +event parameter create name=LoadBalancingFuzzyPolicy_OutputEvent parName=REL_TOO_EARLY_HO_RATE_AB schemaName=REL_TOO_EARLY_HO_RATE_AB_type +event parameter create name=LoadBalancingFuzzyPolicy_OutputEvent parName=REL_TOO_EARLY_HO_RATE_BA schemaName=REL_TOO_EARLY_HO_RATE_BA_type +event parameter create name=LoadBalancingFuzzyPolicy_OutputEvent parName=REL_TOO_LATE_HO_RATE_AB schemaName=REL_TOO_LATE_HO_RATE_AB_type +event parameter create name=LoadBalancingFuzzyPolicy_OutputEvent parName=REL_TOO_LATE_HO_RATE_BA schemaName=REL_TOO_LATE_HO_RATE_BA_type +event parameter create name=LoadBalancingFuzzyPolicy_OutputEvent parName=SB_OCN_AB schemaName=SB_OCN_AB_type +event parameter create name=LoadBalancingFuzzyPolicy_OutputEvent parName=SB_OCN_BA schemaName=SB_OCN_BA_type +event parameter create name=LoadBalancingFuzzyPolicy_OutputEvent parName=CellA schemaName=CellA_type +event parameter create name=LoadBalancingFuzzyPolicy_OutputEvent parName=CellB schemaName=CellB_type +event parameter create name=LoadBalancingFuzzyPolicy_OutputEvent parName=Adjacency_4G_Name schemaName=Adjacency_4G_Name_type +event parameter create name=LoadBalancingFuzzyPolicy_OutputEvent parName=CellA_CM schemaName=CellA_CM_type +event parameter create name=LoadBalancingFuzzyPolicy_OutputEvent parName=CellB_CM schemaName=CellB_CM_type +event parameter create name=LoadBalancingFuzzyPolicy_OutputEvent parName=CellA_KPI schemaName=CellA_KPI_type +event parameter create name=LoadBalancingFuzzyPolicy_OutputEvent parName=CellB_KPI schemaName=CellB_KPI_type +event parameter create name=LoadBalancingFuzzyPolicy_OutputEvent parName=Adj_CM schemaName=Adj_CM_type +event parameter create name=LoadBalancingFuzzyPolicy_OutputEvent parName=Adj_KPI schemaName=Adj_KPI_type +event parameter create name=LoadBalancingFuzzyPolicy_OutputEvent parName=TimeStamp schemaName=TimeStamp_type +event parameter create name=LoadBalancingFuzzyPolicy_OutputEvent parName=FooBar schemaName=FooBar_type + +event create name=LoadBalancingFuzzyPolicy_fromFuzzy nameSpace=org.onap.policy.apexaiasonom.types source=Fuzzy target=Apex +event parameter create name=LoadBalancingFuzzyPolicy_fromFuzzy parName=OCN_AB schemaName=OCN_AB_type +event parameter create name=LoadBalancingFuzzyPolicy_fromFuzzy parName=OCN_BA schemaName=OCN_BA_type +event parameter create name=LoadBalancingFuzzyPolicy_fromFuzzy parName=REL_HO_EXEC_FAIL_RATE_AB schemaName=REL_HO_EXEC_FAIL_RATE_AB_type +event parameter create name=LoadBalancingFuzzyPolicy_fromFuzzy parName=REL_HO_EXEC_FAIL_RATE_BA schemaName=REL_HO_EXEC_FAIL_RATE_BA_type +event parameter create name=LoadBalancingFuzzyPolicy_fromFuzzy parName=REL_NUM_HO_WITH_EVENTS_AB schemaName=REL_NUM_HO_WITH_EVENTS_AB_type +event parameter create name=LoadBalancingFuzzyPolicy_fromFuzzy parName=REL_NUM_HO_WITH_EVENTS_BA schemaName=REL_NUM_HO_WITH_EVENTS_BA_type +event parameter create name=LoadBalancingFuzzyPolicy_fromFuzzy parName=REL_TOO_EARLY_HO_RATE_AB schemaName=REL_TOO_EARLY_HO_RATE_AB_type +event parameter create name=LoadBalancingFuzzyPolicy_fromFuzzy parName=REL_TOO_EARLY_HO_RATE_BA schemaName=REL_TOO_EARLY_HO_RATE_BA_type +event parameter create name=LoadBalancingFuzzyPolicy_fromFuzzy parName=REL_TOO_LATE_HO_RATE_AB schemaName=REL_TOO_LATE_HO_RATE_AB_type +event parameter create name=LoadBalancingFuzzyPolicy_fromFuzzy parName=REL_TOO_LATE_HO_RATE_BA schemaName=REL_TOO_LATE_HO_RATE_BA_type +event parameter create name=LoadBalancingFuzzyPolicy_fromFuzzy parName=SB_OCN_AB schemaName=SB_OCN_AB_type +event parameter create name=LoadBalancingFuzzyPolicy_fromFuzzy parName=SB_OCN_BA schemaName=SB_OCN_BA_type +event parameter create name=LoadBalancingFuzzyPolicy_fromFuzzy parName=CellA schemaName=CellA_type +event parameter create name=LoadBalancingFuzzyPolicy_fromFuzzy parName=CellB schemaName=CellB_type +event parameter create name=LoadBalancingFuzzyPolicy_fromFuzzy parName=Adjacency_4G_Name schemaName=Adjacency_4G_Name_type +event parameter create name=LoadBalancingFuzzyPolicy_fromFuzzy parName=CellA_CM schemaName=CellA_CM_type +event parameter create name=LoadBalancingFuzzyPolicy_fromFuzzy parName=CellB_CM schemaName=CellB_CM_type +event parameter create name=LoadBalancingFuzzyPolicy_fromFuzzy parName=CellA_KPI schemaName=CellA_KPI_type +event parameter create name=LoadBalancingFuzzyPolicy_fromFuzzy parName=CellB_KPI schemaName=CellB_KPI_type +event parameter create name=LoadBalancingFuzzyPolicy_fromFuzzy parName=Adj_CM schemaName=Adj_CM_type +event parameter create name=LoadBalancingFuzzyPolicy_fromFuzzy parName=Adj_KPI schemaName=Adj_KPI_type +event parameter create name=LoadBalancingFuzzyPolicy_fromFuzzy parName=TimeStamp schemaName=TimeStamp_type +event parameter create name=LoadBalancingFuzzyPolicy_fromFuzzy parName=FooBar schemaName=FooBar_type + +event create name=LoadBalancingFuzzyPolicy_toFuzzy nameSpace=org.onap.policy.apexaiasonom.types source=Apex target=Fuzzy +event parameter create name=LoadBalancingFuzzyPolicy_toFuzzy parName=ENABLE_CONGESTION schemaName=ENABLE_CONGESTION_type +event parameter create name=LoadBalancingFuzzyPolicy_toFuzzy parName=FREQ_REL_TYPE schemaName=FREQ_REL_TYPE_type +event parameter create name=LoadBalancingFuzzyPolicy_toFuzzy parName=HO_EXEC_FAIL_RATE_AB schemaName=HO_EXEC_FAIL_RATE_AB_type +event parameter create name=LoadBalancingFuzzyPolicy_toFuzzy parName=HO_EXEC_FAIL_RATE_BA schemaName=HO_EXEC_FAIL_RATE_BA_type +event parameter create name=LoadBalancingFuzzyPolicy_toFuzzy parName=LOW_CQI_SAMPLES_RATE_HO_AB schemaName=LOW_CQI_SAMPLES_RATE_HO_AB_type +event parameter create name=LoadBalancingFuzzyPolicy_toFuzzy parName=LOW_CQI_SAMPLES_RATE_HO_BA schemaName=LOW_CQI_SAMPLES_RATE_HO_BA_type +event parameter create name=LoadBalancingFuzzyPolicy_toFuzzy parName=LOW_PUSCH_SINR_SAMPLES_RATE_HO_AB schemaName=LOW_PUSCH_SINR_SAMPLES_RATE_HO_AB_type +event parameter create name=LoadBalancingFuzzyPolicy_toFuzzy parName=LOW_PUSCH_SINR_SAMPLES_RATE_HO_BA schemaName=LOW_PUSCH_SINR_SAMPLES_RATE_HO_BA_type +event parameter create name=LoadBalancingFuzzyPolicy_toFuzzy parName=PDCCH_CCE_HIGH_LOAD_DELTA schemaName=PDCCH_CCE_HIGH_LOAD_DELTA_type +event parameter create name=LoadBalancingFuzzyPolicy_toFuzzy parName=REL_HO_EXEC_FAIL_RATE_HIGH_AB schemaName=REL_HO_EXEC_FAIL_RATE_HIGH_AB_type +event parameter create name=LoadBalancingFuzzyPolicy_toFuzzy parName=REL_HO_EXEC_FAIL_RATE_HIGH_BA schemaName=REL_HO_EXEC_FAIL_RATE_HIGH_BA_type +event parameter create name=LoadBalancingFuzzyPolicy_toFuzzy parName=REL_HO_EXEC_FAIL_RATE_LOW_AB schemaName=REL_HO_EXEC_FAIL_RATE_LOW_AB_type +event parameter create name=LoadBalancingFuzzyPolicy_toFuzzy parName=REL_HO_EXEC_FAIL_RATE_LOW_BA schemaName=REL_HO_EXEC_FAIL_RATE_LOW_BA_type +event parameter create name=LoadBalancingFuzzyPolicy_toFuzzy parName=REL_NUM_HO_WITH_EVENTS_AB_IN schemaName=REL_NUM_HO_WITH_EVENTS_AB_IN_type +event parameter create name=LoadBalancingFuzzyPolicy_toFuzzy parName=REL_NUM_HO_WITH_EVENTS_BA_IN schemaName=REL_NUM_HO_WITH_EVENTS_BA_IN_type +event parameter create name=LoadBalancingFuzzyPolicy_toFuzzy parName=REL_TOO_EARLY_HO_RATE_HIGH_AB schemaName=REL_TOO_EARLY_HO_RATE_HIGH_AB_type +event parameter create name=LoadBalancingFuzzyPolicy_toFuzzy parName=REL_TOO_EARLY_HO_RATE_HIGH_BA schemaName=REL_TOO_EARLY_HO_RATE_HIGH_BA_type +event parameter create name=LoadBalancingFuzzyPolicy_toFuzzy parName=REL_TOO_EARLY_HO_RATE_LOW_AB schemaName=REL_TOO_EARLY_HO_RATE_LOW_AB_type +event parameter create name=LoadBalancingFuzzyPolicy_toFuzzy parName=REL_TOO_EARLY_HO_RATE_LOW_BA schemaName=REL_TOO_EARLY_HO_RATE_LOW_BA_type +event parameter create name=LoadBalancingFuzzyPolicy_toFuzzy parName=REL_TOO_LATE_HO_RATE_HIGH_AB schemaName=REL_TOO_LATE_HO_RATE_HIGH_AB_type +event parameter create name=LoadBalancingFuzzyPolicy_toFuzzy parName=REL_TOO_LATE_HO_RATE_HIGH_BA schemaName=REL_TOO_LATE_HO_RATE_HIGH_BA_type +event parameter create name=LoadBalancingFuzzyPolicy_toFuzzy parName=REL_TOO_LATE_HO_RATE_LOW_AB schemaName=REL_TOO_LATE_HO_RATE_LOW_AB_type +event parameter create name=LoadBalancingFuzzyPolicy_toFuzzy parName=REL_TOO_LATE_HO_RATE_LOW_BA schemaName=REL_TOO_LATE_HO_RATE_LOW_BA_type +event parameter create name=LoadBalancingFuzzyPolicy_toFuzzy parName=RRC_CONGESTION_DELTA schemaName=RRC_CONGESTION_DELTA_type +event parameter create name=LoadBalancingFuzzyPolicy_toFuzzy parName=SET_TYPE schemaName=SET_TYPE_type +event parameter create name=LoadBalancingFuzzyPolicy_toFuzzy parName=TOO_EARLY_HO_RATE_AB schemaName=TOO_EARLY_HO_RATE_AB_type +event parameter create name=LoadBalancingFuzzyPolicy_toFuzzy parName=TOO_EARLY_HO_RATE_BA schemaName=TOO_EARLY_HO_RATE_BA_type +event parameter create name=LoadBalancingFuzzyPolicy_toFuzzy parName=TOO_LATE_HO_RATE_AB schemaName=TOO_LATE_HO_RATE_AB_type +event parameter create name=LoadBalancingFuzzyPolicy_toFuzzy parName=TOO_LATE_HO_RATE_BA schemaName=TOO_LATE_HO_RATE_BA_type +event parameter create name=LoadBalancingFuzzyPolicy_toFuzzy parName=CellA schemaName=CellA_type +event parameter create name=LoadBalancingFuzzyPolicy_toFuzzy parName=CellB schemaName=CellB_type +event parameter create name=LoadBalancingFuzzyPolicy_toFuzzy parName=Adjacency_4G_Name schemaName=Adjacency_4G_Name_type +event parameter create name=LoadBalancingFuzzyPolicy_toFuzzy parName=CellA_CM schemaName=CellA_CM_type +event parameter create name=LoadBalancingFuzzyPolicy_toFuzzy parName=CellB_CM schemaName=CellB_CM_type +event parameter create name=LoadBalancingFuzzyPolicy_toFuzzy parName=CellA_KPI schemaName=CellA_KPI_type +event parameter create name=LoadBalancingFuzzyPolicy_toFuzzy parName=CellB_KPI schemaName=CellB_KPI_type +event parameter create name=LoadBalancingFuzzyPolicy_toFuzzy parName=Adj_CM schemaName=Adj_CM_type +event parameter create name=LoadBalancingFuzzyPolicy_toFuzzy parName=Adj_KPI schemaName=Adj_KPI_type +event parameter create name=LoadBalancingFuzzyPolicy_toFuzzy parName=TimeStamp schemaName=TimeStamp_type +event parameter create name=LoadBalancingFuzzyPolicy_toFuzzy parName=FooBar schemaName=FooBar_type + +task create name=LoadBalancingFuzzyPolicy_Task_Pre + +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=ENABLE_CONGESTION schemaName=ENABLE_CONGESTION_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=FREQ_REL_TYPE schemaName=FREQ_REL_TYPE_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=HO_EXEC_FAIL_RATE_AB schemaName=HO_EXEC_FAIL_RATE_AB_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=HO_EXEC_FAIL_RATE_BA schemaName=HO_EXEC_FAIL_RATE_BA_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=LOW_CQI_SAMPLES_RATE_HO_AB schemaName=LOW_CQI_SAMPLES_RATE_HO_AB_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=LOW_CQI_SAMPLES_RATE_HO_BA schemaName=LOW_CQI_SAMPLES_RATE_HO_BA_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=LOW_PUSCH_SINR_SAMPLES_RATE_HO_AB schemaName=LOW_PUSCH_SINR_SAMPLES_RATE_HO_AB_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=LOW_PUSCH_SINR_SAMPLES_RATE_HO_BA schemaName=LOW_PUSCH_SINR_SAMPLES_RATE_HO_BA_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=PDCCH_CCE_HIGH_LOAD_DELTA schemaName=PDCCH_CCE_HIGH_LOAD_DELTA_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=REL_HO_EXEC_FAIL_RATE_HIGH_AB schemaName=REL_HO_EXEC_FAIL_RATE_HIGH_AB_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=REL_HO_EXEC_FAIL_RATE_HIGH_BA schemaName=REL_HO_EXEC_FAIL_RATE_HIGH_BA_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=REL_HO_EXEC_FAIL_RATE_LOW_AB schemaName=REL_HO_EXEC_FAIL_RATE_LOW_AB_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=REL_HO_EXEC_FAIL_RATE_LOW_BA schemaName=REL_HO_EXEC_FAIL_RATE_LOW_BA_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=REL_NUM_HO_WITH_EVENTS_AB_IN schemaName=REL_NUM_HO_WITH_EVENTS_AB_IN_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=REL_NUM_HO_WITH_EVENTS_BA_IN schemaName=REL_NUM_HO_WITH_EVENTS_BA_IN_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=REL_TOO_EARLY_HO_RATE_HIGH_AB schemaName=REL_TOO_EARLY_HO_RATE_HIGH_AB_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=REL_TOO_EARLY_HO_RATE_HIGH_BA schemaName=REL_TOO_EARLY_HO_RATE_HIGH_BA_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=REL_TOO_EARLY_HO_RATE_LOW_AB schemaName=REL_TOO_EARLY_HO_RATE_LOW_AB_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=REL_TOO_EARLY_HO_RATE_LOW_BA schemaName=REL_TOO_EARLY_HO_RATE_LOW_BA_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=REL_TOO_LATE_HO_RATE_HIGH_AB schemaName=REL_TOO_LATE_HO_RATE_HIGH_AB_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=REL_TOO_LATE_HO_RATE_HIGH_BA schemaName=REL_TOO_LATE_HO_RATE_HIGH_BA_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=REL_TOO_LATE_HO_RATE_LOW_AB schemaName=REL_TOO_LATE_HO_RATE_LOW_AB_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=REL_TOO_LATE_HO_RATE_LOW_BA schemaName=REL_TOO_LATE_HO_RATE_LOW_BA_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=RRC_CONGESTION_DELTA schemaName=RRC_CONGESTION_DELTA_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=SET_TYPE schemaName=SET_TYPE_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=TOO_EARLY_HO_RATE_AB schemaName=TOO_EARLY_HO_RATE_AB_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=TOO_EARLY_HO_RATE_BA schemaName=TOO_EARLY_HO_RATE_BA_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=TOO_LATE_HO_RATE_AB schemaName=TOO_LATE_HO_RATE_AB_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=TOO_LATE_HO_RATE_BA schemaName=TOO_LATE_HO_RATE_BA_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=CellA schemaName=CellA_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=CellB schemaName=CellB_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=Adjacency_4G_Name schemaName=Adjacency_4G_Name_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=CellA_CM schemaName=CellA_CM_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=CellB_CM schemaName=CellB_CM_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=CellA_KPI schemaName=CellA_KPI_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=CellB_KPI schemaName=CellB_KPI_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=Adj_CM schemaName=Adj_CM_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=Adj_KPI schemaName=Adj_KPI_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=TimeStamp schemaName=TimeStamp_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=FooBar schemaName=FooBar_type + +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=ENABLE_CONGESTION schemaName=ENABLE_CONGESTION_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=FREQ_REL_TYPE schemaName=FREQ_REL_TYPE_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=HO_EXEC_FAIL_RATE_AB schemaName=HO_EXEC_FAIL_RATE_AB_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=HO_EXEC_FAIL_RATE_BA schemaName=HO_EXEC_FAIL_RATE_BA_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=LOW_CQI_SAMPLES_RATE_HO_AB schemaName=LOW_CQI_SAMPLES_RATE_HO_AB_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=LOW_CQI_SAMPLES_RATE_HO_BA schemaName=LOW_CQI_SAMPLES_RATE_HO_BA_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=LOW_PUSCH_SINR_SAMPLES_RATE_HO_AB schemaName=LOW_PUSCH_SINR_SAMPLES_RATE_HO_AB_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=LOW_PUSCH_SINR_SAMPLES_RATE_HO_BA schemaName=LOW_PUSCH_SINR_SAMPLES_RATE_HO_BA_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=PDCCH_CCE_HIGH_LOAD_DELTA schemaName=PDCCH_CCE_HIGH_LOAD_DELTA_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=REL_HO_EXEC_FAIL_RATE_HIGH_AB schemaName=REL_HO_EXEC_FAIL_RATE_HIGH_AB_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=REL_HO_EXEC_FAIL_RATE_HIGH_BA schemaName=REL_HO_EXEC_FAIL_RATE_HIGH_BA_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=REL_HO_EXEC_FAIL_RATE_LOW_AB schemaName=REL_HO_EXEC_FAIL_RATE_LOW_AB_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=REL_HO_EXEC_FAIL_RATE_LOW_BA schemaName=REL_HO_EXEC_FAIL_RATE_LOW_BA_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=REL_NUM_HO_WITH_EVENTS_AB_IN schemaName=REL_NUM_HO_WITH_EVENTS_AB_IN_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=REL_NUM_HO_WITH_EVENTS_BA_IN schemaName=REL_NUM_HO_WITH_EVENTS_BA_IN_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=REL_TOO_EARLY_HO_RATE_HIGH_AB schemaName=REL_TOO_EARLY_HO_RATE_HIGH_AB_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=REL_TOO_EARLY_HO_RATE_HIGH_BA schemaName=REL_TOO_EARLY_HO_RATE_HIGH_BA_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=REL_TOO_EARLY_HO_RATE_LOW_AB schemaName=REL_TOO_EARLY_HO_RATE_LOW_AB_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=REL_TOO_EARLY_HO_RATE_LOW_BA schemaName=REL_TOO_EARLY_HO_RATE_LOW_BA_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=REL_TOO_LATE_HO_RATE_HIGH_AB schemaName=REL_TOO_LATE_HO_RATE_HIGH_AB_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=REL_TOO_LATE_HO_RATE_HIGH_BA schemaName=REL_TOO_LATE_HO_RATE_HIGH_BA_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=REL_TOO_LATE_HO_RATE_LOW_AB schemaName=REL_TOO_LATE_HO_RATE_LOW_AB_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=REL_TOO_LATE_HO_RATE_LOW_BA schemaName=REL_TOO_LATE_HO_RATE_LOW_BA_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=RRC_CONGESTION_DELTA schemaName=RRC_CONGESTION_DELTA_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=SET_TYPE schemaName=SET_TYPE_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=TOO_EARLY_HO_RATE_AB schemaName=TOO_EARLY_HO_RATE_AB_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=TOO_EARLY_HO_RATE_BA schemaName=TOO_EARLY_HO_RATE_BA_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=TOO_LATE_HO_RATE_AB schemaName=TOO_LATE_HO_RATE_AB_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=TOO_LATE_HO_RATE_BA schemaName=TOO_LATE_HO_RATE_BA_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=CellA schemaName=CellA_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=CellB schemaName=CellB_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=Adjacency_4G_Name schemaName=Adjacency_4G_Name_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=CellA_CM schemaName=CellA_CM_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=CellB_CM schemaName=CellB_CM_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=CellA_KPI schemaName=CellA_KPI_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=CellB_KPI schemaName=CellB_KPI_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=Adj_CM schemaName=Adj_CM_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=Adj_KPI schemaName=Adj_KPI_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=TimeStamp schemaName=TimeStamp_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Pre fieldName=FooBar schemaName=FooBar_type + +task logic create name=LoadBalancingFuzzyPolicy_Task_Pre logicFlavour=MVEL logic="logger.debug(subject.id);logger.debug(inFields);outputFields.putAll(inputFields);logger.debug(outputFields);return true;" + +task create name=LoadBalancingFuzzyPolicy_Task + +task inputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=ENABLE_CONGESTION schemaName=ENABLE_CONGESTION_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=FREQ_REL_TYPE schemaName=FREQ_REL_TYPE_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=HO_EXEC_FAIL_RATE_AB schemaName=HO_EXEC_FAIL_RATE_AB_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=HO_EXEC_FAIL_RATE_BA schemaName=HO_EXEC_FAIL_RATE_BA_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=LOW_CQI_SAMPLES_RATE_HO_AB schemaName=LOW_CQI_SAMPLES_RATE_HO_AB_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=LOW_CQI_SAMPLES_RATE_HO_BA schemaName=LOW_CQI_SAMPLES_RATE_HO_BA_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=LOW_PUSCH_SINR_SAMPLES_RATE_HO_AB schemaName=LOW_PUSCH_SINR_SAMPLES_RATE_HO_AB_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=LOW_PUSCH_SINR_SAMPLES_RATE_HO_BA schemaName=LOW_PUSCH_SINR_SAMPLES_RATE_HO_BA_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=PDCCH_CCE_HIGH_LOAD_DELTA schemaName=PDCCH_CCE_HIGH_LOAD_DELTA_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=REL_HO_EXEC_FAIL_RATE_HIGH_AB schemaName=REL_HO_EXEC_FAIL_RATE_HIGH_AB_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=REL_HO_EXEC_FAIL_RATE_HIGH_BA schemaName=REL_HO_EXEC_FAIL_RATE_HIGH_BA_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=REL_HO_EXEC_FAIL_RATE_LOW_AB schemaName=REL_HO_EXEC_FAIL_RATE_LOW_AB_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=REL_HO_EXEC_FAIL_RATE_LOW_BA schemaName=REL_HO_EXEC_FAIL_RATE_LOW_BA_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=REL_NUM_HO_WITH_EVENTS_AB_IN schemaName=REL_NUM_HO_WITH_EVENTS_AB_IN_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=REL_NUM_HO_WITH_EVENTS_BA_IN schemaName=REL_NUM_HO_WITH_EVENTS_BA_IN_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=REL_TOO_EARLY_HO_RATE_HIGH_AB schemaName=REL_TOO_EARLY_HO_RATE_HIGH_AB_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=REL_TOO_EARLY_HO_RATE_HIGH_BA schemaName=REL_TOO_EARLY_HO_RATE_HIGH_BA_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=REL_TOO_EARLY_HO_RATE_LOW_AB schemaName=REL_TOO_EARLY_HO_RATE_LOW_AB_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=REL_TOO_EARLY_HO_RATE_LOW_BA schemaName=REL_TOO_EARLY_HO_RATE_LOW_BA_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=REL_TOO_LATE_HO_RATE_HIGH_AB schemaName=REL_TOO_LATE_HO_RATE_HIGH_AB_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=REL_TOO_LATE_HO_RATE_HIGH_BA schemaName=REL_TOO_LATE_HO_RATE_HIGH_BA_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=REL_TOO_LATE_HO_RATE_LOW_AB schemaName=REL_TOO_LATE_HO_RATE_LOW_AB_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=REL_TOO_LATE_HO_RATE_LOW_BA schemaName=REL_TOO_LATE_HO_RATE_LOW_BA_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=RRC_CONGESTION_DELTA schemaName=RRC_CONGESTION_DELTA_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=SET_TYPE schemaName=SET_TYPE_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=TOO_EARLY_HO_RATE_AB schemaName=TOO_EARLY_HO_RATE_AB_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=TOO_EARLY_HO_RATE_BA schemaName=TOO_EARLY_HO_RATE_BA_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=TOO_LATE_HO_RATE_AB schemaName=TOO_LATE_HO_RATE_AB_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=TOO_LATE_HO_RATE_BA schemaName=TOO_LATE_HO_RATE_BA_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=CellA schemaName=CellA_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=CellB schemaName=CellB_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=Adjacency_4G_Name schemaName=Adjacency_4G_Name_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=CellA_CM schemaName=CellA_CM_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=CellB_CM schemaName=CellB_CM_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=CellA_KPI schemaName=CellA_KPI_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=CellB_KPI schemaName=CellB_KPI_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=Adj_CM schemaName=Adj_CM_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=Adj_KPI schemaName=Adj_KPI_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=TimeStamp schemaName=TimeStamp_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=FooBar schemaName=FooBar_type + +task outputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=OCN_AB schemaName=OCN_AB_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=OCN_BA schemaName=OCN_BA_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=REL_HO_EXEC_FAIL_RATE_AB schemaName=REL_HO_EXEC_FAIL_RATE_AB_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=REL_HO_EXEC_FAIL_RATE_BA schemaName=REL_HO_EXEC_FAIL_RATE_BA_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=REL_NUM_HO_WITH_EVENTS_AB schemaName=REL_NUM_HO_WITH_EVENTS_AB_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=REL_NUM_HO_WITH_EVENTS_BA schemaName=REL_NUM_HO_WITH_EVENTS_BA_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=REL_TOO_EARLY_HO_RATE_AB schemaName=REL_TOO_EARLY_HO_RATE_AB_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=REL_TOO_EARLY_HO_RATE_BA schemaName=REL_TOO_EARLY_HO_RATE_BA_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=REL_TOO_LATE_HO_RATE_AB schemaName=REL_TOO_LATE_HO_RATE_AB_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=REL_TOO_LATE_HO_RATE_BA schemaName=REL_TOO_LATE_HO_RATE_BA_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=SB_OCN_AB schemaName=SB_OCN_AB_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=SB_OCN_BA schemaName=SB_OCN_BA_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=CellA schemaName=CellA_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=CellB schemaName=CellB_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=Adjacency_4G_Name schemaName=Adjacency_4G_Name_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=CellA_CM schemaName=CellA_CM_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=CellB_CM schemaName=CellB_CM_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=CellA_KPI schemaName=CellA_KPI_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=CellB_KPI schemaName=CellB_KPI_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=Adj_CM schemaName=Adj_CM_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=Adj_KPI schemaName=Adj_KPI_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=TimeStamp schemaName=TimeStamp_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task fieldName=FooBar schemaName=FooBar_type + +task logic create name=LoadBalancingFuzzyPolicy_Task logicFlavour=FUZZY logic="policymodels/fuzzy/SampleLBFuzzyLogic.xml" + +task create name=LoadBalancingFuzzyPolicy_Task_Post + +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Post fieldName=OCN_AB schemaName=OCN_AB_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Post fieldName=OCN_BA schemaName=OCN_BA_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Post fieldName=REL_HO_EXEC_FAIL_RATE_AB schemaName=REL_HO_EXEC_FAIL_RATE_AB_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Post fieldName=REL_HO_EXEC_FAIL_RATE_BA schemaName=REL_HO_EXEC_FAIL_RATE_BA_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Post fieldName=REL_NUM_HO_WITH_EVENTS_AB schemaName=REL_NUM_HO_WITH_EVENTS_AB_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Post fieldName=REL_NUM_HO_WITH_EVENTS_BA schemaName=REL_NUM_HO_WITH_EVENTS_BA_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Post fieldName=REL_TOO_EARLY_HO_RATE_AB schemaName=REL_TOO_EARLY_HO_RATE_AB_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Post fieldName=REL_TOO_EARLY_HO_RATE_BA schemaName=REL_TOO_EARLY_HO_RATE_BA_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Post fieldName=REL_TOO_LATE_HO_RATE_AB schemaName=REL_TOO_LATE_HO_RATE_AB_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Post fieldName=REL_TOO_LATE_HO_RATE_BA schemaName=REL_TOO_LATE_HO_RATE_BA_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Post fieldName=SB_OCN_AB schemaName=SB_OCN_AB_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Post fieldName=SB_OCN_BA schemaName=SB_OCN_BA_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Post fieldName=CellA schemaName=CellA_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Post fieldName=CellB schemaName=CellB_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Post fieldName=Adjacency_4G_Name schemaName=Adjacency_4G_Name_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Post fieldName=CellA_CM schemaName=CellA_CM_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Post fieldName=CellB_CM schemaName=CellB_CM_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Post fieldName=CellA_KPI schemaName=CellA_KPI_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Post fieldName=CellB_KPI schemaName=CellB_KPI_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Post fieldName=Adj_CM schemaName=Adj_CM_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Post fieldName=Adj_KPI schemaName=Adj_KPI_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Post fieldName=TimeStamp schemaName=TimeStamp_type +task inputfield create name=LoadBalancingFuzzyPolicy_Task_Post fieldName=FooBar schemaName=FooBar_type + +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Post fieldName=OCN_AB schemaName=OCN_AB_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Post fieldName=OCN_BA schemaName=OCN_BA_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Post fieldName=REL_HO_EXEC_FAIL_RATE_AB schemaName=REL_HO_EXEC_FAIL_RATE_AB_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Post fieldName=REL_HO_EXEC_FAIL_RATE_BA schemaName=REL_HO_EXEC_FAIL_RATE_BA_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Post fieldName=REL_NUM_HO_WITH_EVENTS_AB schemaName=REL_NUM_HO_WITH_EVENTS_AB_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Post fieldName=REL_NUM_HO_WITH_EVENTS_BA schemaName=REL_NUM_HO_WITH_EVENTS_BA_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Post fieldName=REL_TOO_EARLY_HO_RATE_AB schemaName=REL_TOO_EARLY_HO_RATE_AB_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Post fieldName=REL_TOO_EARLY_HO_RATE_BA schemaName=REL_TOO_EARLY_HO_RATE_BA_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Post fieldName=REL_TOO_LATE_HO_RATE_AB schemaName=REL_TOO_LATE_HO_RATE_AB_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Post fieldName=REL_TOO_LATE_HO_RATE_BA schemaName=REL_TOO_LATE_HO_RATE_BA_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Post fieldName=SB_OCN_AB schemaName=SB_OCN_AB_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Post fieldName=SB_OCN_BA schemaName=SB_OCN_BA_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Post fieldName=CellA schemaName=CellA_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Post fieldName=CellB schemaName=CellB_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Post fieldName=Adjacency_4G_Name schemaName=Adjacency_4G_Name_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Post fieldName=CellA_CM schemaName=CellA_CM_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Post fieldName=CellB_CM schemaName=CellB_CM_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Post fieldName=CellA_KPI schemaName=CellA_KPI_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Post fieldName=CellB_KPI schemaName=CellB_KPI_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Post fieldName=Adj_CM schemaName=Adj_CM_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Post fieldName=Adj_KPI schemaName=Adj_KPI_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Post fieldName=TimeStamp schemaName=TimeStamp_type +task outputfield create name=LoadBalancingFuzzyPolicy_Task_Post fieldName=FooBar schemaName=FooBar_type + +task logic create name=LoadBalancingFuzzyPolicy_Task_Post logicFlavour=MVEL logic="logger.debug(subject.id);logger.debug(inFields);outFields.putAll(inFields);logger.debug(outFields);return true;" + +policy create name=LoadBalancingFuzzyPolicy_Policy template=FREEFORM firstState=PreExecute + +policy state create name=LoadBalancingFuzzyPolicy_Policy stateName=PostExecute triggerName=LoadBalancingFuzzyPolicy_fromFuzzy defaultTaskName=LoadBalancingFuzzyPolicy_Task_Post +policy state output create name=LoadBalancingFuzzyPolicy_Policy stateName=PostExecute outputName=Post2Out eventName=LoadBalancingFuzzyPolicy_OutputEvent +policy state taskref create name=LoadBalancingFuzzyPolicy_Policy stateName=PostExecute taskName=LoadBalancingFuzzyPolicy_Task_Post outputType=DIRECT outputName=Post2Out + +policy state create name=LoadBalancingFuzzyPolicy_Policy stateName=FuzzyExecute triggerName=LoadBalancingFuzzyPolicy_toFuzzy defaultTaskName=LoadBalancingFuzzyPolicy_Task +policy state output create name=LoadBalancingFuzzyPolicy_Policy stateName=FuzzyExecute outputName=Fuzzy2Post eventName=LoadBalancingFuzzyPolicy_fromFuzzy nextState=PostExecute +policy state taskref create name=LoadBalancingFuzzyPolicy_Policy stateName=FuzzyExecute taskName=LoadBalancingFuzzyPolicy_Task outputType=DIRECT outputName=Fuzzy2Post + +policy state create name=LoadBalancingFuzzyPolicy_Policy stateName=PreExecute triggerName=LoadBalancingFuzzyPolicy_InputEvent defaultTaskName=LoadBalancingFuzzyPolicy_Task_Pre +policy state output create name=LoadBalancingFuzzyPolicy_Policy stateName=PreExecute outputName=Pre2Fuzzy eventName=LoadBalancingFuzzyPolicy_toFuzzy nextState=FuzzyExecute +policy state taskref create name=LoadBalancingFuzzyPolicy_Policy stateName=PreExecute taskName=LoadBalancingFuzzyPolicy_Task_Pre outputType=DIRECT outputName=Pre2Fuzzy |