Commit Graph

21 Commits

Author SHA1 Message Date
Luis Tejeda
fcf43811d0 Update bundle.test.js 2022-06-08 17:07:57 -05:00
Luis Tejeda
bb3a3c00d9 Change defatult version
change the default version from 3.0.0 to 3.0 and validate incorrect input.type value (different than multiFile)
2022-06-08 16:51:56 -05:00
Luis Tejeda
c0254456ae bundle only found content
bundle only the files that has content and add test for filtering root files in bundle according to the version.
2022-06-08 13:12:57 -05:00
Luis Tejeda
eafe766c8b look for the root content in data array
look for the root content in the data array instead of expecting content to be present in the root object
2022-06-07 16:46:43 -05:00
Luis Tejeda
0a81fd8a96 Folder for multifile and multi data res
Change the use of folder and now use multiFile as option type value.
Return a JS object instead of a json string
return a data array in response
2022-06-06 17:14:08 -05:00
Luis Tejeda
4ccfa86271 Throw errors instead of returning reason
Throw errors instead of returning reason and throw errors if the entry has no root files
2022-06-06 15:58:09 -05:00
Luis Tejeda
2e73ed22bb Fix input validation in multi file APIs 2022-06-06 11:23:39 -05:00
Luis Tejeda
a2b93b9be8 delete unnecessary code 2022-05-31 13:39:58 -05:00
Luis Tejeda
fc0753c854 Add scenario referenced path points to local schema
Add scenario referenced path points to local schema
2022-05-31 13:17:00 -05:00
Luis Tejeda
c9741f04c9 WIP test root properties working
WIP test root properties working
2022-05-31 11:38:02 -05:00
Erik Mendoza
6d3afb2f60 Adding multiple local references in external content scenario 2022-05-30 12:57:42 -05:00
Erik Mendoza
088edba128 Refactor, cleaning and adding new test scenarios
- adding support for not provided nodes in input.
- adding support to bringing local dependencies in references from external references content
- bundle getReferences method tests
- Adding a new type of error to catch parsing errors and handle
2022-05-29 00:03:36 -05:00
Carlos_Veloz
7a54354671 renaming test cases 2022-05-27 16:43:45 -05:00
Luis Tejeda
e2035a5f19 Fix PR request changes
Fix PR request changes
2022-05-27 16:09:23 -05:00
Erik Mendoza
b4c890aa9f solvin conflicts in tests 2022-05-27 03:45:08 -05:00
Erik Mendoza
74ca402524 Adding support to test scenarios
- same reference value from different sources
- nested references from components in root
- multiple nested references from components in root
- reference with local path from root components
2022-05-27 02:39:58 -05:00
Carlos_Veloz
cede63e022 renaming test cases 2022-05-25 18:04:23 -05:00
Erik Mendoza
0f8d118ed4 Adding bundleFormat support 2022-05-24 22:00:48 -05:00
Erik Mendoza
10524b0911 Adding tests to bundle items, adding support to parameters and schemas in composite components 2022-05-24 17:11:13 -05:00
Erik Mendoza
4aa298b399 Adding bundle files proces 2022-05-24 17:11:13 -05:00
Erik Mendoza
6223594703 Adding components generation 2022-05-24 17:11:13 -05:00