Skip to content

MODLD-503: Reindex LD instance if Suppress Flags changed#5

Merged
AndreiBordak merged 1 commit intomasterfrom
MODLD-503
Oct 22, 2024
Merged

MODLD-503: Reindex LD instance if Suppress Flags changed#5
AndreiBordak merged 1 commit intomasterfrom
MODLD-503

Conversation

@AndreiBordak
Copy link
Contributor

No description provided.

@AndreiBordak AndreiBordak added this to the 202 milestone Oct 17, 2024
@AndreiBordak AndreiBordak self-assigned this Oct 17, 2024
@id-jenkins
Copy link

INFO: api-schema-lint: Using api-schema-lint version: 1.0.5
INFO: api-schema-lint: Assessing schema files (https://dev.folio.org/guides/describe-schema/)
INFO: api-schema-lint: Found 84 JSON schema files under directory 'src/main/resources/swagger.api'
ERROR: api-schema-lint: src/main/resources/swagger.api/folio-modules/inventory/instanceIngressEvent.json: Missing "description" for: InstanceIngressEventMetadata
ERROR: api-schema-lint: src/main/resources/swagger.api/folio-modules/inventory/inventoryInstance.json: Missing "description" for: discoverySuppress, staffSuppress
ERROR: api-schema-lint: src/main/resources/swagger.api/folio-modules/inventory/inventoryInstanceEvent.json: Missing "description" for: new, old, tenant, type
ERROR: api-schema-lint: src/main/resources/swagger.api/folio-modules/search/common/linkedDataContributor.json: Missing "description" for: type
ERROR: api-schema-lint: src/main/resources/swagger.api/folio-modules/search/common/linkedDataIdentifier.json: Missing "description" for: type
ERROR: api-schema-lint: src/main/resources/swagger.api/folio-modules/search/common/linkedDataInstanceOnly.json: Missing "description" for: fromDiscovery, staff
ERROR: api-schema-lint: src/main/resources/swagger.api/folio-modules/search/common/linkedDataTitle.json: Missing "description" for: type
ERROR: api-schema-lint: src/main/resources/swagger.api/folio-modules/search/linkedDataInstance.json: Missing "description" for: parentWork
ERROR: api-schema-lint: src/main/resources/swagger.api/folio-modules/srs/sourceRecordDomainEvent.json: Missing "description" for: eventMetadata, eventPayload
ERROR: api-schema-lint: src/main/resources/swagger.api/schema/graphDto/resourceEdgeDto.json: Missing top-level "description".
ERROR: api-schema-lint: src/main/resources/swagger.api/schema/graphDto/resourceEdgeDto.json: Missing "description" for: edges
ERROR: api-schema-lint: src/main/resources/swagger.api/schema/resource/common/Note.json: Missing "description" for: type, value
ERROR: api-schema-lint: src/main/resources/swagger.api/schema/resource/request/title/TitleFieldRequest.json: Missing top-level "description".
ERROR: api-schema-lint: src/main/resources/swagger.api/schema/resource/response/FolioMetadata.json: Missing "description" for: inventoryId, source, srsId
ERROR: api-schema-lint: src/main/resources/swagger.api/schema/resource/response/title/TitleFieldResponse.json: Missing top-level "description".
ERROR: api-schema-lint: src/main/resources/swagger.api/schema/resourceMarcViewDto.json: Missing "description" for: parsedRecord
ERROR: api-schema-lint: src/main/resources/swagger.api/schema/resourceRequestDto.json: Missing "description" for: Instance, Work, resource
ERROR: api-schema-lint: src/main/resources/swagger.api/schema/resourceResponseDto.json: Missing "description" for: Instance, Work, resource
ERROR: api-schema-lint: There were processing errors. See list above.

Note: When those ERRORs are fixed, then any INFO and WARNING messages will be gone too. See Jenkins "Artifacts" tab for ApiSchemaLintReport.

@AndreiBordak AndreiBordak force-pushed the MODLD-503 branch 2 times, most recently from af419d9 to 4035ba8 Compare October 21, 2024 12:06
@id-jenkins
Copy link

INFO: api-schema-lint: Using api-schema-lint version: 1.0.5
INFO: api-schema-lint: Assessing schema files (https://dev.folio.org/guides/describe-schema/)
INFO: api-schema-lint: Found 84 JSON schema files under directory 'src/main/resources/swagger.api'
ERROR: api-schema-lint: src/main/resources/swagger.api/folio-modules/inventory/instanceIngressEvent.json: Missing "description" for: InstanceIngressEventMetadata
ERROR: api-schema-lint: src/main/resources/swagger.api/folio-modules/inventory/inventoryInstanceEvent.json: Missing "description" for: new, old, tenant, ts, type
ERROR: api-schema-lint: src/main/resources/swagger.api/folio-modules/search/common/linkedDataContributor.json: Missing "description" for: type
ERROR: api-schema-lint: src/main/resources/swagger.api/folio-modules/search/common/linkedDataIdentifier.json: Missing "description" for: type
ERROR: api-schema-lint: src/main/resources/swagger.api/folio-modules/search/common/linkedDataInstanceOnly.json: Missing "description" for: fromDiscovery, staff
ERROR: api-schema-lint: src/main/resources/swagger.api/folio-modules/search/common/linkedDataTitle.json: Missing "description" for: type
ERROR: api-schema-lint: src/main/resources/swagger.api/folio-modules/search/linkedDataInstance.json: Missing "description" for: parentWork
ERROR: api-schema-lint: src/main/resources/swagger.api/folio-modules/srs/sourceRecordDomainEvent.json: Missing "description" for: eventMetadata, eventPayload
ERROR: api-schema-lint: src/main/resources/swagger.api/schema/graphDto/resourceEdgeDto.json: Missing top-level "description".
ERROR: api-schema-lint: src/main/resources/swagger.api/schema/graphDto/resourceEdgeDto.json: Missing "description" for: edges
ERROR: api-schema-lint: src/main/resources/swagger.api/schema/resource/common/Note.json: Missing "description" for: type, value
ERROR: api-schema-lint: src/main/resources/swagger.api/schema/resource/request/title/TitleFieldRequest.json: Missing top-level "description".
ERROR: api-schema-lint: src/main/resources/swagger.api/schema/resource/response/FolioMetadata.json: Missing "description" for: inventoryId, source, srsId
ERROR: api-schema-lint: src/main/resources/swagger.api/schema/resource/response/title/TitleFieldResponse.json: Missing top-level "description".
ERROR: api-schema-lint: src/main/resources/swagger.api/schema/resourceMarcViewDto.json: Missing "description" for: parsedRecord
ERROR: api-schema-lint: src/main/resources/swagger.api/schema/resourceRequestDto.json: Missing "description" for: Instance, Work, resource
ERROR: api-schema-lint: src/main/resources/swagger.api/schema/resourceResponseDto.json: Missing "description" for: Instance, Work, resource
ERROR: api-schema-lint: There were processing errors. See list above.

Note: When those ERRORs are fixed, then any INFO and WARNING messages will be gone too. See Jenkins "Artifacts" tab for ApiSchemaLintReport.

@id-jenkins
Copy link

INFO: api-schema-lint: Using api-schema-lint version: 1.0.5
INFO: api-schema-lint: Assessing schema files (https://dev.folio.org/guides/describe-schema/)
INFO: api-schema-lint: Found 84 JSON schema files under directory 'src/main/resources/swagger.api'
ERROR: api-schema-lint: src/main/resources/swagger.api/folio-modules/inventory/instanceIngressEvent.json: Missing "description" for: InstanceIngressEventMetadata
ERROR: api-schema-lint: src/main/resources/swagger.api/folio-modules/search/common/linkedDataContributor.json: Missing "description" for: type
ERROR: api-schema-lint: src/main/resources/swagger.api/folio-modules/search/common/linkedDataIdentifier.json: Missing "description" for: type
ERROR: api-schema-lint: src/main/resources/swagger.api/folio-modules/search/common/linkedDataInstanceOnly.json: Missing "description" for: fromDiscovery, staff
ERROR: api-schema-lint: src/main/resources/swagger.api/folio-modules/search/common/linkedDataTitle.json: Missing "description" for: type
ERROR: api-schema-lint: src/main/resources/swagger.api/folio-modules/search/linkedDataInstance.json: Missing "description" for: parentWork
ERROR: api-schema-lint: src/main/resources/swagger.api/folio-modules/srs/sourceRecordDomainEvent.json: Missing "description" for: eventMetadata, eventPayload
ERROR: api-schema-lint: src/main/resources/swagger.api/schema/graphDto/resourceEdgeDto.json: Missing top-level "description".
ERROR: api-schema-lint: src/main/resources/swagger.api/schema/graphDto/resourceEdgeDto.json: Missing "description" for: edges
ERROR: api-schema-lint: src/main/resources/swagger.api/schema/resource/common/Note.json: Missing "description" for: type, value
ERROR: api-schema-lint: src/main/resources/swagger.api/schema/resource/request/title/TitleFieldRequest.json: Missing top-level "description".
ERROR: api-schema-lint: src/main/resources/swagger.api/schema/resource/response/FolioMetadata.json: Missing "description" for: inventoryId, source, srsId
ERROR: api-schema-lint: src/main/resources/swagger.api/schema/resource/response/title/TitleFieldResponse.json: Missing top-level "description".
ERROR: api-schema-lint: src/main/resources/swagger.api/schema/resourceMarcViewDto.json: Missing "description" for: parsedRecord
ERROR: api-schema-lint: src/main/resources/swagger.api/schema/resourceRequestDto.json: Missing "description" for: Instance, Work, resource
ERROR: api-schema-lint: src/main/resources/swagger.api/schema/resourceResponseDto.json: Missing "description" for: Instance, Work, resource
ERROR: api-schema-lint: There were processing errors. See list above.

Note: When those ERRORs are fixed, then any INFO and WARNING messages will be gone too. See Jenkins "Artifacts" tab for ApiSchemaLintReport.

2 similar comments
@id-jenkins
Copy link

INFO: api-schema-lint: Using api-schema-lint version: 1.0.5
INFO: api-schema-lint: Assessing schema files (https://dev.folio.org/guides/describe-schema/)
INFO: api-schema-lint: Found 84 JSON schema files under directory 'src/main/resources/swagger.api'
ERROR: api-schema-lint: src/main/resources/swagger.api/folio-modules/inventory/instanceIngressEvent.json: Missing "description" for: InstanceIngressEventMetadata
ERROR: api-schema-lint: src/main/resources/swagger.api/folio-modules/search/common/linkedDataContributor.json: Missing "description" for: type
ERROR: api-schema-lint: src/main/resources/swagger.api/folio-modules/search/common/linkedDataIdentifier.json: Missing "description" for: type
ERROR: api-schema-lint: src/main/resources/swagger.api/folio-modules/search/common/linkedDataInstanceOnly.json: Missing "description" for: fromDiscovery, staff
ERROR: api-schema-lint: src/main/resources/swagger.api/folio-modules/search/common/linkedDataTitle.json: Missing "description" for: type
ERROR: api-schema-lint: src/main/resources/swagger.api/folio-modules/search/linkedDataInstance.json: Missing "description" for: parentWork
ERROR: api-schema-lint: src/main/resources/swagger.api/folio-modules/srs/sourceRecordDomainEvent.json: Missing "description" for: eventMetadata, eventPayload
ERROR: api-schema-lint: src/main/resources/swagger.api/schema/graphDto/resourceEdgeDto.json: Missing top-level "description".
ERROR: api-schema-lint: src/main/resources/swagger.api/schema/graphDto/resourceEdgeDto.json: Missing "description" for: edges
ERROR: api-schema-lint: src/main/resources/swagger.api/schema/resource/common/Note.json: Missing "description" for: type, value
ERROR: api-schema-lint: src/main/resources/swagger.api/schema/resource/request/title/TitleFieldRequest.json: Missing top-level "description".
ERROR: api-schema-lint: src/main/resources/swagger.api/schema/resource/response/FolioMetadata.json: Missing "description" for: inventoryId, source, srsId
ERROR: api-schema-lint: src/main/resources/swagger.api/schema/resource/response/title/TitleFieldResponse.json: Missing top-level "description".
ERROR: api-schema-lint: src/main/resources/swagger.api/schema/resourceMarcViewDto.json: Missing "description" for: parsedRecord
ERROR: api-schema-lint: src/main/resources/swagger.api/schema/resourceRequestDto.json: Missing "description" for: Instance, Work, resource
ERROR: api-schema-lint: src/main/resources/swagger.api/schema/resourceResponseDto.json: Missing "description" for: Instance, Work, resource
ERROR: api-schema-lint: There were processing errors. See list above.

Note: When those ERRORs are fixed, then any INFO and WARNING messages will be gone too. See Jenkins "Artifacts" tab for ApiSchemaLintReport.

@id-jenkins
Copy link

INFO: api-schema-lint: Using api-schema-lint version: 1.0.5
INFO: api-schema-lint: Assessing schema files (https://dev.folio.org/guides/describe-schema/)
INFO: api-schema-lint: Found 84 JSON schema files under directory 'src/main/resources/swagger.api'
ERROR: api-schema-lint: src/main/resources/swagger.api/folio-modules/inventory/instanceIngressEvent.json: Missing "description" for: InstanceIngressEventMetadata
ERROR: api-schema-lint: src/main/resources/swagger.api/folio-modules/search/common/linkedDataContributor.json: Missing "description" for: type
ERROR: api-schema-lint: src/main/resources/swagger.api/folio-modules/search/common/linkedDataIdentifier.json: Missing "description" for: type
ERROR: api-schema-lint: src/main/resources/swagger.api/folio-modules/search/common/linkedDataInstanceOnly.json: Missing "description" for: fromDiscovery, staff
ERROR: api-schema-lint: src/main/resources/swagger.api/folio-modules/search/common/linkedDataTitle.json: Missing "description" for: type
ERROR: api-schema-lint: src/main/resources/swagger.api/folio-modules/search/linkedDataInstance.json: Missing "description" for: parentWork
ERROR: api-schema-lint: src/main/resources/swagger.api/folio-modules/srs/sourceRecordDomainEvent.json: Missing "description" for: eventMetadata, eventPayload
ERROR: api-schema-lint: src/main/resources/swagger.api/schema/graphDto/resourceEdgeDto.json: Missing top-level "description".
ERROR: api-schema-lint: src/main/resources/swagger.api/schema/graphDto/resourceEdgeDto.json: Missing "description" for: edges
ERROR: api-schema-lint: src/main/resources/swagger.api/schema/resource/common/Note.json: Missing "description" for: type, value
ERROR: api-schema-lint: src/main/resources/swagger.api/schema/resource/request/title/TitleFieldRequest.json: Missing top-level "description".
ERROR: api-schema-lint: src/main/resources/swagger.api/schema/resource/response/FolioMetadata.json: Missing "description" for: inventoryId, source, srsId
ERROR: api-schema-lint: src/main/resources/swagger.api/schema/resource/response/title/TitleFieldResponse.json: Missing top-level "description".
ERROR: api-schema-lint: src/main/resources/swagger.api/schema/resourceMarcViewDto.json: Missing "description" for: parsedRecord
ERROR: api-schema-lint: src/main/resources/swagger.api/schema/resourceRequestDto.json: Missing "description" for: Instance, Work, resource
ERROR: api-schema-lint: src/main/resources/swagger.api/schema/resourceResponseDto.json: Missing "description" for: Instance, Work, resource
ERROR: api-schema-lint: There were processing errors. See list above.

Note: When those ERRORs are fixed, then any INFO and WARNING messages will be gone too. See Jenkins "Artifacts" tab for ApiSchemaLintReport.

MODLD-503: Review fixes

MODLD-503: Review fixes

MODLD-503: Add tenant id to InventoryIndex

MODLD-503: Changed reindex message format

MODLD-503: Changed reindex event resource name

MODLD-503: Add inventory.instance topic

MODLD-503: Added IT InventoryInstanceHandler integration test

MODLD-503: Reworked solution

MODLD-503: Remove redundant method in FolioMetadataRepository

MODLD-503: Fix Quality Gate issues
@sonarqubecloud
Copy link

@pkjacob pkjacob deleted the MODLD-503 branch January 10, 2025 13:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants