Releases: SAP/btp-environment-variable-access
Releases · SAP/btp-environment-variable-access
Version 0.5.2
Module: java-sap-service-operator
- Fix an issue where the
SapServiceOperatorLayeredServiceBindingAccessor
tries to load a service binding from a file instead of a directory.
Release 0.5.1
Module: java-sap-service-operator
- Fix an issue with the internal
FileWatcherCache
implementation, which could cause a resource leak. - The
SapServiceOperatorServiceBindingIoAccessor
will now try to read service bindings from/etc/secrets/sapbtp
in case theSERVICE_BINDING_ROOT
environment variable is not define. - The
SapServiceOperatorServiceBindingIoAccessor
will now try to store the credential properties usingcredentials
as a key (if it is available) - otherwise it will keep generating a random UUID to avoid a key name clash
Release 0.5.0
Module: java-access-api
- Breaking Changes:
- Removed the default constructor of
com.sap.cloud.environment.servicebinding.api.exception.ServiceBindingAccessException
.
- Removed the default constructor of
- Add the
KEEP_UNIQUE
ServiceBindingMerger.EqualityComparer
for convenience to theServiceBindingMerger
. This implementation will useequals
to determine the equality of the givenServiceBinding
instances. - Add
#getInstancesViaServiceLoader
to theServiceBindingAccessor
to enable more convenient (partial) customization of the loading behavior. Please refer to the JavaDoc for more details and an example.
Module: java-consumption-api
- Breaking Changes:
- Removed the default constructor of
com.sap.cloud.environment.servicebinding.api.exception.ValueCastException
. - Removed the default constructor of
com.sap.cloud.environment.servicebinding.api.exception.KeyNotFoundException
.
- Removed the default constructor of
TypedMapView#getEntries
now also returns all entries that are subtypes (Class#isAssignableFrom
) of the queried entry type.TypedListView#getItems
now also returns all items that are subtypes (Class#isAssignableFrom
) of the queried item type.
Module: java-sap-service-operator
- Breaking Changes:
- Following classes have been removed from the public API:
com.sap.cloud.environment.servicebinding.metadata.BindingMetadata
com.sap.cloud.environment.servicebinding.metadata.BindingMetadataFactory
com.sap.cloud.environment.servicebinding.metadata.BindingProperty
com.sap.cloud.environment.servicebinding.metadata.PropertyFormat
- Following classes have been removed from the public API:
- Both
ServiceBindingAccessor
implementations make use of a new filesystem-aware cache, which will limit the amount of filesystem accesses to the necessary minimum.
Release 0.4.1
Fixed Issues
- [
java-sap-service-operator
] We fixed an issue that caused aUnsupportedPropertyTypeException
when trying to create a newServiceBinding
instance that contained a JSON object property. See #40
Version 0.4.0
Fixed Issues
java-sap-vcap-services
:- The
SapVcapServicesServiceBindingAccessor
is now exposed via the service locator pattern
- The
Version 0.3.1
Fixed Issues
- We fixed an issue which caused the build of the project to fail
Version 0.3.0
Fixed Issues
- [
java-sap-service-operator
] We fixed an issue, which caused aFileNotFoundException
in case the root directory of theSapServiceOperatorLayeredServiceBindingAccessor
(by default/etc/secrets/sapbtp
) doesn't exist or isn't a directory.
Version 0.2.0
This release fixes several issues:
- Corrected the Maven group id of the
java-bom
module to match the rest of this project (com.sap.cloud.environment
→com.sap.cloud.environment.servicebinding
) - Corrected the package name in the
*-api
modules (com.sap.cloud.environment.api
→com.sap.cloud.environment.servicebinding.api
)
Version 0.1.0
Initial Version of BTP Environment Service Binding Access for Java
,
an utility for easily reading application configurations for bound services in the SAP Business Technology Platform Cloud Foundry and Kubernetes (K8S) environment.