You are not logged in. Click here to log in.

Application Lifecycle Management

Search In Project

Search inClear

SVAP-11: Calculate SVAP Overall Score for Field Assessment#34025/HEAD / v8
Tags:  not added yet

SVAP-11: Calculate SVAP Overall Score for Field Assessment[SERVICE-34025]

Tracker: Services Priority: NormalNormal Status: Deployed
Submitted by: rob.streetmanMay 22 2017 16:46 Modified by: JRCarlsonJun 16 2018 07:50 Type:
Model
Path: m/svap/svapscore/1.0 Context: csip-svap Version: 1.0
Endpoints: http://csip.engr.colostate.edu:8083/csip-svap/m/svap/svapscore/1.0
Maintainers:
Website: -- Apps:
--
Test Status:
--
Last Tested: -- Test Count: --
Test Success Rate: -- Failed Tests: --
Traceability
Loading…
Description

SVAP-11: Calculate SVAP Overall Score for Field Assessment

This service simply calculates the number of elements used in the assessment, the total score, and SVAP score. A valid service request must include the "Manure or Human Waste" scoring element (element_id 9); all other scoring elements are optional in the request. Including the scoring element name parameter in the request also is optional. The reason for this calculation on the server side (rather than the application side) is in case the calculation logic for computing SVAP scores changes at some point in the future.

{
    "metainfo": {},
    "parameter": [
        {
            "name": "assessment_id",
            "value": 1,
            "description": "Assessment Identifier"
        },
        {
            "name": "element_list",
            "value": [
                [
                    {
                        "name": "svap_element_id",
                        "value": 1,
                        "description": "Assesment Element Identifier"
                    },
                    {
                        "name": "svap_element_name",
                        "value": "Channel Condition",
                        "description": "Asssessment Element Name"
                    },
                    {
                        "name": "svap_element_score",
                        "value": 2,
                        "description": "Asssement Element Score (1-10)",
                        "min": 1,
                        "max": 10
                    }
                ],
                [
                    {
                        "name": "svap_element_id",
                        "value": 9,
                        "description": "Assesment Element Identifier"
                    },
                    {
                        "name": "svap_element_name",
                        "value": "Manure or Human Waste",
                        "description": "Asssessment Element Name"
                    },
                    {
                        "name": "svap_element_score",
                        "value": 7,
                        "description": "Asssement Element Score (1-10)",
                        "min": 1,
                        "max": 10
                    }
                ]
            ]
        }
    ]
}
{
    "metainfo": {
        "status": "Finished",
        "suid": "7bf04ed5-b909-11e7-90ce-d79ccb7397fb",
        "cloud_node": "10.1.32.8",
        "request_ip": "10.84.180.96",
        "service_url": "http://csip.engr.colostate.edu:8083/csip-svap/m/svap/svapscore/1.0",
        "csip-svap.version": "$version: 0.5.41 4913d6b76364 2017-10-24 rumpal, built at 2017-10-24 16:14 by jenkins$",
        "csip.version": "$version: 2.2.1 7bf35fce9e13 2017-09-15 od, built at 2017-10-24 16:14 by jenkins$",
        "tstamp": "2017-10-24 16:20:04",
        "cpu_time": 615,
        "expiration_date": "2017-10-24 16:20:34"
    },
    "parameter": [
        {
            "name": "assessment_id",
            "value": 1,
            "description": "Assessment Identifier"
        },
        {
            "name": "element_list",
            "value": [
                [
                    {
                        "name": "svap_element_id",
                        "value": 1,
                        "description": "Assesment Element Identifier"
                    },
                    {
                        "name": "svap_element_name",
                        "value": "Channel Condition",
                        "description": "Asssessment Element Name"
                    },
                    {
                        "name": "svap_element_score",
                        "value": 2,
                        "description": "Asssement Element Score (1-10)",
                        "min": 1,
                        "max": 10
                    }
                ],
                [
                    {
                        "name": "svap_element_id",
                        "value": 9,
                        "description": "Assesment Element Identifier"
                    },
                    {
                        "name": "svap_element_name",
                        "value": "Manure or Human Waste",
                        "description": "Asssessment Element Name"
                    },
                    {
                        "name": "svap_element_score",
                        "value": 7,
                        "description": "Asssement Element Score (1-10)",
                        "min": 1,
                        "max": 10
                    }
                ]
            ]
        }
    ],
    "result": [
        {
            "name": "valid_request",
            "value": true,
            "description": "Service Request Validity"
        },
        {
            "name": "assessment_id",
            "value": 1,
            "description": "Assessment Identifier"
        },
        {
            "name": "svap_total_score",
            "value": 9,
            "description": "Sum of all Elements Scored"
        },
        {
            "name": "svap_elements_scored",
            "value": 2,
            "description": "Number of Elements Scored"
        },
        {
            "name": "svap_overall_score",
            "value": 4.5,
            "description": "SVAP total score divided by number of elements scored"
        },
        {
            "name": "svap_classification",
            "value": "POOR",
            "description": "Assessment Classification <3.0 SEVERELY DEGRADED, >=3.0 and <5.0 POOR, >=5.0 and <7.0 FAIR, >=7.0 and < 9.0 GOOD, and >= 9.0 EXCELLENT"
        }
    ]
}
Details
Comments & Attachments
Associations
Children
SCM Commits
History (8)
Baselines
All (8)

Filter
 
No data to display.