Skip to content

Commit

Permalink
feat: re-generate avro schemas for renamed events
Browse files Browse the repository at this point in the history
  • Loading branch information
iloveagent57 committed Jun 7, 2024
1 parent 7a4fc09 commit e93cb2b
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions openedx_events/enterprise/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ class SubsidyRedemption:
class LedgerTransactionReversal:
"""
Attributes of an ``openedx_ledger.Reversal`` record.
A ``Reversal`` is a model that represents the "undo-ing" of a ``Transaction`` (see below). It's primarily
used within the domain of edX Enterprise for recording unenrollments and refunds of subsidized
enterprise enrollments.
Expand All @@ -57,6 +58,7 @@ class LedgerTransactionReversal:
class LedgerTransaction:
"""
Attributes of an ``openedx_ledger.Transaction`` record.
A ``Transaction`` is a model that represents value moving in or out of a ``Ledger``. It's primarily
used within the domain of edX Enterprise for recording the redemption of subsidized enrollments.
https://github.com/openedx/openedx-ledger/blob/master/openedx_ledger/models.py
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,5 +106,5 @@
}
}
],
"namespace": "org.openedx.enterprise_subsidies.ledger_transaction.created.v1"
"namespace": "org.openedx.enterprise.subsidy_ledger_transaction.committed.v1"
}
Original file line number Diff line number Diff line change
Expand Up @@ -106,5 +106,5 @@
}
}
],
"namespace": "org.openedx.enterprise_subsidies.ledger_transaction.failed.v1"
"namespace": "org.openedx.enterprise.subsidy_ledger_transaction.created.v1"
}
Original file line number Diff line number Diff line change
Expand Up @@ -106,5 +106,5 @@
}
}
],
"namespace": "org.openedx.enterprise_subsidies.ledger_transaction.reversed.v1"
"namespace": "org.openedx.enterprise.subsidy_ledger_transaction.failed.v1"
}
Original file line number Diff line number Diff line change
Expand Up @@ -106,5 +106,5 @@
}
}
],
"namespace": "org.openedx.enterprise_subsidies.ledger_transaction.committed.v1"
"namespace": "org.openedx.enterprise.subsidy_ledger_transaction.reversed.v1"
}

0 comments on commit e93cb2b

Please sign in to comment.