Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Webtools modules - Migration from europa.eu/webtools to webtools.europa.eu #233

Closed
alexboss opened this issue Apr 11, 2024 · 1 comment
Closed

Comments

@alexboss
Copy link

Dear colleagues,

Following CEM communication:

This update follows a previous communication: Webtools - Move widgets and services to the cloud (CORRIGENDUM).
Reminder
The migration implies a change in the URL of the Webtools endpoints:
https://europa.eu/webtools will become https://webtools.europa.eu/
New important information
The migration of Webtools to the cloud cannot be done without downtime and as a result, all Smart Loader (SML) components will be unavailable. Webtools widgets (maps, charts, etc.) may stop working on Monday 15 April between 6:00 and 7:00 AM.
Updated information
If you use the Webtools endpoints listed in this Excel file on your websites and applications, please update them within 48 hours after the migration or before Wednesday 17 April at 9:00 AM.
If you do not use any of the specific endpoints from the Excel file on your websites and applications, no action is expected from you.
After the migration, if ever you detect issues with your Webtools widgets and services, please report them via the Europa Web Communication form.

For modules using Webtools endpoint using GET, there's plenty of time to migrate (a redirection will be put in place).

However, for modules using POST, the replacement of URL will have to be made quite urgently.

The oe_webtools_captcha is impacted by the migration.

See https://github.com/openeuropa/oe_webtools/blob/master/modules/oe_webtools_captcha/config/install/oe_webtools_captcha.settings.yml

validationEndpoint: 'https://europa.eu/webtools/rest/captcha/verify' 

Using POST method - see https://github.com/openeuropa/oe_webtools/blob/master/modules/oe_webtools_captcha/oe_webtools_captcha.module :

       $response = \Drupal::httpClient()->post($url->toString(), [
        'headers' => $headers,
        'form_params' => $params,
      ]);

So the validationEndpoint should be:

validationEndpoint: 'https://webtools.europa.eu/rest/captcha/verify' 

And the switch should:

please update them within 48 hours after the migration or before Wednesday 17 April at 9:00 AM.

Thank you and best regards.

Alexandre

@nagyad
Copy link
Member

nagyad commented Apr 23, 2024

This had been addressed in: #234.

@nagyad nagyad closed this as completed Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants