Closed
Bug 1241985
Opened 8 years ago
Closed 8 years ago
Add JSON schema support to the lua sandbox
Categories
(Cloud Services Graveyard :: Metrics: Pipeline, defect, P1)
Cloud Services Graveyard
Metrics: Pipeline
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: trink, Assigned: trink)
References
Details
No description provided.
Assignee | ||
Updated•8 years ago
|
Points: --- → 3
Assignee | ||
Updated•8 years ago
|
Priority: P2 → P1
Assignee | ||
Comment 1•8 years ago
|
||
The wjelement library only supports version 3 of the json schema spec (the current proposed version is 4). Fortunately there is a lot of overlap and v3 should be sufficient for our needs. Taking the v3 path will have us up and and running this week; contributing v4 support back to the lib would add at a week or two. Any objections to using v3 as our specification format?
Flags: needinfo?(spenrose)
Comment 2•8 years ago
|
||
(In reply to Mike Trinkala [:trink] from comment #1) > The wjelement library only supports version 3 of the json schema spec (the > current proposed version is 4). Fortunately there is a lot of overlap and > v3 should be sufficient for our needs. Taking the v3 path will have us up > and and running this week; contributing v4 support back to the lib would add > at a week or two. > > Any objections to using v3 as our specification format? Probably not, but I should test it. I'll work on that now.
Comment 3•8 years ago
|
||
(In reply to Sam Penrose from comment #2) > (In reply to Mike Trinkala [:trink] from comment #1) > > The wjelement library only supports version 3 of the json schema spec (the > > current proposed version is 4). Fortunately there is a lot of overlap and > > v3 should be sufficient for our needs. Taking the v3 path will have us up > > and and running this week; contributing v4 support back to the lib would add > > at a week or two. > > > > Any objections to using v3 as our specification format? > > Probably not, but I should test it. I'll work on that now. Easy downgrade; go ahead.
Flags: needinfo?(spenrose)
Assignee | ||
Comment 4•8 years ago
|
||
After working with the wjelement library today I am going to remove it from consideration as it would require a large investment in time to get it where we need it. The good news is I found that rapidJSON has experimental JSON schema support (v4). I have worked with this library in the past and was pleased/impressed. The experimental status is low risk as it is well tested and basically fully compliant with the standard.
Assignee | ||
Comment 5•8 years ago
|
||
The work resides on the schema_validation branch it will be merged after the decoder work Bug 1249666 is complete https://github.com/mozilla-services/lua_sandbox/tree/schema_validation/docs/heka
Assignee | ||
Updated•8 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Updated•6 years ago
|
Product: Cloud Services → Cloud Services Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•