test_class.declarator: INITIALIZED = false
test_class.modifier: private static
test_class.original_string: private static boolean INITIALIZED = false;
test_class.type: boolean
test_class.var_name: INITIALIZED
test_class.declarator: alienDAO
test_class.modifier: @Resource(name = "alien-es-dao")
      private
test_class.original_string: @Resource(name = "alien-es-dao")
      private IGenericSearchDAO alienDAO;
test_class.type: IGenericSearchDAO
test_class.var_name: alienDAO
test_class.declarator: archiveUploadService
test_class.modifier: @Resource
      private
test_class.original_string: @Resource
      private ArchiveUploadService archiveUploadService;
test_class.type: ArchiveUploadService
test_class.var_name: archiveUploadService
test_class.declarator: treeBuilder
test_class.modifier: @Resource
      private
test_class.original_string: @Resource
      private TopologyTreeBuilderService treeBuilder;
test_class.type: TopologyTreeBuilderService
test_class.var_name: treeBuilder
test_class.declarator: applicationUtil
test_class.modifier: @Resource
      private
test_class.original_string: @Resource
      private ApplicationUtil applicationUtil;
test_class.type: ApplicationUtil
test_class.var_name: applicationUtil
test_class.declarator: alienRepoDir
test_class.modifier: @Value("${directories.alien}/${directories.csar_repository}")
      private
test_class.original_string: @Value("${directories.alien}/${directories.csar_repository}")
      private String alienRepoDir;
test_class.type: String
test_class.var_name: alienRepoDir
test_class.declarator: artifactsDirectory = Paths.get("target/git-artifacts")
test_class.modifier: private
test_class.original_string: private Path artifactsDirectory = Paths.get("target/git-artifacts");
test_class.type: Path
test_class.var_name: artifactsDirectory
test_class.declarator: repositoryManager = new RepositoryManager()
test_class.modifier: private
test_class.original_string: private RepositoryManager repositoryManager = new RepositoryManager();
test_class.type: RepositoryManager
test_class.var_name: repositoryManager
test_class.declarator: builtPaaSNodeTemplates
test_class.modifier: private
test_class.original_string: private Map<String, PaaSNodeTemplate> builtPaaSNodeTemplates;
test_class.type: Map<String, PaaSNodeTemplate>
test_class.var_name: builtPaaSNodeTemplates
test_class.file: alien4cloud-core/src/test/java/alien4cloud/paas/function/FunctionEvaluatorTest.java
test_class.identifier: FunctionEvaluatorTest
test_case.body: @Test(expected = BadUsageKeywordException.class)
      public void getPropertyWrongDefOrUSageTest() throws Throwable {
  
          String computeName = "comp_tomcat_war";
          PaaSNodeTemplate computePaaS = builtPaaSNodeTemplates.get(computeName);
          Operation configOp = computePaaS.getIndexedToscaElement().getInterfaces().get(ToscaNodeLifecycleConstants.STANDARD).getOperations()
                  .get(ToscaNodeLifecycleConstants.CONFIGURE);
  
          // case keyword SOURCE used on a NodeType
          IValue param = configOp.getInputParameters().get("keywordSourceBadUsage");
          try {
              FunctionEvaluator.evaluateGetPropertyFunction((FunctionPropertyValue) param, computePaaS, builtPaaSNodeTemplates);
          } catch (BadUsageKeywordException e) {
              // case keyword TARGET used on a NodeType
              param = configOp.getInputParameters().get("KeywordTargetBadUsage");
              FunctionEvaluator.evaluateGetPropertyFunction((FunctionPropertyValue) param, computePaaS, builtPaaSNodeTemplates);
          }
  
      }
