VMware Support Community
hlulanimab
Contributor
Contributor

Registering an Extension

good day 

I need assistance  with Registering an Extension ,  I have followed the instructions from the documentation and   the service registered  successfully i also included apiFilters   but when i try  making request to this extension i get error 404 , body not found 
 ,
i used  the xml below to register,i follwed this document vmware-vcloud-api-extension-whitepaper , vdc API 36.3

<vmext:Service xmlns:vcloud="http://www.vmware.com/vcloud/v1.5" xmlns:vmext="http://www.vmware.com/vcloud/extension/v1.5" name="LAB-VCD-Exchange-DataService-N">
    <vmext:Namespace>vcd.nymbis.schedulings</vmext:Namespace>
    <vmext:Enabled>true</vmext:Enabled>
    <vmext:AuthorizationEnabled>true</vmext:AuthorizationEnabled>
    <vmext:RoutingKey>vox-scheduling</vmext:RoutingKey>
    <vmext:Priority>50</vmext:Priority>
    <vmext:Exchange>lb-vcd-exchange</vmext:Exchange>
    <vmext:ApiFilters>
        <vmext:ApiFilter>
            <vmext:UrlPattern>(/api/org/.*/ticketing/*[0-9]*)</vmext:UrlPattern>
        </vmext:ApiFilter>  
    </vmext:ApiFilters>
</vmext:Service>


Reply
0 Kudos
2 Replies
a_p_
Leadership
Leadership

Some details may help:

  • VMware product, version, and build on which you want to register the extension
  • details about the extension that you want to register
  • detailled steps taken to register the extension

André

hlulanimab
Contributor
Contributor

I used to create a service, i used steps in  this document vmware-vcloud-api-extension-whitepaper
below is my service 

<vmext:Service xmlns:vcloud="http://www.vmware.com/vcloud/v1.5" xmlns:vmext="http://www.vmware.com/vcloud/extension/v1.5" name="LAB-VCD-Exchange-DataService-N">
    <vmext:Namespace>vcd.nymbis.schedulings</vmext:Namespace>
    <vmext:Enabled>true</vmext:Enabled>
    <vmext:AuthorizationEnabled>true</vmext:AuthorizationEnabled>
    <vmext:RoutingKey>vox-scheduling</vmext:RoutingKey>
    <vmext:Priority>50</vmext:Priority>
    <vmext:Exchange>lb-vcd-exchange</vmext:Exchange>
    <vmext:ApiFilters>
        <vmext:ApiFilter>
            <vmext:UrlPattern>(/api/org/.*/scheduling/*[0-9]*)</vmext:UrlPattern>
        </vmext:ApiFilter>  
    </vmext:ApiFilters>
</vmext:Service>


Reply
0 Kudos