Releases: AppDirect/service-integration-sdk
Releases · AppDirect/service-integration-sdk
Bugfix
Addressed a bug related to sending event resolution notifications to the marketplace using XML instead of JSON
Initial SSO support
Added support for SSO setup in the SDK
Fixed bugs related to the wrong rest template dependencies used in certain modules
Updated Spring Boot dependency
The Spring Boot dependency of the SDK is updated to the latest version (1.5.4.RELEASE)
v.1.19 - Open source SDK
Open source the SDK
v.1.15 - Added Subscription Validation for Migration
New features
- Added new handler for
/api/v1/migration/validateSubscription
.- Consult code for more info.
v1.14 - optional handlers & migration
New features
- Added support for defaulting to "dummy" successful event handlers for all optional events the connector devs do not support.
- Currently, only SUBSCRIPTION_ORDER & SUBSCRIPTION_CANCEL are mandatory, all the rest are optional.
- See
README.md
for more info
- Added new handler for
/api/v1/migration/validateCustomerAccount
.- Consult code for more info.
Breaking changes
- Make sure to annotate your handlers with
@Primary
otherwise the weak "override by id" logic occurs at context loading and you incur the risk of Spring not picking YOUR handlers but using the default SDK ones.
v1.13 - Oops - failed jenkins release...
Please ignore
v1.12 - Better logging, one less bug
New features:
- better logging of exception when you could not fetch the event from the marketplace (rare occurrence)
Bug fix:
- No longer crash when
SUBSCRIPTION_NOTICE
event handlers return a failure (i.e. when usingApiResult.failure(...)
)
v 1.11 - Support for addons (order and cancel) and user assignment and unassignment
Enhancements:
The following rich events were added:
- UserAssignment
- UserUnassignment
- AddonSubscriptionOrder
- AddonSubscriptionCancel
Breaking Changes
- Handlers for the new events MUST be defined in a connector using the SDK
v1.10 - query params for all events!
Enhancements:
SubscriptionOrder
,SubscriptionCancel
,SubscriptionChange
,SubcriptionClosed
,SubscriptionReactivated
,SubscriptionDeactivated
&SubscriptionUpcomingInvoice
now have agetQueryParameters()
method that returns all of the query params that came in with the original request publishing the event.- In addition,
SubcriptionClosed
,SubscriptionReactivated
,SubscriptionDeactivated
&SubscriptionUpcomingInvoice
also received thegetConsumerKeyUsedByTheRequest()
method: it returns the consumer key used in the oauth authentication of the request that published the event.
Note: this is just v1.9 + the fix for a race condition that cleared out the request params. Now, you get stable query params, no worries.