test_case.class_method_signature: FunctionEvaluatorTest.getPropertyWrongDefOrUSageTest()
test_case.full_signature: @Test(expected = BadUsageKeywordException.class) public void getPropertyWrongDefOrUSageTest()
test_case.identifier: getPropertyWrongDefOrUSageTest
test_case.invocations: get get getOperations get getInterfaces getIndexedToscaElement get getInputParameters evaluateGetPropertyFunction get getInputParameters evaluateGetPropertyFunction
test_case.modifiers: @Test(expected = BadUsageKeywordException.class) public
test_case.parameters: ()
test_case.return: void
test_case.signature: void getPropertyWrongDefOrUSageTest()
focal_class.file: alien4cloud-core/src/main/java/alien4cloud/paas/function/FunctionEvaluator.java
focal_class.identifier: FunctionEvaluator
focal_class.class_method_signature: FunctionEvaluator.parseAttribute(String attributeId, IValue attributeValue, Topology topology,
              Map<String, Map<String, InstanceInformation>> runtimeInformations, String currentInstance,
              IPaaSTemplate<? extends AbstractToscaType> basePaaSTemplate, Map<String, PaaSNodeTemplate> builtPaaSTemplates)
focal_class.full_signature: public static String parseAttribute(String attributeId, IValue attributeValue, Topology topology,
              Map<String, Map<String, InstanceInformation>> runtimeInformations, String currentInstance,
              IPaaSTemplate<? extends AbstractToscaType> basePaaSTemplate, Map<String, PaaSNodeTemplate> builtPaaSTemplates)
focal_class.identifier: parseAttribute
focal_class.modifiers: public static
focal_class.parameters: (String attributeId, IValue attributeValue, Topology topology,
              Map<String, Map<String, InstanceInformation>> runtimeInformations, String currentInstance,
              IPaaSTemplate<? extends AbstractToscaType> basePaaSTemplate, Map<String, PaaSNodeTemplate> builtPaaSTemplates)
focal_class.return: String
focal_class.signature: String parseAttribute(String attributeId, IValue attributeValue, Topology topology,
              Map<String, Map<String, InstanceInformation>> runtimeInformations, String currentInstance,
              IPaaSTemplate<? extends AbstractToscaType> basePaaSTemplate, Map<String, PaaSNodeTemplate> builtPaaSTemplates)
focal_class.class_method_signature: FunctionEvaluator.extractRuntimeInformationOperationOutput(Map<String, Map<String, InstanceInformation>> runtimeInformations, String instanceId,
              List<? extends IPaaSTemplate> nodes, FunctionPropertyValue function, String defaultValue)
focal_class.full_signature: private static String extractRuntimeInformationOperationOutput(Map<String, Map<String, InstanceInformation>> runtimeInformations, String instanceId,
              List<? extends IPaaSTemplate> nodes, FunctionPropertyValue function, String defaultValue)
focal_class.identifier: extractRuntimeInformationOperationOutput
focal_class.modifiers: private static
focal_class.parameters: (Map<String, Map<String, InstanceInformation>> runtimeInformations, String instanceId,
              List<? extends IPaaSTemplate> nodes, FunctionPropertyValue function, String defaultValue)
focal_class.return: String
focal_class.signature: String extractRuntimeInformationOperationOutput(Map<String, Map<String, InstanceInformation>> runtimeInformations, String instanceId,
              List<? extends IPaaSTemplate> nodes, FunctionPropertyValue function, String defaultValue)
focal_class.class_method_signature: FunctionEvaluator.extractRuntimeInformationProperty(Topology topology, String propertyOrAttributeName, List<? extends IPaaSTemplate> nodes)
focal_class.full_signature: private static String extractRuntimeInformationProperty(Topology topology, String propertyOrAttributeName, List<? extends IPaaSTemplate> nodes)
focal_class.identifier: extractRuntimeInformationProperty
focal_class.modifiers: private static
focal_class.parameters: (Topology topology, String propertyOrAttributeName, List<? extends IPaaSTemplate> nodes)
focal_class.return: String
focal_class.signature: String extractRuntimeInformationProperty(Topology topology, String propertyOrAttributeName, List<? extends IPaaSTemplate> nodes)
focal_class.class_method_signature: FunctionEvaluator.extractRuntimeInformationAttribute(Map<String, Map<String, InstanceInformation>> runtimeInformations, String currentInstance,
              List<? extends IPaaSTemplate> nodes, String propertyOrAttributeName)
