Sync Java SDK models from atlanhq/models#2301
Merged
Merged
Conversation
Source commit: c13b23ec95212d2d1ef8196de48283646e29acf6 Source ref: refs/heads/master Co-Authored-By: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
|
Too many files changed for review. ( |
…hod fixes - Fix @Singular can't singularize: icebergNamespaceHierarchy, assetGCPDataplexAspectList, assetGCPDataplexAspectFieldList, bprValue, sourceTagValue, responseValueArr* fields - Fix duplicate removeDescription/removeOwners/etc. in Glossary/GlossaryCategory/GlossaryTerm - Fix Connection.java: add findByName overloads and getAllQualifiedNames from overlay - Fix missing imports injected from updated overlay files Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Connection: add getEpochFromQualifiedName, findByName, getAllQualifiedNames - LineageProcess: add generateQualifiedName, appendRelationships, appendRelationship - SupersetDashboard: add generateQualifiedName - GlossaryCategory: add ArrayList import for findByNameFast - AtlanQuery: add Base64 and StandardCharsets imports - DataProduct: add IndexSearchDSL, IndexSearchResponse, ArrayList imports Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…ssing symbols Key changes: - Interface relationship getters are now `default` returning null (fixes DynamoDBAttribute, IcebergColumn, StarburstDatasetColumn, etc. implementing IColumn without Snowflake-specific relationship attributes) - AtlanQuery convenience methods suppressed (4-param updater in overlay) - Connection, LineageProcess, SupersetDashboard missing static methods added - Import fixes: ArrayList (GlossaryCategory), Base64/StandardCharsets (AtlanQuery), IndexSearchDSL/IndexSearchResponse/ArrayList (DataProduct) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…sionalDataset overlays - Glossary: ArrayList, LinkedHashMap, LinkedHashSet, Set, Collectors, SortOrder - GlossaryTerm: ArrayList - IMultiDimensionalDataset (interface): JsonIgnore Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Add missing imports to DataProduct overlay (DataProductAssetsDSL, IOException, LogicException) - Add TreeSet import to Glossary overlay - Add package-private setChildrenCategories setter to GlossaryCategory overlay - Add sqlRelationshipGetters to DynamoDBAttribute, DynamoDBGlobalSecondaryIndex, DynamoDBLocalSecondaryIndex to resolve "unrelated defaults" Java compilation error (concrete classes now have fields so Lombok generates getters that override both IColumn/ISQL default methods) - Fix ITableauProject.getMetrics() return type to SortedSet<IMetric> (universalRelationshipGetters now takes precedence over module-specific metrics attr to avoid Java type incompatibility) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Fix JavaTestRenderer.pkl: apply toEnumConstantName() to enum values in getCustomEnumValues() so test files use COMPLETENESS not completeness, ONE_TO_ONE not ONE-TO-ONE, etc. - Fix JavaTestRenderer.pkl: map Asset/Referenceable -> IndistinctAsset in extractRelationshipClass() since Asset is abstract with no refByGuid() - Fix Resource.pkl: change BadgeCondition.operator field type from String to BadgeComparisonOperator enum; add BadgeComparisonOperator to legacyEnumTypes so it can be referenced - Add BadgeComparisonOperator/BadgeConditionColor to builtInEnums in JavaRenderer.pkl, JavaEnumRenderer.pkl to prevent regeneration of hand-written enum files - Add DataDomain.findByName() overloads to _overlays/DataDomain.java - Create _overlays/AtlanCollection.java with creator(client,name), generateQualifiedName(), save(), findByName() methods - Add updateCertificate/removeCertificate/updateAnnouncement/removeAnnouncement to _overlays/AtlanQuery.java - Create _overlays/structs/SourceTagAttachment.java with byName() and byQualifiedName() methods - Create _overlays/structs/BadgeCondition.java with all of() overloads (suppressing auto-generated one) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…Product imports - GlossaryCategory: add @Setter(AccessLevel.PACKAGE) on childrenCategories field so Glossary.java's setChildrenCategories() call compiles - DataProduct: add IOException and LogicException imports needed by getAssets() Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…ls, abstract type fixtures - Fix mapAttrToJavaType: map<string,X> must not be wrapped in List<> even when multiValued=true - Fix JavaEnumRenderer: add powerbi_endorsement → PowerBIEndorsementType to enumClassNameOverrides (removes stale PowerbiEndorsement.java, updates PowerBIEndorsementType.java) - Fix JavaTestRenderer allEnumsMap: key by Java class names (via classRenames/snakeToPascalCase) so getCustomEnumValues() lookups find correct enum values (fixes VALUE0/VALUE1 placeholders) - Fix JavaTestRenderer extractRelationshipClass: map interfaceOnlyTypes → IndistinctAsset (fixes Catalog/SQL/Spark/etc. refByGuid compilation errors in test fixtures) - Fix renderConcreteClass/renderInterface: use getAllRelationshipAttrsFromModules (all modules) instead of getAllRelationshipAttrs (ancestor chain only) to pick up cross-module inherited rels (fixes DbtMeasure/DbtDimension missing semanticModel, SnowflakeSemantic types, etc.) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…tract types - Add getConcreteSuperTypeNames(): only follows concrete types (customAssetTypes/ legacyAssetTypes), not abstract supertypeDefinitions (SQL, Catalog, Snowflake, etc.) - Update getAllRelationshipAttrsFromModules() to use getConcreteSuperTypeNames() so DbtMeasure gets semanticModel (concrete SemanticMeasure endpoint) but SnowflakeSemanticDimension does NOT get spurious snowflakeSemanticLogicalTables (which would conflict with snowflakeSemanticLogicalTable @Singular) - Revert renderInterface() to use getAllRelationshipAttrs() (ancestor chain only) to keep interface getters consistent with the reference SDK - Add renamedName dedup to renderConcreteClass concreteRelAttrs fold to prevent Lombok @Builder/@Singular conflicts when typeSpecificRelationshipGetters and getAllRelationshipAttrsFromModules both provide attrs with the same renamedName Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
… directory These source files (assets, enums, package-info) were committed in error to sdk/src/test/java/com/atlan/model/assets/ where only *Test.java files belong. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…AssetSidebarTab enums, remove StakeholderTitleTest - Remove Metric from interfaceOnlyTypes so Metric.java is generated as a concrete class - Add concreteTestFixtureMap (Catalog→Table, SQL→Table) in JavaTestRenderer for abstract interface fixture substitution - Add AssetFilterGroup (TERMS/OWNERS) and AssetSidebarTab (OVERVIEW/COLUMNS) to builtInEnumValues - Delete outdated StakeholderTitleTest.java (references removed field, type is passthrough) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
… type filtering - Remove stale DynamoDBSecondaryIndex.java (interface-only type, no concrete class) - Fix ICatalog.java: remove DynamoDBSecondaryIndex from getLineageReference() switch - Fix BigqueryTag: bigqueryTagHierarchy now List<Map<String,String>> - Fix test fixtures: concrete substitutes for abstract types (Persona for IAccessControl etc.) - All 326 test files regenerated with correct enum/relationship fixture values Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…con exclusion Regenerated Java SDK with two test fixes: - DbtMetric: @Singular("dbtMetricFilterEntry") prevents builder method name collision with String dbtMetricFilter field (was causing IllegalArgumentException in serde) - CustomEntity test: removed assetIcon attribute, added iconUrl instead to match AssetSerializer/AssetDeserializer behavior (assetIcon is deserialized back as iconUrl for CustomEntity, causing JSON position asymmetry across serde roundtrip) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
cmgrote
approved these changes
Mar 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR syncs the generated Java SDK models from the atlanhq/models repository.
masterbranchChanges
Auto-generated Java model files from Pkl type definitions.
Test Plan
🤖 This PR was automatically created by the sync-java-sdk workflow.