vCO-plugins: documentation of type object & source

Hi guys,.

I'm new to vCO and were it testing the past few days. Powerful tool, really I have to say.

However, there are two things I have really miss me and could not find so far:

-Construction in the API browser is nice to find custom objects provided by the vCO Plugins, but the description of the object often doesn't have any information about the types of objects and parameters (to be precise: all possible parameters and their brands to parameter order, required / optional, parameter object types) and return types. Is there some kind of documentation showing that the available information? I use the browser API the wrong way? It is almost impossible to develop without it.

-This brings me to my next question: are the provided plugins open source? That would make it possible to extend some of the classes as well as of course it would make possible to verify what really happens behind the scenes. I found that for some plugins, like the vCAC plugin for example, it seems to be a package open source the plugin (for example https://my.vmware.com/group/vmware/details?downloadGroup=VCO_VCAC_PLUGIN_520 & productId = 344 ). However, during the inspection of the package I couldn't find the source files for the libraries open source used by the plugin, not the plugin sources themselves.

My question is simple: is it possible the GET the plugins source provided?

Thanks in advance

Robert

Right, I remembered supply open the powershell plugin has been discussed but did not know if this was published as the newer version does not have the included sources.

Tags: VMware

Similar Questions

  • AIR 14 Beta - missing builtin type Object

    I get the error message 'Missing builtin type Object' in Flash Builder after update to 14 beta AIR of projects which do NOT include AIR libraries.

    Tried the usual own projects > re - open projects > restart Flash Builder without a little luck this time...

    Download the "Flash Player beta 14 global swc ' to Download Adobe Flash Player 14 beta for desktop - Adobe Labs.

    Then add it to the eclipse\plugins\com.adobe.flash.compiler_4.7.0.349722\AIRSDK\frameworks\libs\player\14.0

  • VeriStand "Custom Device" creation, including the different types of sources of code for simulation only

    Hello

    Before I ask my questions, I want to describe my problem:

    I would use VeriStand on a PXI system for simulation only. The simulation includes different types of sources such as Maltlab-Simulink-models, MultiSim SPICE models and code LabView for FPGAS-programming. Simulink models are available as a dll-file, generated with 'Real-Time-Workshop' and 'Simulation tool Kid. " They need to generate heavy duty, calculated by the modulation of the vector space and model the performance of a special converter. The MultiSim model will be transformed via a special VI in LabView code. I can generate code VeriStand (--> NI VeriStand--> Generate tools...). The PWM duty cycles of this dll matlab above are for LabView FPGA code entry. This will be the entrance of the gate of the tansistors of the MultiSim-model. Means, space vector modulation generates tension of the door and get the FPGA code to the ports of the inverter model.

    I am new in programming with VeriStand and LabView. I don't know how I can handle this. But NEITHER says it's possible. So my questions are:

    Is it possible to use VeriStand with more than one device Costum and simulate as a whole simulation. How can I associate different files.

    If this isn't the case, that I have to build a LabView Vi, where all the different sources of models are included.

    Is a walkthough or a user guide available, that I can use to fix my problems.

    I hope you can help out me. I need it for my bachelor thesis very fast. Thank you for your attention.

    Best regards Andre

    Here is a document describing how to create compiled LabVIEW templates and import them into NI VeriStand:

    http://www.NI.com/white-paper/12785/en

    The following link is a more general page describing several model and their support environments in NI VeriStand:

    http://zone.NI.com/DevZone/CDA/EPD/p/ID/6488

    Some additional modeling environments are supported, but not necessarily listed here since this is a growing list.  In addition, since NEITHER created a strategy of open model interface called NI VeriStand model framework, it would be possible to connect new types of sources of model in NI VeriStand without too much work.  Then the mapping tool, you found, makes the magic of easily to configure the connections of logical data between models.  You can also easily transfer each model to the individual processor cores, which contributes to the speed of calculation for system-level simulations.

  • Error: unknown type: object is not an array.

    Hello

    I am manually completing a portion of my dataModel, if I put it in a table then it does not display anything, but if I put it to an object then it displays correctly and it compiles without error, but in momentics I get the following error message appear:

    "A type error: unknown type: object is not an array."

    is there a way to get around this...

    .....

    //var dataLine=new Array();
    var dataLine = new Object();
    dataLine["Title"] = "My Title";
    dataLine["Description"] = "My Description";
    myDataModel.append([dataLine]);
    

    Hello

    My dataModel is a GroupDataModel and the code is all in QML/javascript where I'm populating the GroupDataModel so I don't know how I acceding QList QMap ect.

    After some research I found an example like this: that seems to work

    searchDataModel.append({
                            "Title": "MyTitle",
                            "Description": "Rome"
                           });
    
  • vCO plugin, which interface is the action when the menuitem "reload" is clicked a node in the inventory?

    Hello

    The vCO plugin, I'm working on that has an implementation of the inventory, as the vCenter Server plugin inventory provided.

    1.png

    My question is that, when the button 'reload' to a node is clicked (like the screenshot above), in the implementation of IPluginFactory, what 'unique' method will be called.

    When I say 'unique', I mean a method that only will trigger when you click on the button "reload". In this method, I would like to clear the cache and reload the node and its child nodes.

    I know that some methods in IPluginFactory are called, for example find (...), findRelation (...), but it has no sense to clear the cache and reload in these methods because they are not unique (which means they would be triggered in other places where no cache clearing should be).

    So please let me know what method is hung specially for the menuitem "Reload", or any other solution to implement what I wanted. Thanks in advance!

    Hello

    This would invalidate (of string, String id) and invalidateAll() methods in the PluginFactory.

    See you soon,.

    Joerg

  • vCenter vCO plugin 5.1 backwards compatibility

    Hello, I am curious to know if the vCenter vCO plugin 5.1 can also control vCenters 4.x?  I have a situation where the vCenters not all run 5.x and a single instance of vCO is desired.  It doesn't look promising according to the matrix of compatibility, but thought I'd post the question an official response.

    Thank you!

    It should be compatible with vCenter 4.1 and 5.0. VCenter 4.0 came out a long time ago. In theory, it should also work, but you can face some problems. If most of the 4.x vCenters is probably using the old version of the vCO would be preferable. However, if most of the servers are 5.1 or 5.0 and some are 4.x vCO5.1 should be able to do the job.

  • Can we write function pipeline without creating Type objects.

    Hello
    I want to write a pipeline without Type objects function. Is this possible?

    For Ex as below:

    create or replace
    package pipelined_fun
    as
    txn type is (record
    NUMBER of num
    NUMBER of num1
    );
    type txnhist is table of txn;
    function txnhist_fun (p_mbrsep IN VARCHAR2) return pipeline txnhist.
    END;
    /
    create or replace
    pipelined_fun package body
    as
    function txnhist_fun (p_mbrsep IN VARCHAR2, p_mchdt in varchar2) return pipeline txnTable
    is
    TxN1 txn;
    BEGIN
    TxN1.num: = 1;
    TxN1.num: = 2;
    COURSE OF ACTION (txn1);
    COURSE OF ACTION (txn1);
    END;

    END;
    /


    Please advice.

    What you posted is close but your definition of the function in the body is not in the specifications.

    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    
    SQL> CREATE OR REPLACE PACKAGE pipelined_fun
      2  AS
      3     TYPE txn IS RECORD (num NUMBER, num1 NUMBER);
      4
      5     TYPE txnhist IS TABLE OF txn;
      6
      7     FUNCTION txnhist_fun (p_mbrsep IN VARCHAR2)
      8        RETURN txnhist
      9        PIPELINED;
     10  END;
     11  /
    
    Package created.
    
    SQL>
    SQL> CREATE OR REPLACE PACKAGE BODY pipelined_fun
      2  AS
      3     FUNCTION txnhist_fun (p_mbrsep IN VARCHAR2)
      4        RETURN txnhist
      5        PIPELINED
      6     IS
      7        txn1 txn;
      8     BEGIN
      9        txn1.num := 1;
     10        txn1.num := 2;
     11        PIPE ROW (txn1);
     12        PIPE ROW (txn1);
     13     END;
     14  END;
     15  /
    
    Package body created.
    
    SQL> SELECT *
      2  FROM   table (pipelined_fun.txnhist_fun ('a'));
    
           NUM       NUM1
    ---------- ----------
             2
             2
    
    SQL>
    

    Note This support database types will be created by this code, but creating is not explicit and implicit.

  • What is the best (global temporary Table or tables of Type Object)

    Dear all,

    I'll try to refine some code and find that we have a large loop that goes to loop over 100000 times and for each record, it in turn for validation of controls in individual tables.

    I intend to implement all of the functionality of controls using join conditions. I.e. to empty all the data into a global temporary table or tables oracle object type and apply the conditions of verification using join operations, so that I can avoid the unnecessary check for each record.

    If I want to implement this, I want to know what is best. A global temporary table or the Oracle Tables nested.

    Appreciate your response.

    Thank you
    MK.

    If you mean a global temporary table vs a variable from PL/SQL grouping, then 100 + lines is a lot to store in session memory a GTT would be so a more scalable solution. It will give you more options to manipulate the data using SQL.

    Note that a 'table of type object', or 'table object type' can mean a table of database (no PL/SQL) for example "CREATE TABLE MyTable mytype". However, I don't think you mean that.

  • vCAC vCO plugin - get vCACCAFECsResourceType for resource type internal 'IaaS VC VirtualMachine' in the workflow?

    HI -.

    I'm in vCO using the 6.0.1 plugin vCO for vCAC, trying to create a resource vCAC action ADS face a VC:VirtualMachine. When I manually register my process of action in the UI vCAC, he finds the parameter of VC:VirtualMachine and maps to a resource type 'IaaS VC VirtualMachine', and action shows and works against the VMS selected in the user interface elements vCAC.

    Now, in a workflow to create the action for the resource, I try to use createResourceActionFromWorkflow() from the package com.vmware.library.vcaccafe.asd.resourceaction , which requires a vCACCAFECsResourceType (i.e. VCACCAFE:CustomResource) object. I would like to point to the same resource type "Infrastructure.Virtual" that uses the vCAC UI, but I can't seem to find in a safe way.

    If I get a VCACCAFE:ResourceAction created previously and look at his getInputParameter () .getResourceType () in a workflow, I can see an object that looks like:

    [2014-08-11 16:14:50.094] [I] type.id = eaba1f37-6154-4 ch. 17-94ae-ea419cb9e14e

    [2014-08-11 16:14:50.095] [I] type.name = IaaS VC VirtualMachine

    [2014-08-11 16:14:50.095] [I] type.externalTypeId = Infrastructure.Virtual

    [2014-08-11 16:14:50.095] [I] type.vcoType = VC:VirtualMachine

    [2014-08-11 16:14:50.095] [I] type.vcoId = null

    [2014-08-11 16:14:50.095] [I] type.providerId = asd.external

    [2014-08-11 16:14:50.096] [I] type.tenantId = _internal

    and if I make a new vCACCAFECsResourceType() and manually set the values (especially the id) in this object and use it in createResourceActionFromWorkflow(), it works. But he feels unsure and hardcode the type.id in my workflow - is that work on the other vCAC installs?

    Also, I was to get the corresponding vCACCAFEResourceType via:


    vCACCAFEHost.createAdvancedDesignerClient () .getAdvancedDesignerCsResourceTypeService () .getResourceType ('_internal', 'Infrastructure.Virtual');

    but it's a different object class and I do not see how to get the vCACCAFECsResourceTypecorrespondent.

    I also tried to do a com.vmware.library.vcaccafe.asd.customresources.createCustomResourceFromInventoryType ("VC:VirtualMachine"), then using this vCACCAFECsResourceType to create the resource action. It creates and publishes very well, but the action never shows in the vCAC UI (using the same rights as when using Infrastructure.Virtual).

    Any ideas? Thank you

    Greg

    This turns out to be just a question in 6.0.

    When I switched to 6.1, the entries in the 'Resources mappings' tab in the show of the interface user upward into the folder "ASD Custom Resources" in the inventory of the vCACCAFEHost and vCACCAFEEntitiesFinder.findCustomResources (host), returns with the mapped to 'VC:VirtualMachine' have good guid. This same method in 6.0 returns an empty array.

  • Several node Plugin - invalid attribute type: properties

    Hi all

    I have installation multi-user plugin. The workflow fails with the error "invalid attribute type: properties. One of the parameters on the flow of working remotely is a "Properties". It works fine without setting of type of properties. Y at - there no limitations on the types of parameters for multiple node plugin.

    Thank you

    Hello

    Looking at the source code of the plugin multi-Node, it seems that not all existing parameter types are supported, including Properties and the properties of table /. Not sure if this is the case of the design, or if it is an incomplete implementation / bug (it's probably the last).

  • vCO Plugin Version Control System Support

    I read in some places that there is support for maven vCO to manage workflows (and other stuff of package) in a build and version control for the side dev.  In the Orchestrator Release Notes, there is a bulleted list item:

    • The version control system support
      Client vCenter Orchestrator offers the possibility to export existing packages directly to a folder. Once workflow packages are exported, they can be easily integrated with a version control system and the content can be easily worked within the team.

    And in this forum thread, I read that there is even a maven plugin to serialize an XML file and the binary .package...

    Version control for the workflows of vCO and packages

    The problem is that I can't find a lot of documentation of all this stuff of Maven.  I found the following link talking about the maven repo, which comes with the vCO.  However, I use the vCO comes with the vCAC device, and that the link does not work against my camera vCAC.

    Creating Plug-Ins using Maven

    (1) where the docs on the maven stuff?

    (2) where the maven repo in the context of the Oct in the context of device vCAC?

    Thank you!

    I think we are talking about different things:

    Versioning of workflows (and other 'content' vCO) vs vCO developing a Plugin.

    Of course, you must first included in your Plugin development process, too.

    Maven integration mentioned in the development of Plugin release notes targets vCO, it is available in the 5.5.1 'stand-alone' device, but NOT YET in the 5.5.1 version that is part of the vCAC.

    As Christopher mentioned, go to the 'Develop with vCO' link on the homepage of the device to see the commands to use for developing a plugin maven archetypes.

    If you are not interested in the development of a plugin for vCO, but 'just' for version control workflows, it is not of interest.

    See you soon,.

    Joerg

  • How to create the Clone VM using VCO plugin to vCloud Director?

    Hello

    Vcloud Director I can do a right-click option to copy of VM use for cloning. However, vCenter Orchestrator 5.1, I don't see the copy method in the VclVM object.

    How to write a stream VCO to clone a virtual machine that is customized?

    Kind regards

    Danie

    In vCD you need to recompose a vApp to clone a virtual machine in a paralytic.

    Here's some code I created for the vCD 1.5

    var recomposeVAppParams = new VclRecomposeVAppParams();
    var vmItem = new VclSourcedCompositionItemParam();
    if (vmName != null) vm.name = vmName;
    vmItem.source = vm.getReference();
    vmItem.sourceDelete = false;
    vmItem.instantiationParams = new VclInstantiationParams();
    
    //var numNetConnections = vm.getNetworkConnectionSection().networkConnection.size();
    
    var networkConnectionSection = vm.getNetworkConnectionSection();
    vmItem.instantiationParams.section.add(networkConnectionSection);
    
    recomposeVAppParams.sourcedItem.add(vmItem);
    return vApp.recompose(recomposeVAppParams);
    

    If you want to just clone the VAPP then it is a workflow of clone in the library of vCloud.

  • leak of vCO API Documentation?


    Hello

    try to add the host XML patches results in a single document, I tried to insert a node from a document in another, the main document. OK, I know that this is not allowed. All about evil with the error message and the API documentation

    API-XML-fault-01.PNG

    I had him.

    On http://download.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Document.html , I found several methods as in the document and this one:

    API-XML-fault-02.PNG

    I tried it and everything works fine.

    So my question (s):

    • This work, because of my JRE on VCO4.1 and maybe does not work on the other VCO4.1?
    • If it works on each VCO4.1, is that a leak of documentation and are there more method (see link) I can use?

    Kind regards, Andreas

    There are a lot of vCO undocumented methods in the search API, particulaly in the XML file.

    The reason for this is that these are not classes / plugins that have been developed by the developers of vCO but jar files that have been added providing hundreds methods but without an easy way to be documented in the VSO.xml file.

    If you want to make full use of them, you can check out what pots are used and go to their official documentation.

    Christophe.

  • setFill (Color) via an object Source or Id = ((Node) Source.getId ())

    I am able to run the following code to get Style Id assigned to a variable:

    public void pixelClicked (javafx.scene.input.MouseEvent event) {}

    Sour object = this event.getSource ();

    if (source! = null) {

    pixelIdentification = ((Node) source) .getId ();

    }

    System. .println ("PixelID is" + pixelIdentification);

    System. .println ("Source is" + source);

    System. .println ("Variable pixelColor is" + pixelColor);

    The fingerprint is:

    PixelID is 11

    Source is circle [id = 11 = 0,0 centerX, centerY = 0.0, RADIUS = 10.0, fill = 0xa9a9a9ff, stroke = 0x000000ff, strokeWidth = 1.0]

    Variable PixelColor is 0xff0000ff

    I also change the background color of the object that is a circle, but after that I can't get the correct code.  My best idea is:

    source.setFill (pixelColor);

    but the error is setFill is not recognized.

    Could someone explain to me, with the data collected above, what is the code would change the background color of the Circle object?


    setFill() is a method of class circle, not the Object class and not the Node class. If you are sure that the source is a circle, you can cast:

    if (source instanceof Circle) {
      ((Circle)source).setFill(pixelColor);
    }
    

    The nature of this issue and some of your previous, you probably need to revise some courses of programming oriented object to learn the basics.

  • Invalid combination of types of Source/Transaction batch

    I am trying to enter a note of credit of the AR.  I get an error message when you select a transaction type with a manual of the package Source.  The message says "Invalid Source and Transaction Type combination lot".  This Type of Transaction has been used with a Source of non-manual batch for the other transactions.  Can still be used with a manual batch Source?  How can I fix this error message.

    Thank you

    Maura

    OK if the message comes from customization, you should review your business requirements and customization.

    Samir

    (Please check this thread as answered if your question is addressed)

Maybe you are looking for