OpenAssetIO / OpenAssetIO-Manager-BAL

A contrived "asset management system" for OpenAssetIO integration test cases.
Apache License 2.0
5 stars 4 forks source link

Add URL equivalent to `$bal_library_dir ` #86

Closed foundrytom closed 2 months ago

foundrytom commented 8 months ago

What

Add $bal_library_dir that expands to a (percent encoded) file URL pointing to the library directory

Why

This allows the library dir to be used in locatableContent trait location properties that must be a valid, URL-encoded file URL instead of a path. Presently, if the path to the library contains spaces or other non-URL-legal characters, then BAL will return invalid data when $bal_library_dir is used in trait properties that are required to be a URL.

ACs

elliotcmorris commented 5 months ago

This thing might be pretty good for testing host integrations.

feltech commented 3 months ago

This came up recently as a blocker for automated testing of a real-world integration.