Is it possible to connect a single drupal instance to connect to multiple edge organizations?
I already have a develoepr portal with one edge organization connected to it. Can we have the ability to connect through multi site installation process in Drupal?
Iam using drupal 7.14 currently
Is it possible to connect a single drupal instance to connect to multiple edge organizations?
I already have a develoepr portal with one edge organization connected to it. Can we have the ability to connect through multi site installation process in Drupal?
Iam using drupal 7.14 currently
Answer by jaywant · Nov 27, 2017 at 09:04 AM
As per my understanding Edge has a ability to build multiple organization. but Portal can connect only to one of the organization.
That's why we have asked to fill Organization name and respective credential while configuring.
Answer by Karl Scheirer · Jan 12 at 09:53 PM
Is it possible to connect a single drupal instance to connect to multiple edge organizations? No.
Can we have the ability to connect through multi site installation process in Drupal? Yes.
When you're using a multi-site setup, you're sharing the codebase between sites, but each site has its own database. If you set a custom private file directory for each site, then each site can connect to its own Edge instance.
Answer by Kevin Treacy · Nov 29, 2017 at 12:11 PM
We are running Apigee internally (private) and had the same requirement: to have the Developer Portal support multiple Organizations like Apigee Edge does. Per Apigee at the time we were implementing that was not supported -- Developer Portal only supported a single organization. I am not sure if that limitation has since been addressed. Because of this limitation in Dev Portal we were essentially limited to using a single organization in Edge also (obviously not the preferred choice).
The other option supported by Apigee is to build multiple Dev Portals, one per Organization. We did not want this option as we wanted a single Dev Portal for our enterprise, but wanted orgs in Apigee to provide administrative control. We also did not want to support multiple dev portal instances.
To satisfy our requirement we are using what I consider to be a sub-optimal solution, which is to use multiple environments within a single organization. In this model, environments provide the administrative control that we wanted (and that is provided natively by organizations). The downside is that we have a single organization, so the developer experience is not great. One downside is that the list of API proxies displayed is all proxies in the organization, but developer will only be able to access/update proxies for their environment. We have set up environment specific roles/permission to control access to proxies. Also as the number of proxies grow in a single organization, the API listing display screen becomes very very slow, it takes 30 seconds or more to render.
Below are some other custom (non-Apigee supported) choices we considered. Note that these were just ideas. I am not sure if they are technically possible to implement or how much work they entail:
Answer by Karl Scheirer · Jan 31 at 05:21 PM
@Ramya After looking more closely, it is possible to connect to more than 1 org from DevPortal, but it's not easy.
Using the Edge Management API SDK (located at profiles/apigee/libraries/mgmt-api-php-sdk) you have full control on how to connect to Edge and which orgs to use. However, you would be responsible for making all these extra calls, handling the data returned, and displaying it to the user.