Hi Suraj,
I'd suggest you open a PMR and provide your AMU logs and the specific detail of what you're seeing in the API designer with any API designer logs as well. That would be the best way to triage what you're running into. The "Something went wrong ..." is obviously lacking the detail needed. As noted in my previous post the publish validations on the API Designer are more stringent in v10 that v5. We've seen some issues where the AMU has added support to attempt to "fix" some of these types of issues during the migration process. If indeed your issue is only due to the array of types in your definition which the publish validation doesn't like, that will need to be investigated to determine if there is a product issue that needs to be resolved. As for your definition issue noted in your initial post, providing your v5 and API Gateway yaml files would be a good starting point as well to recreate the issue and see exactly how you are using this in your definitions (ie, validation policy, map policy, or perhaps used to generate sample requests in the portal?).
Regards,
------------------------------
Steve Linn
Senior Consulting I/T Specialist
IBM
------------------------------
Original Message:
Sent: Thu February 17, 2022 02:05 AM
From: Suraj Sakpal
Subject: inline schema issue after migration in APIConnect v10
Hi Steve,
We successfully migrate the API Connect from V5 to V10, but when we tried to publish API's into existing product from API designer it show-
"Error
Something went wrong...."
We face same error for all the migrated API's and products.
Could you please help on it.
------------------------------
Suraj Sakpal
------------------------------
Original Message:
Sent: Wed February 16, 2022 08:45 AM
From: Steve Linn
Subject: inline schema issue after migration in APIConnect v10
Hi Santhoshkumar,
This is not an AMU issue. The AMU is moving the definition from the v5 API to the v10 API without change. What is different here is that the validation being done by the v10 management server is much more stringent than v5 and is producing these validation errors. Definitions in v5 were primarily used by the map and validate policies. I'm almost positive that the map policy would only use the first array element to determine the type but I'm not sure about the validate policy. I'd open a PMR for this to have this validation issue investigated. I'd provide the v5 and the migrated v10 API yaml files with the issue.
Regards,
------------------------------
Steve Linn
Senior Consulting I/T Specialist
IBM