execution of action vCO 5.5.1 api

I see on the news listed in VMware vCenter Orchestrator 5.5.1 published there is a note to be able to perform api actions of vCO.

There are a few new REST API calls in 5.5.1

A notable new features, is that you can start an action of vCO through the REST API:

  • POST /actions/ {actionId} / executions performs an action with identifier assigned
  • POST /actions/ {categoryName} / {actionName} / executions performs an action with the function category and name

In my real install 5.5.1 however I do not seem to be able to find this feature of the API at all. Wrong notes here or I'm looking in the wrong place?

I checked and it's my mistake. This feature has been implemented on a generation that was a few days after the GA 5.5.1 I'm sorry about that. When I checked I did on the worng device.

I'm sorry.

Tags: VMware

Similar Questions

  • POST CURL with vCO 5.1 REST API

    I am trying to invoke a vco workflow by using the 5.1 REST API through curl. I could do GET without any issue; but POST always gives me the 400 bad request error below. I want to use json instead of xml, so I passed in "Content-Type: application/json". I am using windows curl.

    Initially I tried to create a settings file to json with "-d @filename"; It gives the same error.

    If someone could tell what is wrong with my syntax? Thank you.

    curl-i k - vcoadmin:vcoadmin of the user x POST h ' Content-Type: application / json ' https://192.168.1.7:8281 / api/stream/dec0e608 - 8 b 8
    3 4e32-8825-3e77ef31c4d7/presentation/instances - d '{} '.

    HTTP/1.1 400 Bad Request
    Content-Type: text/html; charset = utf-8

    Content-Length: 965
    Date: Tuesday, March 5, 2013 02:31:19 GMT
    Connection: close
    Server: vCO Server

    < html > < head > < title > JBossWeb/2.0.1.GA - error report < / title > < style > <!-H1 {make-f
    amily:Tahoma, Arial, without serif; color: white; background-color: # 525-76; font-size: 22 p
    x ;} H2 {do-family: Tahoma, Arial, without serif; color: white; background-color: # 525 76}
    do-size: 16px ;} H3 {do-family: Tahoma, Arial, without serif; color: white; background}
    -color: # 525 76; do-size: 14px ;} BODY {do-family: Tahoma, Arial, without serif; color:}
    Black; background-color: white ;} B {do-family: Tahoma, Arial, without serif; color: whit}
    e; background-color: # 525 76 ;} P {do-family: Tahoma, Arial, without serif; background: w}
    Hite; color: black; do-size: 12px ;} A {color: black ;}} B.SID {color: black ;}} HR {co
    Lor: # 525 76 ;} --> < / style > < / head > < body > < h1 > State HTTP 400 - < / h1 > < HR size = "1".
    NoShade = "noshade" > < p > < b > enter < /b > < /p > < p > < b > report message < /b > < u > < / u > < / p > <
    p > < b > description < /b > < u > the request sent by the client was syntactically incorr
    (CT). < /u > < /p > < HR size = "1" noshade "noshade" = > < h3 JBossWeb/2.0.1.GA > < / h3 > < body / > < /.
    HTML >

    Hi jiang.

    Could you try without the quotes around the parameter d data?

    curl-i k - vcoadmin:vcoadmin of the user x POST h ' Content-Type: application / json ' https://192.168.1.7:8281 / api/stream/dec0e608 - 8 b 8
    3 4e32-8825-3e77ef31c4d7/presentation/instances - d {}

    -Ilian

  • How to import plugin VCO through the REST API

    I try to import plugin VCO via customer REST VCO, it always by listed below error

    Exception in thread "main" org.springframework.web.client.HttpServerErrorException: 500 Internal Server Error

    at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:92)

    at org.springframework.web.client.RestTemplate.handleResponseError(RestTemplate.java:494)

    at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:451)

    at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:423)

    at org.springframework.web.client.RestTemplate.postForEntity(RestTemplate.java:328)

    at com.vmware.o11n.sdk.rest.client.services.PluginService.importPlugin(PluginService.java:65)

    at com.vmware.o11n.sdk.rest.client.services.PluginService.importPluginFromFile(PluginService.java:53)

    at FileUploadAdv100.uploadVCOPluginsList (FileUploadAdv100.java:53)

    at FileUploadAdv100.main (FileUploadAdv100.java:26)

    My code is here

    File pluginFile = new File("D:\\vcoplugins\\JAVARESTSDK_Examples\\o11nplugin-powershell-1.0.1.vmoapp");
    Boolean overwrite = false;
    SessionFactory VcoSessionFactory = createSessionFactory();
    Authentication auth = createAuthentication (sessionFactory);
    Session VcoSession = sessionFactory.newSession (auth);
    PluginService pluginService = new PluginService (session);
    pluginService.importPluginFromFile (pluginFile, overwrite);

    Concerning
    APR

    Hi APR,.

    PluginService.importPluginFromFile () supports only import plug-ins of .dar files, not files .vmoapp.

    The good news is that you can extract the .dar file is the .vmoapp file. Simply open the file .vmoapp with a program that can open. ZIP archives (like WinRar, WinZip, 7-zip, etc.) and check out the .dar file. Then change your code to pass the path to the file .dar (the first line of your code).

    Another option would be to try PluginService.importApplicationFromFile (), which should support the import of .vmoapp files.

    Hope this helps,

    -Ilian

  • execution of actions on a selection based on the object type

    Hello.

    I am trying to write an AppleScript that considers the current selection, then redefines the scaling of all lines of that selection to 100%, and then sets the absolute horizontal scale of the remaining elements of the selection to 100%.

    My attempts so far are:

    say application «Adobe InDesign CS3»

    put Original_Selection to selection

    put to each graphic line of Original_Selection Lines_Selection -this part is not working

    put transform reference point of window layout 1 to anchor Center

    Choose Lines_Selection

    redefine the scaling to the selection {1.0 , 1.0}

    Choose Original_Selection - but it must be ' Original_Selection less Lines_Selection ' somehow

    put horizontal scale absolute at 100

    end say

    None of this really works as I expect, but I can't find out the required syntaxes. Anyone know where I am going wrong?

    Thank you.

    Try this:

    say application «Adobe InDesign CS3»

    the value transform reference point of window layout 1 of anchorage Center

    redefine the scaling of (each point of selection which class is the line graph) to {1.0, 1.0}

    the horizontal scale absolute value of (each element of selection whose class is not graphic line) to 100

    end say

    --

    Shane Stanley [email protected]>

    AppleScript Pro, April 2010, Florida http://www.applescriptpro.com>

  • Run the workflow - vCO 5.1 API

    Hi, I have problems running a Workflow using the new VCO 5.1 RESTful API. Ask yourself if you can help.

    I'm trying to run a workflow called "HelloAPI", which simply takes an input parameter 'name', which is then printed to the System.log.

    I get the error message:

    The request sent by the client is syntactically incorrect.

    Status code: 400

    When you try to run the POST according to the API.

    curl - k - user vcoadmin:vcoadmin h ' Content-Type: application / xml ' X - POST d open https:// < vco-Server >: 8281/api/stream/3572df5e-f1ba-4ac4-b7f6-ea3b2cf4bc60/executions/

    Open looks like:

    <? XML version = "1.0" encoding = "UTF-8"? >
    " < vco:execution - context xmlns:vco = ' http://www.VMware.com/VCO "xmlns ="vco"> "
    < vco:parameters >
    < name vco:parameter = "name" type = "string" description = "' worn 'local' = >"
    Curl < vco:string > < / vco:string >
    < / vco:parameter >
    < / vco:parameters >
    < / vco:execution - context >

    Initially, I had problems because of the Type of content, but was able to solve that by sending in the header. For me, this XML file looks like how the execution context should according to the API documentation. Any help would be appreciated.

    Thank you

    Steve

    Hi Steve,.

    POST-ment to. .. /workflows/ {identifier} / presentation/instances / creates a new run of presentation which is useful if you want to validate input parameters. If you are sure that they are valid (as in your example) you don't need to start running a presentation; You can directly start the workflow runtime.

    As I said in my previous answer, your first attempt was almost correct except the curl command line syntax to specify the request file - it should be

    @request.xml d


    Thank you

    Ilian

  • Access to the VCO rest api vsphere Client Web plugin

    Hello

    I want access to vco rest api vsphere Web Client plugin. I know I can find key holder in UserSession object but I failed generate the Authorization (especially the signature part) header. I'm trying to generate the authorization as described in the message header . But still get the signature verification failed. I can't use java sdk to rest because the user credentials not available for the plugin.

    Could someone help?

    Hello

    Here are a few snippets of the existing plugin that communicates with the vCO using the REST API.

    Please let me know if that is enough or you need something more.

    import java.security.PrivateKey;
    import com.vmware.vim.sso.http.AuthCalculator;
    import com.vmware.vim.sso.http.AuthCalculatorFactory;
    import com.vmware.vim.sso.http.SignatureAlgorithm;
    import com.vmware.vise.vim.security.sso.SsoService;
    
    httpRequest.addHeader("Accept-Language", locale.toString().replace('_', '-'));  // Not sure if this is related
    
    PrivateKey keyPair = ssoService.getHokPrivateKey();  // You should have this already
    SamlToken samlToken = ... // You should have this already
    String currentToken = samlToken.toXml();
    
    String[] token = null;
    if (keyPair != null && currentToken != null) {
       AuthCalculator calc = AuthCalculatorFactory.instance(SignatureAlgorithm.RSA_SHA256);
       token = calc.computeToken(request, keyPair, currentToken);
    }
    
    if (token != null) {
       for (int i = 0; i < token.length; i++) {
          httpRequest.addHeader("Authorization", token[i]);
       }
    }
    

    Try it and let me know if you have any questions.

  • Error when querying the vCO REST API

    I have tries to interrogate vCO for a list of names of workflow but hit problems.  I do a GET request to the following URL by using a client of REST easy:

    https://VCO.domain.local:8281/api/workflows? key = name & maxResult = 5

    Request headers:

    Accept: application/json;v=5.1.1

    Content-Type: application/json;v=5.1.1

    Authorization: Basic 8s7f6s8f698s6f87s68f7 =

    Connection: keep-alive

    Origin: chrome extension: //rest-console-id

    User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_5) AppleWebKit/537.36 (KHTML, like Gecko) Safari/537.36 Chrome/30.0.1599.69

    I get the answer next, followed by a stack dump:

    < html > < head > < title > JBossWeb/2.0.1.GA - error report < / title > < style > <!-H1 {do-family: Tahoma, Arial, without serif; color: white; background-color: # 525 76; do-size: 22px ;}} H2 {do-family: Tahoma, Arial, without serif; color: white; background-color: # 525 76; do-size: 16px ;}} H3 {do-family: Tahoma, Arial, without serif; color: white; background-color: # 525 76; do-size: 14px ;}} BODY {do-family: Tahoma, Arial, without serif; color: black; background-color: white ;}} B {do-family: Tahoma, Arial, without serif; color: white; background-color: # 525 76 ;}} P {do-family: Tahoma, Arial, without serif;: white background; color: black; do-size: 12px ;}} A {color: black ;}} B.SID {color: black ;}} HR {color: # 525 76 ;} - > < / style > < / head > < body > < h1 > State HTTP 500 - < / h1 > < HR size = "1" = "noshade" noshade > < p > < b > enter < /b > < /p > < p > < b > report Exception message < /b > < u > < / u > < / p > < p > < b > description < /b > < u > the server has} encountered an internal error () that prevented from fulfilling this request. < /u > < / p > < p > < b > exception < /b > < pre > org.springframework.web.util.NestedServletException: processing of the query failed. nested exception is java.lang.NullPointerException

    HOWEVER, the next request will be return 5 ID workflow as expected, only change being the key request parameter.  Any ideas on what I am doing wrong?

    https://VCO.domain.local:8281/api/workflows? key = id & maxResult = 5

    Just checked the source and it seems that when using "keys" to filter the returned properties must always include "id".

    Defining the two should work ? key = name & key = id

    https://vco.domain.local:8281/api/workflows? key = name & key = id & maxResult = 5?

    I'll open a bug and it will fix for the next version of update.

  • Invoke the workflow via PowerShell vCO fails after 5.5.2 set at level

    Hello

    After upgrading to 5.5.2 vCO I have problems to run PowerShell workflows using REST. I read there are a lot of changes on the REST API vCO on this new version, so I think the upgrade has something to do with the problem.

    $username = ' XXXXXX

    $upassword = "XXXXXX".

    #create headers for appeal REST vCO

    $auth = $username + ':' + $upassword

    $Encoded = [System.Text.Encoding]: UTF8. GetBytes ($auth)

    $EncodedPassword = [System.Convert]: ToBase64String ($Encoded)

    $headers = @{' authorization '=' basic $($EncodedPassword) ' ;}}

    $value = 'nothing. '

    ' $body = ' <-xmlns = execution context " http://www.VMware.com/VCO "> "

    < Parameters >

    < name of the parameter = "arg_in_0" type = "string" >

    < string > "+ $value + < / string >".

    < / parameter >

    < / Parameter >

    < / execution context > '

    $ret = WebRequest call - uri https://vcoserver:8281/api/stream/0049f373-8dc4-4c1b-ae67-15e7bc106fa4/executions / -Headers $headers - body $body - ContentType "application/xml" - Post method

    I get the following error:

    Invoke WebRequest: HTTP 401 - Authentication complete state is required to access this resource

    type of status report

    message full authentication is required to access this resource

    Description this request requires HTTP authentication.

    VMware vFabric tc LIFE 2.9.5.SR1/7.0.50.C.RELEASE

    Thank you

    Juan.

    try changing the url of

    https://vcoserver:8281/api/stream/0049f373-8dc4-4c1b-ae67-15e7bc106fa4/executions /.

    TO

    https://vcoserver:8281/vco/api/stream/0049f373-8dc4-4c1b-ae67-15e7bc106fa4 / executions /.

    vCO has moved in a context of /vco/

    Avoid any new REST API.

    I also notice that in provides script it is missing from the quote for a username

    > $username = ' XXXXXX

  • Mapping script in VCO object type

    Hi all

    I am trying to build my own plugin. I exposed my java objects in javascript api of the VCO. (http://communities.vmware.com/message/2217337#2217337)

    But I guess that how I have defined it finders, the types are not associated with script objects.

    Here are the steps that I followed, please let me know if I missed something: -.

    1 defined finders in vso.xml for each object exposed to the format: -.

    < finder datasource = "test-datasource' type = 'aObject" script-name = "TESTaObject" java-class = "com.test.aObject" >
    < relationship / >

    < / finder >

    2 defined in objects scripting in vso.xml for each object exposed to the format: -.

    < object java-class = "com.test.aObject" script-name = "TESTaObject" >

    < description > This is a test object < / description >

    < attributes / >

    < methods / >

    < / object >

    3 defined factory (and the adapter classes) with find (and functions findAll) original function, returns a new instance of the java class object.

    When I find types to VCO in the search Api, and then types do not show associated in script objects. It shows FinderResult as the associated script object.

    Please let me know if Miss me anything because of which I'm not able to associate types with script objects.

    Best regards

    Sumit Tyagi.

    Well, it is exactly the need for intentory items, because now you have items that you want to pass between the elements of workflow (a store the workflow in attributes).

    However, if you don't want to put in place a fully blown inventory:

    Try to use the generic types 'ALL' or 'Properties' (if you want to create your own "struct") as the type of return to action and type for the attributes of workflow.

    Only drawback: there is no presentation available for these types, so if you use them to workflow input parameters a user cannot start them (a different workflow can always!).

    (To close the circle to understand: the finder windows opened to the presentation of entry of a workflow using the PluginFactory and the find() methods, so if you want them to, you must implement the finders and therefor an inventory fully blown)

    See you soon,.

    Joerg

  • vCD 5.1.1 error REST API

    I use the firefox plugin RESTClient do a few test against my vCD 5.1.1 installation API.  I can connect successfully, but then I always get the following error message, any operation rest I run.  I wonder if there is some stale / expansion of service registered, but I do not know how to remove it.

    1. <?xml version="1.0" encoding="UTF-8"?>
    2. <Error xmlns="http://www.vmware.com/vcloud/v1.5" stackTrace="com.vmware.vcloud.api.rest.handlers.exceptions.InternalServerErrorRestApiException: Cannot send message to service with id: bd9bfdf1-0aee-40d9-be1e-243c507234ce. Check your service configuration.
    3.      at com.vmware.vcloud.api.rest.common.handlers.ErrorHandler.getInternalServerErrorRestApiException(ErrorHandler.java:106)
    4.      at com.vmware.vcloud.api.rest.common.handlers.ErrorHandler.errorInternalServer(ErrorHandler.java:63)
    5.      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    6.      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    7.      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    8.      at java.lang.reflect.Method.invoke(Unknown Source)
    9.      at org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:173)
    10.      at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:89)
    11.      at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:164)
    12.      at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:91)
    13.      at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:58)
    14.      at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
    15.      at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
    16.      at java.util.concurrent.FutureTask.run(Unknown Source)
    17.      at org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37)
    18.      at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:106)
    19.      at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:263)
    20.      at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:118)
    21.      at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:208)
    22.      at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:223)
    23.      at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:166)
    24.      at org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:113)
    25.      at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:184)
    26.      at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doGet(AbstractHTTPServlet.java:112)
    27.      at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
    28.      at com.vmware.vcloud.api.rest.jaxrs.servlet.CxfServlet.service(CxfServlet.java:161)
    29.      at com.vmware.vcloud.api.rest.jaxrs.servlet.JaxRsDispatcherServlet.doService(JaxRsDispatcherServlet.java:97)
    30.      at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:644)
    31.      at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:549)
    32.      at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
    33.      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    34.      at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:565)
    35.      at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:479)
    36.      at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)
    37.      at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:539)
    38.      at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227)
    39.      at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1031)
    40.      at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:406)
    41.      at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:186)
    42.      at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:965)
    43.      at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
    44.      at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:288)
    45.      at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:115)
    46.      at org.springframework.security.web.firewall.RequestWrapper$FirewalledRequestAwareRequestDispatcher.forward(RequestWrapper.java:132)
    47.      at com.vmware.vcloud.api.framework.web.ExtensibilityFilter.doFilter(ExtensibilityFilter.java:171)
    48.      at sun.reflect.GeneratedMethodAccessor154.invoke(Unknown Source)
    49.      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    50.      at java.lang.reflect.Method.invoke(Unknown Source)
    51.      at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
    52.      at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:58)
    53.      at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:62)
    54.      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
    55.      at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    56.      at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    57.      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
    58.      at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:56)
    59.      at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:39)
    60.      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
    61.      at org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59)
    62.      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
    63.      at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    64.      at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    65.      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
    66.      at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
    67.      at $Proxy733.doFilter(Unknown Source)
    68.      at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
    69.      at com.vmware.vcloud.security.filters.ValidityExceptionFilter.doFilterHttp(ValidityExceptionFilter.java:47)
    70.      at com.vmware.vcloud.security.filters.HttpFilterBean.doFilter(HttpFilterBean.java:35)
    71.      at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
    72.      at com.vmware.vcloud.security.web.AuthenticationFilter.doFilter(AuthenticationFilter.java:155)
    73.      at com.vmware.vcloud.api.rest.diagnostics.RestApiDiagnosticsInterceptor.doFilter(RestApiDiagnosticsInterceptor.java:129)
    74.      at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
    75.      at com.vmware.vcloud.api.rest.versioning.AcceptHeaderFilter.doFilter(AcceptHeaderFilter.java:108)
    76.      at com.vmware.vcloud.api.rest.diagnostics.RestApiDiagnosticsInterceptor.doFilter(RestApiDiagnosticsInterceptor.java:129)
    77.      at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
    78.      at com.vmware.vcloud.security.web.ConversationFilter$1.run(ConversationFilter.java:39)
    79.      at com.vmware.vcloud.security.web.ConversationFilter$1.run(ConversationFilter.java:37)
    80.      at com.vmware.vcloud.common.persist.ConversationContextExecutor.execute(ConversationContextExecutor.java:67)
    81.      at com.vmware.vcloud.security.web.ConversationFilter.doFilter(ConversationFilter.java:45)
    82.      at com.vmware.vcloud.api.rest.diagnostics.RestApiDiagnosticsInterceptor.doFilter(RestApiDiagnosticsInterceptor.java:129)
    83.      at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
    84.      at com.vmware.vcloud.security.web.ThreadLocalCleanerFilter.doFilter(ThreadLocalCleanerFilter.java:65)
    85.      at com.vmware.vcloud.api.rest.diagnostics.RestApiDiagnosticsInterceptor.doFilter(RestApiDiagnosticsInterceptor.java:129)
    86.      at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
    87.      at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:169)
    88.      at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)
    89.      at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
    90.      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1331)
    91.      at org.eclipse.jetty.servlets.UserAgentFilter.doFilter(UserAgentFilter.java:77)
    92.      at org.eclipse.jetty.servlets.GzipFilter.doFilter(GzipFilter.java:144)
    93.      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1331)
    94.      at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:477)
    95.      at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)
    96.      at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:521)
    97.      at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227)
    98.      at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1031)
    99.      at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:406)
    100.      at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:186)
    101.      at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:965)
    102.      at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
    103.      at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:250)
    104.      at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:149)
    105.      at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:111)
    106.      at org.eclipse.jetty.server.Server.handle(Server.java:349)
    107.      at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:449)
    108.      at org.eclipse.jetty.server.BlockingHttpConnection.handleRequest(BlockingHttpConnection.java:47)
    109.      at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:910)
    110.      at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:634)
    111.      at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:230)
    112.      at org.eclipse.jetty.server.BlockingHttpConnection.handle(BlockingHttpConnection.java:66)
    113.      at org.eclipse.jetty.server.bio.SocketConnector$ConnectorEndPoint.run(SocketConnector.java:254)
    114.      at org.eclipse.jetty.server.ssl.SslSocketConnector$SslConnectorEndPoint.run(SslSocketConnector.java:665)
    115.      at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:599)
    116.      at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:534)
    117.      at java.lang.Thread.run(Unknown Source)
    118. " minorErrorCode="INTERNAL_SERVER_ERROR" message="Cannot send message to service with id: bd9bfdf1-0aee-40d9-be1e-243c507234ce. Check your service configuration." majorErrorCode="500" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.vmware.com/vcloud/v1.5 http://172.17.232.49/api/v1.5/schema/master.xsd">
    119. </Error>

    Hello

    Use the PUT option which is an update operation. POST is usually for the creation of new objects/execution of actions on objects.

    Kind regards

    Rajesh Kamal.

  • vCO REST and vCD

    I am trying to extend the excellent information in the workflows of vCO http://communities.vmware.com/message/2119680 vCD and warp drive, but I'm getting the error 'incorrect syntax' once again return.

    Specifically, I'm trying to call the workflow "Power we a paralytic" in the library of the vCloud Director.  I use the curl command line:

    curl-i - k h ' content-type: text/html ' @reqbody.xml - d - user < username >: < password > https:// < vCO Server >: 8281/api/stream/88808080808080808080808080808080C18080800126658240472157fdafc0fce/executions /.

    The content of reqbody.xml:

    <? XML version = "1.0" encoding = "UTF-8"? >
    "< vco:execution - context xmlns:vco ="http://www.vmware.com/vco"xmlns ="vco">"
    < vco:parameters >
    < name vco:parameter = "paralytic" type = "vCloud:VApp" >
    < vco:vCloud:VApp > b5cd68fc-a50f-4cac-9b3e-45679bcd2ce7 < / vco:vCloud:VApp >
    < / vco:parameter >
    < / vco:parameters >
    < / vco:execution - context >

    I also tried to validate by the presentation and return to presentation/instances with the same syntax "Bad Request".  I am sure that I am somehow mishandling of the type "vCloud:VApp", but I am at a loss on how to address them.

    Thank you!

    Hi Bill,

    There are a few problems:

    • You specify the content type of the request to be text/html , but the current content you pass is of type application/xml (content of your reqbody.xml)
    • You have not specified a command request (POST x)
    • The xml fragment where you specify the input parameter is incorrect. Instead of


          b5cd68fc-a50f-4cac-9b3e-45679bcd2ce7
       

    It should be something like


         
       

    I have no plugin vCloud installed at hand, so I have not tested, but I expect to work very well.

    Hope this helps,

    Ilian

  • looking for APIs that return data for system performance

    Hello

    I'm working on the project who need to get some information during the execution of an application on the virtual machine (which will be used to draw graphs).

    Yes, there is an API that can return a sort of these values?

    -time cpu, IO time, idle time

    -physical virtual memory usage,

    Thank you

    Hi dejinkeo,

    I have build an example with vCO (uses the same API) metrics to recover a virtual machine.

    Look at http://communities.vmware.com/thread/293841?tstart=0.

    Kind regards, Andreas

    Update URL: Message was edited by: Andreas Diemer

  • Trying to auto generate an assignment set using an API

    Hello guys, I have several games of transfer for employees based on their job. Unfortunately, there are many of them and payroll officer think it's too much work to generate transfer games before each pay run. I came up with a way to run the formula by using the oracle APIs, but I get an error message. Can someone help me understand this?
    The message says:


    Set serveroutput on
    ORA-20001: data not found ASG_JOB at line 6 of the STNL_JUNIOR_STAFF

    Cause: A SQL SELECT statement, obtained from the dictionary of the application, returned no rows during execution.

    Action: Please consult with your local technical support representative.



    Here's the quick formula STNL_JUNIOR_STAFF


    by default ASG_JOB is 'null '.


    IF ASG_JOB = "auxiliary"
    THEN INCLUDE_FLAG = 'Y '.
    ELSE INCLUDE_FLAG = ' don't


    RETURN INCLUDE_FLAG


    Here is the code I use:

    declare
    cursor c_set is
    Select * from hr_assignment_sets
    where - assignment_set_name like '% _JUNIOR_STAFF % '.
    assignment_set_name = "STNL_JUNIOR_STAFF";
    v_set c_set % ROWTYPE;
    v_formula_name varchar2 (5000);
    -the effective_date for the formula
    date of v_effective_date;
    -context values
    date of v_date_earned;
    v_job_name varchar2 (500);
    -entry and exit forms
    v_inputs ff_exec.inputs_t;
    v_outputs ff_exec.outputs_t;
    Start
    dbms_output. Enable (null);
    -context of the audit date
    Select v_date_earned (last_day (sysdate)-5)
    Double;
    -Open assignment set cursor
    Open c_set;
    loop
    extract the c_set in v_set;
    When the output c_set % NOTFOUND;
    -get the formula name, and date of entry in
    Select formula_name, effective_start_date
    in v_formula_name, v_effective_date
    from ff_formulas_f where formula_id = v_set.formula_id;
    -get assignments by current payroll deductions
    declare
    TYPE AssignmentCursorType IS REF CURSOR;
    c_ass AssignmentCursorType;
    v_ass PER_ALL_ASSIGNMENTS_F % ROWTYPE;
    sql_stmt VARCHAR2 (5000);
    sql_condition VARCHAR2 (500): = ' and pj.job_name! = "junior officer"';
    Start
    If v_set.assignment_set_name not like '% NON_JUNIOR_STAFF %' then
    sql_condition: = ' and pj.name = "junior officer"';
    end if;
    sql_stmt: = 'select pf.* from per_all_assignments_f pf, per_jobs pj.
    || 'where sysdate between pf.effective_start_date and pf.effective_end_date'.
    "and pj.job_id = pf.job_id and pf.payroll_id =: p_payroll_id' |" sql_condition;
    Open the c_ass for sql_stmt using v_set.payroll_id;
    loop
    extraction of c_ass in v_ass;
    When the output c_ass % NOTFOUND;
    -get the name of the job
    Select hr_general.decode_job (v_ass.job_id) v_job_name
    Double;
    -initialization formula
    ff_exec.init_formula (v_set.formula_id, v_effective_date, v_inputs, v_outputs);
    -loop and set the context
    for the NTC in v_inputs.first... loop of v_inputs. Last
    If v_inputs (cnt) .name = "ASSIGNMENT_ID" then
    v_inputs (cnt) .value: = v_ass.assignment_id;
    end if;
    If v_inputs (cnt) .name = "DATE_EARNED" then
    v_inputs (cnt) .value: = v_date_earned;
    end if;
    If v_inputs (cnt) .name = "ASG_JOB" then
    v_inputs (cnt) .value: = v_job_name;
    end if;
    end loop;
    -then run the formula
    ff_exec.run_formula (v_inputs, v_outputs);
    end loop;
    close c_ass;
    end;
    end loop;
    close c_set;
    exception
    while others then
    dbms_output.put_line (SQLERRM);
    end;

    Absolutely, if the new emp assignment at the time gained is and meets the criteria of employment as at date - earned, he or she will be included! The rule is evaluated at the time of execution of the process that uses the rule.

    Clive

  • Wait step execution completed

    Hello

    I use the COM adapter to call the TestComplete application.  There are several steps in the sequence file, which is to run a script given in TestComplete.  However TestStand doen't expect the TestComplete finish executing the script, beforeproceeds to the next step.  I tried to insert a wait time, but couldn't make it work properly (for example wait testcomplete send a rear return value).

    Thank you!

    TestStand will wait until the function he calls ends.  Looks like the TestComplete API returns before the end of its execution.  I would look into this API to see if taken TestComplete supported by this use case.

  • How the dynamic Action to update several items based on a JavaScript Expression producing a table?

    Using APEX 4.2.

    I have the list of selection using a LOV which returns a display value and a value separated by a comma e.g. return 'reserved to items' and "66,88" or "Available items" and "90,23".

    I want that return values for example "66,88" to be assigned to two my form fields.

    I have a dynamic action that fires when the field with the changes of the list/select-LOV. I am using an action of 'Set value' and set 'Expression JavaScript' with the expression itself type value ' $v("P1_MY_SELECT_LIST").split(",") and using Type "Article (s)' selection and listing the two points that I want to set as the items in question (from the description of the JavaScript expression field it appears that a table of the results would be assigned to the changed items , in the order.

    However, the original value of the LOV return value is passed to the first of the elements concerned (complete with the comma if the original return value was of the form '10')

    If I add more REAL action of the JavaScript "alert (" HELLO "+ $v ("P1_MY_SELECT_LIST") .split (", ") [0] +" WORLD "+ $v("P1_MY_SELECT_LIST").split (", ") [1]" ") I * see two expected values.»

    Any ideas what I could do wrong?

    The action 'Set value' affects the value specified to all affected elements: a value to one or more items. To set a different value at different points, you need several actions "Set value", or simply use javascript to do it in one.

    Even if you use a javascript expression that corresponds to a table, the table is just being converted to a string again. It creates a mapping of some sort. That is why for example with '10', she also translated as such. Actually you set this value to these two elements: ' 10, ".split(",").toString () (implicit in the chain of course).

    The code makes it very obvious that it doesn't handle values, as described in the help of the element. Aid is not correct or is the implementation simply not here yet?

    Just look at the javascript for dynamic actions, images/libraries/apex/dynamic_actions.js, service da.setValue directory file:

        function _setValue( pValue ) {
            lAffectedElements$.each( function( i ) {
                // Set all affected elements to the value passed
                $s( this, pValue, null, lSuppressChangeEvent );
            });
            /* Resume execution of actions here and pass false to the callback, to indicate no
            error has occurred. */
            da.resume( lResumeCallback, false );
        }
    

    And when you use a javascript expression:

        } else if ( lSetType === "JAVASCRIPT_EXPRESSION" ) {
            _setValue( lJavaScriptExpression.call( this ));
    

    It's pretty simple. (and this is checked on apex 5. It's the same on 4.2)

Maybe you are looking for

  • 2605dn will not print from a computer, but another computer on the same network print very well.

    The two machines running Win 7 64 bit, both on the same network (such as a printer) all with cable connection to the local network. A single machine prints fine, but since a few days, my PC will not be printed on the printer. PING and TRACERT it is c

  • Label each point on the diagram of dispersion

    Hello I'm plotting a set of data (x, y format) on a diagram of dispersion. Is there a way to labview such as when I move the mouse over some points, he can tell me information on this point (as the name of this set). Thanks in advance Yogesh PS: I'm

  • XR341CK power

  • No sound when playing DVDs or videos

    I have loaded my videos on my computer, went to read them to then find out that the videos played without sound.  I also tried playing a dvd and there is no sound with it, as well.  I use the latest version of Windows Media Player and have run all of

  • Unable to find Signature fonts in Windows 7

    Original title: fonts I believe that when I switched from XP to Windows 7 that old font I had called signing. (ttf)? was not on the new system.  I had some older files that have used this font I want to print.  How and where can I get this old police