diff --git a/config/install/islandora_riprap.settings.yml b/config/install/islandora_riprap.settings.yml index d1976a4..9e16818 100644 --- a/config/install/islandora_riprap.settings.yml +++ b/config/install/islandora_riprap.settings.yml @@ -4,7 +4,6 @@ riprap_local_directory: /path/to/riprap riprap_local_settings_file: /path/to/riprap/settings.yml execute_riprap_in_cron: 0 number_of_events: 10 -gemini_rest_endpoint: http://localhost:8000/gemini use_drupal_urls: 0 log_riprap_warnings: 1 use_sample_failed_fixity_events: 0 diff --git a/src/Controller/IslandoraRiprapMediaEventsController.php b/src/Controller/IslandoraRiprapMediaEventsController.php index 947c1be..a5184ff 100644 --- a/src/Controller/IslandoraRiprapMediaEventsController.php +++ b/src/Controller/IslandoraRiprapMediaEventsController.php @@ -18,7 +18,6 @@ public function __construct() { $this->number_of_events = $config->get('number_of_events') ?: 10; $this->use_drupal_urls = $config->get('use_drupal_urls') ?: FALSE; $this->show_warnings = !$config->get('show_riprap_warnings') ? $config->get('show_riprap_warnings') : TRUE; - $this->gemini_endpoint = $config->get('gemini_rest_endpoint') ?: 'http://localhost:8000/gemini'; } /** diff --git a/src/Plugin/Form/IslandoraRiprapSettingsForm.php b/src/Plugin/Form/IslandoraRiprapSettingsForm.php index f9f6e5b..98c0752 100644 --- a/src/Plugin/Form/IslandoraRiprapSettingsForm.php +++ b/src/Plugin/Form/IslandoraRiprapSettingsForm.php @@ -209,7 +209,6 @@ public function submitForm(array &$form, FormStateInterface $form_state) { ->set('riprap_local_settings_file', rtrim($form_state->getValue('riprap_local_settings_file'), '/')) ->set('execute_riprap_in_cron', $form_state->getValue('execute_riprap_in_cron')) ->set('number_of_events', $form_state->getValue('number_of_events')) - ->set('gemini_rest_endpoint', rtrim($form_state->getValue('gemini_rest_endpoint'), '/')) ->set('use_drupal_urls', $form_state->getValue('use_drupal_urls')) ->set('log_riprap_warnings', $form_state->getValue('log_riprap_warnings')) ->set('use_sample_failed_fixity_events', $form_state->getValue('use_sample_failed_fixity_events')) @@ -249,8 +248,6 @@ public function generateRiprapConfig(array $values) { drupal_content_types: ['{$values['fixity_content_type']}'] drupal_media_tags: ['/taxonomy/term/{$values['fixity_terms']}'] use_fedora_urls: true -gemini_endpoint: '{$values['gemini_rest_endpoint']}' -gemini_auth_header: 'Bearer islandora' # Can be a maximum of 50. jsonapi_page_size: 50 # The number of resources to check in one Riprap run; if absent, will use diff --git a/src/Riprap/IslandoraRiprapUtils.php b/src/Riprap/IslandoraRiprapUtils.php index 5318f67..da7b5e9 100644 --- a/src/Riprap/IslandoraRiprapUtils.php +++ b/src/Riprap/IslandoraRiprapUtils.php @@ -16,7 +16,6 @@ class IslandoraRiprapUtils { */ public function __construct() { $this->config = \Drupal::config('islandora_riprap.settings'); - $this->gemini_endpoint = $this->config->get('gemini_rest_endpoint') ?: 'http://localhost:8000/gemini'; $this->riprap = \Drupal::service('islandora_riprap.riprap'); } @@ -61,7 +60,7 @@ public function getFileUuid($mid) { } /** - * Get a Fedora URL for a File entity from Gemini. + * Get a Fedora URL for a File entity. * * @param string $mid * The Meida entity's ID.