Repository navigation
Commit 25924ab
Add source-built Java API review tooling and ARH integration (#51226)
* Add standalone Java APIView processor and artifact bundle generation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: d47c40e0-dce3-4856-b258-f62b42922e1b
* Fix API review bundle preservation and builder diagnostics
Preserve prior bundles across Maven cleanup failures, normalize explicit protocol values, and isolate missing-method checks per builder. Add focused regression tests.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: d47c40e0-dce3-4856-b258-f62b42922e1b
* Finish compressed APIView JSON output
Close the gzip stream to complete the compressed data and trailer. Add a round-trip regression against uncompressed JSON output.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: d47c40e0-dce3-4856-b258-f62b42922e1b
* Detect prohibited fully qualified API types
Preserve qualified type scope when checking exported signatures and generic arguments. Cover qualified, imported, allowed and private types.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: d47c40e0-dce3-4856-b258-f62b42922e1b
* Add processor license headers and streamline review builds
Enforce source license headers with Spotless and align its formatter with the SDK parent. Skip formatting, snippet rewriting and unrelated validation during artifact generation while preserving source JAR production.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: d47c40e0-dce3-4856-b258-f62b42922e1b
* Remove processor-specific skip wiring
Remove the added Spotless and CodeSnippet skip properties and configuration from the standalone processor POM.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: d47c40e0-dce3-4856-b258-f62b42922e1b
* Enable processor Checkstyle and fix formatting violations
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: d47c40e0-dce3-4856-b258-f62b42922e1b
* Prevent builder diagnostics from aborting API review generation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: d47c40e0-dce3-4856-b258-f62b42922e1b
* Stop diagnostic JSON parsing at object boundaries
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: d47c40e0-dce3-4856-b258-f62b42922e1b
* Add source-built Java API review plugin and ARH wrappers
Synchronize processor fixes with azure-sdk-tools, retain SDK lint integration, and build the executable plugin from pinned tooling sources for both ARH generation jobs. Replace the legacy bundle script and do not check in a JAR.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: d47c40e0-dce3-4856-b258-f62b42922e1b
* Validate Java API review plugin with SDK lint checks
Run Checkstyle, Spotless, and Codesnippet during verification with scoped Maven-tool exceptions. Fix spelling false positives and move the tool CI definition out of SDK package discovery.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: d47c40e0-dce3-4856-b258-f62b42922e1b
* Consolidate API review wrapper documentation in plugin README
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: d47c40e0-dce3-4856-b258-f62b42922e1b
* Remove plugin release pipeline from SDK integration
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: d47c40e0-dce3-4856-b258-f62b42922e1b
* Validate Java API review modules through shared tools CI
Register both artifacts and reactor modules, retain CI version metadata with release disabled, and fix direct Javadoc resolution of shared processor sources.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: d47c40e0-dce3-4856-b258-f62b42922e1b
* Fix API review integration test in clean Analyze builds
Locate the standalone JAR directly instead of depending on the POM copy skipped by shared Analyze settings.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: d47c40e0-dce3-4856-b258-f62b42922e1b
* Fix Search spelling config and documentation extension contract
Import the Search package dictionary and allow reviewed CSV/JSON documentation assets without requiring every allowed extension to exist.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: d47c40e0-dce3-4856-b258-f62b42922e1b
* Fix APIView package, exported-type, and builder trait diagnostics
Use fully qualified type lookup keys, inspect arrays and wildcard bounds recursively, and normalize builder protocol enums with HTTP as the default. Add analyser and rule regressions; leave naming diagnostics unchanged.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: d47c40e0-dce3-4856-b258-f62b42922e1b
* Move APIView processor to com.azure.tools Maven group
Keep shared CI artifact discovery and version metadata aligned with the processor coordinates.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: d47c40e0-dce3-4856-b258-f62b42922e1b
* Fix APIView method naming diagnostic patterns
Match builder suffixes and prohibited method prefixes as whole names while keeping tokenCredential exact. Add analyser regressions for violations and allowed controls.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: d47c40e0-dce3-4856-b258-f62b42922e1b
* Address Java API review integration feedback
Replace Groovy verification with Java integration tests, select JDK 17, simplify package discovery and staging roots, reuse the shared Pester installer, clarify skip logs, and normalize plugin XML formatting.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: d47c40e0-dce3-4856-b258-f62b42922e1b
* Simplify API review plugin package path discovery
Derive the standard SDK package path from the Maven module directory without Git metadata or a repository-root parameter. Retain the explicit path override for other layouts.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: d47c40e0-dce3-4856-b258-f62b42922e1b
---------
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: d47c40e0-dce3-4856-b258-f62b42922e1b1 parent 5584517 commit 25924ab
118 files changed
Lines changed: 11842 additions & 1 deletion
File tree
- eng
- pipelines/templates/jobs
- scripts
- tests
- versioning
- sdk
- search
- tools
- api-review-maven-plugin
- eng
- tests
- src
- it/basic
- src/main/java/com/azure/test
- main/java/com/azure/tools/apireviewplugin
- test/java/com/azure/tools/apireviewplugin
- apiview-java-processor
- src
- main
- java/com/azure/tools/apiview/processor
- analysers
- models
- util
- diagnostics
- rules
- azure
- clientcore
- general
- utils
- model
- maven
- traits
- resources
- test/java/com/azure/tools/apiview
- processor
- analysers
- diagnostics/rules
- azure
- general
- model
- maven
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
0 commit comments