Unable to import Json files after upgrade
search cancel

Unable to import Json files after upgrade

book

Article ID: 220439

calendar_today

Updated On:

Products

CA Release Automation - Release Operations Center (Nolio)

Issue/Introduction

We have a few Json which we use to speed up the process of having to create applications from scratch.

This worked in version 6.6. After upgrading to 6.7+ it is not working. Now, the same files used in 6.6 are returning errors like: 

FAILED: Failed to import APPLICATION "Tomcat-Template-2"
 Internal error occurred; please contact your administrator 

 

Environment

Release : 6.7

Component : CA RELEASE AUTOMATION CORE

 

Resolution

If you experience this issue then please open an issue with Technical Support. 

As a workaround you can try:

  1. Prepare the JSON data/file like you normally would (remove the metadata, remove the uuid, update the application name, etc..).
  2. Copy the JSON data
  3. Login to the Nolio Web UI (aka: ROC - Release Operations Center) 
  4. Click the "Help" menu on the right side of the screen and select "REST API (Swagger)"
  5. Expand the "Design Controller V5" option/header
  6. Expand the "POST" call for "/design/v5/import"
  7. Paste the data copied in step #2 into the dslWrapperDto field of the "/design/v5/import" API
  8. Click the "Try it out!" button. 

If it returns with a "Response Code" = 200 and "Response Bode" showing "status : CREATED" then the workaround worked.