Skip to content

Releases: SAP/btp-environment-variable-access

Version 0.5.2

06 Dec 12:15
0.5.2
59b4130
Compare
Choose a tag to compare
Version 0.5.2 Pre-release
Pre-release

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

20 Oct 15:54
0.5.1
3bcae2a
Compare
Choose a tag to compare
Release 0.5.1 Pre-release
Pre-release

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 the SERVICE_BINDING_ROOT environment variable is not define.
  • The SapServiceOperatorServiceBindingIoAccessor will now try to store the credential properties using credentials 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

05 Oct 09:03
0.5.0
e595f1b
Compare
Choose a tag to compare
Release 0.5.0 Pre-release
Pre-release

Module: java-access-api

  • Breaking Changes:
    • Removed the default constructor of com.sap.cloud.environment.servicebinding.api.exception.ServiceBindingAccessException.
  • Add the KEEP_UNIQUE ServiceBindingMerger.EqualityComparer for convenience to the ServiceBindingMerger. This implementation will use equals to determine the equality of the given ServiceBinding instances.
  • Add #getInstancesViaServiceLoader to the ServiceBindingAccessor 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.
  • 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
  • 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

10 Aug 11:52
0.4.1
713d940
Compare
Choose a tag to compare
Release 0.4.1 Pre-release
Pre-release

Fixed Issues

  • [java-sap-service-operator] We fixed an issue that caused a UnsupportedPropertyTypeException when trying to create a new ServiceBinding instance that contained a JSON object property. See #40

Version 0.4.0

27 Jul 14:15
0.4.0
e193df5
Compare
Choose a tag to compare
Version 0.4.0 Pre-release
Pre-release

Fixed Issues

  • java-sap-vcap-services:
    • The SapVcapServicesServiceBindingAccessor is now exposed via the service locator pattern

Version 0.3.1

06 Jul 15:03
80102f3
Compare
Choose a tag to compare
Version 0.3.1 Pre-release
Pre-release

Fixed Issues

  • We fixed an issue which caused the build of the project to fail

Version 0.3.0

06 Jul 14:10
11635cc
Compare
Choose a tag to compare
Version 0.3.0 Pre-release
Pre-release

Fixed Issues

  • [java-sap-service-operator] We fixed an issue, which caused a FileNotFoundException in case the root directory of the SapServiceOperatorLayeredServiceBindingAccessor (by default /etc/secrets/sapbtp) doesn't exist or isn't a directory.

Version 0.2.0

17 Jun 06:39
0c8b711
Compare
Choose a tag to compare
Version 0.2.0 Pre-release
Pre-release

This release fixes several issues:

  1. Corrected the Maven group id of the java-bom module to match the rest of this project (com.sap.cloud.environmentcom.sap.cloud.environment.servicebinding)
  2. Corrected the package name in the *-api modules (com.sap.cloud.environment.apicom.sap.cloud.environment.servicebinding.api)

Version 0.1.0

15 Jun 22:48
b8b8125
Compare
Choose a tag to compare
Version 0.1.0 Pre-release
Pre-release

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.