class CCPMethodEditorController extends HTMLElement{
#boot;
#rootdoc;
#serviceurl;
#runtimes;
#locked = false;
#isupdate = false;
#tmp_inputs = []
#tmp_outputs = []
#current = null;
#method_template = {
id : "",
title : "New Method",
description : "New empty method",
version : "1.0.0",
jobControlOptions : "async-execute",
metadata : [],
inputs : {},
outputs : {},
additionalParameters : {
parameters : [
{
name : "deploy-script",
value : [
`
- hosts: localhost
tasks:
- name: hookup instance
add_host:
name: "{ instancename }"
ansible_connection: lxd
groupname: "targets"
`
]
},
{
name : "execute-script",
value : [
`
- hosts: localhost
tasks:
- name: hookup instance
add_host:
name: "{ instancename }"
ansible_connection: lxd
groupname: "targets"
`
]
},
{
name : "fetch-output-script",
value : [
`
- hosts: localhost
tasks:
- name: hookup instance
add_host:
name: "{ instancename }"
ansible_connection: lxd
groupname: "targets"
`
]
},
{
name : "undeploy-script",
value : [
`
- hosts: localhost
tasks:
- name: hookup instance
add_host:
name: "{ instancename }"
ansible_connection: lxd
groupname: "targets"
`
]
},
{
name : "cancel-script",
value : [
`
- hosts: localhost
tasks:
- name: hookup instance
add_host:
name: "{ instancename }"
ansible_connection: lxd
groupname: "targets"
`
]
}
]
},
links : []
}
#style = `
`
#erase_icon = `