VMware Cloud Community
msk05
Hot Shot
Hot Shot

Xaas BP request template fails via postman API

We have imported a Xaas BP into vRA and its package into vRO. It is just a customized form with T-shirt size VM provisioning workflow. When we submit the catalog item from vRA portal it works seamlessly but when we get the https://vRAHOSTNAME/catalog-service/api/consumer/entitledCatalogItems/759788c4-bcfa-43d8-808b-3fa122... template using postman API it fails with below error

pastedImage_0.png

When I checked the vRA log the reason for failure is as below , we have manually created the Xaas BP instead of importing into vRA but still the same error appears in vRA logs. I am unsure what is service type ID in our Xaas BP. Please advice.

2017-07-06 11:12:45,147 vcac: [component="cafe:catalog" priority="ERROR" thread="tomcat-http--30" tenant="vsphere.local" context="KImIOHjs" token="KImIOHjs"] com.vmware.vcac.catalog.service

.impl.RequestServiceImpl.getCatalogItemInstanceBasedSchema:2381 - supplyMissingExternalSchemas failed

java.lang.IllegalArgumentException: Service type id was null or empty

Reply
0 Kudos
5 Replies
vdimitrov
Contributor
Contributor

AFAIK this error code means that the IaaS service is not available (or registered).

Reply
0 Kudos
msk05
Hot Shot
Hot Shot

I am able to pull the request template for other BP's except XAAS

Reply
0 Kudos
zohaibkhan
Contributor
Contributor

I'm running into a similar issue. I've been able to publish a XaaS blueprint before and get the template, but I can't with my latest XaaS blueprint. Were you able to solve this issue?

Reply
0 Kudos
zohaibkhan
Contributor
Contributor

Even though previous XaaS blueprints worked directly, for this my workaround was to create a blueprint on vRA and add the XaaS blueprint as a component to it. Now you can execute the request/template call for the new blueprint.

Reply
0 Kudos
IBMChakresh
Contributor
Contributor

Hello,

Did you find solution? I have similar issue where I am trying to call XAAS blueprint from brokerage using API.

[UTC:2019-07-04 12:38:47,610 Local:2019-07-04 12:38:47,610] vcac: [component="cafe:catalog" priority="ERROR" thread="tomcat-http--131" tenant="vsphere.local" context="l2wB4FPA" parent="" token="l2wB4FPA"] com.vmware.vcac.catalog.service.impl.RequestServiceImpl.getCatalogItemInstanceBasedSchema:2497 - supplyMissingExternalSchemas failed

java.lang.IllegalArgumentException: Service type id was null or empty

        at org.springframework.util.Assert.hasText(Assert.java:181) ~[spring-core-4.3.13.RELEASE.jar:4.3.13.RELEASE]

        at com.vmware.vcac.platform.content.provider.AbstractExternalProviderManager.getProviderFactoryForServiceType(AbstractExternalProviderManager.java:28) ~[platform-content-provider-7.4.0-SNAPSHOT.jar:?]

Reply
0 Kudos