apigee / devrel

Common solutions and tools developed for Apigee
Apache License 2.0
181 stars 159 forks source link

Add product via edge.json : created with a legacy format #645

Closed bluewolf26 closed 1 year ago

bluewolf26 commented 1 year ago

Hello folks !

I am trying to add a product via sackmesser and it's edge.json. I followed the example in the maven repo : image

When I deploy via sackmesser, I obtain this error : Untitled

Do you know how to solve this ?

OmidTahouri commented 1 year ago

Hi @bluewolf26 -- thanks for raising this here.

This is less of an error and more of an advisory/warning. The API Product can still be used as usual, although we recommend you upgrade it to the new format (example)

The example JSON you have used is indeed using the old format (sorry about that!). You might find it easier to first define your API Product in the Apigee UI (apigee.google.com) and then download it using the Apigee API. Alternatively, you can use sackmesser report to achieve the same JSON representation of an API Product.

OmidTahouri commented 1 year ago

@bluewolf26 I'm going to close this issue as we've not heard back since last week. Thanks!