Skip to content

Commit c8792d0

Browse files
authored
Merge pull request #377 from cnovak/376-hybrid-ga
Hybrid GA
2 parents e8d72db + 28331ce commit c8792d0

File tree

3 files changed

+2
-25
lines changed

3 files changed

+2
-25
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ considered to be in development. Experimental modules are included in the "Apige
1919

2020
## Support for Apigee Hybrid Cloud: Beta Release
2121

22-
Support for [Apigee hybrid API](https://docs.apigee.com/hybrid/reference-overview) has been added but is considered to
23-
be an beta. If you run into any problems, add an issue to our [GitHub issue queue](https://github.com/apigee/apigee-edge-drupal/issues).
22+
Support for [Apigee hybrid API](https://docs.apigee.com/hybrid/reference-overview) is now considered production ready.
23+
If you run into any problems, add an issue to our [GitHub issue queue](https://github.com/apigee/apigee-edge-drupal/issues).
2424
Please note that Team APIs and Monetization APIs are not currently supported on Apigee hybrid.
2525

2626
## Requirements

apigee_edge.install

-14
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ use Drupal\user\RoleInterface;
3333
*/
3434
function apigee_edge_requirements($phase) {
3535
$requirements = [];
36-
$hybrid_support_message = t('Support for Apigee hybrid in the Apigee modules is in Beta. Connecting to a hybrid organization is appropriate for evaluation and testing purposes during this pre-production stage.');
3736

3837
if ($phase === 'install') {
3938
// This should be checked only if Drupal is installed.
@@ -51,25 +50,12 @@ function apigee_edge_requirements($phase) {
5150
}
5251
}
5352

54-
\Drupal::messenger()->addWarning($hybrid_support_message);
5553
}
5654
elseif ($phase === 'runtime') {
5755
/** @var \Drupal\apigee_edge\SDKConnectorInterface $sdk_connector */
5856
$sdk_connector = \Drupal::service('apigee_edge.sdk_connector');
5957
try {
6058
$sdk_connector->testConnection();
61-
62-
// Hybrid support warning.
63-
$org_controller = \Drupal::service('apigee_edge.controller.organization');
64-
/* @var \Apigee\Edge\Api\Management\Entity\Organization $organization */
65-
$organization = $org_controller->load($sdk_connector->getOrganization());
66-
if ($organization && OrganizationFeatures::isHybridEnabled($organization)) {
67-
$requirements['apigee_edge_hybrid_support'] = [
68-
'title' => t('Apigee Edge'),
69-
'description' => $hybrid_support_message,
70-
'severity' => REQUIREMENT_WARNING,
71-
];
72-
}
7359
}
7460
catch (\Exception $exception) {
7561
$requirements['apigee_edge_connection_error'] = [

src/Plugin/KeyInput/ApigeeAuthKeyInput.php

-9
Original file line numberDiff line numberDiff line change
@@ -88,15 +88,6 @@ public function buildConfigurationForm(array $form, FormStateInterface $form_sta
8888
],
8989
'#default_value' => $values['instance_type'] ?? 'public',
9090
];
91-
$form['hybrid_support_info'] = [
92-
'#type' => 'fieldset',
93-
'#title' => $this->t('Support for Apigee hybrid'),
94-
'#description' => $this->t('Support for Apigee hybrid in the Apigee modules is in Beta. Connecting to a hybrid organization is appropriate for evaluation and testing purposes during this pre-production stage.'),
95-
96-
'#states' => [
97-
'visible' => $state_for_hybrid,
98-
],
99-
];
10091
$form['auth_type'] = [
10192
'#type' => 'select',
10293
'#title' => $this->t('Authentication type'),

0 commit comments

Comments
 (0)