Hi resilient-cicruits codegen capability has been depricated and this functionality can now be found in 'resilient-sdk'.
Use pip install resilient-sdk ...
]# resilient-sdk --help
usage:
$ resilient-sdk <subcommand> ...
$ resilient-sdk -v <subcommand> ...
$ resilient-sdk -h
Python SDK for developing Resilient Apps
optional arguments:
-h, --help show this help message and exit
-v, --verbose Set the log level to DEBUG
subcommands:
one of these subcommands must be provided
codegen Generate boilerplate code to start developing an app
docgen Generate documentation for an app
extract Extract data in order to publish a .res file
package Package an integration into a Resilient app
For support, please visit ibm.biz/resilientcommunity
------------------------------
John Quirke
------------------------------
Original Message:
Sent: Thu July 16, 2020 10:28 PM
From: Ivan To
Subject: resilient-circutis codegen not able to generate template resilient python code
Trying to run resilient-circutis codegen to automate the generation of Python integration code,
resilient-circuits codegen -p calculator -m fn_calc -f calc_sum --workflow calc_sum --rule "calc: sum"
It failed to generate the template code in python (tox.ini, setup.py, __init__.py, funct_calc_sum.py, and etc) with the following error.
resilient.co3.SimpleHTTPException: Internal Server Error: {"success":false,"title":null,"message":"Internal Server Error","hints":[],"error_code":"generic"}
------------------------------
Ivan To
------------------------------