Workflow sequence for risk models
All checks were successful
Build and Push Docker Image / test (push) Successful in 6s
Build and Push Docker Image / build_and_push (push) Successful in 22s

This commit is contained in:
Admin User 2025-04-09 18:50:56 +00:00
parent 2b82c4cd8d
commit 5700f8e10d
2 changed files with 252 additions and 18 deletions

View File

@ -1,19 +1,234 @@
{
"nodes": [
{
"id": "c2w3wcw04fjyio9un4f",
"data": { "label": "Request" },
"position": { "x": 0, "y": 150 },
"type": "requestNode"
},
{
"id": "c2xjc7k07ahdxoi7ad7",
"data": { "label": "+" },
"position": { "x": 0, "y": 150 },
"type": "placeholder"
"nodes": [
{
"id": "c2w3wcw04fjyio9un4f",
"position": {
"x": 0,
"y": 0
},
"data": {
"label": "Request",
"request_schema": {
"$schema": "http://json-schema.org/draft-07/schema",
"properties": {
"application_id": {
"type": [
"string",
"null"
],
"description": "Unique identifier for the application."
},
"tu_credit_report": {
"type": [
"string",
"null"
],
"description": "User Credit report"
}
},
"required": []
}
],
"edges": [
{ "id": "c2w3wcw04fjyio9un4f=>c2xjc7k07ahdxoi7ad7", "source": "c2w3wcw04fjyio9un4f", "target": "c2xjc7k07ahdxoi7ad7", "type": "placeholder" }
]
}
},
"type": "requestNode",
"positionAbsolute": {
"x": 0,
"y": 0
},
"width": 260,
"height": 36
},
{
"id": "c2xjc7k07ahdxoi7ad7",
"position": {
"x": 0,
"y": 150
},
"data": {
"label": "+",
"nodeConfig": {
"activityConfig": {
"retryPolicy": {
"maximumAttempts": 1,
"initialInterval": 1000,
"backoffCoefficient": 2,
"maximumInterval": 100000
},
"timeouts": {
"startToCloseTimeout": 10000,
"scheduleToStartTimeout": 10000,
"scheduleToCloseTimeout": 10000,
"heartbeatTimeout": 86
},
"taskQueue": {
"taskQueueName": ""
},
"advancedSettings": {
"cancellationType": "TRY_CANCEL",
"heartbeatEnabled": false
}
},
"blockName": "m-1-v-1",
"commitId": "f2e9d599b9b18095d0793c0c5ca15c5ade4d0934",
"repo_url": "http://centurion-version-control.default.svc.cluster.local:3000/Centurion/blocks-transformer.git",
"schema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"application_id": {
"type": [
"string",
"null"
],
"description": "Unique identifier for the application.",
"source": "$root.application_id"
},
"tu_credit_report": {
"type": [
"string",
"null"
],
"description": "User Credit report",
"source": "$root.tu_credit_report"
}
},
"required": []
}
},
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"application_id": {
"type": [
"string",
"null"
],
"description": "Application Key"
},
"hd_score_m1": {
"type": [
"number",
"null"
],
"description": "HD Fraud Score M1"
}
}
}
},
"type": "transformerNode",
"positionAbsolute": {
"x": 0,
"y": 150
},
"width": 260,
"height": 79
},
{
"id": "m9aaaokqp37vkv9qn7m",
"position": {
"x": 0,
"y": 300
},
"data": {
"label": "+",
"nodeConfig": {
"activityConfig": {
"retryPolicy": {
"maximumAttempts": 1,
"initialInterval": 1000,
"backoffCoefficient": 2,
"maximumInterval": 100000
},
"timeouts": {
"startToCloseTimeout": 10000,
"scheduleToStartTimeout": 10000,
"scheduleToCloseTimeout": 10000,
"heartbeatTimeout": 86
},
"taskQueue": {
"taskQueueName": ""
},
"advancedSettings": {
"cancellationType": "TRY_CANCEL",
"heartbeatEnabled": false
}
},
"blockName": "final-score",
"commitId": "9981cb247a5ddedeceaf59b2f25becd804de3b29",
"repo_url": "http://centurion-version-control.default.svc.cluster.local:3000/Centurion/blocks-transformer.git",
"schema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"hd_score_m1": {
"type": [
"number",
"null"
],
"description": "HD Fraud Score M1 value.",
"source": "$c2xjc7k07ahdxoi7ad7.hd_score_m1"
}
},
"required": []
}
},
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"hd_score_m1": {
"type": [
"number",
"null"
],
"description": "HD Fraud Score M1"
},
"recommended_action": {
"type": [
"string",
"null"
],
"description": "Outcome of the score check (Pass or Decline)"
},
"description": {
"type": [
"string",
"null"
],
"description": "Explanation or summary of the recommended action"
},
"hd_action_reasoncode": {
"type": [
"string",
"null"
],
"description": "Reason code describing why the recommended action was chosen"
}
},
"required": []
}
},
"type": "transformerNode",
"positionAbsolute": {
"x": 0,
"y": 300
},
"width": 260,
"height": 79
}
],
"edges": [
{
"id": "c2w3wcw04fjyio9un4f=>c2xjc7k07ahdxoi7ad7",
"source": "c2w3wcw04fjyio9un4f",
"target": "c2xjc7k07ahdxoi7ad7",
"type": "workflow"
},
{
"id": "c2xjc7k07ahdxoi7ad7=>m9aaaokqp37vkv9qn7m",
"source": "c2xjc7k07ahdxoi7ad7",
"target": "m9aaaokqp37vkv9qn7m",
"type": "workflow"
}
]
}

View File

@ -1 +1,20 @@
{}
{
"$schema": "http://json-schema.org/draft-07/schema",
"properties": {
"application_id": {
"type": [
"string",
"null"
],
"description": "Unique identifier for the application."
},
"tu_credit_report": {
"type": [
"string",
"null"
],
"description": "User Credit report"
}
},
"required": []
}