Article - CS267116

In ThingWorx 8.0, when exporting and re-importing a SwaggerConnector, the APIMap definitions gets lost

Modified: 14-Feb-2020   


Applies To

  • ThingWorx Platform 8.0

Description

  • In the Composer, setup an IntegrationConnector (additional out-of-process component)  of type SwaggerConnector
    • Example:
      • An Entity loadfile that can be imported for testing
      • It will create a PetStoreTest SwaggerConnector Thing that has the required Configuration and the SwaggerPetDataShape that can be used for the APIMap in it
  • Create an APIMap based on the findPetsByStatus Endpoint (on the left) and the SwaggerPetDataShape on the right
  • Export this PetStoreTest SwaggerConnector
    • Inside the exported XML can be seen that the ServiceMappings section is empty
  • Import it to a second system
    • The APIMap info will be lost and the service won't work any more
  • Note: One of available, pending or sold status input values can be specified to the service
  • The SwaggerConnectors (as well as the OData Connectors) with APIMaps can't be exported and imported without loss of information 
This is a printer-friendly version of Article 267116 and may be out of date. For the latest version click CS267116