Summary of Changes

βœ… Fixed Initial Error

  • Fixed oci_osfs.install:54 - Changed \Drupal::settings() to Settings::get() (this was causing the fatal error)
  • Fixed oci_osfs.install:129 - Fixed deleteAll() method call (removed invalid argument)

βœ… Removed OCI PHP SDK Dependencies

  1. Deleted Files:
    • OciObjectStorageFactory.php - Unused OCI SDK wrapper
    • OciPhpStreamBridge.php - Unused OCI SDK stream bridge
  2. Updated oci_osfs.install:
    • Changed SDK check from Oracle OCI SDK to AWS SDK for PHP
    • Updated requirement messages to reflect S3-compatible API usage
  3. Updated oci_osfs.services.yml:
    • Removed oci_osfs.object_storage_factory service
    • Removed oci_osfs.php_stream_bridge service
    • Updated service dependencies to use oci_osfs.s3_client_factory instead
  4. Updated OciStreamWrapper.php:
    • Removed OciObjectStorageFactory and OciPhpStreamBridge dependencies
    • Updated constructor to use S3ClientFactory directly
    • Updated description to reflect S3-compatible API usage
  5. Updated OciUrlGenerator.php:
    • Replaced OciObjectStorageFactory with S3ClientFactory
    • Implemented signedUrl() method using S3 presigned URLs (was previously pseudocode)
    • Simplified constructor and removed lazy loading
  6. Updated OciDirectoryManager.php:
    • Replaced OciObjectStorageFactory with S3ClientFactory
    • Implemented actual S3 API calls instead of pseudocode:
      • listObjectsV2() for directory listing
      • deleteObject() for file deletion
  7. Updated composer.json:
    • Removed the suggest section that recommended oracle/oci-php-sdk

βœ… Module Status

  • Drupal cache cleared successfully
  • No errors in Drupal bootstrap
  • Module now uses AWS S3 SDK exclusively for OCI Object Storage S3-compatible API

The module is now fully using the AWS S3 SDK to connect to OCI Object Storage via the S3-compatible API, with all OCI PHP SDK references removed.

VCS Label
1.0.0-beta3
Release type
Packaged Git sha1
74b1ab5ff4f53d09c2aac0718ec0a4d9e4ef2d91
Release files