stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mariangela Hills (JIRA)" <>
Subject [jira] [Created] (STRATOS-972) Rewording Auto-scaling policy related resource paths
Date Mon, 17 Nov 2014 05:43:33 GMT
Mariangela Hills created STRATOS-972:

             Summary: Rewording Auto-scaling policy related resource paths
                 Key: STRATOS-972
             Project: Stratos
          Issue Type: Sub-task
          Components: REST API
    Affects Versions: 4.1.0 M4
            Reporter: Mariangela Hills

In Stratos the two types of smart policies are deployment policy and auto-scaling policy.
Currently, the resource paths of the auto-scaling policies state "autoscale" as opposed to
"autoscaling", for example /policy/autoscale [1]. It is best to reword "autoscale" to "autoscaling".

    public Response deployAutoscalingPolicyDefintion(AutoscalePolicy autoscalePolicy)
            throws RestAPIException {

        URI url = uriInfo.getAbsolutePathBuilder().path(autoscalePolicy.getId()).build();
        return Response.created(url).build();

This message was sent by Atlassian JIRA

View raw message