focal_class.full_signature: private static String extractRuntimeInformationAttribute(Map<String, Map<String, InstanceInformation>> runtimeInformations, String currentInstance,
              List<? extends IPaaSTemplate> nodes, String propertyOrAttributeName)
focal_class.identifier: extractRuntimeInformationAttribute
focal_class.modifiers: private static
focal_class.parameters: (Map<String, Map<String, InstanceInformation>> runtimeInformations, String currentInstance,
              List<? extends IPaaSTemplate> nodes, String propertyOrAttributeName)
focal_class.return: String
focal_class.signature: String extractRuntimeInformationAttribute(Map<String, Map<String, InstanceInformation>> runtimeInformations, String currentInstance,
              List<? extends IPaaSTemplate> nodes, String propertyOrAttributeName)
focal_class.class_method_signature: FunctionEvaluator.getPaaSTemplatesFromKeyword(IPaaSTemplate<? extends AbstractToscaType> basePaaSTemplate, String keyword,
              Map<String, PaaSNodeTemplate> builtPaaSTemplates)
focal_class.full_signature: public static List<? extends IPaaSTemplate> getPaaSTemplatesFromKeyword(IPaaSTemplate<? extends AbstractToscaType> basePaaSTemplate, String keyword,
              Map<String, PaaSNodeTemplate> builtPaaSTemplates)
focal_class.identifier: getPaaSTemplatesFromKeyword
focal_class.modifiers: public static
focal_class.parameters: (IPaaSTemplate<? extends AbstractToscaType> basePaaSTemplate, String keyword,
              Map<String, PaaSNodeTemplate> builtPaaSTemplates)
focal_class.return: List<? extends IPaaSTemplate>
focal_class.signature: List<? extends IPaaSTemplate> getPaaSTemplatesFromKeyword(IPaaSTemplate<? extends AbstractToscaType> basePaaSTemplate, String keyword,
              Map<String, PaaSNodeTemplate> builtPaaSTemplates)
focal_class.class_method_signature: FunctionEvaluator.evaluateGetPropertyFunction(FunctionPropertyValue functionParam,
              IPaaSTemplate<? extends AbstractInheritableToscaType> basePaaSTemplate, Map<String, PaaSNodeTemplate> builtPaaSTemplates)
focal_class.full_signature: public static String evaluateGetPropertyFunction(FunctionPropertyValue functionParam,
              IPaaSTemplate<? extends AbstractInheritableToscaType> basePaaSTemplate, Map<String, PaaSNodeTemplate> builtPaaSTemplates)
focal_class.identifier: evaluateGetPropertyFunction
focal_class.modifiers: public static
focal_class.parameters: (FunctionPropertyValue functionParam,
              IPaaSTemplate<? extends AbstractInheritableToscaType> basePaaSTemplate, Map<String, PaaSNodeTemplate> builtPaaSTemplates)
focal_class.return: String
focal_class.signature: String evaluateGetPropertyFunction(FunctionPropertyValue functionParam,
              IPaaSTemplate<? extends AbstractInheritableToscaType> basePaaSTemplate, Map<String, PaaSNodeTemplate> builtPaaSTemplates)
focal_class.class_method_signature: FunctionEvaluator.processGetPropertyFunction(FunctionPropertyValue functionParam,
              IPaaSTemplate<? extends AbstractInheritableToscaType> basePaaSTemplate, Map<String, PaaSNodeTemplate> builtPaaSTemplates)
focal_class.full_signature: public static AbstractPropertyValue processGetPropertyFunction(FunctionPropertyValue functionParam,
              IPaaSTemplate<? extends AbstractInheritableToscaType> basePaaSTemplate, Map<String, PaaSNodeTemplate> builtPaaSTemplates)
