Summary of Changes
β
Fixed Initial Error
-
Fixed oci_osfs.install:54 - Changed
\Drupal::settings()toSettings::get()(this was causing the fatal error) -
Fixed oci_osfs.install:129 - Fixed
deleteAll()method call (removed invalid argument)
β
Removed OCI PHP SDK Dependencies
-
Deleted Files:
-
OciObjectStorageFactory.php- Unused OCI SDK wrapper -
OciPhpStreamBridge.php- Unused OCI SDK stream bridge
-
-
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
-
Updated oci_osfs.services.yml:
-
Removed
oci_osfs.object_storage_factoryservice -
Removed
oci_osfs.php_stream_bridgeservice -
Updated service dependencies to use
oci_osfs.s3_client_factoryinstead
-
Removed
-
Updated OciStreamWrapper.php:
-
Removed
OciObjectStorageFactoryandOciPhpStreamBridgedependencies -
Updated constructor to use
S3ClientFactorydirectly - Updated description to reflect S3-compatible API usage
-
Removed
-
Updated OciUrlGenerator.php:
-
Replaced
OciObjectStorageFactorywithS3ClientFactory -
Implemented
signedUrl()method using S3 presigned URLs (was previously pseudocode) - Simplified constructor and removed lazy loading
-
Replaced
-
Updated OciDirectoryManager.php:
-
Replaced
OciObjectStorageFactorywithS3ClientFactory -
Implemented actual S3 API calls instead of pseudocode:
-
listObjectsV2()for directory listing -
deleteObject()for file deletion
-
-
Replaced
-
Updated composer.json:
-
Removed the
suggestsection that recommendedoracle/oci-php-sdk
-
Removed the
β
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