Skip to content

Commit

Permalink
fix for issue #91 and #94
Browse files Browse the repository at this point in the history
  • Loading branch information
maheshc01 committed Aug 21, 2024
1 parent 0e6c9e7 commit 630372b
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 62 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ This release contains the definition and documentation of
* Application Profiles API v0.3.0

The API definition(s) are based on
* Commonalities v0.4.0-rc.1
* Identity and Consent Management v0.2.0-rc.1
* Commonalities v0.4.0-rc.2
* Identity and Consent Management v0.2.0-rc.2

## Connectivity Insights API v0.4.0-rc.1

Expand Down
22 changes: 5 additions & 17 deletions code/API_definitions/application-profiles.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,26 +17,14 @@ info:
throughput). This scope will be expanded further based on addtional
requirements from other applicable CAMARA APIs
# Authorization and Authentication
### Authorization and authentication
[Camara Security and Interoperability Profile](https://github.com/
camaraproject/IdentityAndConsentManagement/blob/r0.2.0-rc.2/
documentation/CAMARA-Security-Interoperability.md) provides details on
how a client requests an access token.
The "Camara Security and Interoperability Profile" provides details on how a client requests an access token. Please refer to Identify and Consent Management (https://github.com/camaraproject/IdentityAndConsentManagement/) for the released version of the Profile.
Which specific authorization flows are to be used will be determined
during onboarding process, happening between the API Client and the Telco
Operator exposing the API, taking into account the declared purpose for
accessing the API, while also being subject to the prevailing legal
framework dictated by local legislation.
Which specific authorization flows are to be used will be determined during onboarding process, happening between the API Client and the Telco Operator exposing the API, taking into account the declared purpose for accessing the API, while also being subject to the prevailing legal framework dictated by local legislation.
It is important to remark that in cases where personal user data is processed by the API, and users can exercise their rights through mechanisms such as opt-in and/or opt-out, the use of 3-legged access tokens becomes mandatory. This measure ensures that the API remains in strict compliance with user privacy preferences and regulatory obligations, upholding the principles of transparency and user-centric data control.
It is important to remark that in cases where personal user data is
processed by the API, and users can exercise their rights through
mechanisms such as opt-in and/or opt-out, the use of 3-legged access
tokens becomes mandatory. This measure ensures that the API remains in
strict compliance with user privacy preferences and regulatory
obligations, upholding the principles of transparency and user-centric
data control.
x-camara-commonalities: 0.4.0

servers:
Expand Down
37 changes: 13 additions & 24 deletions code/API_definitions/connectivity-insights-subscriptions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ openapi: 3.0.3
info:
title: Connectivity Insights
version: 0.4.0-rc.1
contact:
email: [email protected]
x-camara-commonalities: 0.4.0
description: |
With CAMARA Connectivity Insights, application developers gain essential
Expand Down Expand Up @@ -55,26 +57,13 @@ info:
connectivity insights resource server to the webhook url provided
by notification listener.
# Authorization and Authentication
### Authorization and authentication
[Camara Security and Interoperability Profile](https://github.com/
camaraproject/IdentityAndConsentManagement/blob/r0.2.0-rc.2/
documentation/CAMARA-Security-Interoperability.md) provides details on
how a client requests an access token.
The "Camara Security and Interoperability Profile" provides details on how a client requests an access token. Please refer to Identify and Consent Management (https://github.com/camaraproject/IdentityAndConsentManagement/) for the released version of the Profile.
Which specific authorization flows are to be used will be determined
during onboarding process, happening between the API Client and the Telco
Operator exposing the API, taking into account the declared purpose for
accessing the API, while also being subject to the prevailing legal
framework dictated by local legislation.
Which specific authorization flows are to be used will be determined during onboarding process, happening between the API Client and the Telco Operator exposing the API, taking into account the declared purpose for accessing the API, while also being subject to the prevailing legal framework dictated by local legislation.
It is important to remark that in cases where personal user data is
processed by the API, and users can exercise their rights through
mechanisms such as opt-in and/or opt-out, the use of 3-legged access
tokens becomes mandatory. This measure ensures that the API remains in
strict compliance with user privacy preferences and regulatory
obligations, upholding the principles of transparency and user-centric
data control.
It is important to remark that in cases where personal user data is processed by the API, and users can exercise their rights through mechanisms such as opt-in and/or opt-out, the use of 3-legged access tokens becomes mandatory. This measure ensures that the API remains in strict compliance with user privacy preferences and regulatory obligations, upholding the principles of transparency and user-centric data control.
license:
name: Apache 2.0
Expand Down Expand Up @@ -861,7 +850,7 @@ components:
source:
$ref: "#/components/schemas/Source"
type:
$ref: "#/components/schemas/Event-typeNotification"
$ref: "#/components/schemas/EventTypeNotification"
specversion:
type: string
description: |
Expand All @@ -885,29 +874,29 @@ components:
mapping:
org.camaraproject.connectivity-insights-subscriptions.v0.network-quality-met:
"#/components/schemas/EventNetworkQualityMet"
org.camaraproject.connectivity-insights-subscriptions.v0.network-quality-not-met:
org.camaraproject.connectivity-insights-subscriptions.v0.network-quality-not-met:
"#/components/schemas/EventNetworkQualityNotMet"
org.camaraproject.connectivityinsights.v0.eventSubscriptionEnds:
"#/components/schemas/EventSubscriptionEnds"

EventNetworkQualityMet:
EventNetworkQualityMet:
description: event structure for Network Quality met
allOf:
- $ref: "#/components/schemas/CloudEvent"
- type: object
properties:
data:
$ref: "#/components/schemas/NetworkQualityInsight"
EventNetworkQualityNotMet:

EventNetworkQualityNotMet:
description: event structure for Network Quality not met
allOf:
- $ref: "#/components/schemas/CloudEvent"
- type: object
properties:
data:
$ref: "#/components/schemas/NetworkQualityInsight"
$ref: "#/components/schemas/NetworkQualityInsight"


EventSubscriptionEnds:
description: event structure for event subscription ends
Expand Down
26 changes: 8 additions & 18 deletions code/API_definitions/connectivity-insights.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ openapi: 3.0.3
info:
title: Connectivity Insights
version: 0.4.0-rc.1
contact:
email: [email protected]
x-camara-commonalities: 0.4.0
description: |
With CAMARA Connectivity Insights, application developers gain essential
Expand Down Expand Up @@ -38,7 +40,8 @@ info:
3. Optional: use the `connectivity-insights-subscriptions` API to receive
notifications of network quality.
todo: sequence diagram
Following diagram shows the interaction between different components
![Sequence Diagram](https://raw.githubusercontent.com/camaraproject/ConnectivityInsights/main/documentation/API_documentation/ConnectivityInsights-SequenceDiagram.png)
# Identifying the device
Expand Down Expand Up @@ -70,26 +73,13 @@ info:
be explicitly documented in the guidelines.
# Authorization and Authentication
### Authorization and authentication
[Camara Security and Interoperability Profile](https://github.com/
camaraproject/IdentityAndConsentManagement/blob/r0.2.0-rc.2/
documentation/CAMARA-Security-Interoperability.md) provides details on
how a client requests an access token.
The "Camara Security and Interoperability Profile" provides details on how a client requests an access token. Please refer to Identify and Consent Management (https://github.com/camaraproject/IdentityAndConsentManagement/) for the released version of the Profile.
Which specific authorization flows are to be used will be determined
during onboarding process, happening between the API Client and the Telco
Operator exposing the API, taking into account the declared purpose for
accessing the API, while also being subject to the prevailing legal
framework dictated by local legislation.
Which specific authorization flows are to be used will be determined during onboarding process, happening between the API Client and the Telco Operator exposing the API, taking into account the declared purpose for accessing the API, while also being subject to the prevailing legal framework dictated by local legislation.
It is important to remark that in cases where personal user data is
processed by the API, and users can exercise their rights through
mechanisms such as opt-in and/or opt-out, the use of 3-legged access
tokens becomes mandatory. This measure ensures that the API remains in
strict compliance with user privacy preferences and regulatory
obligations, upholding the principles of transparency and user-centric
data control.
It is important to remark that in cases where personal user data is processed by the API, and users can exercise their rights through mechanisms such as opt-in and/or opt-out, the use of 3-legged access tokens becomes mandatory. This measure ensures that the API remains in strict compliance with user privacy preferences and regulatory obligations, upholding the principles of transparency and user-centric data control.
license:
name: Apache 2.0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# API Readiness Checklist

Checklist for application-profile v0.3.0-rc.1
Checklist for application-profiles v0.3.0-rc.1

| Nr | API release assets | alpha | release-candidate | initial<br>public | stable<br> public | Status | Comments |
|----|----------------------------------------------|:-----:|:-----------------:|:-------:|:------:|:----:|----|
Expand Down

0 comments on commit 630372b

Please sign in to comment.