focal_class.identifier: processGetPropertyFunction
focal_class.modifiers: public static
focal_class.parameters: (FunctionPropertyValue functionParam,
              IPaaSTemplate<? extends AbstractInheritableToscaType> basePaaSTemplate, Map<String, PaaSNodeTemplate> builtPaaSTemplates)
focal_class.return: AbstractPropertyValue
focal_class.signature: AbstractPropertyValue processGetPropertyFunction(FunctionPropertyValue functionParam,
              IPaaSTemplate<? extends AbstractInheritableToscaType> basePaaSTemplate, Map<String, PaaSNodeTemplate> builtPaaSTemplates)
focal_class.class_method_signature: FunctionEvaluator.getPropertyValue(Map<String, AbstractPropertyValue> properties, Map<String, PropertyDefinition> propertyDefinitions,
              String propertyAccessPath)
focal_class.full_signature: private static AbstractPropertyValue getPropertyValue(Map<String, AbstractPropertyValue> properties, Map<String, PropertyDefinition> propertyDefinitions,
              String propertyAccessPath)
focal_class.identifier: getPropertyValue
focal_class.modifiers: private static
focal_class.parameters: (Map<String, AbstractPropertyValue> properties, Map<String, PropertyDefinition> propertyDefinitions,
              String propertyAccessPath)
focal_class.return: AbstractPropertyValue
focal_class.signature: AbstractPropertyValue getPropertyValue(Map<String, AbstractPropertyValue> properties, Map<String, PropertyDefinition> propertyDefinitions,
              String propertyAccessPath)
focal_class.class_method_signature: FunctionEvaluator.getPropertyFromTemplateOrCapability(IPaaSTemplate<? extends AbstractInheritableToscaType> paaSTemplate,
              String capabilityOrRequirementName, String elementName)
focal_class.full_signature: private static AbstractPropertyValue getPropertyFromTemplateOrCapability(IPaaSTemplate<? extends AbstractInheritableToscaType> paaSTemplate,
              String capabilityOrRequirementName, String elementName)
focal_class.identifier: getPropertyFromTemplateOrCapability
focal_class.modifiers: private static
focal_class.parameters: (IPaaSTemplate<? extends AbstractInheritableToscaType> paaSTemplate,
              String capabilityOrRequirementName, String elementName)
focal_class.return: AbstractPropertyValue
focal_class.signature: AbstractPropertyValue getPropertyFromTemplateOrCapability(IPaaSTemplate<? extends AbstractInheritableToscaType> paaSTemplate,
              String capabilityOrRequirementName, String elementName)
focal_class.class_method_signature: FunctionEvaluator.getPaaSNodeOrFail(String nodeId, Map<String, PaaSNodeTemplate> builtPaaSTemplates)
focal_class.full_signature: private static PaaSNodeTemplate getPaaSNodeOrFail(String nodeId, Map<String, PaaSNodeTemplate> builtPaaSTemplates)
focal_class.identifier: getPaaSNodeOrFail
focal_class.modifiers: private static
focal_class.parameters: (String nodeId, Map<String, PaaSNodeTemplate> builtPaaSTemplates)
focal_class.return: PaaSNodeTemplate
focal_class.signature: PaaSNodeTemplate getPaaSNodeOrFail(String nodeId, Map<String, PaaSNodeTemplate> builtPaaSTemplates)
focal_class.class_method_signature: FunctionEvaluator.getHostNode(IPaaSTemplate<? extends AbstractToscaType> basePaaSTemplate)
focal_class.full_signature: private static PaaSNodeTemplate getHostNode(IPaaSTemplate<? extends AbstractToscaType> basePaaSTemplate)
focal_class.identifier: getHostNode
focal_class.modifiers: private static
focal_class.parameters: (IPaaSTemplate<? extends AbstractToscaType> basePaaSTemplate)
focal_class.return: PaaSNodeTemplate
focal_class.signature: PaaSNodeTemplate getHostNode(IPaaSTemplate<? extends AbstractToscaType> basePaaSTemplate)
focal_class.class_method_signature: FunctionEvaluator.getSourceNode(IPaaSTemplate<? extends AbstractToscaType> basePaaSTemplate,
              Map<String, PaaSNodeTemplate> builtPaaSTemplates)
