wirecloud icon indicating copy to clipboard operation
wirecloud copied to clipboard

Adds support for json-based widgets/mashups

Open dmunozv04 opened this issue 1 year ago • 1 comments

Proposed changes

Implements the necessary changes so json-based widgets/mashups can be loaded/created in wirecloud. Creates mashups using a config.json properties file. Adds a jsonschema validator

Types of changes

What types of changes does your code introduce to the project: Put an x in the boxes that apply

  • [ ] Bugfix (non-breaking change which fixes an issue)
  • [x] New feature (non-breaking change which adds functionality)
  • [x] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

  • [x] I have read the CONTRIBUTING doc
  • [x] I have signed the CLA
  • [ ] I have added tests that prove my fix is effective or that my feature works
  • [ ] I have added necessary documentation (if appropriate)
  • [ ] Any dependent changes have been merged and published in downstream modules

Further comments

It would be interesting to change the config file to something unique instead of config.json so the JSON Schema can be sent to Schema Store to allow verifying the config file inside IDEs. Reopening this PR since the last one had some issues with files from another branch

dmunozv04 avatar Mar 25 '24 12:03 dmunozv04

Coverage Status

coverage: 88.217% (+0.007%) from 88.21% when pulling 3938299f5b62564e617a6f28d20f2041be61835e on dmunozv04:json-support into 2a25766282456578de3663734a69b0281ed88bb8 on Wirecloud:develop.

coveralls avatar Mar 25 '24 13:03 coveralls