GET /api/deployment/envsettings/{groupID}/{archiveID}

Description

Get the environmentalized settings for a Deployment Archive.


Resource URL

https://localhost:8090/api/deployment/envsettings/{groupID}/{archiveID}


Parameters

groupID mandatory The id of the group that has the Deployment Archive deployed to it.
archiveID mandatory The id of the Deployment Archive whose environmentalized settings we want.

Response Codes

Response Code Description
200 Success. The response body contains the environmentalized settings. Refer to Javadoc for com.vordel.api.deployment.model.EnvironmentalizedEntities.
500 The response contains a server-side error.

Example Request and Response

GET https://localhost:8090/api/deployment/envsettings/group-2/9124ef94-0b18-4b67-b9f0-ece0c653ca36

HTTP 1.1 200 OK

{
    "result": {
        "environmentalizedEntities": [
            {
                "entityPk": "<key type='FilterCircuit'><id field='name' value='test'/><key type='GenerateSignatureFilter'><id field='name' value='XML Signature Generation'/></key></key>",
                "type": "GenerateSignatureFilter",
                "keyDescription": "XML Signature Generation",
                "environmentalizedFields": [
                    {
                        "entityFieldName": "signingCert",
                        "index": 0,
                        "value": "<key type='Certificates'><id field='name' value='Certificate Store'/><key type='Certificate'><id field='dname' value='Samples Test CA'/></key></key>",
                        "type": "reference",
                        "displayName": "Private Key from Certificate Store:"
                    }
                ]
            },
            {
                "entityPk": "<key type='FilterCircuit'><id field='name' value='test'/><key type='WsUsernameInsertFilter'><id field='name' value='Insert WS-Security Username Token'/></key></key>",
                "type": "WsUsernameInsertFilter",
                "keyDescription": "Insert WS-Security Username Token",
                "environmentalizedFields": [
                    {
                        "entityFieldName": "insertPassword",
                        "index": 0,
                        "value": "true",
                        "type": "boolean",
                        "displayName": "Include Password"
                    },
                    {
                        "entityFieldName": "password",
                        "index": 0,
                        "value": "cGFzczE=",
                        "type": "encrypted",
                        "displayName": "Password"
                    },
                    {
                        "entityFieldName": "passwordType",
                        "index": 0,
                        "value": "1",
                        "type": "integer"
                    },
                    {
                        "entityFieldName": "username",
                        "index": 0,
                        "value": "user1",
                        "type": "string",
                        "displayName": "User name:"
                    }
                ]
            }
        ]
    }
}