Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The CakePHP project has finally Back in 2017, the CakePHP project announced tentative plans to EOL the 2.x series of the framework. The CakePHP project finally announced CakePHP 4.0.0 in December 2019.

This migration will require a fairly substantial rewrite of significant portions of the current code base. This will also provide the opportunity to address some long-standing issues. The current proposal is to perform this migration during 20182020, with the resulting release being Registry v5.0.0 (though subject to change, and in the interim referred to as Registry PE). Registry v4.0.0 will be an interim release for any migrations that must be performed prior to the v5.0.0 migration.

...

  • PHP: v7.2 or greater is required. PHP v5.x is not supported.
  • Apache: Apache configuration is more or less the same as Match. For the moment, Registry PE can be delivered from the same virtual host as Registry (but at, say at /registry-pe instead), though this may change.
  • Database: Postgres and MySQL/MariaDB remain supported, but cross database testing at the moment is limited. You are more likely to run into problems with MySQL/MariaDB. There may be a minimum version requirement of Postgres 9.6 (depending on where the database management layer work goes).
  • Source: Available from https://github.internet2.edu/COmanage/registry/tree/develop

...

The setup script is not yet fully implemented, and authentication is not yet implementedlimited. Make sure you can somehow authenticate to Registry PE as the user admin, which will be given platform administrator permissions. Once more models have been migrated, normal authorization will be supported.

After downloading the source, create a /local directory (like Match) and set up logs and tmp (again like Match) underneath. Also create /local/Config and create a database.php underneath. Set up the default Datasource as usual, this will be the new operational Registry PE database. In addition, if you wish to load data from a an existing Registry instance, create an additional Datasource called transmogrify with the appropriate connection information.

...

If you wish to load existing data, the tables in the default schema must be completely empty. (If you created any test records, DELETE FROM each appropriate table.) When ready, run ./bin/cake transmogrify to transfer your data.Since the menuing is not yet implemented, you need to directly access whatever controller you wish to work with (eg: /registry-pe/cos)

REST API v2 is fully implemented for all models that have migrated, include authentication and authorization.