Issue by the way CHIEF: ChefHost Chief Workflow parameter in vRealize Orchestrator API

I have an environment with vRealize Orchestrator with CHIEF plugin installed. I want to call the API to initiate a workflow LEADER in vRealize Orchestrator.

I want to call the workflow MANAGER Add New Role . The input parameters for this workflow are

<input-parameters> 
     <parameter description="Chef Server" type="CHEF:ChefHost" name="host"/> 
     <parameter description="Name of new role" type="string" name="role"/> 
     <parameter description="(Optional) Description of new role" type="string" name="description"/> 
</input-parameters>

The format for sending the parameters of the form type="string" is

In JSON

         

{
     "value":{"string":{"value": "role name"}},
     "type": "string",
     "name": "role"
}

In XML

<execution-context xmlns="http://www.vmware.com/vco">
  <parameters>
       <parameter name="role" type="string">
            <string>Role Name</string>
       </parameter>
  </parameters>
</execution-context>

         

The problem, I do face is with the parameter type="CHEF:ChefHost" . I can't get the correct syntax for the shipment of type = "CHIEF: ChefHost '. During the test with the factor, I always get a 400 error with descriptionThe request sent by the client was syntactically incorrect.

Is there a document that shows how to create a CHEF:ChefHost type?

PS: I asked this question in http://stackoverflow.com/questions/37405901/issue-in-passing-chefchefhost-parameter-for-chef-workflow-in-vrealize-orches...

Because I don't have an answer of SO, I ask you here.

Chief Guest, as any other plugin object are passed as objects sdk-object are identified uniquely by their type and the id attributes. Here's how the body of the request should look like:

in XML:


    
        
            
        
    

in JSON:

{
  "parameters" : [
    {"value":{"sdk-object":{"type":"Chef:Host","id":"b0c408c4-1d85-4a97-9314-727552fd5a39"}},"type":"Chef:Host","name":"host"}
  ]
}

You need to replace the id attribute in applications above with the current host id. To find the real ID of your host, you can query vRO catalog REST API - /GET https://{vro-host-or-ip}:8281/vco/api/catalog/Chef/Host

In the returned response, find your host data, get the value of the dunesId attribute (must be a GUID string) and use it as a value for the id attribute in applications above.

Tags: VMware

