|
| 1 | +# Keep-list: files the generator must NOT overwrite, and the Makefile's |
| 2 | +# `prune` step must NOT delete. Everything else is generator-owned. |
| 3 | + |
| 4 | +# --- bespoke token-minting authenticators (ported onto the new |
| 5 | +# Authenticator / BaseAuthenticator / HttpAwareAuthenticator interfaces) --- |
| 6 | +# |
| 7 | +# NOTE: the old hand-written Authenticator.java (abstract base) is NOT kept; |
| 8 | +# the generator now owns Authenticator (interface), BaseAuthenticator, |
| 9 | +# BearerAuthenticator, HttpAwareAuthenticator and ZitadelAccessTokenAuthenticator. |
| 10 | +src/main/java/com/zitadel/auth/ClientCredentialsAuthenticator.java |
| 11 | +src/main/java/com/zitadel/auth/NoAuthAuthenticator.java |
| 12 | +src/main/java/com/zitadel/auth/OAuthAuthenticator.java |
| 13 | +src/main/java/com/zitadel/auth/OpenId.java |
| 14 | +src/main/java/com/zitadel/auth/PersonalAccessTokenAuthenticator.java |
| 15 | +src/main/java/com/zitadel/auth/WebTokenAuthenticator.java |
| 16 | + |
| 17 | +# --- bespoke support classes the ported authenticators depend on and the |
| 18 | +# new generator no longer emits (the old generator used to) --- |
| 19 | +src/main/java/com/zitadel/ZitadelException.java |
| 20 | +src/main/java/com/zitadel/utils/KeyUtil.java |
| 21 | +src/main/java/com/zitadel/utils/URLUtil.java |
| 22 | + |
| 23 | +# --- bespoke integration specs + Zitadel server fixtures --- |
| 24 | +# |
| 25 | +# NOTE: the six spec-independent unit tests (ValueSerializerTest, |
| 26 | +# HeaderSelectorTest, ConfigurationTest, TransportOptionsTest, |
| 27 | +# TraceContextUtilTest, DefaultApiClientUnitTest) are now generator-owned |
| 28 | +# and land under src/test/java/com/zitadel/...; they are NOT kept here. |
| 29 | +# Only the bespoke test RESOURCES (wiremock mappings, certs, squid.conf, |
| 30 | +# junit-platform.properties) are kept — the generator does not emit those. |
| 31 | +src/test/resources/** |
| 32 | +src/spec/** |
| 33 | +etc/** |
| 34 | + |
| 35 | +# --- repo identity, docs (team-owned, not generated) --- |
| 36 | +README.md |
| 37 | +LICENSE |
| 38 | +SECURITY.md |
| 39 | +VERSIONING.md |
| 40 | + |
| 41 | +# --- house tooling (team-owned, not generated) --- |
| 42 | +.github/** |
| 43 | +.mvn/** |
| 44 | +devbox.json |
| 45 | +devbox.lock |
| 46 | +lefthook.yml |
| 47 | +qodana.yaml |
| 48 | +settings.xml |
| 49 | +.editorconfig |
| 50 | +.gitignore |
| 51 | +.dockerignore |
| 52 | +Dockerfile |
| 53 | +.releaserc.json |
| 54 | +.commitlintrc.json |
| 55 | +.pre-commit-config.yaml |
| 56 | +.idea/** |
| 57 | +*.iml |
| 58 | +SKILLS.md |
| 59 | +.env |
| 60 | + |
| 61 | +# --- build config (team-owned): pom.xml carries the repo identity, the |
| 62 | +# Maven Central release/deployment profile, and the bespoke-auth deps |
| 63 | +# (nimbus-jose-jwt, bouncycastle bcprov/bcpkix) that the kept |
| 64 | +# authenticators need and the generator does not emit. Its toolchain is |
| 65 | +# aligned to the generator's output: checkstyle google_checks.xml + |
| 66 | +# default spotbugs, no custom checkstyle.xml / spotbugs.xml (those are |
| 67 | +# gone; the generator emits class-level @SuppressWarnings / @SuppressFBWarnings |
| 68 | +# instead). --- |
| 69 | +pom.xml |
| 70 | + |
| 71 | +# --- generation tooling we added --- |
| 72 | +proc.yml |
| 73 | +Makefile |
| 74 | +.openapi-generator-ignore |
| 75 | + |
| 76 | +# generator-owned metadata (FILES manifest + VERSION) — always rewritten by |
| 77 | +# the generator, but keep-listed so prune does not treat them as orphans |
| 78 | +# (the FILES manifest does not list itself, so it would otherwise be deleted) |
| 79 | +.openapi-generator/ |
| 80 | +src/main/java/com/zitadel/Zitadel.java |
| 81 | +src/main/java/com/zitadel/Version.java |
| 82 | +src/main/java/com/zitadel/utils/StringUtil.java |
| 83 | + |
| 84 | +# bespoke facade + helpers (hand-written glue over generated code) |
0 commit comments