Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for platform tests #6

Open
petewall opened this issue Jun 7, 2021 · 1 comment
Open

Add support for platform tests #6

petewall opened this issue Jun 7, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@petewall
Copy link
Contributor

petewall commented Jun 7, 2021

This includes listing previous tests and initiating new tests.

@petewall petewall added the enhancement New feature or request label Jun 7, 2021
@petewall
Copy link
Contributor Author

petewall commented Feb 3, 2022

Listing tests:

The UI sends this request

https://apistg.market.csp.vmware.com/validations?pagination={"page":1,"pageSize":5,"enable":true}&productId=4f8481be-8746-421a-a7f9-d8e44f3f71d4&appVersion=

Which returns:

{
    "response": {
        "message": "Successfully fetched Validations",
        "statuscode": 200,
        "validationsList": [
            {
                "productid": "4f8481be-8746-421a-a7f9-d8e44f3f71d4",
                "appversion": "0.2.75",
                "solutionassetdetails": {
                    "assettype": "helm",
                    "asseturl": "https://s3.us-east-2.amazonaws.com/cmpstgvalidationassets/marketplace-product-files/1ddeaa73-174d-4b01-ac0e-aa9666835a33/mkpcli-test-chart-0.2.75-1643661835480.tgz",
                    "assetname": "0.2.75",
                    "assetversion": "0.2.75",
                    "assetid": "502d4d7b-6d70-438c-bd3b-e1013be09b7b",
                    "installoptions": "",
                    "isexternal": false,
                    "summary": ""
                },
                "testsuitedetail": {
                    "testcontainername": "",
                    "testcontainerurl": "",
                    "launcheroptions": "",
                    "isexternal": false
                },
                "teststatus": "pending",
                "pipelinestatus": "pending",
                "validationtype": "platform",
                "platformid": "6df5dd7f-c646-5172-b520-a4f4e1b436fa",
                "createdon": 1643661842,
                "updatedon": 1643661844,
                "testid": "1ddeaa73-174d-4b01-ac0e-aa9666835a33",
                "userid": "pwall",
                "platformname": "TKG 1.4.0 on VMC-on-AWS"
            },
            {
                "productid": "4f8481be-8746-421a-a7f9-d8e44f3f71d4",
                "appversion": "0.2.74",
                "solutionassetdetails": {
                    "assettype": "helm",
                    "asseturl": "https://s3.us-east-2.amazonaws.com/cmpstgvalidationassets/marketplace-product-files/a8c89def-c11f-41f8-aa11-03cbe873df49/mkpcli-test-chart-0.2.74-1642823890245.tgz",
                    "assetname": "0.2.74",
                    "assetversion": "0.2.74",
                    "assetid": "d8141780-8e28-4b00-a173-6d62bf02333e",
                    "installoptions": "",
                    "isexternal": false,
                    "summary": ""
                },
                "testsuitedetail": {
                    "testcontainername": "",
                    "testcontainerurl": "",
                    "launcheroptions": "",
                    "isexternal": false
                },
                "teststatus": "passed",
                "pipelinestatus": "running",
                "validationtype": "platform",
                "platformid": "7517c213-e232-5400-a4af-c2daf316f74d",
                "createdon": 1642823897,
                "updatedon": 1642828210,
                "testid": "a8c89def-c11f-41f8-aa11-03cbe873df49",
                "userid": "pwall",
                "platformname": "TKG 1.4.0 on VMC-on-AWS"
            },
            {
                "productid": "4f8481be-8746-421a-a7f9-d8e44f3f71d4",
                "appversion": "0.2.73",
                "solutionassetdetails": {
                    "assettype": "helm",
                    "asseturl": "https://s3.us-east-2.amazonaws.com/cmpstgvalidationassets/marketplace-product-files/37d20cac-7133-48cf-a177-e06822dfeec9/mkpcli-test-chart-0.2.73-1642541081365.tgz",
                    "assetname": "0.2.73",
                    "assetversion": "0.2.73",
                    "assetid": "22f07bd0-8ea4-44c8-bbed-f3c422461b1f",
                    "installoptions": "",
                    "isexternal": false,
                    "summary": ""
                },
                "testsuitedetail": {
                    "testcontainername": "",
                    "testcontainerurl": "",
                    "launcheroptions": "",
                    "isexternal": false
                },
                "teststatus": "passed",
                "pipelinestatus": "passed",
                "validationtype": "platform",
                "platformid": "7517c213-e232-5400-a4af-c2daf316f74d",
                "createdon": 1642541089,
                "updatedon": 1642545014,
                "testid": "37d20cac-7133-48cf-a177-e06822dfeec9",
                "userid": "pwall",
                "platformname": "TKG 1.4.0 on VMC-on-AWS"
            },
            {
                "productid": "4f8481be-8746-421a-a7f9-d8e44f3f71d4",
                "appversion": "0.2.72",
                "solutionassetdetails": {
                    "assettype": "helm",
                    "asseturl": "https://s3.us-east-2.amazonaws.com/cmpstgvalidationassets/marketplace-product-files/db83c1dc-a1a9-43ff-8929-5120ae36556d/mkpcli-test-chart-0.2.72-1641857527867.tgz",
                    "assetname": "0.2.72",
                    "assetversion": "0.2.72",
                    "assetid": "1f8ca516-da64-4647-8cb5-2013ca3bdc8b",
                    "installoptions": "",
                    "isexternal": false,
                    "summary": ""
                },
                "testsuitedetail": {
                    "testcontainername": "",
                    "testcontainerurl": "",
                    "launcheroptions": "",
                    "isexternal": false
                },
                "teststatus": "passed",
                "pipelinestatus": "running",
                "validationtype": "platform",
                "platformid": "7517c213-e232-5400-a4af-c2daf316f74d",
                "createdon": 1641857534,
                "updatedon": 1641862513,
                "testid": "db83c1dc-a1a9-43ff-8929-5120ae36556d",
                "userid": "pwall",
                "platformname": "TKG 1.4.0 on VMC-on-AWS"
            },
            {
                "productid": "4f8481be-8746-421a-a7f9-d8e44f3f71d4",
                "appversion": "0.2.71",
                "solutionassetdetails": {
                    "assettype": "helm",
                    "asseturl": "https://s3.us-east-2.amazonaws.com/cmpstgvalidationassets/marketplace-product-files/ecd06014-bcec-4851-b4c0-51d440a2ebba/mkpcli-test-chart-0.2.71-1641855347253.tgz",
                    "assetname": "0.2.71",
                    "assetversion": "0.2.71",
                    "assetid": "5be3c940-20cd-4545-8235-eb62d2d96221",
                    "installoptions": "",
                    "isexternal": false,
                    "summary": ""
                },
                "testsuitedetail": {
                    "testcontainername": "",
                    "testcontainerurl": "",
                    "launcheroptions": "",
                    "isexternal": false
                },
                "teststatus": "aborted",
                "pipelinestatus": "failed",
                "validationtype": "platform",
                "platformid": "7517c213-e232-5400-a4af-c2daf316f74d",
                "createdon": 1641855353,
                "updatedon": 1641858308,
                "testid": "ecd06014-bcec-4851-b4c0-51d440a2ebba",
                "userid": "pwall",
                "platformname": "TKG 1.4.0 on VMC-on-AWS"
            }
        ],
        "params": {
            "search": "",
            "pagination": {
                "page": 1,
                "pagesize": 5,
                "enable": false
            },
            "sortingList": [],
            "filters": {
                "textfiltersList": [],
                "intfiltersList": [],
                "boolfiltersList": [],
                "solutionmetafiltersList": [],
                "datefiltersList": []
            },
            "itemsnumber": 23,
            "selectList": []
        }
    }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant