App custom attributes from Dev portal to apigee edge

Hi,

App creation/update process on Dev Portal side pushes all its custom attributes to Apigee Edge. There is limit of 18 custom attributes, that can be pushed to apigee edge.

We do not need all app attributes to be pushed on apigee edge. Is there anyway in dev portal side, where we can mark attribute, and only those get pushed to apigee edge?

Or is there anyway in Dev portal side, where we can create fields for App, but not as custom attribute ? Scenario is: we collect many information while registering the app on dev portal side, but not all of them are required in apigee edge side.

Thanks,

0 2 630
2 REPLIES 2

We do not have any data stored about apps on the Drupal portal side, the app and all attributes are put directly into Edge MGMT API via a POST call. If you need to use more attributes than are available you could create a custom module that overrides the behavior of the app attributes storage/retrievial to

  1. Serialize the data of multiple attributes into one custom attribute
  2. Store some attributes in a local database table

YES

And by "serialize the data of multiple items into one custom attribute", you could simply use JSON. Like this:

"attributes" : [{
  "name" : "composite-attribute",
  "value" : "{ \"prop1\" : \"value1\", \"prop2\" : \"value2\" }"
 }]