| 1 | /* |
| 2 | * Copyright (c) 2024 Amadeus |
| 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 | * Amadeus - Initial API and Implementation |
| 12 | * |
| 13 | */ |
| 14 | |
| 15 | |
| 16 | plugins { |
| 17 | `java-library` |
| 18 | id("io.swagger.core.v3.swagger-gradle-plugin") |
| 19 | } |
| 20 | |
| 21 | dependencies { |
| 22 | api(project(":spi:common:validator-spi")) |
| 23 | api(project(":spi:control-plane:control-plane-spi")) |
| 24 | implementation(project(":extensions:common:api:api-core")) |
| 25 | implementation(project(":core:common:lib:validator-lib")) |
| 26 | implementation(project(":core:common:lib:transform-lib")) |
| 27 | |
| 28 | implementation(libs.jakarta.rsApi) |
| 29 | |
| 30 | testImplementation(project(":core:control-plane:control-plane-core")) |
| 31 | testImplementation(project(":core:data-plane-selector:data-plane-selector-core")) |
| 32 | testImplementation(project(":extensions:common:http")) |
| 33 | testImplementation(project(":core:common:junit")) |
| 34 | testImplementation(testFixtures(project(":extensions:common:http:jersey-core"))) |
| 35 | testImplementation(libs.restAssured) |
| 36 | testImplementation(libs.awaitility) |
| 37 | } |
| 38 | |
| 39 | edcBuild { |
| 40 | swagger { |
| 41 | apiGroup.set("management-api") |
| 42 | } |
| 43 | } |
| 44 | |
| 45 | |