-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add Content Library Collections signals [FC-0062] (#386)
* feat: Add Content Library Collections signals * fix: use collection_key (str) instead of id (int) * docs: update CHANGELOG * feat: Deprecates CONTENT_OBJECT_TAGS_CHANGED in favor of CONTENT_OBJECT_ASSOCIATIONS_CHANGED open-craft#66 * feat: adds event CONTENT_OBJECT_ASSOCIATOONS_CHANGED and ContentObjectChangedData, which has a field for indicating what has changed. * chore: updates changelog * fix: fix conflicts in CHANGELOG * fix: use content_library subdomain for new events * fix: add library collection events to changelog --------- Co-authored-by: Jillian Vogel <jill@opencraft.com> Co-authored-by: Navin Karkera <navin@disroot.org>
- Loading branch information
1 parent
f790bd4
commit a83c1e9
Showing
9 changed files
with
205 additions
and
3 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,4 +5,4 @@ | |
more information about the project. | ||
""" | ||
|
||
__version__ = "9.13.0" | ||
__version__ = "9.14.0" |
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
28 changes: 28 additions & 0 deletions
28
.../schemas/org+openedx+content_authoring+content+object+associations+changed+v1_schema.avsc
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,28 @@ | ||
{ | ||
"name": "CloudEvent", | ||
"type": "record", | ||
"doc": "Avro Event Format for CloudEvents created with openedx_events/schema", | ||
"fields": [ | ||
{ | ||
"name": "content_object", | ||
"type": { | ||
"name": "ContentObjectChangedData", | ||
"type": "record", | ||
"fields": [ | ||
{ | ||
"name": "object_id", | ||
"type": "string" | ||
}, | ||
{ | ||
"name": "changes", | ||
"type": { | ||
"type": "array", | ||
"items": "string" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
], | ||
"namespace": "org.openedx.content_authoring.content.object.associations.changed.v1" | ||
} |
25 changes: 25 additions & 0 deletions
25
...s/schemas/org+openedx+content_authoring+content_library+collection+created+v1_schema.avsc
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,25 @@ | ||
{ | ||
"name": "CloudEvent", | ||
"type": "record", | ||
"doc": "Avro Event Format for CloudEvents created with openedx_events/schema", | ||
"fields": [ | ||
{ | ||
"name": "library_collection", | ||
"type": { | ||
"name": "LibraryCollectionData", | ||
"type": "record", | ||
"fields": [ | ||
{ | ||
"name": "library_key", | ||
"type": "string" | ||
}, | ||
{ | ||
"name": "collection_key", | ||
"type": "string" | ||
} | ||
] | ||
} | ||
} | ||
], | ||
"namespace": "org.openedx.content_authoring.content_library.collection.created.v1" | ||
} |
25 changes: 25 additions & 0 deletions
25
...s/schemas/org+openedx+content_authoring+content_library+collection+deleted+v1_schema.avsc
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,25 @@ | ||
{ | ||
"name": "CloudEvent", | ||
"type": "record", | ||
"doc": "Avro Event Format for CloudEvents created with openedx_events/schema", | ||
"fields": [ | ||
{ | ||
"name": "library_collection", | ||
"type": { | ||
"name": "LibraryCollectionData", | ||
"type": "record", | ||
"fields": [ | ||
{ | ||
"name": "library_key", | ||
"type": "string" | ||
}, | ||
{ | ||
"name": "collection_key", | ||
"type": "string" | ||
} | ||
] | ||
} | ||
} | ||
], | ||
"namespace": "org.openedx.content_authoring.content_library.collection.deleted.v1" | ||
} |
25 changes: 25 additions & 0 deletions
25
...s/schemas/org+openedx+content_authoring+content_library+collection+updated+v1_schema.avsc
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,25 @@ | ||
{ | ||
"name": "CloudEvent", | ||
"type": "record", | ||
"doc": "Avro Event Format for CloudEvents created with openedx_events/schema", | ||
"fields": [ | ||
{ | ||
"name": "library_collection", | ||
"type": { | ||
"name": "LibraryCollectionData", | ||
"type": "record", | ||
"fields": [ | ||
{ | ||
"name": "library_key", | ||
"type": "string" | ||
}, | ||
{ | ||
"name": "collection_key", | ||
"type": "string" | ||
} | ||
] | ||
} | ||
} | ||
], | ||
"namespace": "org.openedx.content_authoring.content_library.collection.updated.v1" | ||
} |
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