VMware Cloud Community
ggrant94
Contributor
Contributor

External IDE

Hey guys,

Is there any external JavaScript editor I can use? The built in one just isn't good enough in my opinion. I'm fairly new with JavaScript and like to test snippets of code as I go along. Using the built in editor is cumbersome!

Reply
0 Kudos
3 Replies
iiliev
VMware Employee
VMware Employee

Hi,

Current workflow designed doesn't support external JS editors (well, unless you have both embedded and external IDE editor opened at the same time and manually do a lot of copy/paste between them, but I suppose you wouldn't want this).

Perhaps in some future vRO version...

qc4vmware
Virtuoso
Virtuoso

It sounds like you probably want the vCO CLI plugin installed.  This gives you a REPL style interaction with vRO which should assist you quite a bit in your development.  Take a look at this Technical Preview of the Command Line Interface for VMware vCenter Orchestrator 7.0.0 and above

If this does not address most of what you want to do with testing small snippets of code can you provide an example of what it is you typically test?  I find just using the node command prompt totally adequate for testing out most javascript on the fly.

Paul

Reply
0 Kudos
ggrant94
Contributor
Contributor

This isn't working for me but let me post what I have done so far.

1. Installed the plugin on my orchestrator server and given it a reboot. (verified plugin installed correctly)

pastedImage_8.png

2. There is a new folder in my workflow library called vCO CLI which contains a workflow called Start Session.
1.jpg

3. I run this and create a session called test, I leave the IP address blank

2.jpg

4. Next I run the vcocli-gui.bat and enter the relevant details and click attach.

pastedImage_5.png

5. Then get the following error

pastedImage_6.png

What am I missing here?

Thanks

Gordon

Reply
0 Kudos