Skip to content

Commit

Permalink
Week of Jan 6 changes
Browse files Browse the repository at this point in the history
- clarify errors for bad paths and methods
- Remove "origin"
- add `/capabilities` API and "capabilities" Registry attr
  - requires `?inline=capabilities` reads, just presence on writes(like model)

Fixes xregistry#199
Fixes xregistry#216
Fixes xregistry#217

Signed-off-by: Doug Davis <[email protected]>
  • Loading branch information
duglin committed Dec 23, 2024
1 parent 5350918 commit 1c340e6
Show file tree
Hide file tree
Showing 19 changed files with 477 additions and 885 deletions.
25 changes: 0 additions & 25 deletions cloudevents/schemas/document-schema.avsc
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,6 @@
},
"doc": "Labels for the object"
},
{
"name": "origin",
"type": "string",
"doc": "URI of the object origin"
},
{
"name": "createdat",
"type": [
Expand Down Expand Up @@ -276,11 +271,6 @@
},
"doc": "Labels for the object"
},
{
"name": "origin",
"type": "string",
"doc": "URI of the object origin"
},
{
"name": "createdat",
"type": [
Expand Down Expand Up @@ -559,11 +549,6 @@
},
"doc": "Labels for the object"
},
{
"name": "origin",
"type": "string",
"doc": "URI of the object origin"
},
{
"name": "createdat",
"type": [
Expand Down Expand Up @@ -677,11 +662,6 @@
},
"doc": "Labels for the object"
},
{
"name": "origin",
"type": "string",
"doc": "URI of the object origin"
},
{
"name": "createdat",
"type": [
Expand Down Expand Up @@ -774,11 +754,6 @@
},
"doc": "Labels for the object"
},
{
"name": "origin",
"type": "string",
"doc": "URI of the object origin"
},
{
"name": "createdat",
"type": [
Expand Down
30 changes: 0 additions & 30 deletions cloudevents/schemas/document-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,6 @@
"type": "object",
"description": "Labels for the object"
},
"origin": {
"type": "string",
"format": "uri",
"description": "URI of the object origin"
},
"createdat": {
"type": "string",
"format": "date-time",
Expand Down Expand Up @@ -1111,11 +1106,6 @@
"type": "object",
"description": "Labels for the object"
},
"origin": {
"type": "string",
"format": "uri",
"description": "URI of the object origin"
},
"createdat": {
"type": "string",
"format": "date-time",
Expand Down Expand Up @@ -1788,11 +1778,6 @@
"type": "object",
"description": "Labels for the object"
},
"origin": {
"type": "string",
"format": "uri",
"description": "URI of the object origin"
},
"createdat": {
"type": "string",
"format": "date-time",
Expand Down Expand Up @@ -1856,11 +1841,6 @@
"type": "object",
"description": "Labels for the object"
},
"origin": {
"type": "string",
"format": "uri",
"description": "URI of the object origin"
},
"createdat": {
"type": "string",
"format": "date-time",
Expand Down Expand Up @@ -1954,11 +1934,6 @@
"type": "object",
"description": "Labels for the object"
},
"origin": {
"type": "string",
"format": "uri",
"description": "URI of the object origin"
},
"createdat": {
"type": "string",
"format": "date-time",
Expand Down Expand Up @@ -2032,11 +2007,6 @@
"type": "object",
"description": "Labels for the object"
},
"origin": {
"type": "string",
"format": "uri",
"description": "URI of the object origin"
},
"createdat": {
"type": "string",
"format": "date-time",
Expand Down
Loading

0 comments on commit 1c340e6

Please sign in to comment.