Skip to content

Commit 247f7a3

Browse files
Merge pull request #74 from camaraproject/jgarciahospital-patch-5
Spring25 - M3 Milestone - Prepare r2.1
2 parents ab85184 + f61088e commit 247f7a3

File tree

5 files changed

+76
-28
lines changed

5 files changed

+76
-28
lines changed

CHANGELOG.md

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,60 @@
22

33
## Table of Contents
44

5+
- [r2.1](#r21)
56
- **[r1.2](#r12)**
67
- [r1.1](#r11)
78
- [v0.1.0](#v010)
89

910
**Please be aware that the project will have frequent updates to the main branch. There are no compatibility guarantees associated with code in any branch, including main, until it has been released. For example, changes may be reverted before a release is published. For the best results, use the latest published release.**
1011

12+
# r2.1
13+
## Release Notes
14+
15+
This release contains the definition and documentation of
16+
* population-density-data v0.2.0-rc.1
17+
18+
The API definition(s) are based on
19+
* Commonalities v0.5.0-rc.1
20+
* Identity and Consent Management v0.3.0-rc.1
21+
22+
23+
## population-density-data v0.2.0-rc.1
24+
25+
**population-density-data v0.2.0-rc.1 is the 1st release candidate of the version 0.2.0**
26+
27+
- 0.2.0-rc.1 Population Density Data API definition **with inline documentation**:
28+
- OpenAPI [YAML spec file](https://github.com/camaraproject/PopulationDensityData/blob/r2.1/code/API_definitions/population-density-data.yaml)
29+
- [View it on ReDoc](https://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/camaraproject/PopulationDensityData/r2.1/code/API_definitions/population-density-data.yaml&nocors)
30+
- [View it on Swagger Editor](https://editor.swagger.io/?url=https://raw.githubusercontent.com/camaraproject/PopulationDensityData/r2.1/code/API_definitions/population-density-data.yaml)
31+
32+
### Added
33+
* Include new description to the sink endpoint and included start/endtime references to align API input and output. by @jgarciahospital in https://github.com/camaraproject/PopulationDensityData/pull/57
34+
* Include "OPERATION_NOT_COMPLETED" error for async operation by @jgarciahospital in https://github.com/camaraproject/PopulationDensityData/pull/63
35+
* Include operation ID for the async mechanism by @jgarciahospital in https://github.com/camaraproject/PopulationDensityData/pull/64
36+
* Add a pattern for x-correlator by @bigludo7 in https://github.com/camaraproject/PopulationDensityData/pull/71
37+
* Support time window in the past in the APIexposure of data in the past is added by @gregory1g in https://github.com/camaraproject/PopulationDensityData/pull/60
38+
39+
40+
### Changed
41+
* Simplify class management and change of density value formats by @jgarciahospital in https://github.com/camaraproject/PopulationDensityData/pull/59
42+
* Update error with 422 by @jgarciahospital in https://github.com/camaraproject/PopulationDensityData/pull/66
43+
* Align error code & definition as specified in Commonalities 0.5 by @bigludo7 in https://github.com/camaraproject/PopulationDensityData/pull/68
44+
* Align population-density-data API with areaType format by @jgarciahospital in https://github.com/camaraproject/PopulationDensityData/pull/69
45+
* Align 429 messages by @bigludo7 in https://github.com/camaraproject/PopulationDensityData/pull/73
46+
* Update API test plan for Population Density Data including new features and alignement with commonalities by @jgarciahospital in https://github.com/camaraproject/PopulationDensityData/pull/76
47+
48+
### Fixed
49+
N/A
50+
51+
### Removed
52+
N/A
53+
54+
## New Contributors
55+
* @bigludo7 made their first contribution in https://github.com/camaraproject/PopulationDensityData/pull/68
56+
57+
**Full Changelog**: https://github.com/camaraproject/PopulationDensityData/compare/r1.2...r2.1
58+
1159
# r1.2
1260
## Release Notes
1361

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ Repository to describe, develop, document and test the Population Density Data A
3131
## Status and released versions
3232

3333
* Note: Please be aware that the project will have frequent updates to the main branch. There are no compatibility guarantees associated with code in any branch, including main, until a new release is created. For example, changes may be reverted before a release is created. **For best results, use the latest available release**.
34-
* The release r1.2 contains the version 0.1.1 of the Population Density Data API. It is the release of the patch release v0.1.1. The release tag is [r1.2](https://github.com/camaraproject/PopulationDensityData/tree/r1.2).
35-
- 0.1.1 Population Density Data API definition **with inline documentation**:
36-
- OpenAPI [YAML spec file](https://github.com/camaraproject/PopulationDensityData/blob/r1.2/code/API_definitions/population-density-data.yaml)
37-
- [View it on ReDoc](https://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/camaraproject/PopulationDensityData/r1.2/code/API_definitions/population-density-data.yaml&nocors)
38-
- [View it on Swagger Editor](https://editor.swagger.io/?url=https://raw.githubusercontent.com/camaraproject/PopulationDensityData/r1.2/code/API_definitions/population-density-data.yaml)
34+
* The pre-release r2.1 contains the version 0.2.0-rc.1 of the Population Density Data API. The release tag is [r2.1](https://github.com/camaraproject/PopulationDensityData/tree/r2.1).
35+
- 0.2.0-rc.1 Population Density Data API definition **with inline documentation**:
36+
- OpenAPI [YAML spec file](https://github.com/camaraproject/PopulationDensityData/blob/r2.1/code/API_definitions/population-density-data.yaml)
37+
- [View it on ReDoc](https://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/camaraproject/PopulationDensityData/r2.1/code/API_definitions/population-density-data.yaml&nocors)
38+
- [View it on Swagger Editor](https://editor.swagger.io/?url=https://raw.githubusercontent.com/camaraproject/PopulationDensityData/r2.1/code/API_definitions/population-density-data.yaml)
3939
* The latest public release is available here: https://github.com/camaraproject/PopulationDensityData/releases/latest
4040
* Other releases of this sub project are available in https://github.com/camaraproject/PopulationDensityData/releases
4141
* For changes see [CHANGELOG.md](https://github.com/camaraproject/PopulationDensityData/blob/main/CHANGELOG.md)

code/API_definitions/population-density-data.yaml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ info:
8989
9090
For requests with a combination of `area`, `precision`, `startTime` and `endTime`
9191
properties too big for both synchronous and asynchronous processing, the API
92-
returns the error response `POPULATION_DENSITY_DATA.UNSUPPPORTED_REQUEST`.
92+
returns the error response `POPULATION_DENSITY_DATA.UNSUPPORTED_REQUEST`.
9393
9494
If an error happens during the asynchronous processing of the request. The API callback
9595
will have property `status` with value `OPERATION_NOT_COMPLETED` as an error cannot be returned in the callback.
@@ -105,13 +105,13 @@ info:
105105
The API provides one endpoint that accepts POST requests for retrieving population
106106
density information in the specified area.
107107
108-
# Authorization and Authentication
108+
# Authorization and authentication
109109
110-
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.
110+
The "Camara Security and Interoperability Profile" provides details of how an API consumer requests an access token. Please refer to Identity and Consent Management (https://github.com/camaraproject/IdentityAndConsentManagement/) for the released version of the profile.
111111
112-
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.
112+
The specific authorization flows to be used will be agreed upon during the onboarding process, happening between the API consumer and the API provider, taking into account the declared purpose for accessing the API, whilst also being subject to the prevailing legal framework dictated by local legislation.
113113
114-
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.
114+
In cases where personal 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 three-legged access tokens is mandatory. This ensures that the API remains in compliance with privacy regulations, upholding the principles of transparency and user-centric privacy-by-design.
115115
116116
Population Density Data API ensures the usage of anonymized information and do not treat personal data neither as input nor output.
117117
Therefore, the access to Population Density Data API is defined as Client Credentials - 2-legged. Please refer to Identify and Consent Management (https://github.com/camaraproject/IdentityAndConsentManagement/) for the latest detailed specification of this authentication/authorization flow.
@@ -124,14 +124,14 @@ info:
124124
license:
125125
name: Apache 2.0
126126
url: https://www.apache.org/licenses/LICENSE-2.0.html
127-
version: wip
127+
version: 0.2.0-rc.1
128128

129-
x-camara-commonalities: 0.4.0
129+
x-camara-commonalities: 0.5
130130
externalDocs:
131131
description: Product documentation at Camara.
132132
url: https://github.com/camaraproject/
133133
servers:
134-
- url: '{apiRoot}/population-density-data/vwip'
134+
- url: '{apiRoot}/population-density-data/v0.2rc1'
135135
variables:
136136
apiRoot:
137137
default: http://localhost:9091
@@ -657,7 +657,7 @@ components:
657657
- The area is not a polygon shape or exceeds supported complexity ("code": "POPULATION_DENSITY_DATA.INVALID_AREA", "message": "The area is not a polygon shape or exceeds supported complexity")
658658
- Indicated `startTime` is greater than the maximum allowed ("code": "POPULATION_DENSITY_DATA.MAX_STARTTIME_EXCEEDED", "message": "Indicated startTime is greater than the maximum allowed")
659659
- Indicated `startTime` is earlier than the minimum allowed ("code": "POPULATION_DENSITY_DATA.MIN_STARTTIME_EXCEEDED", "message": "Indicated startTime is earlier than the minimum allowed")
660-
- Indicated `endTime` is earlier than the `startTime` ("code": "POPULATION_DENSITY_DATA.INVALID_END_DATE", "message": "Indicated endTime is earlier than the startTime")
660+
- Indicated `endTime` is earlier than the `startTime` ("code": "POPULATION_DENSITY_DATA.INVALID_END_TIME", "message": "Indicated endTime is earlier than the startTime")
661661
- Indicated time period is partially in the past and partially in the future ("code": "POPULATION_DENSITY_DATA.INVALID_TIME_PERIOD", "message": "time period is partially in the past and partially in the future")
662662
- Indicated time period is greater than the maximum allowed (More than maximum hours between startTime and endTime) ("code": "POPULATION_DENSITY_DATA.MAX_TIME_PERIOD_EXCEEDED", "message": "Indicated time period is greater than the maximum allowed (More than maximum hours between startTime and endTime)")
663663
headers:
@@ -681,7 +681,7 @@ components:
681681
- POPULATION_DENSITY_DATA.INVALID_AREA
682682
- POPULATION_DENSITY_DATA.MAX_STARTTIME_EXCEEDED
683683
- POPULATION_DENSITY_DATA.MIN_STARTTIME_EXCEEDED
684-
- POPULATION_DENSITY_DATA.INVALID_END_DATE
684+
- POPULATION_DENSITY_DATA.INVALID_END_TIME
685685
- POPULATION_DENSITY_DATA.MAX_TIME_PERIOD_EXCEEDED
686686
- POPULATION_DENSITY_DATA.INVALID_TIME_PERIOD
687687
examples:
@@ -717,10 +717,10 @@ components:
717717
code: POPULATION_DENSITY_DATA.MIN_STARTTIME_EXCEEDED
718718
message: >-
719719
Indicated startTime is earlier than the minimum allowed
720-
POPULATION_DENSITY_DATA_400_INVALID_END_DATE:
720+
POPULATION_DENSITY_DATA_400_INVALID_END_TIME:
721721
value:
722722
status: 400
723-
code: POPULATION_DENSITY_DATA.INVALID_END_DATE
723+
code: POPULATION_DENSITY_DATA.INVALID_END_TIME
724724
message: Indicated endDate is earlier than the startTime
725725
POPULATION_DENSITY_DATA_400_MAX_TIME_PERIOD_EXCEEDED:
726726
value:
@@ -864,7 +864,7 @@ components:
864864
RetrieveLocationUnprocessableContent422:
865865
description: >-
866866
Problem with the client request. The following scenarios may exist:
867-
- Indicated combination of area, time interval and precision is too big ("code": "POPULATION_DENSITY_DATA.UNSUPPPORTED_REQUEST", "message": "Indicated combination of area, time interval and precision is too big")
867+
- Indicated combination of area, time interval and precision is too big ("code": "POPULATION_DENSITY_DATA.UNSUPPORTED_REQUEST", "message": "Indicated combination of area, time interval and precision is too big")
868868
- Indicated cell precision (Geohash level) is not supported ("code": "POPULATION_DENSITY_DATA.UNSUPPORTED_PRECISION", "message": "Indicated cell precision (Geohash level) is not supported")
869869
- Indicated combination of area, time interval and precision is too big for a sync response ("code": "POPULATION_DENSITY_DATA.UNSUPPORTED_SYNC_RESPONSE", "message": "Indicated combination of area, time interval and precision is too big for a sync response")
870870
headers:
@@ -882,14 +882,14 @@ components:
882882
- 422
883883
code:
884884
enum:
885-
- POPULATION_DENSITY_DATA.UNSUPPPORTED_REQUEST
885+
- POPULATION_DENSITY_DATA.UNSUPPORTED_REQUEST
886886
- POPULATION_DENSITY_DATA.UNSUPPORTED_PRECISION
887887
- POPULATION_DENSITY_DATA.UNSUPPORTED_SYNC_RESPONSE
888888
examples:
889-
POPULATION_DENSITY_DATA_422_UNSUPPPORTED_REQUEST:
889+
POPULATION_DENSITY_DATA_422_UNSUPPORTED_REQUEST:
890890
value:
891891
status: 422
892-
code: POPULATION_DENSITY_DATA.UNSUPPPORTED_REQUEST
892+
code: POPULATION_DENSITY_DATA.UNSUPPORTED_REQUEST
893893
message: Indicated combination of area, time interval and precision is too big
894894
POPULATION_DENSITY_DATA_422_UNSUPPORTED_PRECISION:
895895
value:

code/Test_definitions/population-density-data.feature

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Feature: CAMARA Population Density Data API, v0.2.0-rc.2
1+
Feature: CAMARA Population Density Data API, v0.2.0-rc.1
22
# Input to be provided by the implementation to the tester
33
#
44
# Implementation indications:
@@ -14,11 +14,11 @@ Feature: CAMARA Population Density Data API, v0.2.0-rc.2
1414
# * An Area partially within the supported region
1515
# * An Area outside the supported region
1616
#
17-
# References to OAS spec schemas refer to schemas specifies in population-density-data.yaml, version 0.1.1
17+
# References to OAS spec schemas refer to schemas specifies in population-density-data.yaml, version 0.2.0-rc.1
1818

1919
Background: Common retrievePopulationDensity setup
2020
Given an environment at "apiRoot"
21-
And the resource "/population-density-data/v0.2rc2/retrieve"
21+
And the resource "/population-density-data/v0.2rc1/retrieve"
2222
And the header "Content-Type" is set to "application/json"
2323
And the header "Authorization" is set to a valid access token
2424
And the header "x-correlator" is set to a UUID value

documentation/API_documentation/population-density-data-API-Readiness-Checklist.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# API Readiness Checklist
22

3-
Checklist for population-density-data 0.1.1 in release r1.2
3+
Checklist for population-density-data 0.2.0-rc.1 in release r2.1
44

5-
| Nr | API release assets | alpha | release-candidate | initial<br>public | stable<br> public | Status | Comments |
5+
| Nr | API release assets | alpha | release-candidate | initial<br>public | stable<br> public | Status | Reference information |
66
|----|----------------------------------------------|:-----:|:-----------------:|:-------:|:------:|:----:|------|
77
| 1 | API definition | M | M | M | M | Y | [link](/code/API_definitions/population-density-data.yaml) |
8-
| 2 | Design guidelines from Commonalities applied | O | M | M | M | Y | |
9-
| 3 | Guidelines from ICM applied | O | M | M | M | Y | |
8+
| 2 | Design guidelines from Commonalities applied | O | M | M | M | Y | r2.2 |
9+
| 3 | Guidelines from ICM applied | O | M | M | M | Y | r2.2 |
1010
| 4 | API versioning convention applied | M | M | M | M | Y | |
1111
| 5 | API documentation | M | M | M | M | Y | Embed documentation into API spec - [link](/code/API_definitions/population-density-data.yaml) |
1212
| 6 | User stories | O | O | O | M | N | |

0 commit comments

Comments
 (0)