Support from Acquia helps fund testing for Drupal Acquia logo

Comments

dpi created an issue. See original summary.

almaudoh’s picture

Status: Postponed » Active

Having committed #2642024: Gateway instances as config entities, this can now continue.

almaudoh’s picture

A starting patch...let's see what breaks.

Status: Needs review » Needs work

The last submitted patch, 3: improve_ns_and_naming-2642950-3.patch, failed testing.

The last submitted patch, 3: improve_ns_and_naming-2642950-3.patch, failed testing.

almaudoh’s picture

Missed the new class name in plugin manager constructor...

dpi’s picture

Status: Needs review » Reviewed & tested by the community

All around good improvements!

dpi’s picture

Status: Reviewed & tested by the community » Needs work

Just occurred to me that the 'Gateway' directories should be renamed to 'SmsGateway'.

  • Plugins directories: eg: 'src/Plugin/Gateway/' -> 'src/Plugin/SmsGateway/'.
  • Service, and plugin base and interface directory: 'src/Plugin/Gateway/' -> 'src/Plugin/SmsGateway/'
dpi’s picture

Assigned: dpi » Unassigned
almaudoh’s picture

Re-rolled patch after #2643252: Transfer Default gateway settings to DefaultSmsProvider and made additional changes per #8.1 for src/Plugin/SmsGateway. For src/Gateway, I would prefer to leave as is to reduce verbosity, or alternatively move the plugin classes to src/Plugin

Status: Needs review » Needs work

The last submitted patch, 10: improve_ns_and_naming-2642950-10.patch, failed testing.

The last submitted patch, 10: improve_ns_and_naming-2642950-10.patch, failed testing.

almaudoh’s picture

Namespaces missed by IDE's automatic refactoring.

almaudoh’s picture

Moved plugin classes to src/Plugin...

Still contemplating a better replacement for SmsGatewayInterface::getPlugin()

Status: Needs review » Needs work

The last submitted patch, 14: improve_ns_and_naming-2642950-14.patch, failed testing.

The last submitted patch, 14: improve_ns_and_naming-2642950-14.patch, failed testing.

almaudoh’s picture

Status: Needs work » Needs review

Strange... :/

almaudoh’s picture

Status: Needs review » Fixed

I think I'll commit this as is for now to unblock other improvements. Committed / pushed to 8.x-1.x.

  • almaudoh committed 46f2996 on 8.x-1.x
    Issue #2642950 by almaudoh: Improve NS and naming of SmsGateway config...
dpi’s picture

Good work!

++

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.