Skip to content

Conversation

Matthbo
Copy link
Member

@Matthbo Matthbo commented Mar 28, 2025

No description provided.

Matthbo added 2 commits March 31, 2025 11:47
…lumns-in-messagestore-when-using-jdbctablelistener

# Conflicts:
#	console/backend/src/main/java/org/frankframework/console/controllers/TransactionalStorage.java
@Matthbo Matthbo marked this pull request as ready for review March 31, 2025 12:38
@Matthbo Matthbo requested a review from nielsm5 March 31, 2025 12:38
@Matthbo Matthbo changed the title issue/8083-console-showing-not-existing-columns-in-messagestore-when-using-jdbctablelistener Only show existing columns in message storage views Apr 2, 2025
@philipsens philipsens requested a review from Copilot April 7, 2025 15:53
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 14 out of 19 changed files in this pull request and generated no comments.

Files not reviewed (5)
  • console/frontend/src/main/frontend/src/app/views/storage/storage-view/storage-view.component.html: Language not supported
  • console/frontend/src/main/frontend/src/app/views/storage/storage-view/storage-view.component.scss: Language not supported
  • core/src/test/resources/Management/MessageBrowserFindAll.json: Language not supported
  • core/src/test/resources/Management/MessageBrowserFindNone.json: Language not supported
  • core/src/test/resources/Management/MessageBrowserFindOne.json: Language not supported
Comments suppressed due to low confidence (1)

messaging/src/main/java/org/frankframework/jms/AbstractJmsMessageBrowser.java:227

  • The use of 'null' as the fieldName may be confusing especially if it is used in filtering or matching logic later. Consider using a concrete identifier or adding a comment to clarify the intent.
new MessageBrowserField(null, "id", "Storage ID", "string"),

…lumns-in-messagestore-when-using-jdbctablelistener
request.setHeader(BusMessageUtils.HEADER_CONFIGURATION_NAME_KEY, getConfiguration().getName());
request.setHeader(BusMessageUtils.HEADER_ADAPTER_NAME_KEY, adapter.getName());
try {
callSyncGateway(request);
Copy link
Member

Choose a reason for hiding this comment

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

als je hier een exceptie verwacht moet je assertThrows gebruiken, als je hier nu geen exceptie krijgt gaat de test nog steeds goed.

new MessageBrowserField(getExpiryDateField(), "expiryDate", "Expires", "date"),
new MessageBrowserField(getCommentField(), "comment", "Comment", "string"),
new MessageBrowserField(getLabelField(), "label", "Label", "string")
).filter(field -> field.fieldName() != null).toList();
Copy link
Member

Choose a reason for hiding this comment

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

Dat is een handige oplossing!

@nielsm5 nielsm5 enabled auto-merge (squash) April 17, 2025 13:17
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
61.0% Coverage on New Code (required ≥ 65%)

See analysis details on SonarQube Cloud

@nielsm5 nielsm5 merged commit 54eb732 into master Apr 17, 2025
29 of 31 checks passed
@nielsm5 nielsm5 deleted the issue/8083-console-showing-not-existing-columns-in-messagestore-when-using-jdbctablelistener branch April 17, 2025 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Console showing not existing columns in MessageStore when using JdbcTableListener Host field empty for JdbcTableListener
3 participants