si
si copied to clipboard
feat(luminork): Add ability to see upgrade_available and upgrade schema
{
"schemaName": "AWS::EC2::Subnet",
"schemaId": "01JK0QZHF6ZSY6JFM39MBCRJ4C",
"category": "AWS::EC2",
"installed": true,
"upgradeAvailable": true
}
You can specify a POST to <schemaId>/upgrade with a dryRun param:
curl -X 'POST' \
'http://localhost:5380/v1/w/01HPJ3K7RC486W9RPR3T0B6HS2/change-sets/01K779TQWFCYZA60YT41DWV7BZ/schemas/01JK0QZHF6ZSY6JFM39MBCRJ4C/upgrade' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-d '{
"dryRun": true
}'
the result is:
{
"success": false,
"breakingChanges": [
{
"path": "/domain/EnableLniAtDeviceIndex",
"changeType": "typeChanged",
"oldType": "integer",
"newType": "number"
},
{
"path": "/domain/Ipv4NetmaskLength",
"changeType": "typeChanged",
"oldType": "integer",
"newType": "number"
},
{
"path": "/domain/Ipv6NetmaskLength",
"changeType": "typeChanged",
"oldType": "integer",
"newType": "number"
}
],
"dryRun": true
}