Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MODFQMMGR-378 Update approach to enabling ECS for an entity type #64

Merged
merged 1 commit into from
Aug 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@
<generateApiTests>true</generateApiTests>
<generateApiDocumentation>true</generateApiDocumentation>
<generateModels>true</generateModels>
<modelsToGenerate>entityDataType,arrayType,dateType,entityTypeRelation,objectType,nestedObjectProperty,entityTypeColumn,enumType,booleanType,entityType,integerType,openUUIDType,stringType,numberType,rangedUUIDType,valueWithLabel,entityTypeDefaultSort,errors,error,parameters,parameter,resultsetPage,queryDetails,queryIdentifier,sourceColumn,valueSourceApi,columnValues,columnValueGetter,submitQuery,contentsRequest,field,entityTypeSource,entityTypeSourceJoin,stringUUIDType,entityTypeCrossTenantQueryConfig</modelsToGenerate>
<modelsToGenerate>entityDataType,arrayType,dateType,entityTypeRelation,objectType,nestedObjectProperty,entityTypeColumn,enumType,booleanType,entityType,integerType,openUUIDType,stringType,numberType,rangedUUIDType,valueWithLabel,entityTypeDefaultSort,errors,error,parameters,parameter,resultsetPage,queryDetails,queryIdentifier,sourceColumn,valueSourceApi,columnValues,columnValueGetter,submitQuery,contentsRequest,field,entityTypeSource,entityTypeSourceJoin,stringUUIDType</modelsToGenerate>
<generateModelTests>false</generateModelTests>
<generateModelDocumentation>true</generateModelDocumentation>
<generateSupportingFiles>true</generateSupportingFiles>
Expand Down
7 changes: 4 additions & 3 deletions src/main/resources/swagger.api/schemas/entityType.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,10 @@
},
"default": []
},
"crossTenantQueryConfig": {
"description": "Cross-tenant query config for this entity type. Cross-tenant queries are not supported for entity types without this property.",
"$ref": "entityTypeCrossTenantQueryConfig.json"
"crossTenantQueriesEnabled": {
"description": "Indicates if this entity type supports cross-tenant queries",
"type": "boolean",
"default": false
},
"defaultSort": {
"type": "array",
Expand Down
18 changes: 15 additions & 3 deletions src/main/resources/swagger.api/schemas/sourceColumn.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,20 @@
"type": "object",
"properties": {
"entityTypeId": {
"description": "A UUID identifying the source entity type",
"description": "A UUID identifying the source entity type.",
"type": "string"
},
"type": {
"description": "Name of the source type. Possible values: entity-type, fqm. Default: entity-type",
"type": "string",
"default": "entity-type",
"enum": [
"entity-type",
"fqm"
]
},
"name": {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not a fan of this name, but I can't think of anything better

"description": "Name of the source within the source type (e.g., 'currency')",
"type": "string"
},
"columnName": {
Expand All @@ -14,7 +27,6 @@
}
},
"required": [
"entityTypeId",
"columnName"
"entityTypeId", "columnName"
]
}
Loading