Skip to content

Commit

Permalink
Fixes #16197: Serialization of NodeConfigurations is fairly expensive
Browse files Browse the repository at this point in the history
  • Loading branch information
fanf authored and Jenkins CI committed Feb 25, 2022
1 parent 7b5d69b commit 39c4ee8
Show file tree
Hide file tree
Showing 12 changed files with 3,049 additions and 604 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,133 @@
{
"modes": {
"globalPolicyMode": {
"mode": "enforce",
"overridable": true
},
"globalComplianceMode": "full-compliance",
"globalHeartbeatPeriod": 1,
"globalAgentRunInterval": {
"interval": 15,
"startMinute": 0,
"splayHour": 0,
"splaytime": 4
}
},
"rules": [
{
"ruleId": "4bb75daa-a82f-445a-8e8e-af3e99608ffe",
"directives": [
{
"directiveId": "73e069ea-de00-4b5d-a00e-012709b7b462",
"isSystem": false,
"components": [
{
"componentName": "Command execution",
"values": [
"/bin/echo \"restore\""
],
"unexpanded": [
"/bin/echo \"restore\""
]
},
{
"componentName": "File absent",
"values": [
"/tmp/pasla"
],
"unexpanded": [
"/tmp/pasla"
]
}
]
}
]
},
{
"ruleId": "hasPolicyServer-root",
"directives": [
{
"directiveId": "common-hasPolicyServer-root",
"isSystem": true,
"components": [
{
"componentName": "Update",
"values": [
"None"
],
"unexpanded": [
"None"
]
},
{
"componentName": "ncf Initialization",
"values": [
"None"
],
"unexpanded": [
"None"
]
},
{
"componentName": "Security parameters",
"values": [
"None"
],
"unexpanded": [
"None"
]
},
{
"componentName": "Log system for reports",
"values": [
"None"
],
"unexpanded": [
"None"
]
},
{
"componentName": "CRON Daemon",
"values": [
"None"
],
"unexpanded": [
"None"
]
},
{
"componentName": "Monitoring",
"values": [
"None"
],
"unexpanded": [
"None"
]
}
]
}
]
},
{
"ruleId": "inventory-all",
"directives": [
{
"directiveId": "inventory-all",
"isSystem": true,
"components": [
{
"componentName": "Inventory",
"values": [
"None"
],
"unexpanded": [
"None"
]
}
]
}
]
}
],
"overrides": []
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
{
"ms": {
"gpm": {
"m": "enforce",
"o": true
},
"gcm": "full-compliance",
"ghp": 1,
"gar": {
"i": 15,
"sm": 0,
"sh": 0,
"st": 4
}
},
"rs": [
{
"rid": "4bb75daa-a82f-445a-8e8e-af3e99608ffe",
"ds": [
{
"did": "73e069ea-de00-4b5d-a00e-012709b7b462",
"cs": [
{
"vid": "Command execution",
"vs": [
[ "/bin/echo \"restore\"" ]
]
},
{
"vid": "File absent",
"vs": [
[ "/tmp/pasla" ]
]
}
]
}
]
},
{
"rid": "hasPolicyServer-root",
"ds": [
{
"did": "common-hasPolicyServer-root",
"s": true,
"cs": [
{
"vid": "Update",
"vs": [ [] ]
},
{
"vid": "ncf Initialization",
"vs": [ [] ]
},
{
"vid": "Security parameters",
"vs": [ [] ]
},
{
"vid": "Log system for reports",
"vs": [ [] ]
},
{
"vid": "CRON Daemon",
"vs": [ [] ]
},
{
"vid": "Monitoring",
"vs": [ [] ]
}
]
}
]
},
{
"rid": "inventory-all",
"ds": [
{
"did": "inventory-all",
"s": true,
"cs": [
{
"vid": "Inventory",
"vs": [ [] ]
}
]
}
]
}
],
"os": []
}

0 comments on commit 39c4ee8

Please sign in to comment.