incubator-cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rohit Yadav (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-501) Apidocs and marvin does not know how to handle Autoscaling docs
Date Fri, 16 Nov 2012 10:58:12 GMT

    [ 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

Mime
View raw message