You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by "Rohit Yadav (JIRA)" <ji...@apache.org> on 2012/11/16 11:46:11 UTC

[jira] [Created] (CLOUDSTACK-501) Apidocs and marvin does not know how to handle Autoscaling docs

Rohit Yadav created CLOUDSTACK-501:
--------------------------------------

             Summary: Apidocs and marvin does not know how to handle Autoscaling docs
                 Key: CLOUDSTACK-501
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-501
             Project: CloudStack
          Issue Type: Bug
          Components: Doc
            Reporter: Rohit Yadav
            Priority: Blocker
             Fix For: 4.1.0


mvn clean install -P developer fails with newly merged autoscale feature. The bug blocks marvin and cloudmonkey which depend on apidocs target.

Fail trace:
Traceback (most recent call last):
  File "/Bhaisaab/Work/apache-cloudstack/tools/apidoc/gen_toc.py", line 159, in <module>
    category = choose_category(fn)
  File "/Bhaisaab/Work/apache-cloudstack/tools/apidoc/gen_toc.py", line 139, in choose_category
    (fn, __file__))
Exception: Need to add a category for createAutoScalePolicy.xml to /Bhaisaab/Work/apache-cloudstack/tools/apidoc/gen_toc.py:known_categories


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (CLOUDSTACK-501) Apidocs and marvin does not know how to handle Autoscaling docs

Posted by "Prasanna Santhanam (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CLOUDSTACK-501?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Prasanna Santhanam resolved CLOUDSTACK-501.
-------------------------------------------

    Resolution: Fixed

commit 6e86fac8e539d52280f4b12de3575f7dabe0db3b
Author: Prasanna Santhanam <ts...@apache.org>
Date:   Fri Nov 16 16:25:59 2012 +0530

    Summary: Add autoscale categories
    
    Detail:  Every new API that doesn't have  a valid category prefix needs
    to be include in the gen_toc.py script for apidocs, marvin and
    cloudmonkey to build.
    
    BUG-ID:  CLOUDSTACK-501
    Reviewed-by: mvn clean install -P developer
    Reported-by: Rohit Yadav <bh...@apache.org>
    Signed-off-by: Prasanna Santhanam <ts...@apache.org> 1353063359 +0530

                
> Apidocs and marvin does not know how to handle Autoscaling docs
> ---------------------------------------------------------------
>
>                 Key: CLOUDSTACK-501
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-501
>             Project: CloudStack
>          Issue Type: Bug
>          Components: Doc
>            Reporter: Rohit Yadav
>            Assignee: Prasanna Santhanam
>            Priority: Blocker
>             Fix For: 4.1.0
>
>
> mvn clean install -P developer fails with newly merged autoscale feature. The bug blocks marvin and cloudmonkey which depend on apidocs target.
> Fail trace:
> Traceback (most recent call last):
>   File "/Bhaisaab/Work/apache-cloudstack/tools/apidoc/gen_toc.py", line 159, in <module>
>     category = choose_category(fn)
>   File "/Bhaisaab/Work/apache-cloudstack/tools/apidoc/gen_toc.py", line 139, in choose_category
>     (fn, __file__))
> Exception: Need to add a category for createAutoScalePolicy.xml to /Bhaisaab/Work/apache-cloudstack/tools/apidoc/gen_toc.py:known_categories

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CLOUDSTACK-501) Apidocs and marvin does not know how to handle Autoscaling docs

Posted by "Rohit Yadav (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CLOUDSTACK-501?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13498723#comment-13498723 ] 

Rohit Yadav commented on CLOUDSTACK-501:
----------------------------------------

The fix seems like we just need to add key:value pairs, check?

diff --git a/tools/apidoc/gen_toc.py b/tools/apidoc/gen_toc.py
index 4106531..17a7b1a 100644
--- a/tools/apidoc/gen_toc.py
+++ b/tools/apidoc/gen_toc.py
@@ -124,7 +124,10 @@ known_categories = {
     'PrivateGateway': 'VPC',
     'StaticRoute': 'VPC',
     'Tags': 'Resource tags',
-    'NiciraNvpDevice': 'Nicira NVP'
+    'NiciraNvpDevice': 'Nicira NVP',
+    'Condition': 'Condition',
+    'Counter': 'Counter',
+    'AutoScale': 'AutoScale',
     }
                
> Apidocs and marvin does not know how to handle Autoscaling docs
> ---------------------------------------------------------------
>
>                 Key: CLOUDSTACK-501
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-501
>             Project: CloudStack
>          Issue Type: Bug
>          Components: Doc
>            Reporter: Rohit Yadav
>            Assignee: Prasanna Santhanam
>            Priority: Blocker
>             Fix For: 4.1.0
>
>
> mvn clean install -P developer fails with newly merged autoscale feature. The bug blocks marvin and cloudmonkey which depend on apidocs target.
> Fail trace:
> Traceback (most recent call last):
>   File "/Bhaisaab/Work/apache-cloudstack/tools/apidoc/gen_toc.py", line 159, in <module>
>     category = choose_category(fn)
>   File "/Bhaisaab/Work/apache-cloudstack/tools/apidoc/gen_toc.py", line 139, in choose_category
>     (fn, __file__))
> Exception: Need to add a category for createAutoScalePolicy.xml to /Bhaisaab/Work/apache-cloudstack/tools/apidoc/gen_toc.py:known_categories

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Assigned] (CLOUDSTACK-501) Apidocs and marvin does not know how to handle Autoscaling docs

Posted by "Prasanna Santhanam (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CLOUDSTACK-501?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Prasanna Santhanam reassigned CLOUDSTACK-501:
---------------------------------------------

    Assignee: Prasanna Santhanam
    
> Apidocs and marvin does not know how to handle Autoscaling docs
> ---------------------------------------------------------------
>
>                 Key: CLOUDSTACK-501
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-501
>             Project: CloudStack
>          Issue Type: Bug
>          Components: Doc
>            Reporter: Rohit Yadav
>            Assignee: Prasanna Santhanam
>            Priority: Blocker
>             Fix For: 4.1.0
>
>
> mvn clean install -P developer fails with newly merged autoscale feature. The bug blocks marvin and cloudmonkey which depend on apidocs target.
> Fail trace:
> Traceback (most recent call last):
>   File "/Bhaisaab/Work/apache-cloudstack/tools/apidoc/gen_toc.py", line 159, in <module>
>     category = choose_category(fn)
>   File "/Bhaisaab/Work/apache-cloudstack/tools/apidoc/gen_toc.py", line 139, in choose_category
>     (fn, __file__))
> Exception: Need to add a category for createAutoScalePolicy.xml to /Bhaisaab/Work/apache-cloudstack/tools/apidoc/gen_toc.py:known_categories

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira