Skip to content

Commit 03277cd

Browse files
Remove deprecated ("classic") governance API (#7080)
Co-authored-by: Amaury Chamayou <[email protected]> Co-authored-by: Amaury Chamayou <[email protected]>
1 parent 6b955e9 commit 03277cd

File tree

16 files changed

+20
-5221
lines changed

16 files changed

+20
-5221
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
99

1010
[7.0.0-dev0]: https://github.com/microsoft/CCF/releases/tag/ccf-7.0.0-dev0
1111

12+
### Removed
13+
14+
- The classic governance API which was deprecated in 5.0.0 has now been removed. Any operations under `/gov` which do not take an `api-version` query parameter are no longer available.
15+
1216
### Fixed
1317

1418
- Improved error messages when failing to fetch collateral. (#7103)
@@ -3218,3 +3222,4 @@ Initial pre-release
32183222
[3.0.0-rc0]: https://github.com/microsoft/CCF/releases/tag/ccf-3.0.0-rc0
32193223
[3.0.0-rc2]: https://github.com/microsoft/CCF/releases/tag/ccf-3.0.0-rc2
32203224
[5.0.0]: https://github.com/microsoft/CCF/releases/tag/ccf-5.0.0
3225+
[7.0.0-dev0]: https://github.com/microsoft/CCF/releases/tag/ccf-7.0.0-dev0

CMakeLists.txt

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1048,12 +1048,6 @@ if(BUILD_TESTS)
10481048
set(ADDITIONAL_RECOVERY_ARGS --with-load --with-election
10491049
--with-unsigned-suffix
10501050
)
1051-
1052-
add_e2e_test(
1053-
NAME recovery_test_cft_api_0
1054-
PYTHON_SCRIPT ${CMAKE_SOURCE_DIR}/tests/recovery.py
1055-
ADDITIONAL_ARGS ${ADDITIONAL_RECOVERY_ARGS} --gov-api-version "classic"
1056-
)
10571051
endif()
10581052

10591053
add_e2e_test(
@@ -1264,14 +1258,6 @@ if(BUILD_TESTS)
12641258
${CMAKE_SOURCE_DIR}/samples/apps/logging/js --http2
12651259
)
12661260

1267-
if(LONG_TESTS)
1268-
add_e2e_test(
1269-
NAME membership_api_0
1270-
PYTHON_SCRIPT ${CMAKE_SOURCE_DIR}/tests/membership.py
1271-
ADDITIONAL_ARGS --gov-api-version "classic"
1272-
)
1273-
endif()
1274-
12751261
add_e2e_test(
12761262
NAME membership_api_1
12771263
PYTHON_SCRIPT ${CMAKE_SOURCE_DIR}/tests/membership.py

doc/governance/gov_api_schemas/classic.rst

Lines changed: 0 additions & 10 deletions
This file was deleted.

doc/governance/gov_api_schemas/upgrading_from_classic.rst

Lines changed: 0 additions & 253 deletions
This file was deleted.

doc/governance/member_rpc_api.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,3 @@ Multiple API versions are available, with the versions supported by the current
99

1010
gov_api_schemas/2024-07-01
1111
gov_api_schemas/2023-06-01-preview
12-
gov_api_schemas/classic
13-
gov_api_schemas/upgrading_from_classic

0 commit comments

Comments
 (0)