[ 
https://issues.apache.org/jira/browse/YARN-7202?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Eric Yang updated YARN-7202:
----------------------------
    Attachment: YARN-7202.yarn-native-services.001.patch

Added test cases to verify the API Server REST API end points.
Tests includes:

# Verify the path for webservice is /ws/v1
# GetVersion
# Create services
# Create bad services
# Test for getting non-existed service.
# Test for getting service with bad user input.
# Test for delete non-existed service.
# Test for bad delete service with bad user input.
# Test for delete service.
# Test for decrease containers in a service.
# Test for decrease containers and stop service.
# Test for increase containers in a service.
# Test for increase containers for non-existed service.
# Test for start service.
# Test for starting non existed service.
# Test for stopping non-existed service.
# Test for stopping service.
# Testing for updating service with backend error.

The PUT method for updateService has changed order for service operation vs 
configuration update.  Configuration update will apply first before start/stop 
operation is applied in the event that input parameters from user contains both 
configuration change and service operation.

> End-to-end UT for api-server
> ----------------------------
>
>                 Key: YARN-7202
>                 URL: https://issues.apache.org/jira/browse/YARN-7202
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Jian He
>         Attachments: YARN-7202.yarn-native-services.001.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to