Skip to content

Instantly share code, notes, and snippets.

@ferencerdei
Created March 7, 2023 12:57
Show Gist options
  • Select an option

  • Save ferencerdei/a3c57853fa29b5c690ba3c2ea51d5154 to your computer and use it in GitHub Desktop.

Select an option

Save ferencerdei/a3c57853fa29b5c690ba3c2ea51d5154 to your computer and use it in GitHub Desktop.
GitHub PR validation CFM Flow
{
"flowContents": {
"identifier": "42063a31-a98b-319f-8617-2086e4b7f30b",
"instanceIdentifier": "a7be953d-0186-1000-5378-dd26f8d2184c",
"name": "Github_PR_Verification_Bot",
"comments": "",
"position": {
"x": 589.4942055903919,
"y": 191.17769189766898
},
"processGroups": [],
"remoteProcessGroups": [],
"processors": [
{
"identifier": "d84dc82c-d7de-31da-9d6f-6053539b3d3e",
"instanceIdentifier": "ad513cce-fb99-38b4-da8a-dd9a11abfc71",
"name": "HasOnlyOneCommit",
"comments": "",
"position": {
"x": 528.0,
"y": 1400.0
},
"type": "org.apache.nifi.processors.standard.RouteOnAttribute",
"bundle": {
"group": "org.apache.nifi",
"artifact": "nifi-standard-nar",
"version": "2.0.0-SNAPSHOT"
},
"properties": {
"Routing Strategy": "Route to 'match' if all match",
"hasOneCommitOnly": "${\"CommitCount\":equals('1')}"
},
"propertyDescriptors": {
"Routing Strategy": {
"name": "Routing Strategy",
"displayName": "Routing Strategy",
"identifiesControllerService": false,
"sensitive": false
},
"hasOneCommitOnly": {
"name": "hasOneCommitOnly",
"displayName": "hasOneCommitOnly",
"identifiesControllerService": false,
"sensitive": false
}
},
"style": {},
"schedulingPeriod": "0 sec",
"schedulingStrategy": "TIMER_DRIVEN",
"executionNode": "ALL",
"penaltyDuration": "30 sec",
"yieldDuration": "1 sec",
"bulletinLevel": "WARN",
"runDurationMillis": 25,
"concurrentlySchedulableTaskCount": 1,
"autoTerminatedRelationships": [],
"scheduledState": "ENABLED",
"retryCount": 10,
"retriedRelationships": [],
"backoffMechanism": "PENALIZE_FLOWFILE",
"maxBackoffPeriod": "10 mins",
"componentType": "PROCESSOR",
"groupIdentifier": "42063a31-a98b-319f-8617-2086e4b7f30b"
},
{
"identifier": "63dc39e7-7fdc-319f-ba5f-8ee93d0b39d2",
"instanceIdentifier": "59b0e271-49a0-3a93-f4cf-d91eaeefa218",
"name": "PrTitleStartsWithJiraID",
"comments": "",
"position": {
"x": 528.0,
"y": 608.0
},
"type": "org.apache.nifi.processors.standard.RouteOnAttribute",
"bundle": {
"group": "org.apache.nifi",
"artifact": "nifi-standard-nar",
"version": "2.0.0-SNAPSHOT"
},
"properties": {
"Routing Strategy": "Route to 'match' if all match",
"prTitleStartsWIthNifi": "${\"PRTitle\":matches('^NIFI-[0-9]+.*')}"
},
"propertyDescriptors": {
"Routing Strategy": {
"name": "Routing Strategy",
"displayName": "Routing Strategy",
"identifiesControllerService": false,
"sensitive": false
},
"prTitleStartsWIthNifi": {
"name": "prTitleStartsWIthNifi",
"displayName": "prTitleStartsWIthNifi",
"identifiesControllerService": false,
"sensitive": false
}
},
"style": {},
"schedulingPeriod": "0 sec",
"schedulingStrategy": "TIMER_DRIVEN",
"executionNode": "ALL",
"penaltyDuration": "30 sec",
"yieldDuration": "1 sec",
"bulletinLevel": "WARN",
"runDurationMillis": 25,
"concurrentlySchedulableTaskCount": 1,
"autoTerminatedRelationships": [],
"scheduledState": "ENABLED",
"retryCount": 10,
"retriedRelationships": [],
"backoffMechanism": "PENALIZE_FLOWFILE",
"maxBackoffPeriod": "10 mins",
"componentType": "PROCESSOR",
"groupIdentifier": "42063a31-a98b-319f-8617-2086e4b7f30b"
},
{
"identifier": "561f0596-6ac7-399f-bf5b-997f9bbe02ef",
"instanceIdentifier": "6cc7f1f9-282d-3328-0a21-d1700b9a713c",
"name": "AddInvalidCommitMessage",
"comments": "",
"position": {
"x": 1216.0,
"y": 1600.0
},
"type": "org.apache.nifi.processors.standard.ReplaceText",
"bundle": {
"group": "org.apache.nifi",
"artifact": "nifi-standard-nar",
"version": "2.0.0-SNAPSHOT"
},
"properties": {
"Regular Expression": ".*",
"Replacement Value": "{\"body\":\"PRTitle and CommitMessage must start with the same Jira ID\"}",
"Evaluation Mode": "Line-by-Line",
"Text to Prepend": null,
"Line-by-Line Evaluation Mode": "All",
"Character Set": "UTF-8",
"Maximum Buffer Size": "1 MB",
"Replacement Strategy": "Always Replace",
"Text to Append": null
},
"propertyDescriptors": {
"Regular Expression": {
"name": "Regular Expression",
"displayName": "Search Value",
"identifiesControllerService": false,
"sensitive": false
},
"Replacement Value": {
"name": "Replacement Value",
"displayName": "Replacement Value",
"identifiesControllerService": false,
"sensitive": false
},
"Evaluation Mode": {
"name": "Evaluation Mode",
"displayName": "Evaluation Mode",
"identifiesControllerService": false,
"sensitive": false
},
"Text to Prepend": {
"name": "Text to Prepend",
"displayName": "Text to Prepend",
"identifiesControllerService": false,
"sensitive": false
},
"Line-by-Line Evaluation Mode": {
"name": "Line-by-Line Evaluation Mode",
"displayName": "Line-by-Line Evaluation Mode",
"identifiesControllerService": false,
"sensitive": false
},
"Character Set": {
"name": "Character Set",
"displayName": "Character Set",
"identifiesControllerService": false,
"sensitive": false
},
"Maximum Buffer Size": {
"name": "Maximum Buffer Size",
"displayName": "Maximum Buffer Size",
"identifiesControllerService": false,
"sensitive": false
},
"Replacement Strategy": {
"name": "Replacement Strategy",
"displayName": "Replacement Strategy",
"identifiesControllerService": false,
"sensitive": false
},
"Text to Append": {
"name": "Text to Append",
"displayName": "Text to Append",
"identifiesControllerService": false,
"sensitive": false
}
},
"style": {},
"schedulingPeriod": "0 sec",
"schedulingStrategy": "TIMER_DRIVEN",
"executionNode": "ALL",
"penaltyDuration": "30 sec",
"yieldDuration": "1 sec",
"bulletinLevel": "WARN",
"runDurationMillis": 25,
"concurrentlySchedulableTaskCount": 1,
"autoTerminatedRelationships": [
"failure"
],
"scheduledState": "ENABLED",
"retryCount": 10,
"retriedRelationships": [],
"backoffMechanism": "PENALIZE_FLOWFILE",
"maxBackoffPeriod": "10 mins",
"componentType": "PROCESSOR",
"groupIdentifier": "42063a31-a98b-319f-8617-2086e4b7f30b"
},
{
"identifier": "7ef3bc75-53af-31cf-bfc1-f7c68c127454",
"instanceIdentifier": "24e2d03e-b043-3bfc-79eb-9eb5e9c01812",
"name": "AddInvalidPrTitleMessage",
"comments": "",
"position": {
"x": 1216.0,
"y": 608.0
},
"type": "org.apache.nifi.processors.standard.ReplaceText",
"bundle": {
"group": "org.apache.nifi",
"artifact": "nifi-standard-nar",
"version": "2.0.0-SNAPSHOT"
},
"properties": {
"Regular Expression": ".*",
"Replacement Value": "{\"body\":\"PR must start with JIRA ID\"}",
"Evaluation Mode": "Line-by-Line",
"Text to Prepend": null,
"Line-by-Line Evaluation Mode": "All",
"Character Set": "UTF-8",
"Maximum Buffer Size": "1 MB",
"Replacement Strategy": "Always Replace",
"Text to Append": null
},
"propertyDescriptors": {
"Regular Expression": {
"name": "Regular Expression",
"displayName": "Search Value",
"identifiesControllerService": false,
"sensitive": false
},
"Replacement Value": {
"name": "Replacement Value",
"displayName": "Replacement Value",
"identifiesControllerService": false,
"sensitive": false
},
"Evaluation Mode": {
"name": "Evaluation Mode",
"displayName": "Evaluation Mode",
"identifiesControllerService": false,
"sensitive": false
},
"Text to Prepend": {
"name": "Text to Prepend",
"displayName": "Text to Prepend",
"identifiesControllerService": false,
"sensitive": false
},
"Line-by-Line Evaluation Mode": {
"name": "Line-by-Line Evaluation Mode",
"displayName": "Line-by-Line Evaluation Mode",
"identifiesControllerService": false,
"sensitive": false
},
"Character Set": {
"name": "Character Set",
"displayName": "Character Set",
"identifiesControllerService": false,
"sensitive": false
},
"Maximum Buffer Size": {
"name": "Maximum Buffer Size",
"displayName": "Maximum Buffer Size",
"identifiesControllerService": false,
"sensitive": false
},
"Replacement Strategy": {
"name": "Replacement Strategy",
"displayName": "Replacement Strategy",
"identifiesControllerService": false,
"sensitive": false
},
"Text to Append": {
"name": "Text to Append",
"displayName": "Text to Append",
"identifiesControllerService": false,
"sensitive": false
}
},
"style": {},
"schedulingPeriod": "0 sec",
"schedulingStrategy": "TIMER_DRIVEN",
"executionNode": "ALL",
"penaltyDuration": "30 sec",
"yieldDuration": "1 sec",
"bulletinLevel": "WARN",
"runDurationMillis": 25,
"concurrentlySchedulableTaskCount": 1,
"autoTerminatedRelationships": [
"failure"
],
"scheduledState": "ENABLED",
"retryCount": 10,
"retriedRelationships": [],
"backoffMechanism": "PENALIZE_FLOWFILE",
"maxBackoffPeriod": "10 mins",
"componentType": "PROCESSOR",
"groupIdentifier": "42063a31-a98b-319f-8617-2086e4b7f30b"
},
{
"identifier": "3284d332-25e2-3f7d-9b9b-6aac4cb22ee0",
"instanceIdentifier": "47aa1121-5665-3380-fcb8-fd7ea844885d",
"name": "PullRequestFilter",
"comments": "",
"position": {
"x": 520.0,
"y": 408.0
},
"type": "org.apache.nifi.processors.standard.RouteOnAttribute",
"bundle": {
"group": "org.apache.nifi",
"artifact": "nifi-standard-nar",
"version": "2.0.0-SNAPSHOT"
},
"properties": {
"Routing Strategy": "Route to 'match' if all match",
"pullRequestEvent": "${X-Github-Event:equals('pull_request'):and(${\"GithubAction\":equals('opened')})}"
},
"propertyDescriptors": {
"Routing Strategy": {
"name": "Routing Strategy",
"displayName": "Routing Strategy",
"identifiesControllerService": false,
"sensitive": false
},
"pullRequestEvent": {
"name": "pullRequestEvent",
"displayName": "pullRequestEvent",
"identifiesControllerService": false,
"sensitive": false
}
},
"style": {},
"schedulingPeriod": "0 sec",
"schedulingStrategy": "TIMER_DRIVEN",
"executionNode": "ALL",
"penaltyDuration": "30 sec",
"yieldDuration": "1 sec",
"bulletinLevel": "WARN",
"runDurationMillis": 25,
"concurrentlySchedulableTaskCount": 1,
"autoTerminatedRelationships": [
"unmatched"
],
"scheduledState": "ENABLED",
"retryCount": 10,
"retriedRelationships": [],
"backoffMechanism": "PENALIZE_FLOWFILE",
"maxBackoffPeriod": "10 mins",
"componentType": "PROCESSOR",
"groupIdentifier": "42063a31-a98b-319f-8617-2086e4b7f30b"
},
{
"identifier": "0e80c04c-7616-3173-ad61-ffef8cca5404",
"instanceIdentifier": "9f0e1b2f-07fa-394d-8c14-e3c445c3b30b",
"name": "ExtractCommitAttributes",
"comments": "",
"position": {
"x": 528.0,
"y": 1200.0
},
"type": "org.apache.nifi.processors.standard.EvaluateJsonPath",
"bundle": {
"group": "org.apache.nifi",
"artifact": "nifi-standard-nar",
"version": "2.0.0-SNAPSHOT"
},
"properties": {
"Destination": "flowfile-attribute",
"CommitCount": "$.length()",
"CommitMessage": "$[0].commit.message",
"Return Type": "scalar",
"Null Value Representation": "empty string",
"Path Not Found Behavior": "ignore"
},
"propertyDescriptors": {
"Destination": {
"name": "Destination",
"displayName": "Destination",
"identifiesControllerService": false,
"sensitive": false
},
"CommitCount": {
"name": "CommitCount",
"displayName": "CommitCount",
"identifiesControllerService": false,
"sensitive": false
},
"CommitMessage": {
"name": "CommitMessage",
"displayName": "CommitMessage",
"identifiesControllerService": false,
"sensitive": false
},
"Return Type": {
"name": "Return Type",
"displayName": "Return Type",
"identifiesControllerService": false,
"sensitive": false
},
"Null Value Representation": {
"name": "Null Value Representation",
"displayName": "Null Value Representation",
"identifiesControllerService": false,
"sensitive": false
},
"Path Not Found Behavior": {
"name": "Path Not Found Behavior",
"displayName": "Path Not Found Behavior",
"identifiesControllerService": false,
"sensitive": false
}
},
"style": {},
"schedulingPeriod": "0 sec",
"schedulingStrategy": "TIMER_DRIVEN",
"executionNode": "ALL",
"penaltyDuration": "30 sec",
"yieldDuration": "1 sec",
"bulletinLevel": "WARN",
"runDurationMillis": 0,
"concurrentlySchedulableTaskCount": 1,
"autoTerminatedRelationships": [
"failure",
"unmatched"
],
"scheduledState": "ENABLED",
"retryCount": 10,
"retriedRelationships": [],
"backoffMechanism": "PENALIZE_FLOWFILE",
"maxBackoffPeriod": "10 mins",
"componentType": "PROCESSOR",
"groupIdentifier": "42063a31-a98b-319f-8617-2086e4b7f30b"
},
{
"identifier": "ec9ae460-f923-3b47-bf09-98b9cad53dbb",
"instanceIdentifier": "6eb96844-2627-3e98-4aa5-54e74965099c",
"name": "JiraTicketExists",
"comments": "",
"position": {
"x": 528.0,
"y": 808.0
},
"type": "org.apache.nifi.processors.standard.InvokeHTTP",
"bundle": {
"group": "org.apache.nifi",
"artifact": "nifi-standard-nar",
"version": "2.0.0-SNAPSHOT"
},
"properties": {
"Attributes to Send": null,
"use-etag": "false",
"proxy-configuration-service": null,
"Proxy Type": "http",
"cookie-strategy": "DISABLED",
"Connection Timeout": "5 secs",
"send-message-body": "true",
"set-form-filename": "true",
"Always Output Response": "false",
"etag-max-cache-size": "10MB",
"Content-Encoding": "DISABLED",
"disable-http2": "False",
"idle-timeout": "5 mins",
"Put Response Body In Attribute": null,
"Use Chunked Encoding": "false",
"Follow Redirects": "True",
"Remote URL": "https://issues.apache.org/jira/browse/${\"PRTitle\":replaceAll('^(NIFI-[0-9]+).*', '$1')}",
"form-body-form-name": null,
"Content-Type": "${mime.type}",
"flow-file-naming-strategy": "RANDOM",
"max-idle-connections": "5",
"Read Timeout": "15 secs",
"Max Length To Put In Attribute": "256",
"ignore-response-content": "false",
"SSL Context Service": null,
"Digest Authentication": "false",
"HTTP Method": "GET",
"Add Response Headers to Request": "false",
"oauth2-access-token-provider": null,
"Basic Authentication Username": null,
"Include Date Header": "True",
"Penalize on \"No Retry\"": "false",
"Useragent": null
},
"propertyDescriptors": {
"Attributes to Send": {
"name": "Attributes to Send",
"displayName": "Request Header Attributes Pattern",
"identifiesControllerService": false,
"sensitive": false
},
"use-etag": {
"name": "use-etag",
"displayName": "Response Cache Enabled",
"identifiesControllerService": false,
"sensitive": false
},
"proxy-configuration-service": {
"name": "proxy-configuration-service",
"displayName": "Proxy Configuration Service",
"identifiesControllerService": true,
"sensitive": false
},
"Proxy Type": {
"name": "Proxy Type",
"displayName": "Proxy Type",
"identifiesControllerService": false,
"sensitive": false
},
"Basic Authentication Password": {
"name": "Basic Authentication Password",
"displayName": "Request Password",
"identifiesControllerService": false,
"sensitive": true
},
"cookie-strategy": {
"name": "cookie-strategy",
"displayName": "Response Cookie Strategy",
"identifiesControllerService": false,
"sensitive": false
},
"Connection Timeout": {
"name": "Connection Timeout",
"displayName": "Socket Connect Timeout",
"identifiesControllerService": false,
"sensitive": false
},
"send-message-body": {
"name": "send-message-body",
"displayName": "Request Body Enabled",
"identifiesControllerService": false,
"sensitive": false
},
"set-form-filename": {
"name": "set-form-filename",
"displayName": "Request Multipart Form-Data Filename Enabled",
"identifiesControllerService": false,
"sensitive": false
},
"Always Output Response": {
"name": "Always Output Response",
"displayName": "Response Generation Required",
"identifiesControllerService": false,
"sensitive": false
},
"etag-max-cache-size": {
"name": "etag-max-cache-size",
"displayName": "Response Cache Size",
"identifiesControllerService": false,
"sensitive": false
},
"Content-Encoding": {
"name": "Content-Encoding",
"displayName": "Request Content-Encoding",
"identifiesControllerService": false,
"sensitive": false
},
"disable-http2": {
"name": "disable-http2",
"displayName": "HTTP/2 Disabled",
"identifiesControllerService": false,
"sensitive": false
},
"idle-timeout": {
"name": "idle-timeout",
"displayName": "Socket Idle Timeout",
"identifiesControllerService": false,
"sensitive": false
},
"Put Response Body In Attribute": {
"name": "Put Response Body In Attribute",
"displayName": "Response Body Attribute Name",
"identifiesControllerService": false,
"sensitive": false
},
"Use Chunked Encoding": {
"name": "Use Chunked Encoding",
"displayName": "Request Chunked Transfer-Encoding Enabled",
"identifiesControllerService": false,
"sensitive": false
},
"Follow Redirects": {
"name": "Follow Redirects",
"displayName": "Response Redirects Enabled",
"identifiesControllerService": false,
"sensitive": false
},
"Remote URL": {
"name": "Remote URL",
"displayName": "HTTP URL",
"identifiesControllerService": false,
"sensitive": false
},
"form-body-form-name": {
"name": "form-body-form-name",
"displayName": "Request Multipart Form-Data Name",
"identifiesControllerService": false,
"sensitive": false
},
"Content-Type": {
"name": "Content-Type",
"displayName": "Request Content-Type",
"identifiesControllerService": false,
"sensitive": false
},
"flow-file-naming-strategy": {
"name": "flow-file-naming-strategy",
"displayName": "Response FlowFile Naming Strategy",
"identifiesControllerService": false,
"sensitive": false
},
"max-idle-connections": {
"name": "max-idle-connections",
"displayName": "Socket Idle Connections",
"identifiesControllerService": false,
"sensitive": false
},
"Read Timeout": {
"name": "Read Timeout",
"displayName": "Socket Read Timeout",
"identifiesControllerService": false,
"sensitive": false
},
"Max Length To Put In Attribute": {
"name": "Max Length To Put In Attribute",
"displayName": "Response Body Attribute Size",
"identifiesControllerService": false,
"sensitive": false
},
"ignore-response-content": {
"name": "ignore-response-content",
"displayName": "Response Body Ignored",
"identifiesControllerService": false,
"sensitive": false
},
"SSL Context Service": {
"name": "SSL Context Service",
"displayName": "SSL Context Service",
"identifiesControllerService": true,
"sensitive": false
},
"Digest Authentication": {
"name": "Digest Authentication",
"displayName": "Request Digest Authentication Enabled",
"identifiesControllerService": false,
"sensitive": false
},
"HTTP Method": {
"name": "HTTP Method",
"displayName": "HTTP Method",
"identifiesControllerService": false,
"sensitive": false
},
"Add Response Headers to Request": {
"name": "Add Response Headers to Request",
"displayName": "Response Header Request Attributes Enabled",
"identifiesControllerService": false,
"sensitive": false
},
"oauth2-access-token-provider": {
"name": "oauth2-access-token-provider",
"displayName": "Request OAuth2 Access Token Provider",
"identifiesControllerService": true,
"sensitive": false
},
"Basic Authentication Username": {
"name": "Basic Authentication Username",
"displayName": "Request Username",
"identifiesControllerService": false,
"sensitive": false
},
"Include Date Header": {
"name": "Include Date Header",
"displayName": "Request Date Header Enabled",
"identifiesControllerService": false,
"sensitive": false
},
"Penalize on \"No Retry\"": {
"name": "Penalize on \"No Retry\"",
"displayName": "Request Failure Penalization Enabled",
"identifiesControllerService": false,
"sensitive": false
},
"Useragent": {
"name": "Useragent",
"displayName": "Request User-Agent",
"identifiesControllerService": false,
"sensitive": false
}
},
"style": {},
"schedulingPeriod": "0 sec",
"schedulingStrategy": "TIMER_DRIVEN",
"executionNode": "ALL",
"penaltyDuration": "30 sec",
"yieldDuration": "1 sec",
"bulletinLevel": "WARN",
"runDurationMillis": 0,
"concurrentlySchedulableTaskCount": 1,
"autoTerminatedRelationships": [
"Retry",
"Original",
"Failure"
],
"scheduledState": "ENABLED",
"retryCount": 10,
"retriedRelationships": [],
"backoffMechanism": "PENALIZE_FLOWFILE",
"maxBackoffPeriod": "10 mins",
"componentType": "PROCESSOR",
"groupIdentifier": "42063a31-a98b-319f-8617-2086e4b7f30b"
},
{
"identifier": "c43965be-3a59-3212-b290-b3d87e0d5e23",
"instanceIdentifier": "a15ad072-8c96-39b9-ff83-101bf0cde605",
"name": "VerifySignature",
"comments": "",
"position": {
"x": -272.0,
"y": 288.0
},
"type": "org.apache.nifi.processors.cipher.VerifyContentMAC",
"bundle": {
"group": "org.apache.nifi",
"artifact": "nifi-cipher-nar",
"version": "2.0.0-SNAPSHOT"
},
"properties": {
"secret-key-encoding": "UTF8",
"mac-algorithm": "HmacSHA256",
"message-authentication-code": "saads",
"message-authentication-code-encoding": "HEXADECIMAL"
},
"propertyDescriptors": {
"secret-key-encoding": {
"name": "secret-key-encoding",
"displayName": "Secret Key Encoding",
"identifiesControllerService": false,
"sensitive": false
},
"mac-algorithm": {
"name": "mac-algorithm",
"displayName": "Message Authentication Code Algorithm",
"identifiesControllerService": false,
"sensitive": false
},
"secret-key": {
"name": "secret-key",
"displayName": "Secret Key",
"identifiesControllerService": false,
"sensitive": true
},
"message-authentication-code": {
"name": "message-authentication-code",
"displayName": "Message Authentication Code",
"identifiesControllerService": false,
"sensitive": false
},
"message-authentication-code-encoding": {
"name": "message-authentication-code-encoding",
"displayName": "Message Authentication Code Encoding",
"identifiesControllerService": false,
"sensitive": false
}
},
"style": {},
"schedulingPeriod": "0 sec",
"schedulingStrategy": "TIMER_DRIVEN",
"executionNode": "ALL",
"penaltyDuration": "30 sec",
"yieldDuration": "1 sec",
"bulletinLevel": "WARN",
"runDurationMillis": 0,
"concurrentlySchedulableTaskCount": 1,
"autoTerminatedRelationships": [
"failure"
],
"scheduledState": "ENABLED",
"retryCount": 10,
"retriedRelationships": [],
"backoffMechanism": "PENALIZE_FLOWFILE",
"maxBackoffPeriod": "10 mins",
"componentType": "PROCESSOR",
"groupIdentifier": "42063a31-a98b-319f-8617-2086e4b7f30b"
},
{
"identifier": "87c6c343-d2cb-30bb-883f-c71db49b5161",
"instanceIdentifier": "5d990008-afe8-3869-c6b3-e84ee92c8f84",
"name": "FetchPRCommits",
"comments": "",
"position": {
"x": 528.0,
"y": 1000.0
},
"type": "org.apache.nifi.processors.standard.InvokeHTTP",
"bundle": {
"group": "org.apache.nifi",
"artifact": "nifi-standard-nar",
"version": "2.0.0-SNAPSHOT"
},
"properties": {
"Attributes to Send": null,
"use-etag": "false",
"proxy-configuration-service": null,
"Proxy Type": "http",
"cookie-strategy": "DISABLED",
"Connection Timeout": "5 secs",
"send-message-body": "true",
"set-form-filename": "true",
"Always Output Response": "false",
"etag-max-cache-size": "10MB",
"Content-Encoding": "DISABLED",
"disable-http2": "False",
"idle-timeout": "5 mins",
"Put Response Body In Attribute": null,
"Use Chunked Encoding": "false",
"Follow Redirects": "True",
"Remote URL": "${\"CommitsUrl\"}",
"form-body-form-name": null,
"Content-Type": "${mime.type}",
"flow-file-naming-strategy": "RANDOM",
"max-idle-connections": "5",
"Read Timeout": "15 secs",
"Max Length To Put In Attribute": "256",
"ignore-response-content": "false",
"SSL Context Service": null,
"Digest Authentication": "false",
"HTTP Method": "GET",
"Add Response Headers to Request": "false",
"oauth2-access-token-provider": null,
"Basic Authentication Username": null,
"Include Date Header": "True",
"Penalize on \"No Retry\"": "false",
"Useragent": null
},
"propertyDescriptors": {
"Attributes to Send": {
"name": "Attributes to Send",
"displayName": "Request Header Attributes Pattern",
"identifiesControllerService": false,
"sensitive": false
},
"use-etag": {
"name": "use-etag",
"displayName": "Response Cache Enabled",
"identifiesControllerService": false,
"sensitive": false
},
"proxy-configuration-service": {
"name": "proxy-configuration-service",
"displayName": "Proxy Configuration Service",
"identifiesControllerService": true,
"sensitive": false
},
"Proxy Type": {
"name": "Proxy Type",
"displayName": "Proxy Type",
"identifiesControllerService": false,
"sensitive": false
},
"Basic Authentication Password": {
"name": "Basic Authentication Password",
"displayName": "Request Password",
"identifiesControllerService": false,
"sensitive": true
},
"cookie-strategy": {
"name": "cookie-strategy",
"displayName": "Response Cookie Strategy",
"identifiesControllerService": false,
"sensitive": false
},
"Connection Timeout": {
"name": "Connection Timeout",
"displayName": "Socket Connect Timeout",
"identifiesControllerService": false,
"sensitive": false
},
"send-message-body": {
"name": "send-message-body",
"displayName": "Request Body Enabled",
"identifiesControllerService": false,
"sensitive": false
},
"set-form-filename": {
"name": "set-form-filename",
"displayName": "Request Multipart Form-Data Filename Enabled",
"identifiesControllerService": false,
"sensitive": false
},
"Always Output Response": {
"name": "Always Output Response",
"displayName": "Response Generation Required",
"identifiesControllerService": false,
"sensitive": false
},
"etag-max-cache-size": {
"name": "etag-max-cache-size",
"displayName": "Response Cache Size",
"identifiesControllerService": false,
"sensitive": false
},
"Content-Encoding": {
"name": "Content-Encoding",
"displayName": "Request Content-Encoding",
"identifiesControllerService": false,
"sensitive": false
},
"disable-http2": {
"name": "disable-http2",
"displayName": "HTTP/2 Disabled",
"identifiesControllerService": false,
"sensitive": false
},
"idle-timeout": {
"name": "idle-timeout",
"displayName": "Socket Idle Timeout",
"identifiesControllerService": false,
"sensitive": false
},
"Put Response Body In Attribute": {
"name": "Put Response Body In Attribute",
"displayName": "Response Body Attribute Name",
"identifiesControllerService": false,
"sensitive": false
},
"Use Chunked Encoding": {
"name": "Use Chunked Encoding",
"displayName": "Request Chunked Transfer-Encoding Enabled",
"identifiesControllerService": false,
"sensitive": false
},
"Follow Redirects": {
"name": "Follow Redirects",
"displayName": "Response Redirects Enabled",
"identifiesControllerService": false,
"sensitive": false
},
"Remote URL": {
"name": "Remote URL",
"displayName": "HTTP URL",
"identifiesControllerService": false,
"sensitive": false
},
"form-body-form-name": {
"name": "form-body-form-name",
"displayName": "Request Multipart Form-Data Name",
"identifiesControllerService": false,
"sensitive": false
},
"Content-Type": {
"name": "Content-Type",
"displayName": "Request Content-Type",
"identifiesControllerService": false,
"sensitive": false
},
"flow-file-naming-strategy": {
"name": "flow-file-naming-strategy",
"displayName": "Response FlowFile Naming Strategy",
"identifiesControllerService": false,
"sensitive": false
},
"max-idle-connections": {
"name": "max-idle-connections",
"displayName": "Socket Idle Connections",
"identifiesControllerService": false,
"sensitive": false
},
"Read Timeout": {
"name": "Read Timeout",
"displayName": "Socket Read Timeout",
"identifiesControllerService": false,
"sensitive": false
},
"Max Length To Put In Attribute": {
"name": "Max Length To Put In Attribute",
"displayName": "Response Body Attribute Size",
"identifiesControllerService": false,
"sensitive": false
},
"ignore-response-content": {
"name": "ignore-response-content",
"displayName": "Response Body Ignored",
"identifiesControllerService": false,
"sensitive": false
},
"SSL Context Service": {
"name": "SSL Context Service",
"displayName": "SSL Context Service",
"identifiesControllerService": true,
"sensitive": false
},
"Digest Authentication": {
"name": "Digest Authentication",
"displayName": "Request Digest Authentication Enabled",
"identifiesControllerService": false,
"sensitive": false
},
"HTTP Method": {
"name": "HTTP Method",
"displayName": "HTTP Method",
"identifiesControllerService": false,
"sensitive": false
},
"Add Response Headers to Request": {
"name": "Add Response Headers to Request",
"displayName": "Response Header Request Attributes Enabled",
"identifiesControllerService": false,
"sensitive": false
},
"oauth2-access-token-provider": {
"name": "oauth2-access-token-provider",
"displayName": "Request OAuth2 Access Token Provider",
"identifiesControllerService": true,
"sensitive": false
},
"Basic Authentication Username": {
"name": "Basic Authentication Username",
"displayName": "Request Username",
"identifiesControllerService": false,
"sensitive": false
},
"Include Date Header": {
"name": "Include Date Header",
"displayName": "Request Date Header Enabled",
"identifiesControllerService": false,
"sensitive": false
},
"Penalize on \"No Retry\"": {
"name": "Penalize on \"No Retry\"",
"displayName": "Request Failure Penalization Enabled",
"identifiesControllerService": false,
"sensitive": false
},
"Useragent": {
"name": "Useragent",
"displayName": "Request User-Agent",
"identifiesControllerService": false,
"sensitive": false
}
},
"style": {},
"schedulingPeriod": "0 sec",
"schedulingStrategy": "TIMER_DRIVEN",
"executionNode": "ALL",
"penaltyDuration": "30 sec",
"yieldDuration": "1 sec",
"bulletinLevel": "WARN",
"runDurationMillis": 0,
"concurrentlySchedulableTaskCount": 1,
"autoTerminatedRelationships": [
"No Retry",
"Retry",
"Original",
"Failure"
],
"scheduledState": "ENABLED",
"retryCount": 10,
"retriedRelationships": [],
"backoffMechanism": "PENALIZE_FLOWFILE",
"maxBackoffPeriod": "10 mins",
"componentType": "PROCESSOR",
"groupIdentifier": "42063a31-a98b-319f-8617-2086e4b7f30b"
},
{
"identifier": "7a4503d2-a39a-35f0-9f57-246f1d148af5",
"instanceIdentifier": "79ea45d2-88ca-36fa-72d6-1f7ba462c94e",
"name": "AddGitPRComment",
"comments": "",
"position": {
"x": 1880.0,
"y": 1672.0
},
"type": "org.apache.nifi.processors.standard.InvokeHTTP",
"bundle": {
"group": "org.apache.nifi",
"artifact": "nifi-standard-nar",
"version": "2.0.0-SNAPSHOT"
},
"properties": {
"Attributes to Send": null,
"use-etag": "false",
"proxy-configuration-service": null,
"cookie-strategy": "DISABLED",
"Connection Timeout": "5 secs",
"send-message-body": "true",
"set-form-filename": "true",
"Always Output Response": "false",
"etag-max-cache-size": "10MB",
"Content-Encoding": "DISABLED",
"disable-http2": "False",
"idle-timeout": "5 mins",
"Put Response Body In Attribute": null,
"Use Chunked Encoding": "false",
"Follow Redirects": "True",
"Remote URL": "${\"CommentsUrl\"}",
"form-body-form-name": null,
"Content-Type": "${mime.type}",
"flow-file-naming-strategy": "RANDOM",
"max-idle-connections": "5",
"Read Timeout": "15 secs",
"Max Length To Put In Attribute": "256",
"ignore-response-content": "false",
"SSL Context Service": null,
"Digest Authentication": "false",
"HTTP Method": "POST",
"Add Response Headers to Request": "false",
"oauth2-access-token-provider": null,
"Basic Authentication Username": null,
"Include Date Header": "True",
"Penalize on \"No Retry\"": "false",
"Useragent": null
},
"propertyDescriptors": {
"Attributes to Send": {
"name": "Attributes to Send",
"displayName": "Request Header Attributes Pattern",
"identifiesControllerService": false,
"sensitive": false
},
"use-etag": {
"name": "use-etag",
"displayName": "Response Cache Enabled",
"identifiesControllerService": false,
"sensitive": false
},
"proxy-configuration-service": {
"name": "proxy-configuration-service",
"displayName": "Proxy Configuration Service",
"identifiesControllerService": true,
"sensitive": false
},
"Basic Authentication Password": {
"name": "Basic Authentication Password",
"displayName": "Request Password",
"identifiesControllerService": false,
"sensitive": true
},
"cookie-strategy": {
"name": "cookie-strategy",
"displayName": "Response Cookie Strategy",
"identifiesControllerService": false,
"sensitive": false
},
"Connection Timeout": {
"name": "Connection Timeout",
"displayName": "Socket Connect Timeout",
"identifiesControllerService": false,
"sensitive": false
},
"send-message-body": {
"name": "send-message-body",
"displayName": "Request Body Enabled",
"identifiesControllerService": false,
"sensitive": false
},
"Authorization": {
"name": "Authorization",
"displayName": "Authorization",
"identifiesControllerService": false,
"sensitive": true
},
"set-form-filename": {
"name": "set-form-filename",
"displayName": "Request Multipart Form-Data Filename Enabled",
"identifiesControllerService": false,
"sensitive": false
},
"Always Output Response": {
"name": "Always Output Response",
"displayName": "Response Generation Required",
"identifiesControllerService": false,
"sensitive": false
},
"etag-max-cache-size": {
"name": "etag-max-cache-size",
"displayName": "Response Cache Size",
"identifiesControllerService": false,
"sensitive": false
},
"Content-Encoding": {
"name": "Content-Encoding",
"displayName": "Request Content-Encoding",
"identifiesControllerService": false,
"sensitive": false
},
"disable-http2": {
"name": "disable-http2",
"displayName": "HTTP/2 Disabled",
"identifiesControllerService": false,
"sensitive": false
},
"idle-timeout": {
"name": "idle-timeout",
"displayName": "Socket Idle Timeout",
"identifiesControllerService": false,
"sensitive": false
},
"Put Response Body In Attribute": {
"name": "Put Response Body In Attribute",
"displayName": "Response Body Attribute Name",
"identifiesControllerService": false,
"sensitive": false
},
"Use Chunked Encoding": {
"name": "Use Chunked Encoding",
"displayName": "Request Chunked Transfer-Encoding Enabled",
"identifiesControllerService": false,
"sensitive": false
},
"Follow Redirects": {
"name": "Follow Redirects",
"displayName": "Response Redirects Enabled",
"identifiesControllerService": false,
"sensitive": false
},
"Remote URL": {
"name": "Remote URL",
"displayName": "HTTP URL",
"identifiesControllerService": false,
"sensitive": false
},
"form-body-form-name": {
"name": "form-body-form-name",
"displayName": "Request Multipart Form-Data Name",
"identifiesControllerService": false,
"sensitive": false
},
"Content-Type": {
"name": "Content-Type",
"displayName": "Request Content-Type",
"identifiesControllerService": false,
"sensitive": false
},
"flow-file-naming-strategy": {
"name": "flow-file-naming-strategy",
"displayName": "Response FlowFile Naming Strategy",
"identifiesControllerService": false,
"sensitive": false
},
"max-idle-connections": {
"name": "max-idle-connections",
"displayName": "Socket Idle Connections",
"identifiesControllerService": false,
"sensitive": false
},
"Read Timeout": {
"name": "Read Timeout",
"displayName": "Socket Read Timeout",
"identifiesControllerService": false,
"sensitive": false
},
"Max Length To Put In Attribute": {
"name": "Max Length To Put In Attribute",
"displayName": "Response Body Attribute Size",
"identifiesControllerService": false,
"sensitive": false
},
"ignore-response-content": {
"name": "ignore-response-content",
"displayName": "Response Body Ignored",
"identifiesControllerService": false,
"sensitive": false
},
"SSL Context Service": {
"name": "SSL Context Service",
"displayName": "SSL Context Service",
"identifiesControllerService": true,
"sensitive": false
},
"Digest Authentication": {
"name": "Digest Authentication",
"displayName": "Request Digest Authentication Enabled",
"identifiesControllerService": false,
"sensitive": false
},
"HTTP Method": {
"name": "HTTP Method",
"displayName": "HTTP Method",
"identifiesControllerService": false,
"sensitive": false
},
"Add Response Headers to Request": {
"name": "Add Response Headers to Request",
"displayName": "Response Header Request Attributes Enabled",
"identifiesControllerService": false,
"sensitive": false
},
"oauth2-access-token-provider": {
"name": "oauth2-access-token-provider",
"displayName": "Request OAuth2 Access Token Provider",
"identifiesControllerService": true,
"sensitive": false
},
"Basic Authentication Username": {
"name": "Basic Authentication Username",
"displayName": "Request Username",
"identifiesControllerService": false,
"sensitive": false
},
"Include Date Header": {
"name": "Include Date Header",
"displayName": "Request Date Header Enabled",
"identifiesControllerService": false,
"sensitive": false
},
"Penalize on \"No Retry\"": {
"name": "Penalize on \"No Retry\"",
"displayName": "Request Failure Penalization Enabled",
"identifiesControllerService": false,
"sensitive": false
},
"Useragent": {
"name": "Useragent",
"displayName": "Request User-Agent",
"identifiesControllerService": false,
"sensitive": false
}
},
"style": {},
"schedulingPeriod": "0 sec",
"schedulingStrategy": "TIMER_DRIVEN",
"executionNode": "ALL",
"penaltyDuration": "30 sec",
"yieldDuration": "1 sec",
"bulletinLevel": "WARN",
"runDurationMillis": 0,
"concurrentlySchedulableTaskCount": 1,
"autoTerminatedRelationships": [
"Response",
"No Retry",
"Retry",
"Original",
"Failure"
],
"scheduledState": "ENABLED",
"retryCount": 10,
"retriedRelationships": [],
"backoffMechanism": "PENALIZE_FLOWFILE",
"maxBackoffPeriod": "10 mins",
"componentType": "PROCESSOR",
"groupIdentifier": "42063a31-a98b-319f-8617-2086e4b7f30b"
},
{
"identifier": "f2e0f436-0946-3cc9-841c-93e7a0c5a1e3",
"instanceIdentifier": "0de2e999-b0c0-3bcc-d8b4-be76bba1bf3f",
"name": "ListenGitWebhookRequest",
"comments": "",
"position": {
"x": -632.0,
"y": 288.0
},
"type": "org.apache.nifi.processors.standard.ListenHTTP",
"bundle": {
"group": "org.apache.nifi",
"artifact": "nifi-standard-nar",
"version": "2.0.0-SNAPSHOT"
},
"properties": {
"authorized-issuer-dn-pattern": ".*",
"multipart-request-max-size": "1 MB",
"record-writer": null,
"HTTP Protocols": "HTTP_1_1",
"HTTP Headers to receive as Attributes (Regex)": "X-Hub-Signature-256|X-Github-Event",
"health-check-port": null,
"Authorized DN Pattern": ".*",
"max-thread-pool-size": "200",
"Base Path": "webhook",
"multipart-read-buffer-size": "512 KB",
"SSL Context Service": null,
"Max Unconfirmed Flowfile Time": "60 secs",
"Max Data to Receive per Second": null,
"client-authentication": "AUTO",
"Return Code": "200",
"record-reader": null,
"Listening Port": "6969"
},
"propertyDescriptors": {
"authorized-issuer-dn-pattern": {
"name": "authorized-issuer-dn-pattern",
"displayName": "Authorized Issuer DN Pattern",
"identifiesControllerService": false,
"sensitive": false
},
"multipart-request-max-size": {
"name": "multipart-request-max-size",
"displayName": "Multipart Request Max Size",
"identifiesControllerService": false,
"sensitive": false
},
"record-writer": {
"name": "record-writer",
"displayName": "Record Writer",
"identifiesControllerService": true,
"sensitive": false
},
"HTTP Protocols": {
"name": "HTTP Protocols",
"displayName": "HTTP Protocols",
"identifiesControllerService": false,
"sensitive": false
},
"HTTP Headers to receive as Attributes (Regex)": {
"name": "HTTP Headers to receive as Attributes (Regex)",
"displayName": "HTTP Headers to receive as Attributes (Regex)",
"identifiesControllerService": false,
"sensitive": false
},
"health-check-port": {
"name": "health-check-port",
"displayName": "Listening Port for Health Check Requests",
"identifiesControllerService": false,
"sensitive": false
},
"Authorized DN Pattern": {
"name": "Authorized DN Pattern",
"displayName": "Authorized Subject DN Pattern",
"identifiesControllerService": false,
"sensitive": false
},
"max-thread-pool-size": {
"name": "max-thread-pool-size",
"displayName": "Maximum Thread Pool Size",
"identifiesControllerService": false,
"sensitive": false
},
"Base Path": {
"name": "Base Path",
"displayName": "Base Path",
"identifiesControllerService": false,
"sensitive": false
},
"multipart-read-buffer-size": {
"name": "multipart-read-buffer-size",
"displayName": "Multipart Read Buffer Size",
"identifiesControllerService": false,
"sensitive": false
},
"SSL Context Service": {
"name": "SSL Context Service",
"displayName": "SSL Context Service",
"identifiesControllerService": true,
"sensitive": false
},
"Max Unconfirmed Flowfile Time": {
"name": "Max Unconfirmed Flowfile Time",
"displayName": "Max Unconfirmed Flowfile Time",
"identifiesControllerService": false,
"sensitive": false
},
"Max Data to Receive per Second": {
"name": "Max Data to Receive per Second",
"displayName": "Max Data to Receive per Second",
"identifiesControllerService": false,
"sensitive": false
},
"client-authentication": {
"name": "client-authentication",
"displayName": "Client Authentication",
"identifiesControllerService": false,
"sensitive": false
},
"Return Code": {
"name": "Return Code",
"displayName": "Return Code",
"identifiesControllerService": false,
"sensitive": false
},
"record-reader": {
"name": "record-reader",
"displayName": "Record Reader",
"identifiesControllerService": true,
"sensitive": false
},
"Listening Port": {
"name": "Listening Port",
"displayName": "Listening Port",
"identifiesControllerService": false,
"sensitive": false
}
},
"style": {},
"schedulingPeriod": "0 sec",
"schedulingStrategy": "TIMER_DRIVEN",
"executionNode": "ALL",
"penaltyDuration": "30 sec",
"yieldDuration": "1 sec",
"bulletinLevel": "WARN",
"runDurationMillis": 0,
"concurrentlySchedulableTaskCount": 1,
"autoTerminatedRelationships": [],
"scheduledState": "ENABLED",
"retryCount": 10,
"retriedRelationships": [],
"backoffMechanism": "PENALIZE_FLOWFILE",
"maxBackoffPeriod": "10 mins",
"componentType": "PROCESSOR",
"groupIdentifier": "42063a31-a98b-319f-8617-2086e4b7f30b"
},
{
"identifier": "00ce2f91-15bb-31b8-8efa-378f48b0f9aa",
"instanceIdentifier": "013dd72e-8949-38ae-dbbe-c79f0fa6dfd8",
"name": "ValidateCommitMessage",
"comments": "",
"position": {
"x": 528.0,
"y": 1600.0
},
"type": "org.apache.nifi.processors.standard.RouteOnAttribute",
"bundle": {
"group": "org.apache.nifi",
"artifact": "nifi-standard-nar",
"version": "2.0.0-SNAPSHOT"
},
"properties": {
"commitMessageIscorrect": "${\"PRTitle\":replaceAll('^(NIFI-[0-9]+).*', '$1'):equals(${\"CommitMessage\":replaceAll('^(NIFI-[0-9]+).*', '$1')})}",
"Routing Strategy": "Route to 'match' if all match"
},
"propertyDescriptors": {
"commitMessageIscorrect": {
"name": "commitMessageIscorrect",
"displayName": "commitMessageIscorrect",
"identifiesControllerService": false,
"sensitive": false
},
"Routing Strategy": {
"name": "Routing Strategy",
"displayName": "Routing Strategy",
"identifiesControllerService": false,
"sensitive": false
}
},
"style": {},
"schedulingPeriod": "0 sec",
"schedulingStrategy": "TIMER_DRIVEN",
"executionNode": "ALL",
"penaltyDuration": "30 sec",
"yieldDuration": "1 sec",
"bulletinLevel": "WARN",
"runDurationMillis": 25,
"concurrentlySchedulableTaskCount": 1,
"autoTerminatedRelationships": [],
"scheduledState": "ENABLED",
"retryCount": 10,
"retriedRelationships": [],
"backoffMechanism": "PENALIZE_FLOWFILE",
"maxBackoffPeriod": "10 mins",
"componentType": "PROCESSOR",
"groupIdentifier": "42063a31-a98b-319f-8617-2086e4b7f30b"
},
{
"identifier": "00c06aa0-939b-368d-9ce4-6f3afbf68aca",
"instanceIdentifier": "55efe9b3-d5a3-3b47-f9ec-ed91196633b3",
"name": "AddJiraTicketNotFoundMessage",
"comments": "",
"position": {
"x": 1216.0,
"y": 808.0
},
"type": "org.apache.nifi.processors.standard.ReplaceText",
"bundle": {
"group": "org.apache.nifi",
"artifact": "nifi-standard-nar",
"version": "2.0.0-SNAPSHOT"
},
"properties": {
"Regular Expression": ".*",
"Replacement Value": "{\"body\":\"The given Jira ticket does not exists\"}",
"Evaluation Mode": "Line-by-Line",
"Text to Prepend": null,
"Line-by-Line Evaluation Mode": "All",
"Character Set": "UTF-8",
"Maximum Buffer Size": "1 MB",
"Replacement Strategy": "Always Replace",
"Text to Append": null
},
"propertyDescriptors": {
"Regular Expression": {
"name": "Regular Expression",
"displayName": "Search Value",
"identifiesControllerService": false,
"sensitive": false
},
"Replacement Value": {
"name": "Replacement Value",
"displayName": "Replacement Value",
"identifiesControllerService": false,
"sensitive": false
},
"Evaluation Mode": {
"name": "Evaluation Mode",
"displayName": "Evaluation Mode",
"identifiesControllerService": false,
"sensitive": false
},
"Text to Prepend": {
"name": "Text to Prepend",
"displayName": "Text to Prepend",
"identifiesControllerService": false,
"sensitive": false
},
"Line-by-Line Evaluation Mode": {
"name": "Line-by-Line Evaluation Mode",
"displayName": "Line-by-Line Evaluation Mode",
"identifiesControllerService": false,
"sensitive": false
},
"Character Set": {
"name": "Character Set",
"displayName": "Character Set",
"identifiesControllerService": false,
"sensitive": false
},
"Maximum Buffer Size": {
"name": "Maximum Buffer Size",
"displayName": "Maximum Buffer Size",
"identifiesControllerService": false,
"sensitive": false
},
"Replacement Strategy": {
"name": "Replacement Strategy",
"displayName": "Replacement Strategy",
"identifiesControllerService": false,
"sensitive": false
},
"Text to Append": {
"name": "Text to Append",
"displayName": "Text to Append",
"identifiesControllerService": false,
"sensitive": false
}
},
"style": {},
"schedulingPeriod": "0 sec",
"schedulingStrategy": "TIMER_DRIVEN",
"executionNode": "ALL",
"penaltyDuration": "30 sec",
"yieldDuration": "1 sec",
"bulletinLevel": "WARN",
"runDurationMillis": 25,
"concurrentlySchedulableTaskCount": 1,
"autoTerminatedRelationships": [
"failure"
],
"scheduledState": "ENABLED",
"retryCount": 10,
"retriedRelationships": [],
"backoffMechanism": "PENALIZE_FLOWFILE",
"maxBackoffPeriod": "10 mins",
"componentType": "PROCESSOR",
"groupIdentifier": "42063a31-a98b-319f-8617-2086e4b7f30b"
},
{
"identifier": "7d19843d-1366-3969-a8ef-cf5fd5407c22",
"instanceIdentifier": "195bffbe-7722-3028-7a9b-af2aacf3a762",
"name": "ExtractGitAttributes",
"comments": "",
"position": {
"x": 88.0,
"y": 288.0
},
"type": "org.apache.nifi.processors.standard.EvaluateJsonPath",
"bundle": {
"group": "org.apache.nifi",
"artifact": "nifi-standard-nar",
"version": "2.0.0-SNAPSHOT"
},
"properties": {
"Destination": "flowfile-attribute",
"CommitsUrl": "$.pull_request.commits_url",
"CommentsUrl": "$.pull_request.comments_url",
"Return Type": "scalar",
"PRTitle": "$.pull_request.title",
"PRID": "$.pull_request.number",
"Null Value Representation": "empty string",
"GithubAction": "$.action",
"Path Not Found Behavior": "ignore"
},
"propertyDescriptors": {
"Destination": {
"name": "Destination",
"displayName": "Destination",
"identifiesControllerService": false,
"sensitive": false
},
"CommitsUrl": {
"name": "CommitsUrl",
"displayName": "CommitsUrl",
"identifiesControllerService": false,
"sensitive": false
},
"CommentsUrl": {
"name": "CommentsUrl",
"displayName": "CommentsUrl",
"identifiesControllerService": false,
"sensitive": false
},
"Return Type": {
"name": "Return Type",
"displayName": "Return Type",
"identifiesControllerService": false,
"sensitive": false
},
"PRTitle": {
"name": "PRTitle",
"displayName": "PRTitle",
"identifiesControllerService": false,
"sensitive": false
},
"PRID": {
"name": "PRID",
"displayName": "PRID",
"identifiesControllerService": false,
"sensitive": false
},
"Null Value Representation": {
"name": "Null Value Representation",
"displayName": "Null Value Representation",
"identifiesControllerService": false,
"sensitive": false
},
"GithubAction": {
"name": "GithubAction",
"displayName": "GithubAction",
"identifiesControllerService": false,
"sensitive": false
},
"Path Not Found Behavior": {
"name": "Path Not Found Behavior",
"displayName": "Path Not Found Behavior",
"identifiesControllerService": false,
"sensitive": false
}
},
"style": {},
"schedulingPeriod": "0 sec",
"schedulingStrategy": "TIMER_DRIVEN",
"executionNode": "ALL",
"penaltyDuration": "30 sec",
"yieldDuration": "1 sec",
"bulletinLevel": "WARN",
"runDurationMillis": 0,
"concurrentlySchedulableTaskCount": 1,
"autoTerminatedRelationships": [
"failure",
"unmatched"
],
"scheduledState": "ENABLED",
"retryCount": 10,
"retriedRelationships": [],
"backoffMechanism": "PENALIZE_FLOWFILE",
"maxBackoffPeriod": "10 mins",
"componentType": "PROCESSOR",
"groupIdentifier": "42063a31-a98b-319f-8617-2086e4b7f30b"
},
{
"identifier": "1d20dfc1-5e24-3065-9448-638dc959f76e",
"instanceIdentifier": "ddcccda1-4b10-35a6-7dca-29f36f752d52",
"name": "AddSuccessMessage",
"comments": "",
"position": {
"x": 1216.0,
"y": 1744.0
},
"type": "org.apache.nifi.processors.standard.ReplaceText",
"bundle": {
"group": "org.apache.nifi",
"artifact": "nifi-standard-nar",
"version": "2.0.0-SNAPSHOT"
},
"properties": {
"Regular Expression": ".*",
"Replacement Value": "{\"body\":\"Thanks For The Contribution\"}",
"Evaluation Mode": "Line-by-Line",
"Text to Prepend": null,
"Line-by-Line Evaluation Mode": "All",
"Character Set": "UTF-8",
"Maximum Buffer Size": "1 MB",
"Replacement Strategy": "Always Replace",
"Text to Append": null
},
"propertyDescriptors": {
"Regular Expression": {
"name": "Regular Expression",
"displayName": "Search Value",
"identifiesControllerService": false,
"sensitive": false
},
"Replacement Value": {
"name": "Replacement Value",
"displayName": "Replacement Value",
"identifiesControllerService": false,
"sensitive": false
},
"Evaluation Mode": {
"name": "Evaluation Mode",
"displayName": "Evaluation Mode",
"identifiesControllerService": false,
"sensitive": false
},
"Text to Prepend": {
"name": "Text to Prepend",
"displayName": "Text to Prepend",
"identifiesControllerService": false,
"sensitive": false
},
"Line-by-Line Evaluation Mode": {
"name": "Line-by-Line Evaluation Mode",
"displayName": "Line-by-Line Evaluation Mode",
"identifiesControllerService": false,
"sensitive": false
},
"Character Set": {
"name": "Character Set",
"displayName": "Character Set",
"identifiesControllerService": false,
"sensitive": false
},
"Maximum Buffer Size": {
"name": "Maximum Buffer Size",
"displayName": "Maximum Buffer Size",
"identifiesControllerService": false,
"sensitive": false
},
"Replacement Strategy": {
"name": "Replacement Strategy",
"displayName": "Replacement Strategy",
"identifiesControllerService": false,
"sensitive": false
},
"Text to Append": {
"name": "Text to Append",
"displayName": "Text to Append",
"identifiesControllerService": false,
"sensitive": false
}
},
"style": {},
"schedulingPeriod": "0 sec",
"schedulingStrategy": "TIMER_DRIVEN",
"executionNode": "ALL",
"penaltyDuration": "30 sec",
"yieldDuration": "1 sec",
"bulletinLevel": "WARN",
"runDurationMillis": 25,
"concurrentlySchedulableTaskCount": 1,
"autoTerminatedRelationships": [
"failure"
],
"scheduledState": "ENABLED",
"retryCount": 10,
"retriedRelationships": [],
"backoffMechanism": "PENALIZE_FLOWFILE",
"maxBackoffPeriod": "10 mins",
"componentType": "PROCESSOR",
"groupIdentifier": "42063a31-a98b-319f-8617-2086e4b7f30b"
},
{
"identifier": "6e2c43bf-07ca-34e4-955c-d032aa466759",
"instanceIdentifier": "a6b1046b-3e1e-3068-c250-c0474bdfd496",
"name": "AddMultipleCommitErrorMessage",
"comments": "",
"position": {
"x": 1216.0,
"y": 1400.0
},
"type": "org.apache.nifi.processors.standard.ReplaceText",
"bundle": {
"group": "org.apache.nifi",
"artifact": "nifi-standard-nar",
"version": "2.0.0-SNAPSHOT"
},
"properties": {
"Regular Expression": ".*",
"Replacement Value": "{\"body\":\"Each PR should contain only 1 commit, Please rebase and squash your commits\"}",
"Evaluation Mode": "Line-by-Line",
"Text to Prepend": null,
"Line-by-Line Evaluation Mode": "All",
"Character Set": "UTF-8",
"Maximum Buffer Size": "1 MB",
"Replacement Strategy": "Always Replace",
"Text to Append": null
},
"propertyDescriptors": {
"Regular Expression": {
"name": "Regular Expression",
"displayName": "Search Value",
"identifiesControllerService": false,
"sensitive": false
},
"Replacement Value": {
"name": "Replacement Value",
"displayName": "Replacement Value",
"identifiesControllerService": false,
"sensitive": false
},
"Evaluation Mode": {
"name": "Evaluation Mode",
"displayName": "Evaluation Mode",
"identifiesControllerService": false,
"sensitive": false
},
"Text to Prepend": {
"name": "Text to Prepend",
"displayName": "Text to Prepend",
"identifiesControllerService": false,
"sensitive": false
},
"Line-by-Line Evaluation Mode": {
"name": "Line-by-Line Evaluation Mode",
"displayName": "Line-by-Line Evaluation Mode",
"identifiesControllerService": false,
"sensitive": false
},
"Character Set": {
"name": "Character Set",
"displayName": "Character Set",
"identifiesControllerService": false,
"sensitive": false
},
"Maximum Buffer Size": {
"name": "Maximum Buffer Size",
"displayName": "Maximum Buffer Size",
"identifiesControllerService": false,
"sensitive": false
},
"Replacement Strategy": {
"name": "Replacement Strategy",
"displayName": "Replacement Strategy",
"identifiesControllerService": false,
"sensitive": false
},
"Text to Append": {
"name": "Text to Append",
"displayName": "Text to Append",
"identifiesControllerService": false,
"sensitive": false
}
},
"style": {},
"schedulingPeriod": "0 sec",
"schedulingStrategy": "TIMER_DRIVEN",
"executionNode": "ALL",
"penaltyDuration": "30 sec",
"yieldDuration": "1 sec",
"bulletinLevel": "WARN",
"runDurationMillis": 25,
"concurrentlySchedulableTaskCount": 1,
"autoTerminatedRelationships": [
"failure"
],
"scheduledState": "ENABLED",
"retryCount": 10,
"retriedRelationships": [],
"backoffMechanism": "PENALIZE_FLOWFILE",
"maxBackoffPeriod": "10 mins",
"componentType": "PROCESSOR",
"groupIdentifier": "42063a31-a98b-319f-8617-2086e4b7f30b"
}
],
"inputPorts": [],
"outputPorts": [],
"connections": [
{
"identifier": "cff73dfa-2b66-32bd-b768-97e307499a9c",
"instanceIdentifier": "f9cf5c59-5f4e-32ba-282e-a7cd53a10655",
"name": "",
"source": {
"id": "00ce2f91-15bb-31b8-8efa-378f48b0f9aa",
"type": "PROCESSOR",
"groupId": "42063a31-a98b-319f-8617-2086e4b7f30b",
"name": "ValidateCommitMessage",
"comments": "",
"instanceIdentifier": "013dd72e-8949-38ae-dbbe-c79f0fa6dfd8"
},
"destination": {
"id": "561f0596-6ac7-399f-bf5b-997f9bbe02ef",
"type": "PROCESSOR",
"groupId": "42063a31-a98b-319f-8617-2086e4b7f30b",
"name": "AddInvalidCommitMessage",
"comments": "",
"instanceIdentifier": "6cc7f1f9-282d-3328-0a21-d1700b9a713c"
},
"labelIndex": 1,
"zIndex": 0,
"selectedRelationships": [
"unmatched"
],
"backPressureObjectThreshold": 10000,
"backPressureDataSizeThreshold": "1 GB",
"flowFileExpiration": "0 sec",
"prioritizers": [],
"bends": [],
"loadBalanceStrategy": "DO_NOT_LOAD_BALANCE",
"partitioningAttribute": "",
"loadBalanceCompression": "DO_NOT_COMPRESS",
"componentType": "CONNECTION",
"groupIdentifier": "42063a31-a98b-319f-8617-2086e4b7f30b"
},
{
"identifier": "b16f0acb-2f13-3efb-915d-3c689b0a20a0",
"instanceIdentifier": "9b777941-bde7-3a74-9d6b-c6a390d8ea74",
"name": "",
"source": {
"id": "63dc39e7-7fdc-319f-ba5f-8ee93d0b39d2",
"type": "PROCESSOR",
"groupId": "42063a31-a98b-319f-8617-2086e4b7f30b",
"name": "PrTitleStartsWithJiraID",
"comments": "",
"instanceIdentifier": "59b0e271-49a0-3a93-f4cf-d91eaeefa218"
},
"destination": {
"id": "ec9ae460-f923-3b47-bf09-98b9cad53dbb",
"type": "PROCESSOR",
"groupId": "42063a31-a98b-319f-8617-2086e4b7f30b",
"name": "JiraTicketExists",
"comments": "",
"instanceIdentifier": "6eb96844-2627-3e98-4aa5-54e74965099c"
},
"labelIndex": 1,
"zIndex": 0,
"selectedRelationships": [
"matched"
],
"backPressureObjectThreshold": 10000,
"backPressureDataSizeThreshold": "1 GB",
"flowFileExpiration": "0 sec",
"prioritizers": [],
"bends": [],
"loadBalanceStrategy": "DO_NOT_LOAD_BALANCE",
"partitioningAttribute": "",
"loadBalanceCompression": "DO_NOT_COMPRESS",
"componentType": "CONNECTION",
"groupIdentifier": "42063a31-a98b-319f-8617-2086e4b7f30b"
},
{
"identifier": "b94ad13b-149e-364d-ab46-7b04319f2ba9",
"instanceIdentifier": "a0c5c18d-7fc9-32ae-7d19-797692577585",
"name": "",
"source": {
"id": "d84dc82c-d7de-31da-9d6f-6053539b3d3e",
"type": "PROCESSOR",
"groupId": "42063a31-a98b-319f-8617-2086e4b7f30b",
"name": "HasOnlyOneCommit",
"comments": "",
"instanceIdentifier": "ad513cce-fb99-38b4-da8a-dd9a11abfc71"
},
"destination": {
"id": "6e2c43bf-07ca-34e4-955c-d032aa466759",
"type": "PROCESSOR",
"groupId": "42063a31-a98b-319f-8617-2086e4b7f30b",
"name": "AddMultipleCommitErrorMessage",
"comments": "",
"instanceIdentifier": "a6b1046b-3e1e-3068-c250-c0474bdfd496"
},
"labelIndex": 1,
"zIndex": 0,
"selectedRelationships": [
"unmatched"
],
"backPressureObjectThreshold": 10000,
"backPressureDataSizeThreshold": "1 GB",
"flowFileExpiration": "0 sec",
"prioritizers": [],
"bends": [],
"loadBalanceStrategy": "DO_NOT_LOAD_BALANCE",
"partitioningAttribute": "",
"loadBalanceCompression": "DO_NOT_COMPRESS",
"componentType": "CONNECTION",
"groupIdentifier": "42063a31-a98b-319f-8617-2086e4b7f30b"
},
{
"identifier": "2c168d3c-2415-3a97-baca-983feb981399",
"instanceIdentifier": "cc8f5431-44d6-30b8-f399-ef715f265521",
"name": "",
"source": {
"id": "6e2c43bf-07ca-34e4-955c-d032aa466759",
"type": "PROCESSOR",
"groupId": "42063a31-a98b-319f-8617-2086e4b7f30b",
"name": "AddMultipleCommitErrorMessage",
"comments": "",
"instanceIdentifier": "a6b1046b-3e1e-3068-c250-c0474bdfd496"
},
"destination": {
"id": "7a4503d2-a39a-35f0-9f57-246f1d148af5",
"type": "PROCESSOR",
"groupId": "42063a31-a98b-319f-8617-2086e4b7f30b",
"name": "AddGitPRComment",
"comments": "",
"instanceIdentifier": "79ea45d2-88ca-36fa-72d6-1f7ba462c94e"
},
"labelIndex": 0,
"zIndex": 0,
"selectedRelationships": [
"success"
],
"backPressureObjectThreshold": 10000,
"backPressureDataSizeThreshold": "1 GB",
"flowFileExpiration": "0 sec",
"prioritizers": [],
"bends": [
{
"x": 1704.0,
"y": 1464.0
},
{
"x": 2056.0,
"y": 1464.0
}
],
"loadBalanceStrategy": "DO_NOT_LOAD_BALANCE",
"partitioningAttribute": "",
"loadBalanceCompression": "DO_NOT_COMPRESS",
"componentType": "CONNECTION",
"groupIdentifier": "42063a31-a98b-319f-8617-2086e4b7f30b"
},
{
"identifier": "b1556b61-4feb-31b3-aacd-d2871320480b",
"instanceIdentifier": "af94d73a-431a-3883-47da-835656306cc7",
"name": "",
"source": {
"id": "87c6c343-d2cb-30bb-883f-c71db49b5161",
"type": "PROCESSOR",
"groupId": "42063a31-a98b-319f-8617-2086e4b7f30b",
"name": "FetchPRCommits",
"comments": "",
"instanceIdentifier": "5d990008-afe8-3869-c6b3-e84ee92c8f84"
},
"destination": {
"id": "0e80c04c-7616-3173-ad61-ffef8cca5404",
"type": "PROCESSOR",
"groupId": "42063a31-a98b-319f-8617-2086e4b7f30b",
"name": "ExtractCommitAttributes",
"comments": "",
"instanceIdentifier": "9f0e1b2f-07fa-394d-8c14-e3c445c3b30b"
},
"labelIndex": 1,
"zIndex": 0,
"selectedRelationships": [
"Response"
],
"backPressureObjectThreshold": 10000,
"backPressureDataSizeThreshold": "1 GB",
"flowFileExpiration": "0 sec",
"prioritizers": [],
"bends": [],
"loadBalanceStrategy": "DO_NOT_LOAD_BALANCE",
"partitioningAttribute": "",
"loadBalanceCompression": "DO_NOT_COMPRESS",
"componentType": "CONNECTION",
"groupIdentifier": "42063a31-a98b-319f-8617-2086e4b7f30b"
},
{
"identifier": "c52a8d0c-4ad1-3a81-8edd-2cea9188d8e2",
"instanceIdentifier": "7d969792-7fd5-398d-6b89-46c4271bbac4",
"name": "",
"source": {
"id": "00c06aa0-939b-368d-9ce4-6f3afbf68aca",
"type": "PROCESSOR",
"groupId": "42063a31-a98b-319f-8617-2086e4b7f30b",
"name": "AddJiraTicketNotFoundMessage",
"comments": "",
"instanceIdentifier": "55efe9b3-d5a3-3b47-f9ec-ed91196633b3"
},
"destination": {
"id": "7a4503d2-a39a-35f0-9f57-246f1d148af5",
"type": "PROCESSOR",
"groupId": "42063a31-a98b-319f-8617-2086e4b7f30b",
"name": "AddGitPRComment",
"comments": "",
"instanceIdentifier": "79ea45d2-88ca-36fa-72d6-1f7ba462c94e"
},
"labelIndex": 0,
"zIndex": 0,
"selectedRelationships": [
"success"
],
"backPressureObjectThreshold": 10000,
"backPressureDataSizeThreshold": "1 GB",
"flowFileExpiration": "0 sec",
"prioritizers": [],
"bends": [
{
"x": 1744.0,
"y": 872.0
},
{
"x": 2056.0,
"y": 872.0
}
],
"loadBalanceStrategy": "DO_NOT_LOAD_BALANCE",
"partitioningAttribute": "",
"loadBalanceCompression": "DO_NOT_COMPRESS",
"componentType": "CONNECTION",
"groupIdentifier": "42063a31-a98b-319f-8617-2086e4b7f30b"
},
{
"identifier": "9ae08cfe-3886-3b04-a8ab-fcdeb2e7e298",
"instanceIdentifier": "5774b6cb-f049-3d37-8865-639b38360a4d",
"name": "",
"source": {
"id": "d84dc82c-d7de-31da-9d6f-6053539b3d3e",
"type": "PROCESSOR",
"groupId": "42063a31-a98b-319f-8617-2086e4b7f30b",
"name": "HasOnlyOneCommit",
"comments": "",
"instanceIdentifier": "ad513cce-fb99-38b4-da8a-dd9a11abfc71"
},
"destination": {
"id": "00ce2f91-15bb-31b8-8efa-378f48b0f9aa",
"type": "PROCESSOR",
"groupId": "42063a31-a98b-319f-8617-2086e4b7f30b",
"name": "ValidateCommitMessage",
"comments": "",
"instanceIdentifier": "013dd72e-8949-38ae-dbbe-c79f0fa6dfd8"
},
"labelIndex": 1,
"zIndex": 0,
"selectedRelationships": [
"matched"
],
"backPressureObjectThreshold": 10000,
"backPressureDataSizeThreshold": "1 GB",
"flowFileExpiration": "0 sec",
"prioritizers": [],
"bends": [],
"loadBalanceStrategy": "DO_NOT_LOAD_BALANCE",
"partitioningAttribute": "",
"loadBalanceCompression": "DO_NOT_COMPRESS",
"componentType": "CONNECTION",
"groupIdentifier": "42063a31-a98b-319f-8617-2086e4b7f30b"
},
{
"identifier": "dbe187bf-4a89-361d-834c-bd1b71206597",
"instanceIdentifier": "6dc705ef-7d69-3673-429e-f986551cd437",
"name": "",
"source": {
"id": "ec9ae460-f923-3b47-bf09-98b9cad53dbb",
"type": "PROCESSOR",
"groupId": "42063a31-a98b-319f-8617-2086e4b7f30b",
"name": "JiraTicketExists",
"comments": "",
"instanceIdentifier": "6eb96844-2627-3e98-4aa5-54e74965099c"
},
"destination": {
"id": "87c6c343-d2cb-30bb-883f-c71db49b5161",
"type": "PROCESSOR",
"groupId": "42063a31-a98b-319f-8617-2086e4b7f30b",
"name": "FetchPRCommits",
"comments": "",
"instanceIdentifier": "5d990008-afe8-3869-c6b3-e84ee92c8f84"
},
"labelIndex": 1,
"zIndex": 0,
"selectedRelationships": [
"Response"
],
"backPressureObjectThreshold": 10000,
"backPressureDataSizeThreshold": "1 GB",
"flowFileExpiration": "0 sec",
"prioritizers": [],
"bends": [],
"loadBalanceStrategy": "DO_NOT_LOAD_BALANCE",
"partitioningAttribute": "",
"loadBalanceCompression": "DO_NOT_COMPRESS",
"componentType": "CONNECTION",
"groupIdentifier": "42063a31-a98b-319f-8617-2086e4b7f30b"
},
{
"identifier": "b4751a9e-d90a-3171-970c-d8d258429ca0",
"instanceIdentifier": "4c2c0ef9-b3bb-37f6-4727-4ca314f43c35",
"name": "",
"source": {
"id": "561f0596-6ac7-399f-bf5b-997f9bbe02ef",
"type": "PROCESSOR",
"groupId": "42063a31-a98b-319f-8617-2086e4b7f30b",
"name": "AddInvalidCommitMessage",
"comments": "",
"instanceIdentifier": "6cc7f1f9-282d-3328-0a21-d1700b9a713c"
},
"destination": {
"id": "7a4503d2-a39a-35f0-9f57-246f1d148af5",
"type": "PROCESSOR",
"groupId": "42063a31-a98b-319f-8617-2086e4b7f30b",
"name": "AddGitPRComment",
"comments": "",
"instanceIdentifier": "79ea45d2-88ca-36fa-72d6-1f7ba462c94e"
},
"labelIndex": 1,
"zIndex": 0,
"selectedRelationships": [
"success"
],
"backPressureObjectThreshold": 10000,
"backPressureDataSizeThreshold": "1 GB",
"flowFileExpiration": "0 sec",
"prioritizers": [],
"bends": [],
"loadBalanceStrategy": "DO_NOT_LOAD_BALANCE",
"partitioningAttribute": "",
"loadBalanceCompression": "DO_NOT_COMPRESS",
"componentType": "CONNECTION",
"groupIdentifier": "42063a31-a98b-319f-8617-2086e4b7f30b"
},
{
"identifier": "a0b545a9-8eef-3832-8ca8-4cf7ec7989b0",
"instanceIdentifier": "08055b4e-7bdf-3186-3ada-53e3cfebb55f",
"name": "",
"source": {
"id": "f2e0f436-0946-3cc9-841c-93e7a0c5a1e3",
"type": "PROCESSOR",
"groupId": "42063a31-a98b-319f-8617-2086e4b7f30b",
"name": "ListenGitWebhookRequest",
"comments": "",
"instanceIdentifier": "0de2e999-b0c0-3bcc-d8b4-be76bba1bf3f"
},
"destination": {
"id": "c43965be-3a59-3212-b290-b3d87e0d5e23",
"type": "PROCESSOR",
"groupId": "42063a31-a98b-319f-8617-2086e4b7f30b",
"name": "VerifySignature",
"comments": "",
"instanceIdentifier": "a15ad072-8c96-39b9-ff83-101bf0cde605"
},
"labelIndex": 0,
"zIndex": 0,
"selectedRelationships": [
"success"
],
"backPressureObjectThreshold": 10000,
"backPressureDataSizeThreshold": "1 GB",
"flowFileExpiration": "0 sec",
"prioritizers": [],
"bends": [
{
"x": -328.0,
"y": 472.0
}
],
"loadBalanceStrategy": "DO_NOT_LOAD_BALANCE",
"partitioningAttribute": "",
"loadBalanceCompression": "DO_NOT_COMPRESS",
"componentType": "CONNECTION",
"groupIdentifier": "42063a31-a98b-319f-8617-2086e4b7f30b"
},
{
"identifier": "c762f9e4-48f2-3136-982b-76b416a46b9b",
"instanceIdentifier": "b06e3717-8c22-3fd4-105f-8d40a1de4990",
"name": "",
"source": {
"id": "ec9ae460-f923-3b47-bf09-98b9cad53dbb",
"type": "PROCESSOR",
"groupId": "42063a31-a98b-319f-8617-2086e4b7f30b",
"name": "JiraTicketExists",
"comments": "",
"instanceIdentifier": "6eb96844-2627-3e98-4aa5-54e74965099c"
},
"destination": {
"id": "00c06aa0-939b-368d-9ce4-6f3afbf68aca",
"type": "PROCESSOR",
"groupId": "42063a31-a98b-319f-8617-2086e4b7f30b",
"name": "AddJiraTicketNotFoundMessage",
"comments": "",
"instanceIdentifier": "55efe9b3-d5a3-3b47-f9ec-ed91196633b3"
},
"labelIndex": 1,
"zIndex": 0,
"selectedRelationships": [
"No Retry"
],
"backPressureObjectThreshold": 10000,
"backPressureDataSizeThreshold": "1 GB",
"flowFileExpiration": "0 sec",
"prioritizers": [],
"bends": [],
"loadBalanceStrategy": "DO_NOT_LOAD_BALANCE",
"partitioningAttribute": "",
"loadBalanceCompression": "DO_NOT_COMPRESS",
"componentType": "CONNECTION",
"groupIdentifier": "42063a31-a98b-319f-8617-2086e4b7f30b"
},
{
"identifier": "fced1f56-19d0-3137-abdb-4975681fbdb0",
"instanceIdentifier": "9304e671-68b3-3709-2698-3730a8751496",
"name": "",
"source": {
"id": "1d20dfc1-5e24-3065-9448-638dc959f76e",
"type": "PROCESSOR",
"groupId": "42063a31-a98b-319f-8617-2086e4b7f30b",
"name": "AddSuccessMessage",
"comments": "",
"instanceIdentifier": "ddcccda1-4b10-35a6-7dca-29f36f752d52"
},
"destination": {
"id": "7a4503d2-a39a-35f0-9f57-246f1d148af5",
"type": "PROCESSOR",
"groupId": "42063a31-a98b-319f-8617-2086e4b7f30b",
"name": "AddGitPRComment",
"comments": "",
"instanceIdentifier": "79ea45d2-88ca-36fa-72d6-1f7ba462c94e"
},
"labelIndex": 1,
"zIndex": 0,
"selectedRelationships": [
"success"
],
"backPressureObjectThreshold": 10000,
"backPressureDataSizeThreshold": "1 GB",
"flowFileExpiration": "0 sec",
"prioritizers": [],
"bends": [],
"loadBalanceStrategy": "DO_NOT_LOAD_BALANCE",
"partitioningAttribute": "",
"loadBalanceCompression": "DO_NOT_COMPRESS",
"componentType": "CONNECTION",
"groupIdentifier": "42063a31-a98b-319f-8617-2086e4b7f30b"
},
{
"identifier": "d3996d81-2954-39d2-9381-cfe7e91ec016",
"instanceIdentifier": "5c513b80-aa5e-39e7-3c2d-a9cac1aa514b",
"name": "",
"source": {
"id": "3284d332-25e2-3f7d-9b9b-6aac4cb22ee0",
"type": "PROCESSOR",
"groupId": "42063a31-a98b-319f-8617-2086e4b7f30b",
"name": "PullRequestFilter",
"comments": "",
"instanceIdentifier": "47aa1121-5665-3380-fcb8-fd7ea844885d"
},
"destination": {
"id": "63dc39e7-7fdc-319f-ba5f-8ee93d0b39d2",
"type": "PROCESSOR",
"groupId": "42063a31-a98b-319f-8617-2086e4b7f30b",
"name": "PrTitleStartsWithJiraID",
"comments": "",
"instanceIdentifier": "59b0e271-49a0-3a93-f4cf-d91eaeefa218"
},
"labelIndex": 1,
"zIndex": 0,
"selectedRelationships": [
"matched"
],
"backPressureObjectThreshold": 10000,
"backPressureDataSizeThreshold": "1 GB",
"flowFileExpiration": "0 sec",
"prioritizers": [],
"bends": [],
"loadBalanceStrategy": "DO_NOT_LOAD_BALANCE",
"partitioningAttribute": "",
"loadBalanceCompression": "DO_NOT_COMPRESS",
"componentType": "CONNECTION",
"groupIdentifier": "42063a31-a98b-319f-8617-2086e4b7f30b"
},
{
"identifier": "c9fbcdd1-467a-3e08-a3a4-006606f1df5c",
"instanceIdentifier": "74191058-169b-3b5c-99f3-9a329ef0eb03",
"name": "",
"source": {
"id": "00ce2f91-15bb-31b8-8efa-378f48b0f9aa",
"type": "PROCESSOR",
"groupId": "42063a31-a98b-319f-8617-2086e4b7f30b",
"name": "ValidateCommitMessage",
"comments": "",
"instanceIdentifier": "013dd72e-8949-38ae-dbbe-c79f0fa6dfd8"
},
"destination": {
"id": "1d20dfc1-5e24-3065-9448-638dc959f76e",
"type": "PROCESSOR",
"groupId": "42063a31-a98b-319f-8617-2086e4b7f30b",
"name": "AddSuccessMessage",
"comments": "",
"instanceIdentifier": "ddcccda1-4b10-35a6-7dca-29f36f752d52"
},
"labelIndex": 0,
"zIndex": 0,
"selectedRelationships": [
"matched"
],
"backPressureObjectThreshold": 10000,
"backPressureDataSizeThreshold": "1 GB",
"flowFileExpiration": "0 sec",
"prioritizers": [],
"bends": [
{
"x": 704.0,
"y": 1808.0
}
],
"loadBalanceStrategy": "DO_NOT_LOAD_BALANCE",
"partitioningAttribute": "",
"loadBalanceCompression": "DO_NOT_COMPRESS",
"componentType": "CONNECTION",
"groupIdentifier": "42063a31-a98b-319f-8617-2086e4b7f30b"
},
{
"identifier": "e20932d7-c4aa-3e69-a77d-675b981bda9e",
"instanceIdentifier": "ee6552a6-afcf-3294-e8fd-45c77f9d28ad",
"name": "",
"source": {
"id": "7ef3bc75-53af-31cf-bfc1-f7c68c127454",
"type": "PROCESSOR",
"groupId": "42063a31-a98b-319f-8617-2086e4b7f30b",
"name": "AddInvalidPrTitleMessage",
"comments": "",
"instanceIdentifier": "24e2d03e-b043-3bfc-79eb-9eb5e9c01812"
},
"destination": {
"id": "7a4503d2-a39a-35f0-9f57-246f1d148af5",
"type": "PROCESSOR",
"groupId": "42063a31-a98b-319f-8617-2086e4b7f30b",
"name": "AddGitPRComment",
"comments": "",
"instanceIdentifier": "79ea45d2-88ca-36fa-72d6-1f7ba462c94e"
},
"labelIndex": 0,
"zIndex": 0,
"selectedRelationships": [
"success"
],
"backPressureObjectThreshold": 10000,
"backPressureDataSizeThreshold": "1 GB",
"flowFileExpiration": "0 sec",
"prioritizers": [],
"bends": [
{
"x": 1744.0,
"y": 672.0
},
{
"x": 2056.0,
"y": 672.0
}
],
"loadBalanceStrategy": "DO_NOT_LOAD_BALANCE",
"partitioningAttribute": "",
"loadBalanceCompression": "DO_NOT_COMPRESS",
"componentType": "CONNECTION",
"groupIdentifier": "42063a31-a98b-319f-8617-2086e4b7f30b"
},
{
"identifier": "a740aceb-7f09-3b01-a70f-bb176e88cb95",
"instanceIdentifier": "400ac93d-53dc-379a-0fef-e72fe150ffeb",
"name": "",
"source": {
"id": "0e80c04c-7616-3173-ad61-ffef8cca5404",
"type": "PROCESSOR",
"groupId": "42063a31-a98b-319f-8617-2086e4b7f30b",
"name": "ExtractCommitAttributes",
"comments": "",
"instanceIdentifier": "9f0e1b2f-07fa-394d-8c14-e3c445c3b30b"
},
"destination": {
"id": "d84dc82c-d7de-31da-9d6f-6053539b3d3e",
"type": "PROCESSOR",
"groupId": "42063a31-a98b-319f-8617-2086e4b7f30b",
"name": "HasOnlyOneCommit",
"comments": "",
"instanceIdentifier": "ad513cce-fb99-38b4-da8a-dd9a11abfc71"
},
"labelIndex": 1,
"zIndex": 0,
"selectedRelationships": [
"matched"
],
"backPressureObjectThreshold": 10000,
"backPressureDataSizeThreshold": "1 GB",
"flowFileExpiration": "0 sec",
"prioritizers": [],
"bends": [],
"loadBalanceStrategy": "DO_NOT_LOAD_BALANCE",
"partitioningAttribute": "",
"loadBalanceCompression": "DO_NOT_COMPRESS",
"componentType": "CONNECTION",
"groupIdentifier": "42063a31-a98b-319f-8617-2086e4b7f30b"
},
{
"identifier": "4fffc061-bd70-34ea-b8c1-e2f27fa13bbd",
"instanceIdentifier": "a30a0b4f-ed17-3fd7-7258-4ea73eef6103",
"name": "",
"source": {
"id": "7d19843d-1366-3969-a8ef-cf5fd5407c22",
"type": "PROCESSOR",
"groupId": "42063a31-a98b-319f-8617-2086e4b7f30b",
"name": "ExtractGitAttributes",
"comments": "",
"instanceIdentifier": "195bffbe-7722-3028-7a9b-af2aacf3a762"
},
"destination": {
"id": "3284d332-25e2-3f7d-9b9b-6aac4cb22ee0",
"type": "PROCESSOR",
"groupId": "42063a31-a98b-319f-8617-2086e4b7f30b",
"name": "PullRequestFilter",
"comments": "",
"instanceIdentifier": "47aa1121-5665-3380-fcb8-fd7ea844885d"
},
"labelIndex": 0,
"zIndex": 0,
"selectedRelationships": [
"matched"
],
"backPressureObjectThreshold": 10000,
"backPressureDataSizeThreshold": "1 GB",
"flowFileExpiration": "0 sec",
"prioritizers": [],
"bends": [
{
"x": 368.0,
"y": 472.0
}
],
"loadBalanceStrategy": "DO_NOT_LOAD_BALANCE",
"partitioningAttribute": "",
"loadBalanceCompression": "DO_NOT_COMPRESS",
"componentType": "CONNECTION",
"groupIdentifier": "42063a31-a98b-319f-8617-2086e4b7f30b"
},
{
"identifier": "d0c781ba-2ce0-38ed-b4c4-df1d8b893813",
"instanceIdentifier": "52de73b2-074a-3070-f1c3-eb6909a581f4",
"name": "",
"source": {
"id": "63dc39e7-7fdc-319f-ba5f-8ee93d0b39d2",
"type": "PROCESSOR",
"groupId": "42063a31-a98b-319f-8617-2086e4b7f30b",
"name": "PrTitleStartsWithJiraID",
"comments": "",
"instanceIdentifier": "59b0e271-49a0-3a93-f4cf-d91eaeefa218"
},
"destination": {
"id": "7ef3bc75-53af-31cf-bfc1-f7c68c127454",
"type": "PROCESSOR",
"groupId": "42063a31-a98b-319f-8617-2086e4b7f30b",
"name": "AddInvalidPrTitleMessage",
"comments": "",
"instanceIdentifier": "24e2d03e-b043-3bfc-79eb-9eb5e9c01812"
},
"labelIndex": 1,
"zIndex": 0,
"selectedRelationships": [
"unmatched"
],
"backPressureObjectThreshold": 10000,
"backPressureDataSizeThreshold": "1 GB",
"flowFileExpiration": "0 sec",
"prioritizers": [],
"bends": [],
"loadBalanceStrategy": "DO_NOT_LOAD_BALANCE",
"partitioningAttribute": "",
"loadBalanceCompression": "DO_NOT_COMPRESS",
"componentType": "CONNECTION",
"groupIdentifier": "42063a31-a98b-319f-8617-2086e4b7f30b"
},
{
"identifier": "719852cc-b0aa-3850-a18b-187f1cdfebcd",
"instanceIdentifier": "38ec9d47-de87-3fbd-6f48-af0d26832c84",
"name": "",
"source": {
"id": "c43965be-3a59-3212-b290-b3d87e0d5e23",
"type": "PROCESSOR",
"groupId": "42063a31-a98b-319f-8617-2086e4b7f30b",
"name": "VerifySignature",
"comments": "",
"instanceIdentifier": "a15ad072-8c96-39b9-ff83-101bf0cde605"
},
"destination": {
"id": "7d19843d-1366-3969-a8ef-cf5fd5407c22",
"type": "PROCESSOR",
"groupId": "42063a31-a98b-319f-8617-2086e4b7f30b",
"name": "ExtractGitAttributes",
"comments": "",
"instanceIdentifier": "195bffbe-7722-3028-7a9b-af2aacf3a762"
},
"labelIndex": 0,
"zIndex": 0,
"selectedRelationships": [
"success"
],
"backPressureObjectThreshold": 10000,
"backPressureDataSizeThreshold": "1 GB",
"flowFileExpiration": "0 sec",
"prioritizers": [],
"bends": [
{
"x": 88.0,
"y": 472.0
}
],
"loadBalanceStrategy": "DO_NOT_LOAD_BALANCE",
"partitioningAttribute": "",
"loadBalanceCompression": "DO_NOT_COMPRESS",
"componentType": "CONNECTION",
"groupIdentifier": "42063a31-a98b-319f-8617-2086e4b7f30b"
}
],
"labels": [],
"funnels": [],
"controllerServices": [],
"variables": {},
"defaultFlowFileExpiration": "0 sec",
"defaultBackPressureObjectThreshold": 10000,
"defaultBackPressureDataSizeThreshold": "1 GB",
"componentType": "PROCESS_GROUP",
"flowFileConcurrency": "UNBOUNDED",
"flowFileOutboundPolicy": "STREAM_WHEN_AVAILABLE"
},
"externalControllerServices": {},
"parameterContexts": {},
"flowEncodingVersion": "1.0",
"parameterProviders": {},
"latest": false
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment