{
  "name": "module-using-scripting",
  "description": "This module provides scripts for some test cases",
  "version": "4.0.0",
  "vendor": "MuleSoft",
  "supportedJavaVersions": [
    "1.8",
    "11"
  ],
  "category": "COMMUNITY",
  "xmlDsl": {
    "prefix": "module-using-scripting",
    "namespace": "http://www.mulesoft.org/schema/mule/module-using-scripting",
    "schemaLocation": "http://www.mulesoft.org/schema/mule/module-using-scripting/current/mule-module-using-scripting.xsd",
    "schemaVersion": "4.0.0",
    "xsdFileName": "mule-module-using-scripting.xsd"
  },
  "resources": [],
  "subTypes": [],
  "privilegedPackages": [],
  "privilegedArtifacts": [],
  "externalLibraries": [],
  "importedTypes": [],
  "configurations": [],
  "operations": [
    {
      "blocking": true,
      "executionType": "CPU_LITE",
      "output": {
        "type": {
          "format": "java",
          "type": "String"
        },
        "hasDynamicType": false,
        "description": "Payload\u0027s output",
        "modelProperties": {}
      },
      "outputAttributes": {
        "type": {
          "format": "java",
          "type": "Void"
        },
        "hasDynamicType": false,
        "description": "",
        "modelProperties": {}
      },
      "transactional": false,
      "requiresConnection": false,
      "supportsStreaming": false,
      "notifications": [],
      "nestedComponents": [],
      "errors": [],
      "semanticTerms": [],
      "visibility": "PUBLIC",
      "stereotype": {
        "type": "HANG-CPU-INTENSIVE-THREAD",
        "namespace": "MODULE-USING-SCRIPTING",
        "parent": {
          "type": "PROCESSOR",
          "namespace": "MODULE-USING-SCRIPTING",
          "parent": {
            "type": "PROCESSOR",
            "namespace": "MULE"
          }
        }
      },
      "parameterGroupModels": [
        {
          "parameters": [
            {
              "type": {
                "format": "java",
                "type": "Any"
              },
              "hasDynamicType": false,
              "required": true,
              "isConfigOverride": false,
              "isComponentId": false,
              "fieldValueProviderModels": [],
              "expressionSupport": "SUPPORTED",
              "role": "BEHAVIOUR",
              "dslConfiguration": {
                "allowsInlineDefinition": false,
                "allowsReferences": true,
                "allowTopLevelDefinition": false
              },
              "layoutModel": {
                "password": false,
                "text": false,
                "query": false,
                "order": 1,
                "tabName": "General"
              },
              "allowedStereotypeModels": [],
              "semanticTerms": [],
              "name": "latch",
              "displayModel": {},
              "description": "",
              "modelProperties": {}
            }
          ],
          "exclusiveParametersModels": [],
          "layoutModel": {
            "password": false,
            "text": false,
            "query": false,
            "order": 1
          },
          "showInDsl": false,
          "name": "General",
          "description": "",
          "modelProperties": {}
        },
        {
          "parameters": [
            {
              "type": {
                "format": "java",
                "type": "String"
              },
              "hasDynamicType": false,
              "required": false,
              "isConfigOverride": false,
              "isComponentId": false,
              "fieldValueProviderModels": [],
              "expressionSupport": "NOT_SUPPORTED",
              "role": "BEHAVIOUR",
              "dslConfiguration": {
                "allowsInlineDefinition": false,
                "allowsReferences": false,
                "allowTopLevelDefinition": false
              },
              "layoutModel": {
                "password": false,
                "text": false,
                "query": false,
                "order": 2,
                "tabName": "Advanced"
              },
              "allowedStereotypeModels": [],
              "semanticTerms": [],
              "name": "target",
              "displayModel": {
                "displayName": "Target Variable"
              },
              "description": "The name of a variable on which the operation\u0027s output will be placed",
              "modelProperties": {}
            },
            {
              "type": {
                "format": "java",
                "type": "String"
              },
              "hasDynamicType": false,
              "required": false,
              "isConfigOverride": false,
              "isComponentId": false,
              "fieldValueProviderModels": [],
              "expressionSupport": "REQUIRED",
              "defaultValue": "#[payload]",
              "role": "BEHAVIOUR",
              "dslConfiguration": {
                "allowsInlineDefinition": false,
                "allowsReferences": false,
                "allowTopLevelDefinition": false
              },
              "layoutModel": {
                "password": false,
                "text": false,
                "query": false,
                "order": 3,
                "tabName": "Advanced"
              },
              "allowedStereotypeModels": [],
              "semanticTerms": [],
              "name": "targetValue",
              "displayModel": {
                "displayName": "Target Value"
              },
              "description": "An expression that will be evaluated against the operation\u0027s output and the outcome of that expression will be stored in the target variable",
              "modelProperties": {}
            }
          ],
          "exclusiveParametersModels": [],
          "layoutModel": {
            "password": false,
            "text": false,
            "query": false,
            "order": 2
          },
          "showInDsl": false,
          "name": "Output",
          "description": "",
          "modelProperties": {}
        },
        {
          "parameters": [
            {
              "type": {
                "format": "java",
                "type": "Array",
                "annotations": {
                  "infrastructureType": {},
                  "description": {
                    "value": "Determines that an error thrown by this operation should be mapped to another"
                  },
                  "typeDsl": {
                    "allowInlineDefinition": true,
                    "allowTopLevelDefinition": false
                  }
                },
                "item": {
                  "type": "Object",
                  "annotations": {
                    "typeId": "errorMapping",
                    "infrastructureType": {}
                  },
                  "fields": [
                    {
                      "key": {
                        "name": "source"
                      },
                      "model": {
                        "format": {
                          "id": "text",
                          "label": "Text",
                          "validMimeTypes": [
                            "text/plain"
                          ]
                        },
                        "type": "String",
                        "annotations": {
                          "typeId": "errorTypeMatcher",
                          "enum": {
                            "type": "[Ljava.lang.String;",
                            "values": [
                              "ANY",
                              "REDELIVERY_EXHAUSTED",
                              "TRANSFORMATION",
                              "EXPRESSION",
                              "SECURITY",
                              "CLIENT_SECURITY",
                              "SERVER_SECURITY",
                              "ROUTING",
                              "CONNECTIVITY",
                              "RETRY_EXHAUSTED",
                              "TIMEOUT"
                            ]
                          }
                        }
                      }
                    },
                    {
                      "key": {
                        "name": "target",
                        "required": "true"
                      },
                      "model": {
                        "format": {
                          "id": "text",
                          "label": "Text",
                          "validMimeTypes": [
                            "text/plain"
                          ]
                        },
                        "type": "String",
                        "annotations": {
                          "typeId": "errorTypeDefinition"
                        }
                      }
                    }
                  ]
                }
              },
              "hasDynamicType": false,
              "required": false,
              "isConfigOverride": false,
              "isComponentId": false,
              "fieldValueProviderModels": [],
              "expressionSupport": "NOT_SUPPORTED",
              "role": "BEHAVIOUR",
              "dslConfiguration": {
                "allowsInlineDefinition": true,
                "allowsReferences": false,
                "allowTopLevelDefinition": false
              },
              "layoutModel": {
                "password": false,
                "text": false,
                "query": false,
                "order": 4,
                "tabName": "Error Mapping"
              },
              "allowedStereotypeModels": [],
              "semanticTerms": [],
              "name": "errorMappings",
              "description": "Set of error mappings",
              "modelProperties": {
                "org.mule.runtime.extension.api.property.QNameModelProperty": {
                  "value": {
                    "namespaceURI": "http://www.mulesoft.org/schema/mule/core",
                    "localPart": "error-mappings",
                    "prefix": "mule"
                  }
                },
                "sinceMuleVersion": {
                  "version": "4.4.0"
                },
                "org.mule.runtime.extension.api.property.InfrastructureParameterModelProperty": {
                  "sequence": 12
                }
              }
            }
          ],
          "exclusiveParametersModels": [],
          "layoutModel": {
            "password": false,
            "text": false,
            "query": false,
            "order": 3
          },
          "showInDsl": false,
          "name": "Error Mappings",
          "description": "",
          "modelProperties": {}
        }
      ],
      "name": "hang-cpu-intensive-thread",
      "displayModel": {},
      "description": "Hangs the thread executing the script until a latch in a \u0027latch\u0027 variable is released.",
      "modelProperties": {},
      "kind": "operation"
    }
  ],
  "functions": [],
  "constructs": [],
  "connectionProviders": [],
  "messageSources": [],
  "artifactCoordinates": {
    "artifact id": "smart-connector-using-scripting",
    "group id": "org.mule.tests",
    "version": "4.8.1"
  },
  "notifications": [],
  "errors": [],
  "modelProperties": {
    "org.mule.runtime.extension.api.property.XmlExtensionModelProperty": {
      "namespacesDependencies": [
        "http://www.mulesoft.org/schema/mule/scripting",
        "http://www.mulesoft.org/schema/mule/module",
        "http://www.mulesoft.org/schema/mule/tls",
        "http://www.mulesoft.org/schema/mule/core"
      ]
    }
  },
  "types": []
}