focal_class.full_signature: private static PaaSNodeTemplate getSourceNode(IPaaSTemplate<? extends AbstractToscaType> basePaaSTemplate,
              Map<String, PaaSNodeTemplate> builtPaaSTemplates)
focal_class.identifier: getSourceNode
focal_class.modifiers: private static
focal_class.parameters: (IPaaSTemplate<? extends AbstractToscaType> basePaaSTemplate,
              Map<String, PaaSNodeTemplate> builtPaaSTemplates)
focal_class.return: PaaSNodeTemplate
focal_class.signature: PaaSNodeTemplate getSourceNode(IPaaSTemplate<? extends AbstractToscaType> basePaaSTemplate,
              Map<String, PaaSNodeTemplate> builtPaaSTemplates)
focal_class.class_method_signature: FunctionEvaluator.getTargetNode(IPaaSTemplate<? extends AbstractToscaType> basePaaSTemplate,
              Map<String, PaaSNodeTemplate> builtPaaSTemplates)
focal_class.full_signature: private static PaaSNodeTemplate getTargetNode(IPaaSTemplate<? extends AbstractToscaType> basePaaSTemplate,
              Map<String, PaaSNodeTemplate> builtPaaSTemplates)
focal_class.identifier: getTargetNode
focal_class.modifiers: private static
focal_class.parameters: (IPaaSTemplate<? extends AbstractToscaType> basePaaSTemplate,
              Map<String, PaaSNodeTemplate> builtPaaSTemplates)
focal_class.return: PaaSNodeTemplate
focal_class.signature: PaaSNodeTemplate getTargetNode(IPaaSTemplate<? extends AbstractToscaType> basePaaSTemplate,
              Map<String, PaaSNodeTemplate> builtPaaSTemplates)
