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

do no longer use the numfields from uniforms for number fields. They … #473

Merged
merged 7 commits into from
Nov 30, 2023
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
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ describe('Tests for Design page', () => {

// CHECK they are reflected in the code editor
cy.openSourceCode();
cy.checkCodeSpanLine('period: 3000');
cy.checkCodeSpanLine('period: "3000"');
cy.checkCodeSpanLine('topic: topicname');
cy.checkCodeSpanLine('bootstrapServers: bootstrap');
cy.checkCodeSpanLine('securityProtocol: security');
Expand Down
15 changes: 8 additions & 7 deletions packages/ui-tests/cypress/e2e/errorHandler.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ describe('Test for Error handler support', () => {
cy.checkCodeSpanLine('errorHandler:');
cy.checkCodeSpanLine('log:');
cy.checkCodeSpanLine('parameters:');
cy.checkCodeSpanLine('maximumRedeliveries: 5');
cy.checkCodeSpanLine('redeliveryDelay: 1000');
cy.checkCodeSpanLine('maximumRedeliveries: "5"');
cy.checkCodeSpanLine('redeliveryDelay: "1000"');

cy.openPipeErrorHandler();
cy.get('.pf-v5-c-menu-toggle__toggle-icon').click();
Expand All @@ -38,8 +38,8 @@ describe('Test for Error handler support', () => {
cy.checkCodeSpanLine('name: test-name');
cy.checkCodeSpanLine('message: test-message');
cy.checkCodeSpanLine('additionalProperties: test-additionalProperties');
cy.checkCodeSpanLine('maximumRedeliveries: 3');
cy.checkCodeSpanLine('redeliveryDelay: 2000');
cy.checkCodeSpanLine('maximumRedeliveries: "3"');
cy.checkCodeSpanLine('redeliveryDelay: "2000"');
});

it('ErrorHandler - edit in errorHandler editor', () => {
Expand All @@ -50,8 +50,8 @@ describe('Test for Error handler support', () => {
cy.get(`input[name="log.parameters.redeliveryDelay"]`).clear().type('1000');
cy.openSourceCode();
// CHECK the errorHandler update was reflected in the code editor
cy.checkCodeSpanLine('maximumRedeliveries: 5');
cy.checkCodeSpanLine('redeliveryDelay: 1000');
cy.checkCodeSpanLine('maximumRedeliveries: "5"');
cy.checkCodeSpanLine('redeliveryDelay: "1000"');
});

it('ErrorHandler - delete errorHandler properties using the ErrorHandler editor', () => {
Expand All @@ -63,7 +63,8 @@ describe('Test for Error handler support', () => {

// CHECK the errorHandler was edited in the code editor
cy.openSourceCode();
cy.checkCodeSpanLine('parameters: {}');
cy.checkCodeSpanLine('maximumRedeliveries: ""');
cy.checkCodeSpanLine('redeliveryDelay: ""');
});

it('ErrorHandler - select "no error handlers" - delete errorHandler', () => {
Expand Down
8 changes: 4 additions & 4 deletions packages/ui-tests/cypress/e2e/metadata.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ describe('Test for Metadata Editor support', () => {
cy.checkCodeSpanLine('creationTimestamp: testCreationTimestamp');
cy.checkCodeSpanLine('deletionTimestamp: testDeletionTimestamp');
cy.checkCodeSpanLine('generateName: testGenerateName');
cy.checkCodeSpanLine('generation: 10');
cy.checkCodeSpanLine('deletionGracePeriodSeconds: 1000');
cy.checkCodeSpanLine('generation: "10"');
cy.checkCodeSpanLine('deletionGracePeriodSeconds: "1000"');
cy.checkCodeSpanLine('namespace: testNamespace');
cy.checkCodeSpanLine('resourceVersion: testResourceVersion');
cy.checkCodeSpanLine('selfLink: testSelfLink');
Expand Down Expand Up @@ -111,8 +111,8 @@ describe('Test for Metadata Editor support', () => {
cy.checkCodeSpanLine('creationTimestamp: updatedCreationTimestamp');
cy.checkCodeSpanLine('deletionTimestamp: updatedDeletionTimestamp');
cy.checkCodeSpanLine('generateName: updatedGenerateName');
cy.checkCodeSpanLine('generation: 20');
cy.checkCodeSpanLine('deletionGracePeriodSeconds: 2000');
cy.checkCodeSpanLine('generation: "20"');
cy.checkCodeSpanLine('deletionGracePeriodSeconds: "2000"');
cy.checkCodeSpanLine('namespace: updatedNamespace');
cy.checkCodeSpanLine('resourceVersion: updatedResourceVersion');
cy.checkCodeSpanLine('selfLink: updatedSelfLink');
Expand Down
2 changes: 1 addition & 1 deletion packages/ui-tests/cypress/fixtures/aggregate.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"type": "model",
"type": "processor",
"name": "aggregate",
"title": "Aggregate",
"description": "Aggregates many messages into a single message",
Expand Down
40 changes: 20 additions & 20 deletions packages/ui-tests/cypress/fixtures/catalog-slim.json
Original file line number Diff line number Diff line change
Expand Up @@ -23157,7 +23157,7 @@
}
},
{
"type": "Model",
"type": "Processor",
"name": "aggregate",
"title": "Aggregate",
"description": "Aggregates many messages into a single message",
Expand Down Expand Up @@ -23754,7 +23754,7 @@
}
},
{
"type": "Model",
"type": "Processor",
"name": "apiKey",
"title": "Api Key",
"description": "Rest security basic auth definition",
Expand Down Expand Up @@ -23856,7 +23856,7 @@
}
},
{
"type": "Model",
"type": "Processor",
"name": "asn1",
"title": "ASN.1 File",
"description": "Encode and decode data structures using Abstract Syntax Notation One (ASN.1).",
Expand Down Expand Up @@ -23921,7 +23921,7 @@
}
},
{
"type": "Model",
"type": "Processor",
"name": "avro",
"title": "Avro",
"description": "Serialize and deserialize messages using Apache Avro binary data format.",
Expand Down Expand Up @@ -24221,7 +24221,7 @@
}
},
{
"type": "Model",
"type": "Processor",
"name": "barcode",
"title": "Barcode",
"description": "Transform strings to various 1D/2D barcode bitmap formats and back.",
Expand Down Expand Up @@ -24308,7 +24308,7 @@
}
},
{
"type": "Model",
"type": "Processor",
"name": "base64",
"title": "Base64",
"description": "Encode and decode data using Base64.",
Expand Down Expand Up @@ -24387,7 +24387,7 @@
}
},
{
"type": "Model",
"type": "Processor",
"name": "basicAuth",
"title": "Basic Auth",
"description": "Rest security basic auth definition",
Expand Down Expand Up @@ -24438,7 +24438,7 @@
}
},
{
"type": "Model",
"type": "Processor",
"name": "batch-config",
"title": "Batch-config",
"description": "Configures batch-processing resequence eip.",
Expand Down Expand Up @@ -24532,7 +24532,7 @@
}
},
{
"type": "Model",
"type": "Processor",
"name": "bean",
"title": "Bean",
"description": "Calls a Java bean",
Expand Down Expand Up @@ -24651,7 +24651,7 @@
}
},
{
"type": "Model",
"type": "Processor",
"name": "beans",
"title": "Beans",
"description": "A grouping POJO (and related XML root element) that's historically associated with entire application (or its distinguished fragment). This class is not meant to be used with Camel Java DSL, but it's needed to generate XML Schema and MX parser methods.",
Expand Down Expand Up @@ -24765,7 +24765,7 @@
}
},
{
"type": "Model",
"type": "Processor",
"name": "bearerToken",
"title": "Bearer Token",
"description": "Rest security bearer token authentication definition",
Expand Down Expand Up @@ -24828,7 +24828,7 @@
}
},
{
"type": "Model",
"type": "Processor",
"name": "bindy",
"title": "Bindy",
"description": "Marshal and unmarshal Java beans from and to flat payloads (such as CSV, delimited, fixed length formats, or FIX messages).",
Expand Down Expand Up @@ -24937,7 +24937,7 @@
}
},
{
"type": "Model",
"type": "Processor",
"name": "blacklistServiceFilter",
"title": "Blacklist Service Filter",
"tags": [
Expand Down Expand Up @@ -24999,7 +24999,7 @@
}
},
{
"type": "Model",
"type": "Processor",
"name": "cachingServiceDiscovery",
"title": "Caching Service Discovery",
"tags": [
Expand Down Expand Up @@ -25103,7 +25103,7 @@
}
},
{
"type": "Model",
"type": "Processor",
"name": "camel",
"title": "Camel",
"description": "If beans reminds Spring application too much, we can use camel.",
Expand Down Expand Up @@ -25217,7 +25217,7 @@
}
},
{
"type": "Model",
"type": "Processor",
"name": "cbor",
"title": "CBOR",
"description": "Unmarshal a CBOR payload to POJO and back.",
Expand Down Expand Up @@ -25385,7 +25385,7 @@
}
},
{
"type": "Model",
"type": "Processor",
"name": "choice",
"title": "Choice",
"description": "Route messages based on a series of predicates",
Expand Down Expand Up @@ -25494,7 +25494,7 @@
}
},
{
"type": "Model",
"type": "Processor",
"name": "circuitBreaker",
"title": "Circuit Breaker",
"description": "Route messages in a fault tolerance way using Circuit Breaker",
Expand Down Expand Up @@ -25684,7 +25684,7 @@
}
},
{
"type": "Model",
"type": "Processor",
"name": "claimCheck",
"title": "Claim Check",
"description": "The Claim Check EIP allows you to replace message content with a claim check (a unique key), which can be used to retrieve the message content at a later time.",
Expand Down Expand Up @@ -25817,7 +25817,7 @@
}
},
{
"type": "Model",
"type": "Processor",
"name": "combinedServiceDiscovery",
"title": "Combined Service Discovery",
"tags": [
Expand Down
Loading
Loading