In this upload, a new URL Pattern is added in ObjectUrl in ObjectFactory.
According to given docs OCI Object Storage Dedicated Endpoints,
old url: objectstorage.$region.oraclecloud.com/n/$namespace/b/$bucketname/o/$file
new url: $namespace.objectstorage.$region.oci.customer-oci.com/n/$namespace/b/$bucketname/o/$file
When the constructor of ObjectUrl is called, the given url starts to be parsed. A new url pattern situation is added here, and in this case the url can also be parsed. Both old and new url formats are now supported.
Test is added and asks for an oci object storage url (whether it's in old or new format, the test should work.)
In this upload, a new URL Pattern is added in ObjectUrl in ObjectFactory.
According to given docs OCI Object Storage Dedicated Endpoints, old url: objectstorage.$region.oraclecloud.com/n/$namespace/b/$bucketname/o/$file new url: $namespace.objectstorage.$region.oci.customer-oci.com/n/$namespace/b/$bucketname/o/$file
When the constructor of ObjectUrl is called, the given url starts to be parsed. A new url pattern situation is added here, and in this case the url can also be parsed. Both old and new url formats are now supported.
Test is added and asks for an oci object storage url (whether it's in old or new format, the test should work.)
Please take a look.