focal_class.class_method_signature: FunctionEvaluator.getWithParentsNodes(final PaaSNodeTemplate paaSNodeTemplate)
focal_class.full_signature: private static List<PaaSNodeTemplate> getWithParentsNodes(final PaaSNodeTemplate paaSNodeTemplate)
focal_class.identifier: getWithParentsNodes
focal_class.modifiers: private static
focal_class.parameters: (final PaaSNodeTemplate paaSNodeTemplate)
focal_class.return: List<PaaSNodeTemplate>
focal_class.signature: List<PaaSNodeTemplate> getWithParentsNodes(final PaaSNodeTemplate paaSNodeTemplate)
focal_class.class_method_signature: FunctionEvaluator.getScalarValues(Map<String, AbstractPropertyValue> propertyValues)
focal_class.full_signature: public static Map<String, String> getScalarValues(Map<String, AbstractPropertyValue> propertyValues)
focal_class.identifier: getScalarValues
focal_class.modifiers: public static
focal_class.parameters: (Map<String, AbstractPropertyValue> propertyValues)
focal_class.return: Map<String, String>
focal_class.signature: Map<String, String> getScalarValues(Map<String, AbstractPropertyValue> propertyValues)
focal_class.class_method_signature: FunctionEvaluator.isGetAttribute(FunctionPropertyValue function)
focal_class.full_signature: public static boolean isGetAttribute(FunctionPropertyValue function)
focal_class.identifier: isGetAttribute
focal_class.modifiers: public static
focal_class.parameters: (FunctionPropertyValue function)
focal_class.return: boolean
focal_class.signature: boolean isGetAttribute(FunctionPropertyValue function)
focal_class.class_method_signature: FunctionEvaluator.isGetOperationOutput(FunctionPropertyValue function)
focal_class.full_signature: public static boolean isGetOperationOutput(FunctionPropertyValue function)
focal_class.identifier: isGetOperationOutput
focal_class.modifiers: public static
focal_class.parameters: (FunctionPropertyValue function)
focal_class.return: boolean
focal_class.signature: boolean isGetOperationOutput(FunctionPropertyValue function)
focal_class.class_method_signature: FunctionEvaluator.isGetInput(AbstractPropertyValue propertyValue)
focal_class.full_signature: public static boolean isGetInput(AbstractPropertyValue propertyValue)
focal_class.identifier: isGetInput
focal_class.modifiers: public static
focal_class.parameters: (AbstractPropertyValue propertyValue)
focal_class.return: boolean
focal_class.signature: boolean isGetInput(AbstractPropertyValue propertyValue)
focal_class.class_method_signature: FunctionEvaluator.isGetInput(FunctionPropertyValue function)
focal_class.full_signature: public static boolean isGetInput(FunctionPropertyValue function)
focal_class.identifier: isGetInput
focal_class.modifiers: public static
focal_class.parameters: (FunctionPropertyValue function)
focal_class.return: boolean
focal_class.signature: boolean isGetInput(FunctionPropertyValue function)
focal_class.class_method_signature: FunctionEvaluator.isGetSecret(AbstractPropertyValue propertyValue)
focal_class.full_signature: public static boolean isGetSecret(AbstractPropertyValue propertyValue)
focal_class.identifier: isGetSecret
focal_class.modifiers: public static
focal_class.parameters: (AbstractPropertyValue propertyValue)
focal_class.return: boolean
focal_class.signature: boolean isGetSecret(AbstractPropertyValue propertyValue)
focal_class.class_method_signature: FunctionEvaluator.isGetSecret(FunctionPropertyValue function)
focal_class.full_signature: public static boolean isGetSecret(FunctionPropertyValue function)
focal_class.identifier: isGetSecret
focal_class.modifiers: public static
focal_class.parameters: (FunctionPropertyValue function)
focal_class.return: boolean
focal_class.signature: boolean isGetSecret(FunctionPropertyValue function)
focal_method.body: public static String evaluateGetPropertyFunction(FunctionPropertyValue functionParam,
              IPaaSTemplate<? extends AbstractInheritableToscaType> basePaaSTemplate, Map<String, PaaSNodeTemplate> builtPaaSTemplates) {
          AbstractPropertyValue propertyValue = processGetPropertyFunction(functionParam, basePaaSTemplate, builtPaaSTemplates);
          if (propertyValue == null) {
              return null;
          } else if (!(propertyValue instanceof PropertyValue)) {
              throw new NotSupportedException("Not a property value " + propertyValue);
          } else {
              return PropertyUtil.serializePropertyValue(propertyValue);
          }
      }
focal_method.class_method_signature: FunctionEvaluator.evaluateGetPropertyFunction(FunctionPropertyValue functionParam,
              IPaaSTemplate<? extends AbstractInheritableToscaType> basePaaSTemplate, Map<String, PaaSNodeTemplate> builtPaaSTemplates)
focal_method.full_signature: public static String evaluateGetPropertyFunction(FunctionPropertyValue functionParam,
              IPaaSTemplate<? extends AbstractInheritableToscaType> basePaaSTemplate, Map<String, PaaSNodeTemplate> builtPaaSTemplates)
focal_method.identifier: evaluateGetPropertyFunction
focal_method.invocations: processGetPropertyFunction serializePropertyValue
focal_method.modifiers: public static
focal_method.parameters: (FunctionPropertyValue functionParam,
              IPaaSTemplate<? extends AbstractInheritableToscaType> basePaaSTemplate, Map<String, PaaSNodeTemplate> builtPaaSTemplates)
focal_method.return: String
focal_method.signature: String evaluateGetPropertyFunction(FunctionPropertyValue functionParam,
              IPaaSTemplate<? extends AbstractInheritableToscaType> basePaaSTemplate, Map<String, PaaSNodeTemplate> builtPaaSTemplates)