| 1 | /* |
| 2 | * Copyright (c) 2022 ZF Friedrichshafen AG |
| 3 | * |
| 4 | * This program and the accompanying materials are made available under the |
| 5 | * terms of the Apache License, Version 2.0 which is available at |
| 6 | * https://www.apache.org/licenses/LICENSE-2.0 |
| 7 | * |
| 8 | * SPDX-License-Identifier: Apache-2.0 |
| 9 | * |
| 10 | * Contributors: |
| 11 | * ZF Friedrichshafen AG - Initial API and Implementation |
| 12 | */ |
| 13 | plugins { |
| 14 | `java-library` |
| 15 | id(libs.plugins.swagger.get().pluginId) |
| 16 | } |
| 17 | |
| 18 | dependencies { |
| 19 | api(project(":spi:control-plane:control-plane-spi")) |
| 20 | api(project(":spi:common:transaction-spi")) |
| 21 | |
| 22 | implementation(project(":extensions:common:api:api-core")) |
| 23 | implementation(project(":extensions:common:api:lib:management-api-lib")) |
| 24 | implementation(project(":core:common:lib:validator-lib")) |
| 25 | |
| 26 | implementation(libs.jakarta.rsApi) |
| 27 | |
| 28 | testImplementation(project(":core:common:lib:transform-lib")) |
| 29 | testImplementation(project(":core:control-plane:control-plane-transform")) |
| 30 | testImplementation(project(":core:common:lib:util-lib")) |
| 31 | testImplementation(project(":core:control-plane:control-plane-core")) |
| 32 | testImplementation(project(":core:data-plane-selector:data-plane-selector-core")) |
| 33 | testImplementation(project(":extensions:common:http")) |
| 34 | testImplementation(project(":core:common:junit")) |
| 35 | testImplementation(testFixtures(project(":extensions:common:http:jersey-core"))) |
| 36 | |
| 37 | testImplementation(libs.restAssured) |
| 38 | testImplementation(libs.awaitility) |
| 39 | } |
| 40 | |
| 41 | edcBuild { |
| 42 | swagger { |
| 43 | apiGroup.set("management-api") |
| 44 | } |
| 45 | } |
| 46 | |
| 47 | |