Similar Questions

  • By the way a column as a parameter name

    Good afternoon

    I was wondering if any of you ever come across the following situation and found a way to work around...

    I recently created a PivotTable using SQL query (body of function from PL/SQL returning SQL query).

    The table was composed of the following information:
    -Date range, Type of object, and count.

    The final table looks like this (forgive the lack of fancy markup, if all goes well he will get the message):
    Date        Object A    Object B    Object D    Object G
    01-apr-09   10           16         50          43
    02-apr-09   1            15         77          35
    03-apr-09   19           0          14          17
    04-apr-09   15           7          70          20
    05-apr-09   7            6          65          50
    And he keeps going.
    I had to create the code dynamically because I don't know what objects I will get course in the same range of dates (for example: I could have something to object C and nothing for object D in March). I had a loop of the cursor in the types of objects before creating the SQL query that creates the table above.

    The table now works fine. What I'm trying to do now is to do a little data mining.

    Since everything is built dynamically, I can't give the real column names in my report. Is it possible that, when I click on, for example, the '10', on April 1 in one who opposed the column heading 'Object A' is passed? #COL02 # pass only the value '10', which is not what I want, and I have tried other variations such as: COL02 and & COL02. without much luck.

    If you can shed some light on this problem, that would be greatly appreciated!

    Thank you for your time.

    Ivan

    Hello

    You can also use the substitution #COLUMN_HEADER # (ie. not #COL2 #, but in fact #COLUMN_HEADER #)

    See you soon

    Ben

  • problem of installing active sync 6.1 64-bit with active sync. you have a known issue with the compatibility. you have a work around where the way to get these two together?

    problem of installing active sync 6.1 64-bit with active sync.  you have a known issue with the compatibility. you have a work around where the way to get these two together?

    See: http://answers.microsoft.com/en-us/winphone/forum/wp6n-sync/microsoft-windows-mobile-device-center-61-driver/4cd26ba2-9583-47b7-b5e7-32b382cee0b2

  • I cancelled iTunes on a Macbook Air, issued by the school.  All my music is stored/saved on my iMac at home.  If I delete the playlists and songs of the Macbook it will affect my master library?

    I cancelled iTunes on a Macbook Air, issued by the school.  All my music is stored/saved on my iMac at home.  If I delete the playlists and songs of the Macbook it will affect my master library?

    Unless you're 'home sharing', which he does not seem like you are, two libraries (macbook and iMac) are distinct, so a change does not affect the other.  Best way to test would be to remove a few songs you can download easily and see if it changes.  But I don't think it will be a problem.

  • Satellite A300-1tim: - issue of the multimedia keys

    Hello

    I have a Toshiba Satellite A300-1tim: PSAGCE-08X00GPL.
    After reinstalling Windows (Vista 32 bit), everything was fine until the moment when I wanted to turn off the backlight touch multimedia keys, those just above the keyboard (above the F1 to F12 keys).

    Mute, play/pause, stop and change of tracks in Windows Media Player buttons worked very well, except the second button - turning on WMP (but it was flashing after pressing).

    Some time ago, I had these configured buttons in a way the first person (currently silent) turned to the large backlit, second one - a shot on Winamp.

    I installed the package of added value and Toshiba Assist. Now, in Toshiba Assist, after choosing "Toshiba buttons" I only empty fields.
    When I chose to browse and dir: TBS try to choose any function (e.g. drive - disable backlit) it appears in the path and Description sections, I can type something in Option, but nothing appears in the section last but the most important: button name, has nothing to choose, blind fields on the list.

    Of course after you press the register there is no response when I press any button.
    Maybe someone has seen something like that?

    HWSetup I can turn back-lit, but this is not the point, I would do it with a single button as before.
    Value added package 1.1.19 installed with FeatureSelect.ini 1.1.14 (common failure of Toshiba) also chcked v. 1.1.14 (two versions available)
    BIOS 2.20
    Toshiba Assist 2.01.04

    Checked the registry and saw that I have all the keys in the registry:
    HKEY_LOCAL_MACHINE\SOFTWARE\Toshiba\TBS\DefaultSet ting\
    I don't want to dirty it so I did not change anything

    BTW, sory for my English: bravohelen:

    Please check these discussions on similar issues with the multimedia keys on Toshiba.
    http://forums.computers.Toshiba-Europe.com/forums/thread.jspa?threadID=66372
    http://forums.computers.Toshiba-Europe.com/forums/thread.jspa?threadID=36917

    * Solution: *.
    Uninstall the VAP
    clean the registry with Ccleaner
    reset

  • Calculate the values of a SharePoint workflow status Page column lines

    On the workflow status page, how can I have a column with a value in the column lines?  My workflow page lists commands that are in the workflow.  I wish there was a column where the value of each PO, displays a running total of the PO rises before him.

    Hello

    It is not a community forum for issues of SharePoint. Please post to the appropriate

    Forum on MSDN SharePoint.

    http://social.msdn.Microsoft.com/forums/SharePoint/en-us/home

    Don

  • I have verticle colored lines - from the bottom to the 1/2 in screen - I can see through them to read - I need to know the WAY to delete these lines

    I mâtinées verticle lines - from the bottom to the 1/2 in screen - I can see through them to read - I need to know the WAY to delete these lines - I once, a few years ago, removed, but they reappear - not my conscious fault - this is my old computer - A Compac - Windows 95 as an operating system

    Hello

    You should check with Support of Compaq, their documentation online and drivers,
    and ask in their forums about known issues.

    Microsoft product support has ended for Windows 95 a decade ago.

    Compaq - support, drivers and documentation online
    http://www.Compaq.com/country/cpq_support.html

    Compaq (HP) - Forums
    http://h30434.www3.HP.com/PSG/|

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle="" -="" mark="" twain="" said="" it="">

  • Need help to get back to the way it was when I got it

    My computer is a DellXPS400, age of 4 years. XP operating system. Please tell me how to recover my computer to the way it was when I bought it. I particularlty don't care if I lose the software. It's far too slow. It will only allow me to take it back to July 31, 2011. I want back to the factory. Any help would be appreciated. Thank you.

    Hello

    I recommend you contact Dell support team for assistance on this issue. However, refer to the following articles, which may be useful.

    Slow PC? Optimize your computer for peak performance
    http://www.Microsoft.com/athome/Setup/optimize.aspx

    How to make a computer faster: 6 ways to speed up your PC
    http://www.Microsoft.com/atwork/maintenance/speed.aspx

  • I am trying to reinstall vista on another laptop and when I get to the last step (end Installation...) it stops, about 70% of the way through. Now what? I tried to repeat the process about 6 times now!

    I am trying to reinstall vista on another laptop and when I get to the last step (end Installation...) it stops, about 70% of the way through.  Now what? I tried to repeat the process about 6 times now!

    Sorry for the confusion.  I must be useless to English.

    Forget the two laptops.
    I have a problem with a laptop that I tell you all (the Inspiron 1720).
    The disc that I use is labeled as a Windows Vista reinstall disk and provided with the computer when I bought it.  I'm not trying to use it on another computer.

    Reference Dell it is a problem with a process of recovery of Windows and, therefore, a problem of Microsoft.

    See you soon

    Problems with the Dell restore process, contact Dell.
    Dell wrote their recovery process and provided you with this DVD, NOT Microsoft...

    It is their software.

    Ask them for a different recovery DVDs.

    You say that the hard drive has failed.

    He could have more than just tough that failed.
    You can have other hardware issues.

    Hardware issues are beyond the scope of these Forums.

    Good luck with Dell.

    See you soon. Mick Murphy - Microsoft partner

  • My Windows 7 Pro system has some serious hardware, internet connection and security issues. The system image and restore the system in case of failure.

    My Windows 7 Pro system has some serious hardware, internet connection and security issues.

    My efforts to remedy by restoring a system image backup failed.  At this point, I'm ready for a new clean install if I have to buy a drive to do.  My question is whether a professional Ultimate upgrade will or will not fix these bugs.  In addition, what is the cause of restoring the system to fail?  I never turned off or cannot create regular restore points.

    Original title: upgrade a "Fix" for existing system problems?

    My Windows 7 Pro system has some serious hardware, internet connection and security issues.

    My efforts to remedy by restoring a system image backup failed.  At this point, I'm ready for a new clean install if I have to buy a drive to do.  My question is if an upgrade to Professional Ultimate will be or not correct not these bugs.  Also, what is the cause System Restore to fail?  I never turned off or cannot create regular restore points.

    Hello

    1 re-installing/repairing software will not fix hardware issues.

    2. the operating system upgrade is not the way to solve computer problems that can be carried forward.

    3 1. If you use Norton, you should disable Norton inviolable Protection before using System Restore.

    http://Service1.Symantec.com/support/sharedtech.nsf/pfdocs/2005113009323013

    AVG will cause problems with SR too.

    «Temporarily disable AVG»

    http://www.Avg.com/ww-en/FAQ.Num-3857

    2. try to use Safe Mode system restore.

    http://Windows.Microsoft.com/en-us/Windows7/products/features/system-restore

    "Start your computer in safe mode.

    http://Windows.Microsoft.com/en-us/Windows/Start-computer-safe-mode#start-computer-safe-mode=Windows-7

    3 Malware will stop at the system restore.

    Download, install, update and scan your system with the free version of Malwarebytes AntiMalware:

    http://www.Malwarebytes.org/products/malwarebytes_free

    ____________________________________

    We really need for more details:

    "My Windows 7 Pro system has some serious hardware, internet connection and security issues.

    See you soon.

  • The way my computer displays things changed.

    The way my computer displays things changed somehow. My son may have hit something. I don't see icons and logos in internet (do not know what what call you) and everything seems weird. My weird hotmail also, grid looks like. I don't know much about computers and may not know how to solve this problem. Help, please

    Hello

    Please follow the methods:

    Method 1:

    a. open Internet Explorer, go to Tools.
    b. click on Internet Options, on the general tab, in appearance.
    c. click on accessibility, in the formatting, make sure that there are no check marks in these 3 selections and check the issue.
     
    If you still have the same problem, then follow the next method.
     
    Method 2:
     
    Reset the settings of Internet Explorer 9:
     

    Note: Reset the Internet Explorer settings can reset security settings or privacy settings that you have added to the list of Trusted Sites. Reset the Internet Explorer settings can also reset parental control settings. We recommend that you note these sites before you use the reset Internet Explorer settings.

    If you are still having the same problem, then follow the next method.

    Method 3:

    Try changing the Windows theme and make sure they have not enabled high contrast.

    For reference:

    Change the colors on your computer:

    http://Windows.Microsoft.com/en-us/Windows7/change-the-colors-on-your-computer

    I hope this helps.

  • Can I switch to XP (32 bit) to W7 74 bit? Tips on the way?

    Update W7 64

    Can I switch to XP (32 bit) to W7 74 bit?  Tips on the way?

    No, you can't.

    You will need to do a custom installation.

    The upgrade to Windows XP?

    Please read these instructions carefully and completely before you begin installing Windows 7: there are important steps that you must follow to upgrade your PC from Windows XP to Windows 7 in order to preserve your files and settings.

    Before you begin, you'll need to backup all your data to an external storage device, and you will need all the installation discs for the programs that you want to keep. Please make sure that you have an external hard drive (see details below).

    More detailed instructions are available at windows.microsoft.com/upgrade-windows-xp. Here are the basic steps.

    1. start Windows Upgrade Advisor (windows.microsoft.com/upgradeadvisor) to see if there are known issues that may affect the installation and the question of whether you should install the version of 32 or 64 bit Windows 7.

    2 back up your files and settings on an external hard drive using Windows Easy Transfer (windows.microsoft.com/windows-easy-transfer). If you do not have an external hard drive, you will not be able to use Windows Easy Transfer. Alternatively, you can copy the files you want to keep on a USB stick, CD or DVD.

    3. you will need to manually reinstall your programs, such as Microsoft Office, after I installed Windows 7. Gather the installation for your programs and all partner/license product key discs. You may be able to download programs from the Internet. For example, Windows Live Messenger can be installed from the download.live.com/messenger.

    4. Insert the Windows 7 DVD in your PC. When asked "which type of installation you want. Click on "Custom (advanced)."

    5. when Windows 7 is installed, use Windows Easy Transfer to restore your files and settings.

    If you are not comfortable Windows 7 installation, check with a local retail or the services of the PC company store to see if they offer upgrade services.

    http://www.notebooks.com/2009/10/13/WinXP-to-Win7/

  • My computer removes the programs and changes the way it works without my help or knowledge

    Hello

    I had a problem recently with my computer changes the way it works with some programs. I use my computer to print postage labels, and all of a sudden, now it asks me to save in my documents before I can print them. I did have to take the additional step before.

    And also, I use Adobe Acrobat to print the labels, and this afternoon, I printed a label and then had to leave. When I came back home I need to print another label, but kept getting the error 'invalid registry. When I checked the Adobe Acrobat program was missing from my computer?

    I'm the only person in my family who use this computer. Who removed the program? Can I have a virus? My computer works just fine in general, it's fast and responsive. Is it Spyware or malware? Everyone is faced with this problem?

    Thank you for your help...

    Darryl Hello,

    Thanks for posting your query in Microsoft Community.

    We regret the inconvenience caused to you. We will help you with the question.

    1. Have you checked in programs and features if you can find the Adobe Acrobat program?
    2. Have you installed all the updates of Windows pending?

    For now try the steps and check them off below if it helps:

    Step 1: Install all pending Windows updates and check.

    Step 2: Follow the suggestion given by Cynthia kasibhatla from link given below and check if this can help:

    http://answers.Microsoft.com/en-us/Windows/Forum/windows_8-Winapps/reader-error-invalid-value-for-registry-when/e76fe781-9457-4f48-93e2-a85b443ef3be

    Let us know the status of the issue. We will be happy to help you further.

    Thank you.

  • * Urgent * Weblogic 10.3 is not accessible after change the way administrator

    I've followed this blog to set up an SSL connection. http://one-size-doesn

    One of the measures mentioned must allow the weblogic console Administration port . I did this and change the port of the Admin. But, after registration, all get missed up to the closed conclose and I couldn't run the Jdeveloper application form.

    The error message is:

    The error message is:

    The user ' directors [weblogic, directors] =' the role of the administration. All jobs by administrators must go through an Administration Port.

    Authentication failure connecting to the IntegratedWebLogicServer application server. Please check the settings.

    Cannot complete the commissioning of the IntegratedWebLogicServer application server.

    [IntegratedWebLogicServer Instance server stops.  All running applications will be terminated and canceled.]

    [End of forcing of IntegratedWebLogicServer]

    Taskkill /F/PID 7480

    Process is complete.

    This blog http://oraclemva.wordpress.com/2012/01/10/soa-oim-integration-and-weblogic-administration-port/

    discuss this issue, BUT assuming that I can access the console weblogic. But this isn't the case for me.

    I use 11.1.1.7 Jdeveloper and weblogic 10.3

    Problem solved by following frank manner in this thread: Re: authentication failure connecting to the IntegratedWebL application server

    You must rename or remove the file system and the weblogic sever will be insinuated re.

    [In my case, this is the way to find these files: Insert here the C:\Users\[The username] \AppData\Roaming\JDeveloper

  • To create the new group business with workflow vCO

    I'm working on a workflow of vCO that will allow members of my team to put in place new teams in vCAC...

    I can't to his exercises how mapping the output of 'Create a prefix Machine', which is vCAC:Entity to the Machine of the Enter prefix (defaultMachinePrefix), which is vCACCAFE:MachinePrefix.

    When I try to transmit the ID of the entity to the prefix defaultMachine I get the following error: cannot convert undefined to java.util.UUID (workflow: Set up vCAC new user / create a group of companies (item6) #4)

    Did anyone had success or trying to do something that we can't do?

    See you soon

    OK finally managed to do...

    vCACCAFEEntitiesFinder is the way to go for this kind of things.

    Here's what I did to move the machine of the prefix vCACEntity to vCAC:MachinePrefix:

    Entries:

    mp_new MachinePrefix (vCAC:Entity out of new machine OU prefix)

    vCACCAFEHost (vCACCAFE:VCACHost)

    Outputs:

    mp_defaultMachinePrefix (vCACCAFE:MachinePrefix)

    function getMachinePrefix() {

    var vCACCAFEMachinePrefix;

    var array = new Array();

    array = vCACCAFEEntitiesFinder.getMachinePrefixes(vCACCAFEHost);

    var machinePrefix = mp_newMachinePrefix.getProperty("MachinePrefix");

    System.log("Searching for machine prefix..");

    for (var i = 0; i < array.length; i++) {

    if (array[i].name.toLowerCase() == machinePrefix.toLowerCase()){

    System.log("Found MachinePrefix : " + array[i].name);

    vCACCAFEMachinePrefix = array[i];

    }

    }

    return vCACCAFEMachinePrefix;

    //Set default prefix mp_defaultMachinePrefix = getMachinePrefix();

    if(!mp_defaultMachinePrefix){

    throw "Could not find machine prefix entity";

    }

Maybe you are looking for

  • Complaint of game

    How can I report to Apple to complain about a game? This is something that developers have done that, I think is wrong and want Apple to examine it. Is this possible, or will they insist that I'm only working with developers? I think what they did ma

  • I need my registry

    I need my registry # to my other computer, I is no longer. Is there a # I can call?

  • Windows msv3260 dll error

    Whenever I start my computer, it gives me an error of loading c:\WINDOWS\msv3260.dll error message.  You can give me any help will be greatly appreciated.

  • I downloaded a game of Scrabble, but microsoft cannot complete installation

    I downloaded a game of Scrabble game Alawar (downloaded originally in February but as did not advised to re - download).  When Microsoft starts installing it stops near the end, and a message tells me that there is a problem.

  • BlackBerry 10 e-mail accounts on your main screen access

    Is there anyway to make an e-mail icon to open your emails on your home screen, or do you need to go through the hub every time to see an email? I see those texts and bbm, but not email. Thank you!