-
Notifications
You must be signed in to change notification settings - Fork 29
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
Merge DataMapper #1700
Merged
Merged
Merge DataMapper #1700
Changes from 250 commits
Commits
Show all changes
514 commits
Select commit
Hold shift + click to select a range
95a69e5
chore(deps): update dependency rimraf to v5.0.9
renovate[bot] 7de92e1
chore(deps): update dependency typescript to v5.5.3
renovate[bot] 872aca1
chore(deps): update dependency vite to v5.3.3
renovate[bot] 08a612f
checkpoint: Add import mappings menu (#121)
igarashitm c13bb60
fix(deps): update @patternfly to v5.3.4
renovate[bot] d25cba0
fix
igarashitm 9465922
fix(deps): update dependency xml-formatter to v3.6.3
renovate[bot] 016219a
chore(deps): update @lerna-lite to v3.7.0
renovate[bot] 2df7ff3
chore(deps): update dependency sass to v1.77.7
renovate[bot] a733b12
chore(deps): update dependency rimraf to v6
renovate[bot] 302224f
chore(deps): update dependency rimraf to v6.0.1
renovate[bot] 322ffa1
chore(deps): update dependency @storybook/addon-actions to v8.2.2
renovate[bot] cf7c8f1
chore(deps): update babel monorepo to v7.24.8
renovate[bot] b8a122b
chore(deps): update dependency sass to v1.77.8
renovate[bot] 09b6dd8
chore(deps): update dependency stylelint to v16.7.0
renovate[bot] a580941
chore(deps): update @lerna-lite to v3.7.1
renovate[bot] 58e9ee9
chore(deps): update dependency prettier to v3.3.3
renovate[bot] 941a96a
chore(deps): update dependency stylelint-prettier to v5.0.1
renovate[bot] 4666bf7
chore(deps): update eslint
renovate[bot] 4292aa3
chore(deps): update dependency @babel/core to v7.24.9
renovate[bot] 06fce21
chore(deps): update dependency @storybook/addon-actions to v8.2.4
renovate[bot] 89f3b14
chore(deps): update dependency @types/node to v20.14.11
renovate[bot] 091a95c
chore(deps): update dependency vite to v5.3.4
renovate[bot] f65ff8a
chore(deps): update dependency stylelint-prettier to v5.0.2
renovate[bot] 915e1b4
chore(deps): update dependency eslint-plugin-prettier to v5.2.1
renovate[bot] fd5ced3
feat: Export/Import mappings
igarashitm f8b23a4
chore(deps): update dependency husky to v9.1.1
renovate[bot] 09e72b7
chore(deps): update dependency @storybook/addon-actions to v8.2.5
renovate[bot] 874fc9c
fix: Preserve field order
igarashitm dd2fbe3
chore(deps): update dependency eslint-plugin-react-refresh to v0.4.9
renovate[bot] 81f35c3
chore(deps): update dependency typescript to v5.5.4
renovate[bot] bc296a7
chore(deps): update dependency @types/node to v20.14.12
renovate[bot] 742454f
chore(deps): update eslint to v7.17.0
renovate[bot] fb7946a
chore(deps): update dependency @testing-library/jest-dom to v6.4.8
renovate[bot] 22f577b
chore(deps): update dependency @storybook/addon-actions to v8.2.6
renovate[bot] 52d50ce
chore(deps): update dependency husky to v9.1.3
renovate[bot] 26711a6
chore(deps): update dependency vite to v5.3.5
renovate[bot] 13ff985
chore(deps): update dependency @babel/preset-env to v7.25.0
renovate[bot] 44b6586
chore(deps): update dependency @types/node to v20.14.13
renovate[bot] b9f6b2b
fix(deps): update dependency use-debounce to v10.0.2
renovate[bot] b0c2656
fix: Wrap with "choose-when-otherwise" is broken
igarashitm d8dbac0
chore(deps): update dependency husky to v9.1.4
renovate[bot] 630423b
chore(deps): update dependency stylelint to v16.8.0
renovate[bot] 6e8e499
chore(deps): update babel monorepo to v7.25.2
renovate[bot] 0ccfc73
chore(deps): update eslint to v7.18.0
renovate[bot] d2f95fc
chore(deps): update dependency stylelint to v16.8.1
renovate[bot] 174e3f7
fix: Collect namespaces
igarashitm 6669485
feat: Create an embedding I/O interface component
igarashitm 60c6c6f
chore(deps): update dependency @babel/preset-env to v7.25.3
renovate[bot] b1afd24
fix: Mapping line is not drawn
igarashitm 8a08a75
fix: Mapping lines missing inside for-each wrapping
igarashitm 11dda7d
chore(deps): update dependency @storybook/addon-actions to v8.2.7
renovate[bot] 17b065e
chore(deps): update dependency @types/node to v20.14.14
renovate[bot] 3880def
chore(deps): update dependency lint-staged to v15.2.8
renovate[bot] ce10254
chore(deps): update yarn to v3.8.4
renovate[bot] ce0dc83
chore(deps): update @lerna-lite to v3.8.0
renovate[bot] aa2bf3e
chore(deps): update dependency @storybook/addon-actions to v8.2.8
renovate[bot] 8f0d475
chore(deps): update dependency vite to v5.4.0
renovate[bot] b9f46e3
chore(deps): update dependency madge to v8
renovate[bot] d514f59
chore(deps): update dependency @types/node to v20.14.15
renovate[bot] 477b8ba
chore(deps): update dependency @storybook/addon-actions to v8.2.9
renovate[bot] f381c32
chore(deps): update dependency lint-staged to v15.2.9
renovate[bot] 3ea5b72
chore(deps): update dependency vite to v5.4.1
renovate[bot] dbe3ce7
fix close modal using the close (x) button
tplevko 86a7fb2
chore(deps): update dependency @types/node to v20.16.1
renovate[bot] d869183
fix(deps): update dependency use-debounce to v10.0.3
renovate[bot] 62acd3b
chore(deps): update dependency stylelint to v16.8.2
renovate[bot] ab5b16c
fix: Add unit tests for MappingService (#348)
igarashitm 3d609be
fix: Add unit tests for VisualizationService (#348)
igarashitm 2abdb20
fix: Add unit tests for XmlSchemaDocumentService (#348)
igarashitm b5283ea
fix: Add unit tests for context providers (#348)
igarashitm 15543a3
chore: chore (#348)
igarashitm f27f4ef
chore: remove warnings
igarashitm 87f9b71
chore(deps): update dependency @types/react to v18.3.4
renovate[bot] 030c9f1
chore(deps): update dependency eslint-plugin-react-refresh to v0.4.10
renovate[bot] ab5be97
fix: Remove react-sage
igarashitm 71db15f
fix: Add unit tests for components (#348)
igarashitm 24948eb
chore(deps): update dependency husky to v9.1.5
renovate[bot] 24ab1d7
chore(deps): update dependency @babel/preset-env to v7.25.4
renovate[bot] 57128df
chore(deps): update dependency eslint-plugin-react-refresh to v0.4.11
renovate[bot] 4997bd0
chore(deps): update dependency @testing-library/jest-dom to v6.5.0
renovate[bot] 06d6e8d
fix(deps): update dependency monaco-editor to ^0.51.0
renovate[bot] bd8e32d
chore(deps): update yarn to v3.8.5
renovate[bot] e22be51
fix: Add isEmbedded=true to DataMapper.tsx
igarashitm 25241e8
Imported data-mapper as a subtree
lordrip c93a58a
Add @kaoto/xml-schema-ts package
lordrip 40858ed
temp(build): Increase heap size
lordrip b83eeea
Merge pull request #4 from igarashitm/chore/add-datamapper
lordrip 5456c28
feat(Canvas): Serialize Step EIP
lordrip 68b2842
chore(canvas): Add Datamapper icon
lordrip 4cbabb9
Merge remote-tracking branch 'upstream/main' into main
lordrip f1004b8
Merge remote-tracking branch 'upstream/main' into main
lordrip acf8cff
Merge remote-tracking branch 'upstream/main' into main
lordrip 73e0ed6
feat(App): Register components for a given anchor
lordrip 80d47a2
feat(Datamapper): Register Datamapper dummy component
lordrip 1875562
feat(Datamapper): Bring Datamapper component
lordrip 52c4ffd
feat: Allow importing documents on initialization
igarashitm 0c9eeff
fix(DataMapper): Merge datamapper files into kaoto directory structure
igarashitm 8905681
Merging https://github.com/KaotoIO/kaoto main branch at 2024/09/05 9:…
igarashitm e090091
Merge pull request #14 from igarashitm/202409050921
igarashitm 50703e8
fix: Warning: An update to DataMapperProvider inside a test was not w…
igarashitm 8ebd200
fix(DataMapper): Mapping lines shifted to lower right
igarashitm 8fba21a
fix(DataMapper): The edge of the mapping lines are hidden behind the box
igarashitm f53bbb2
Merge remote-tracking branch 'upstream/main' into chore/bring-main
lordrip 7b5194c
Merge pull request #20 from igarashitm/chore/bring-main
lordrip 7979d10
fix: Lint errors in xml-schema-ts
igarashitm ba36696
chore: Add missing Provider
lordrip aa7dd73
feat(VSCode): Provide filePreferences API
lordrip 460ad36
feat(DataMapper): Support drag and drop in XPath editor
igarashitm 384ec4c
fix(DataMapper): Field DnD unexpectedly occurs when selecting a text …
igarashitm 09fa08c
chore(deps): Add missing eslint dependency
lordrip 60aea82
fix(1422) Config panel buttons overlay - add toggleGroup wrapping
tplevko 4e2a531
refactor(Visualization): Adding round edges for the custom groups and…
mmelko 0eb90ff
refactor(Viz-Sidebar): Change panels style to flat and add rounded ed…
mmelko 99c9356
fix(CatalogGenerator): Ignore 'enum' property for multiValue param
lordrip b7c0a4d
fix(DataMapper): Container field open/close doesn't refresh lines
igarashitm b0cef4b
Merge remote-tracking branch 'upstream/main' into chore/update-main
lordrip 0216cc1
fix(ChannelAPI): Update usage of the Metadata API
lordrip deabf47
Merge pull request #58 from KaotoIO/chore/update-main
igarashitm 90ca7d9
fix(DataMapper): XPath Editor: Fix unexpected modal resize and scrollbar
igarashitm c464bf0
fix(Datamapper): Load Kaoto Datamapper in VSCode
lordrip c2fae18
TEMP: Add test buttons for Datamapper API integration
lordrip 4c8d472
fix: Wire Kaoto Metadata API
igarashitm 79d72ab
Merge remote-tracking branch 'upstream/main' into chore/update-main-b…
lordrip 116eea5
Merge pull request #71 from KaotoIO/chore/update-main-branch
igarashitm c9a439e
fix(DataMapper): Build&Test error
igarashitm 32cc717
fix(DataMapper): Expand `Parameters` by default
igarashitm 4efffb3
fix(DataMapper): Expression Editor: Do not wrap parameter name
igarashitm dc3657a
feat(Datamapper): Add Datamapper to the catalog
lordrip 4a3259a
Fix opening datamapper with no config yet
apupier e0fe823
fix(DataMapper): XSLT file path is not reflected to YAML route
igarashitm 622dbdc
fix(DataMapper): For standalone, show an alert to use VS Code extensi…
igarashitm 7a9cd93
fix(DataMapper): Replace file picker with VSCode one
igarashitm 34f70c8
chore(DataMapper): Clean up DataMapper debugger related code
igarashitm f86fe1c
chore(DataMapper): Remove unused import
igarashitm 5a56aed
fix(DataMapper): Add/Delete parameter doesn't properly reflect
igarashitm 226d88c
Merge remote-tracking branch 'kaoto-main/main' into merge-upstream-20…
igarashitm b1c353e
Merge pull request #96 from igarashitm/merge-upstream-202410030930EST
igarashitm 430f011
chore(DataMapper): Add a comment in generated XSLT stating "this is a…
igarashitm d2e39c4
fix(DataMapper): Delete DataMapper metadata entry when the step is de…
igarashitm 33d302b
fix(DataMapper): Extract onDeleteRecursively method to a shared exter…
igarashitm 01792f7
Merge remote-tracking branch 'kaoto-main/main' into 202410090917EST
igarashitm 9365cea
Merge pull request #101 from igarashitm/202410090917EST
igarashitm c158456
chore(DataMapper): Fix build error
igarashitm af6b55c
fix(DataMapper): Prevent from modifying source parameters and body wh…
igarashitm 58a1656
Merge remote-tracking branch 'kaoto-main/main' into 202410141051EST
igarashitm 6fac494
chore(DataMapper): adjust
igarashitm c97b5f0
Merge pull request #105 from igarashitm/202410141051EST
igarashitm 7f20716
fix(DataMapper): Show a confirmation dialog when DataMapper step is t…
igarashitm 7c17519
chore(DataMapper): fix test error
igarashitm bb10aef
fix(DataMapper): Show an error message if the attached document schem…
igarashitm 9291839
fix(DataMapper): Close contextual menu for three dots on target when …
igarashitm 95ea9f8
Merge remote-tracking branch 'upstream/main' into chore/merge-upstream
lordrip 2ad5ff6
Merge pull request #110 from KaotoIO/chore/merge-upstream
igarashitm 6d6e8f6
fix(DataMapper): Refresh mapping lines when XPath Editor is closed
igarashitm 3cf9d28
feat(DataMapper): Use navigation to go to DataMapper
lordrip 4f9e3a9
chore: Remove toolbar buttons used for manual test during development
apupier 022a66f
chore(DataMapper): fix build
igarashitm 7df7175
fix(DataMapper): CSS adjustments: saving some horizontal space and av…
igarashitm 9df5cd1
fix(DataMapper): The element shown as a primitive if schema extension…
igarashitm 857fe3e
feat: Deactivate minimap for Xpath textual editor
apupier a92e784
fix(DataMapper): undefined check
igarashitm 497d051
fix(DataMapper): Pull up DOMParser error message up to the notification
igarashitm 010187b
chore(DataMapper): fix incomplete test for https://github.com/KaotoIO…
igarashitm 2303ef9
fix(DataMapper): Resize XPath editor along with the parent modal
igarashitm 1934eb8
fix(DataMapper): XPath functions are not working at runtime
igarashitm b387688
fix(DataMapper): Indicate there's a syntax error in xpath
igarashitm 6bdca1d
chore(DataMapper): add aria-label to the XPathEditorModal to avoid co…
igarashitm 7bc930e
fix(DataMapper): fix DataMapper internal XPath parsing error on paren…
igarashitm 9974bfb
fix(DataMapper): Mapping from/to the structured Document itself shoul…
igarashitm 2a241b3
fix(DataMapper): Validate Parameter name
igarashitm 8cc7c24
chore(DataMapper): Add more test XML schema
igarashitm cbaa208
Merge remote-tracking branch 'kaoto-main/main' into 202410250841EST
igarashitm 58d039d
Merge pull request #151 from igarashitm/202410250841EST
igarashitm 7df458b
fix(DataMapper): Sort XSLT mapping elements
igarashitm e0f5ce1
fix(DataMapper): Do not show an error for an empty xpath expression
igarashitm 3ce6a28
fix(DataMapper): Restrict conditional mapping actions
igarashitm 285142f
fix(DataMapper): Fix a crack in the xpath parser error safe guard
igarashitm 6121ee3
fix(DataMapper): namespace prefix is missing for attribute mapping
igarashitm 756706e
chore(DataMapper): follow up https://github.com/KaotoIO/kaoto-datamap…
igarashitm 27e8136
fix(DataMapper): Fix XPath Parser to tokenize the word starting with …
igarashitm 3a59225
fix(DataMapper): XPath with string literal causes an error for mappin…
igarashitm 391203c
fix(DataMapper): Expand everything if Document is small enough
igarashitm 3ca88be
fix(DataMapper): Renaming the Kaoto data mapper id in the UI is break…
igarashitm becca7a
chore(DataMapper): Tweak in the catalog text
igarashitm 480af37
fix(DataMapper): Do not save schema file
igarashitm 532e4ad
feat(DataMapper): Use Browser tooltips
lordrip 9718c29
fix(DataMapper): Expand XPath field to use the available space
lordrip 4718773
fix(DataMapper): Move Context menu
lordrip e6e18d6
fix(DataMapper): Use Pointer cursor for nodes
lordrip 87928f5
fix(DataMapper): Garbage left after invalid for-each mapping
igarashitm ff3f377
fix(DataMapper): Provide DnD hint to XPath editor
lordrip f79d748
chore(DataMapper): Remove declared but unused ones
igarashitm 160cafa
chore(DataMapper): fix lint error
igarashitm 301cc58
feat: update embedded catalog from 4.8.0 to 4.8.1
apupier 14c1bd1
chore(links): Add Camel and Hawtio links
lordrip 0a1176c
chore(deps): update dependency org.junit.jupiter:junit-jupiter to v5.…
renovate[bot] 7ba6f70
chore(deps): update dependency org.apache.maven.plugins:maven-surefir…
renovate[bot] e1377b5
feat(DataMapper): Show missing config in Launcher
lordrip ea4814e
chore(DataMapper): cleanup
igarashitm 1b32663
fix(DataMapper): Cannot edit or delete mapping if target body is prim…
igarashitm b2b6b7f
fix(DataMapper): Show a warning when an expression is empty for the c…
igarashitm c3f6b54
fix(DataMapper): Primitive source body mapping doesn't draw a line
igarashitm 37f04ae
fix(DataMapper): fix build error and test
igarashitm a76fe76
Merge remote-tracking branch 'kaoto-main/main' into 202411151151EST
igarashitm b1b7666
Merge pull request #215 from igarashitm/202411151151EST
igarashitm 15e6b8b
feat(DataMapper): Provide a DataMapper tab
lordrip 004acac
chore(DataMapper): Update instructions and add "not configurable in t…
igarashitm 81e0780
fix(DataMapper): Move images to the assets folder
lordrip 9b8cc40
fix(DataMapper): Avoid same navigation
lordrip fb5c3c7
chore(DataMapper): Update step image in the instruction
igarashitm dbd836a
fix(DataMapper): `Delete both step and file` doesn't delete XSLT file
igarashitm 35e60d3
fix(DataMapper): Wrong mapping after reattaching same schema when the…
igarashitm cab1b12
Merge remote-tracking branch 'upstream/main' into chore/merge-upstream
lordrip fdbea02
Merge pull request #229 from KaotoIO/chore/merge-upstream
lordrip 129832b
fix: Provide id for text input of the xslt document path of data mapper
apupier 3375b2a
fix(DataMapper): choose-when-otherwise targeted field doesn't properl…
igarashitm aa37e88
fix(DataMapper): Use curved line for mapping link
igarashitm 3d7ab39
Merge remote-tracking branch 'kaoto-main/main' into 202411251055EST
igarashitm 6d33256
Merge pull request #237 from igarashitm/202411251055EST
igarashitm dd9f0da
Update README.md
lhein d8e252b
fix(DataMapper): Cannot resolve metadata once route ID is changed
igarashitm b9feb12
fix(DataMapper): Cannot empty the expression in XPath Editor
igarashitm 715a2fc
fix(DataMapper): 3-dots menu should close when other one is opened
igarashitm 5f88bde
fix(FLowsList): Evaluate action confirmation when deleting a Flow
lordrip e0a5ba7
slightly changed the kaoto title
lhein 4f934d2
e2e(1660): On Delete route - when user presses cancel, the route gets…
tplevko 0f29bf3
fix(Canvas): Valid `otherwise` and `doFinally`
lordrip 4c48e3b
chore(DataMapper): Update a screenshot
igarashitm 671e30a
fix(DataMapper): `<span>` on target document label put an unnecessar…
igarashitm 0f69e5c
Merge remote-tracking branch 'kaoto-main/main' into 202412040806EST
igarashitm 6d593fe
Merge pull request #250 from igarashitm/202412040806EST
igarashitm 845fc98
adding latest Red Hat provided Camel Quarkus release
lhein bb6e00b
Align Camel Quarkus catalog 3.8.x (3.8.4) to 4.8.4
apupier c0cdec1
chore: provide more precise urls to search versions of Catalog (#1696)
apupier 9a7f998
Upgrade Camel Main and Spring Boot catalog from 4.8.1 to 4.8.2
apupier bafb9c1
feat: Add 4.9.0 to Catalog for Main, Spring Boot and kamelets
apupier 4417f26
chore: fix Camel 4.9.0 tests
lordrip c161ca3
feat: Update Kamelet Catalog to 4.9.0
apupier 00cad09
chore: Update quarkus versions
lordrip 3105b83
Merge remote-tracking branch 'datamapper/main' into merge-datamapper
igarashitm 6fcd26c
fix(build): Build xml-schema-ts library for chromatic
lordrip 4813163
fix(build): Remove NODE_OPTIONS env var
lordrip 68650e4
chore(DataMapper): fix stylelint error
igarashitm 909bf55
fix(build): Replace generateRandomId with getCamelRandomId
lordrip ea7cc63
chore(DataMapper): Fix SonarCloud issues
igarashitm fe22dd7
removing unused imports and fixing wrong years in headers
lhein ee59ee4
fix(DataMapper): Add xml-schema-ts sub package build in parent postin…
igarashitm fc94c52
chore: release 2.3.0-RC3
lordrip 001a9b4
Merge branch 'main' into merge-datamapper
lordrip File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
18 changes: 18 additions & 0 deletions
18
packages/ui-tests/stories/datamapper/DataMapperDebugger.stories.tsx
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import { DataMapperDebugger } from '@kaoto/kaoto/testing'; | ||
import { Meta, StoryFn } from '@storybook/react'; | ||
import { fn } from '@storybook/test'; | ||
|
||
export default { | ||
title: 'DataMapper/Debugger', | ||
component: DataMapperDebugger, | ||
} as Meta<typeof DataMapperDebugger>; | ||
|
||
const Template: StoryFn<typeof DataMapperDebugger> = (args) => { | ||
return <DataMapperDebugger {...args} />; | ||
}; | ||
|
||
export const Debugger = Template.bind({}); | ||
Debugger.args = { | ||
onUpdateDocument: fn(), | ||
onUpdateMappings: fn(), | ||
}; |
This file contains 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
This file contains 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
This file contains 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,97 @@ | ||
{ | ||
"kaoto-datamapper" : { | ||
"model" : { | ||
"kind" : "model", | ||
"name" : "kaoto-datamapper", | ||
"title" : "Kaoto DataMapper", | ||
"description" : "The Kaoto DataMapper maps and transforms data using a set of Camel processors", | ||
"deprecated" : false, | ||
"label" : "transformation", | ||
"javaType" : "org.apache.camel.model.StepDefinition", | ||
"supportLevel" : "Stable", | ||
"abstract" : false, | ||
"input" : true, | ||
"output" : true | ||
}, | ||
"properties" : { | ||
"description" : { | ||
"index" : 0, | ||
"kind" : "attribute", | ||
"displayName" : "Description", | ||
"group" : "common", | ||
"required" : false, | ||
"type" : "string", | ||
"javaType" : "java.lang.String", | ||
"deprecated" : false, | ||
"autowired" : false, | ||
"secret" : false, | ||
"description" : "Sets the description of this node" | ||
}, | ||
"disabled" : { | ||
"index" : 1, | ||
"kind" : "attribute", | ||
"displayName" : "Disabled", | ||
"group" : "advanced", | ||
"label" : "advanced", | ||
"required" : false, | ||
"type" : "boolean", | ||
"javaType" : "java.lang.Boolean", | ||
"deprecated" : false, | ||
"autowired" : false, | ||
"secret" : false, | ||
"defaultValue" : false, | ||
"description" : "Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime." | ||
}, | ||
"outputs" : { | ||
"index" : 2, | ||
"kind" : "element", | ||
"displayName" : "Outputs", | ||
"group" : "common", | ||
"required" : true, | ||
"type" : "array", | ||
"javaType" : "java.util.List", | ||
"oneOf" : [ "aggregate", "bean", "choice", "circuitBreaker", "claimCheck", "convertBodyTo", "convertHeaderTo", "convertVariableTo", "delay", "doCatch", "doFinally", "doTry", "dynamicRouter", "enrich", "filter", "idempotentConsumer", "intercept", "interceptFrom", "interceptSendToEndpoint", "kamelet", "loadBalance", "log", "loop", "marshal", "multicast", "onCompletion", "onException", "onFallback", "otherwise", "pausable", "pipeline", "policy", "pollEnrich", "process", "recipientList", "removeHeader", "removeHeaders", "removeProperties", "removeProperty", "removeVariable", "resequence", "resumable", "rollback", "routingSlip", "saga", "sample", "script", "serviceCall", "setBody", "setExchangePattern", "setHeader", "setHeaders", "setProperty", "setVariable", "setVariables", "sort", "split", "step", "stop", "threads", "throttle", "throwException", "to", "toD", "transacted", "transform", "unmarshal", "validate", "when", "whenSkipSendToEndpoint", "wireTap" ], | ||
"deprecated" : false, | ||
"autowired" : false, | ||
"secret" : false | ||
} | ||
}, | ||
"exchangeProperties" : { | ||
"CamelStepId" : { | ||
"index" : 0, | ||
"kind" : "exchangeProperty", | ||
"displayName" : "Step Id", | ||
"label" : "producer", | ||
"required" : false, | ||
"javaType" : "String", | ||
"deprecated" : false, | ||
"autowired" : false, | ||
"secret" : false, | ||
"description" : "The id of the Step EIP" | ||
} | ||
}, | ||
"propertiesSchema" : { | ||
"title" : "Kaoto DataMapper", | ||
"description" : "The Kaoto DataMapper maps and transforms data using a set of Camel processors", | ||
"type" : "object", | ||
"additionalProperties" : false, | ||
"properties" : { | ||
"description" : { | ||
"type" : "string", | ||
"title" : "Description", | ||
"description" : "Sets the description of this node", | ||
"group" : "common" | ||
}, | ||
"disabled" : { | ||
"type" : "boolean", | ||
"title" : "Disabled", | ||
"description" : "Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.", | ||
"group" : "advanced" | ||
} | ||
}, | ||
"$comment" : "steps", | ||
"$schema" : "http://json-schema.org/draft-07/schema#", | ||
"required" : [ ] | ||
} | ||
} | ||
} |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,14 @@ | ||
const getCryptoObj = () => { | ||
return window.crypto || (window as Window & { msCrypto?: Crypto }).msCrypto; | ||
}; | ||
|
||
export const getCamelRandomId = (kind: string, length = 4): string => { | ||
const cryptoObj = window.crypto || (window as Window & { msCrypto?: Crypto }).msCrypto; | ||
const randomNumber = Math.floor(cryptoObj?.getRandomValues(new Uint32Array(1))[0] ?? Date.now()); | ||
const randomNumber = Math.floor(getCryptoObj()?.getRandomValues(new Uint32Array(1))[0] ?? Date.now()); | ||
|
||
return `${kind}-${randomNumber.toString(10).slice(0, length)}`; | ||
}; | ||
|
||
export const getHexaDecimalRandomId = (prefix: string) => { | ||
const randomNumber = getCryptoObj()?.getRandomValues(new Uint32Array(1))[0] ?? Date.now(); | ||
return `${prefix}-${randomNumber.toString(16)}`; | ||
}; |
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we can run the build process in both packages at the same time, but let's check it after this PR