← Back to team overview

juju-tosca team mailing list archive

tosca node_type to Juju charm translator draft version

 

Hi toscateers,
   I committed my codes to "draft" branch at repo 
github.com/juju/juju-tosca, the function includes unit hooks mapping, 
metadata.yaml translation, config.yaml translation (Didn't implement 
relation hooks mapping yet). Since we just have unit hooks and relation 
hooks mapping design document, many other elements mapping logic are 
implemented based on my assumption. Please feel free to let me know if 
there are any error logic in the translator codes. The following are my 
changed code, you could run the "python translator/test.py" to test the 
function.


Thanks.

GIF image


Follow ups