Repository navigation
Release Notes
This public release contains the definition and documentation of
- connectivity-insights-subscriptions 0.7.0
- connectivity-insights 0.7.0
The API definition(s) are based on
- Commonalities r4.4 (0.9.0)
- Identity and Consent Management r4.2 (0.5.0)
connectivity-insights-subscriptions 0.7.0
connectivity-insights-subscriptions 0.7.0 is an initial public version of this API.
Changes documented below are compared to version 0.6.0.
- API definition with inline documentation:
Breaking changes
GET /subscriptionsreturns a paginated object with the required propertiessubscriptionsandpagination, instead of an array of subscriptions, by @maheshc01 in #198- The subscription identifier in subscription responses (
POST /subscriptions,GET /subscriptions,GET /subscriptions/{subscriptionId}) and in the202responses ofPOST /subscriptionsandDELETE /subscriptions/{subscriptionId}is nowidinstead ofsubscriptionId, as in the Commonalities event subscription template; thesubscriptionIdpath parameter is unchanged, by @maheshc01 in #198 - Subscription
statusvalueDEACTIVEreplaced byINACTIVE, by @maheshc01 in #198 - In the
network-qualityevent, thedatapropertypapplicationProfileIdis corrected toapplicationProfileId, by @maheshc01 in #198 - In
config.subscriptionDetail,applicationServeris now required anddeviceis no longer required, by @Kevsy in #209 - New input limits on the
POST /subscriptionsrequest body, by @maheshc01 in #198 and #224, and @Kevsy in #214sinkmust be anhttpsURL of at most 2048 charactersapplicationServerPorts.portsandapplicationServerPorts.rangesaccept at most 100 entries, and port values (includingdevice.ipv4Address.publicPort) must be between 1 and 65535 (previously 0 was accepted)applicationServer.ipv4AddressandapplicationServer.ipv6Addressmust be valid IPv4 / IPv6 addresses, optionally with a mask, of at most 18 and 49 charactersconfig.subscriptionMaxEventsisint32with a maximum of 1000000
Added
- Pagination for
GET /subscriptions: optionalpageandperPagequery parameters,X-Total-Count,X-Total-PagesandLinkresponse headers, and the400 OUT_OF_RANGEerror code, by @maheshc01 in #198 subscription-startedandsubscription-updatedsubscription lifecycle events, by @maheshc01 in #198PRIVATE_KEY_JWTassinkCredential.credentialType, and the422error codesPRIVATE_KEY_JWT_NOT_CONFIGURED,UNSUPPORTED_IDENTIFIER,MULTIEVENT_SUBSCRIPTION_NOT_SUPPORTEDandMULTIEVENT_COMBINATION_TEMPORARILY_NOT_SUPPORTEDforPOST /subscriptions, by @maheshc01 in #198- Test scenario for
422 UNNECESSARY_IDENTIFIER, by @maheshc01 in #224 - Test scenarios for subscription creation with a
PRIVATE_KEY_JWTsinkCredential,422 PRIVATE_KEY_JWT_NOT_CONFIGURED, and an invalid event type (400 INVALID_ARGUMENT), by @maheshc01 in #237
Changed
- Aligned with Commonalities r4.4 (0.9.0, from 0.6): event schemas,
Config,sinkandDevicealigned with the Commonalities event subscription and common schemas, error responses aligned with the r4.4 response catalogue and shared examples, and the mandatoryinfo.descriptionsections added, by @maheshc01 in #198 and #224 - Adopted the request body strictness rule: requests with JSON bodies containing properties not declared in the specification are rejected with
400 INVALID_ARGUMENT(not a breaking change per the API Design Guide, as such request bodies were never compliant with the specification), by @maheshc01 in #198 - Added
maxLength,formatandpatternconstraints to string fields (see Breaking changes for the limits that affect request bodies), by @maheshc01 in #198 - Test definitions: OAS schema references now use the
#/components/schemas/...form, by @maheshc01 in #224 - Test definitions updated for the API changes in this release: the
GET /subscriptionsscenarios expect the paginated response, the subscription creation scenarios no longer check asubscriptionIdproperty, and the invalid credential type scenario uses a value other thanACCESSTOKENandPRIVATE_KEY_JWT, by @maheshc01 in #237
Fixed
- Typo
papplicationProfileIdin thenetwork-qualityevent corrected (see Breaking changes), by @maheshc01 in #198 - Required properties of
config.subscriptionDetailcorrected (see Breaking changes), by @Kevsy in #209 - Corrected the device identification sections of the API description, which referred to
phoneNumberinstead of thedeviceobject, and the error handling text:404 NOT_FOUNDis returned when the subscription identified bysubscriptionIddoes not exist, by @maheshc01 in #224 - The
subscription-endedevent is now mapped in the event discriminator under its event typeorg.camaraproject.connectivity-insights-subscriptions.v0.subscription-ended; 0.6.0 mapped it underorg.camaraproject.connectivityinsights.v0.eventSubscriptionEnded, by @maheshc01 in #198 - Test definitions: the subscription deletion scenarios accept
202or204and expectterminationReasonSUBSCRIPTION_DELETED, by @maheshc01 in #237
Removed
protocolvaluesAMQP,KAFKA,MQTT3,MQTT5andNATS, andsinkCredential.credentialTypevaluesPLAINandREFRESHTOKEN, which were already not allowed by the 0.6.0 descriptions ("Only HTTP is allowed for now", "MUST be set to ACCESSTOKEN for now"), by @maheshc01 in #198- Test scenario for
403 SUBSCRIPTION_MISMATCH, replaced by the invalid event type scenario as the API supports a single event type, by @maheshc01 in #237
connectivity-insights 0.7.0
connectivity-insights 0.7.0 is an initial public version of this API.
Changes documented below are compared to version 0.6.0.
- API definition with inline documentation:
Breaking changes
applicationProfileIdandapplicationServerare now required in thePOST /check-network-qualityrequest body, by @maheshc01 in #198- New input limits on the
POST /check-network-qualityrequest body, by @maheshc01 in #198 and @Kevsy in #214applicationServerPorts.portsandapplicationServerPorts.rangesaccept at most 100 entries, and port values (includingdevice.ipv4Address.publicPort) must be between 1 and 65535 (previously 0 was accepted)applicationServer.ipv4AddressandapplicationServer.ipv6Addressmust be valid IPv4 / IPv6 addresses, optionally with a mask, of at most 18 and 49 characters
Added
- Error codes
422 UNSUPPORTED_IDENTIFIERand422 UNNECESSARY_IDENTIFIERdeclared forPOST /check-network-quality, with test scenarios for422 MISSING_IDENTIFIERand422 UNNECESSARY_IDENTIFIER, by @maheshc01 in #198 and #224 - Test scenarios for
400 OUT_OF_RANGE(an application server port range whose start is greater than its end),422 UNSUPPORTED_IDENTIFIERand422 SERVICE_NOT_APPLICABLE, by @maheshc01 in #237
Changed
- Aligned with Commonalities r4.4 (0.9.0, from 0.6):
Device,DeviceResponse,PortandXCorrelatoraligned with the Commonalities common schemas, error responses aligned with the r4.4 response catalogue and shared examples, and the mandatoryinfo.descriptionsections added, by @maheshc01 in #198 and #224 - Adopted the request body strictness rule: requests with JSON bodies containing properties not declared in the specification are rejected with
400 INVALID_ARGUMENT(not a breaking change per the API Design Guide, as such request bodies were never compliant with the specification), by @maheshc01 in #198 - Added
maxLength,format,minimumandmaximumconstraints (see Breaking changes for the limits that affect request bodies), by @maheshc01 in #198 - Test definitions: OAS schema references now use the
#/components/schemas/...form, by @maheshc01 in #224
Fixed
- Fixed missing
type: objectdeclarations in schema definitions, by @hdamker in #193 - Corrected the error handling text:
404 NOT_FOUNDis returned for an unknownapplicationProfileId,404 IDENTIFIER_NOT_FOUNDwhen the device cannot be identified, by @maheshc01 in #224 - Test definitions: the additional KPIs scenario no longer requires
additionalKPIs, which is optional in the response, by @maheshc01 in #237
Removed
- Error code
403 INVALID_TOKEN_CONTEXTremoved fromPOST /check-network-quality, with the corresponding test scenario, by @maheshc01 in #224
Full Changelog: r3.2...r4.3