| 1 | /* |
| 2 | * Copyright (c) 2020 - 2022 Microsoft Corporation |
| 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 | * Microsoft Corporation - initial API and implementation |
| 12 | * |
| 13 | */ |
| 14 | |
| 15 | |
| 16 | plugins { |
| 17 | `java-library` |
| 18 | id(libs.plugins.swagger.get().pluginId) |
| 19 | } |
| 20 | |
| 21 | dependencies { |
| 22 | api(project(":spi:control-plane:contract-spi")) |
| 23 | api(project(":spi:control-plane:control-plane-spi")) |
| 24 | api(project(":spi:control-plane:policy-spi")) |
| 25 | api(project(":spi:common:transaction-spi")) |
| 26 | api(project(":spi:common:policy-model")) |
| 27 | |
| 28 | implementation(project(":core:common:lib:util-lib")) |
| 29 | implementation(project(":core:common:lib:validator-lib")) |
| 30 | implementation(project(":extensions:common:api:api-core")) |
| 31 | implementation(project(":extensions:common:api:lib:management-api-lib")) |
| 32 | |
| 33 | implementation(libs.jakarta.rsApi) |
| 34 | |
| 35 | testImplementation(project(":core:common:lib:transform-lib")) |
| 36 | testImplementation(project(":core:control-plane:control-plane-transform")) |
| 37 | testImplementation(project(":core:control-plane:control-plane-core")) |
| 38 | testImplementation(project(":core:data-plane-selector:data-plane-selector-core")) |
| 39 | testImplementation(project(":extensions:common:http")) |
| 40 | testImplementation(project(":extensions:common:transaction:transaction-local")) |
| 41 | testImplementation(testFixtures(project(":extensions:common:http:jersey-core"))) |
| 42 | testImplementation(project(":core:common:junit")) |
| 43 | testImplementation(libs.awaitility) |
| 44 | testImplementation(libs.restAssured) |
| 45 | } |
| 46 | |
| 47 | edcBuild { |
| 48 | swagger { |
| 49 | apiGroup.set("management-api") |
| 50 | } |
| 51 | } |
| 52 | |
| 53 | |