Skip to content

[RFE] clean up as3 deployment response #264

@DumpySquare

Description

@DumpySquare

When deploying the standard Sample_01 as3 app, the response from the AS3 engine has additional details.

My initial thought was to abstract the details so the new json window containing the response could be used to modify and post more application changes.

However, after further thought, I think the response should not open a new json editor, but should only show the response information including errors in the logging output. This logging output would exclude the declaration to prevent clutter.

{
    "id": "fad4e7ef-0c22-417b-8ef8-45016210cb5a",
    "results": [
        {
            "code": 200,
            "message": "success",
            "lineCount": 25,
            "host": "localhost",
            "tenant": "Sample_01",
            "runTime": 1916,
            "declarationId": "urn:uuid:33045210-3ab8-4636-9b2a-c98d22ab915d"
        }
    ],
    "declaration": {
        "class": "ADC",
        "schemaVersion": "3.0.0",
        "id": "urn:uuid:33045210-3ab8-4636-9b2a-c98d22ab915d",
        "label": "Sample 1",
        "remark": "Simple HTTP application with RR pool",
        "Sample_01": {
            "class": "Tenant",
            "A1": {
                "class": "Application",
                "template": "http",
                "serviceMain": {
                    "class": "Service_HTTP",
                    "virtualAddresses": [
                        "10.0.1.10"
                    ],
                    "pool": "web_pool"
                },
                "web_pool": {
                    "class": "Pool",
                    "monitors": [
                        "http"
                    ],
                    "members": [
                        {
                            "servicePort": 80,
                            "serverAddresses": [
                                "192.0.1.10",
                                "192.0.1.11"
                            ]
                        }
                    ]
                }
            }
        },
        "controls": {
            "class": "Controls",
            "userAgent": "vscode-f5/3.18.2",
            "archiveTimestamp": "2025-05-06T18:29:44.326Z"
        },
        "updateMode": "selective"
    },
    "selfLink": "https://localhost/mgmt/shared/appsvcs/task/fad4e7ef-0c22-417b-8ef8-45016210cb5a"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions