Make the proposed changes
Signed-off-by: Akashdeep Dhar <akashdeep.dhar@gmail.com>
This commit is contained in:
parent
9ad1c57d13
commit
79f8355a7e
2 changed files with 12 additions and 10 deletions
|
@ -60,8 +60,9 @@ Internal entities
|
|||
2. This is planned to be a repository of supporting assets (artworks,
|
||||
awarding conditions, consumer rules etc.) for the badges available for
|
||||
being awarded to the community members, which can be read from and
|
||||
updated by the interactions with the Accolades API and by admins having
|
||||
relevant accesses to the repository.
|
||||
updated by the interactions with the Accolades API entity and the
|
||||
Liberation entity as well as by admins having relevant accesses to the
|
||||
repository.
|
||||
3. This is planned to be a standalone entity with just one possible
|
||||
interaction with the neighbouring internal entity (i.e. Accolades API)
|
||||
and one possible interaction with the neighbouring external entity (i.e.
|
||||
|
@ -85,10 +86,11 @@ Internal entities
|
|||
`fedbadges <https://github.com/fedora-infra/fedbadges>`_ fedmsg listener
|
||||
and/or is planned to be a reimplementation of the same.
|
||||
2. This is planned to act as a messages consumer, listening into the Fedora
|
||||
Messaging bus and comparing the messages against the awarding conditions
|
||||
available on the Collection, and on a successful match, making a request
|
||||
to the Accolades API for awarding the said badge to a certain contributor
|
||||
who have met the conditions specified in the related badge rule.
|
||||
Messaging bus matching the schemas that it is configured for and
|
||||
comparing the messages against the awarding conditions available on the
|
||||
Collection, and on a successful match, making a request to the Accolades
|
||||
API for awarding the said badge to a certain contributor who have met the
|
||||
conditions specified in the related badge rule.
|
||||
3. This is planned to be a standalone entity with two possible interactions
|
||||
with the neighbouring internal entities (i.e. Accolades API and
|
||||
Collection) and no possible interaction with the neighbouring external
|
||||
|
|
|
@ -13,11 +13,11 @@ Accolades API
|
|||
----
|
||||
|
||||
*Suggested using:*
|
||||
| Web framework: `FastAPI <https://fastapi.tiangolo.com/>`_
|
||||
| Web framework: `FastAPI <https://fastapi.tiangolo.com/>`_ or `Flask <https://flask.palletsprojects.com/>`_
|
||||
| CLI compositor: `Click <https://click.palletsprojects.com/>`_
|
||||
| Database abstraction: `Psycopg2 <https://www.psycopg.org/docs/>`_
|
||||
| ORM and SQL library: `SQLAlchemy <https://sqlalchemy.org/>`_
|
||||
| Configuration parsing: `PyYAML <https://pyyaml.org/wiki/PyYAML>`_
|
||||
| Configuration parsing: `PyYAML <https://pyyaml.org/wiki/PyYAML>`_ or `Tomllib <https://docs.python.org/3/library/tomllib.html>`_
|
||||
| Caching and indexing: `Redis <https://redis.io/>`_
|
||||
|
||||
Accolades CLI
|
||||
|
@ -26,7 +26,7 @@ Accolades CLI
|
|||
*Suggested using:*
|
||||
| CLI compositor: `Click <https://click.palletsprojects.com/>`_
|
||||
| HTTP library: `Requests <https://requests.readthedocs.io/>`_
|
||||
| Configuration parsing: `PyYAML <https://pyyaml.org/wiki/PyYAML>`_
|
||||
| Configuration parsing: `PyYAML <https://pyyaml.org/wiki/PyYAML>`_ or `Tomllib <https://docs.python.org/3/library/tomllib.html>`_
|
||||
|
||||
Liberation
|
||||
----
|
||||
|
@ -49,4 +49,4 @@ Messages Consumer
|
|||
| Listener: `Fedora Messaging <https://fedora-messaging.readthedocs.io/en/stable/>`_
|
||||
| CLI compositor: `Click <https://click.palletsprojects.com/>`_
|
||||
| HTTP library: `Requests <https://requests.readthedocs.io/>`_
|
||||
| Configuration parsing: `PyYAML <https://pyyaml.org/wiki/PyYAML>`_
|
||||
| Configuration parsing: `PyYAML <https://pyyaml.org/wiki/PyYAML>`_ or `Tomllib <https://docs.python.org/3/library/tomllib.html>`_
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue