Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- apply(Project) - Method in class com.arc_e_tect.gradle.shadow.ShadowApiDetectorPlugin
C
- com.arc_e_tect.gradle.shadow - package com.arc_e_tect.gradle.shadow
- com.arc_e_tect.gradle.shadow.detect - package com.arc_e_tect.gradle.shadow.detect
- com.arc_e_tect.gradle.shadow.report - package com.arc_e_tect.gradle.shadow.report
D
- DEFAULT_CONTROLLER_DIR - Static variable in class com.arc_e_tect.gradle.shadow.ShadowApiDetectorExtension
-
Default relative path of the directory searched for
@RestControllerclasses. - DEFAULT_REPORT_FILE_NAME - Static variable in class com.arc_e_tect.gradle.shadow.ShadowApiDetectorExtension
-
Default name of the generated AsciiDoc report file.
- Defaults - Search tag in class com.arc_e_tect.gradle.shadow.ShadowApiDetectorPlugin
- Section
- DetectShadowApisTask - Class in com.arc_e_tect.gradle.shadow
-
Gradle task that scans
@RestControllerclasses, compares the endpoints they expose against the configured OpenAPI documentation, and writes an AsciiDoc report of every endpoint that is not described - the "shadow APIs". - DetectShadowApisTask() - Constructor for class com.arc_e_tect.gradle.shadow.DetectShadowApisTask
-
Creates the task.
F
- findShadows(List<Endpoint>, List<DescribedEndpoint>) - Method in class com.arc_e_tect.gradle.shadow.detect.ShadowApiFinder
-
Returns every endpoint in
endpointsthat has no matching entry indescribed.
G
- generate() - Method in class com.arc_e_tect.gradle.shadow.DetectShadowApisTask
-
Task action: scans the configured controller directories, loads the configured OpenAPI documentation, writes the shadow API report, and - when
DetectShadowApisTask.getFailOnShadow()istrue- fails the build if any shadow API was found. - getControllerDirs() - Method in class com.arc_e_tect.gradle.shadow.DetectShadowApisTask
-
Directories to search recursively for
@RestControllerclasses. - getControllerDirs() - Method in class com.arc_e_tect.gradle.shadow.ShadowApiDetectorExtension
-
Directories to search recursively for
@RestControllerclasses. - getFailOnShadow() - Method in class com.arc_e_tect.gradle.shadow.DetectShadowApisTask
-
Whether the build should fail when shadow APIs are found.
- getFailOnShadow() - Method in class com.arc_e_tect.gradle.shadow.ShadowApiDetectorExtension
-
Whether the build should fail when shadow APIs are found.
- getOpenApiDir() - Method in class com.arc_e_tect.gradle.shadow.DetectShadowApisTask
-
Directory where OpenAPI descriptions are stored, tracked so that changes to any document reachable from
DetectShadowApisTask.getRootDocument()invalidate the task's cached result. - getOpenApiDir() - Method in class com.arc_e_tect.gradle.shadow.ShadowApiDetectorExtension
-
Directory where OpenAPI descriptions are stored.
- getReportDir() - Method in class com.arc_e_tect.gradle.shadow.DetectShadowApisTask
-
Directory the AsciiDoc report is written to.
- getReportDir() - Method in class com.arc_e_tect.gradle.shadow.ShadowApiDetectorExtension
-
Directory the AsciiDoc report is written to.
- getReportFileName() - Method in class com.arc_e_tect.gradle.shadow.DetectShadowApisTask
-
Name of the generated AsciiDoc report file (without path).
- getReportFileName() - Method in class com.arc_e_tect.gradle.shadow.ShadowApiDetectorExtension
-
Name of the generated AsciiDoc report file (without path).
- getRootDocument() - Method in class com.arc_e_tect.gradle.shadow.DetectShadowApisTask
-
The root OpenAPI document describing the API.
- getRootDocument() - Method in class com.arc_e_tect.gradle.shadow.ShadowApiDetectorExtension
-
The root OpenAPI document describing the API.
- getSystemUnderTestVersion() - Method in class com.arc_e_tect.gradle.shadow.DetectShadowApisTask
-
Version of the system under test whose
@RestControllerclasses were scanned, printed in the generated report as e.g. - getSystemUnderTestVersion() - Method in class com.arc_e_tect.gradle.shadow.ShadowApiDetectorExtension
-
Version of the system under test whose
@RestControllerclasses are scanned, printed in the generated report as e.g.
N
- NAME - Static variable in class com.arc_e_tect.gradle.shadow.ShadowApiDetectorExtension
-
Extension DSL block name, i.e.
S
- ShadowApiDetectorExtension - Class in com.arc_e_tect.gradle.shadow
-
DSL extension for the Shadow API Detector Gradle plugin.
- ShadowApiDetectorExtension() - Constructor for class com.arc_e_tect.gradle.shadow.ShadowApiDetectorExtension
-
For use by the Gradle-generated concrete subclass.
- ShadowApiDetectorPlugin - Class in com.arc_e_tect.gradle.shadow
-
Gradle plugin that registers the
detectShadowApistask and wires theshadowApiDetectorDSL extension into the project. - ShadowApiDetectorPlugin() - Constructor for class com.arc_e_tect.gradle.shadow.ShadowApiDetectorPlugin
-
Creates a new plugin instance.
- ShadowApiFinder - Class in com.arc_e_tect.gradle.shadow.detect
-
Determines which controller
Endpoints are not described by anyDescribedEndpointcollected from the OpenAPI documentation, i.e. - ShadowApiFinder() - Constructor for class com.arc_e_tect.gradle.shadow.detect.ShadowApiFinder
-
Creates a new
ShadowApiFinder. - ShadowApiReportWriter - Class in com.arc_e_tect.gradle.shadow.report
-
Writes the AsciiDoc shadow API report: every
@RestControllerendpoint that is not described in the configured OpenAPI documentation. - ShadowApiReportWriter() - Constructor for class com.arc_e_tect.gradle.shadow.report.ShadowApiReportWriter
-
Creates a new
ShadowApiReportWriter.
T
- TASK_NAME - Static variable in class com.arc_e_tect.gradle.shadow.ShadowApiDetectorPlugin
-
Name of the Gradle task registered by this plugin.
U
- Usage - Search tag in class com.arc_e_tect.gradle.shadow.ShadowApiDetectorPlugin
- Section
W
- write(File, int, List<Endpoint>, String) - Method in class com.arc_e_tect.gradle.shadow.report.ShadowApiReportWriter
-
Writes the report to
outputFile, creating its parent directory if necessary.
All Classes and Interfaces|All Packages|Constant Field Values