adobe / da-admin

Apache License 2.0
0 stars 4 forks source link

Inform da-collab about deleted document #31

Closed bosschaert closed 4 months ago

bosschaert commented 4 months ago

Description

When a document is deleted from da-admin, it invokes da-collab with the following API

  /api/v1/deleteadmin?doc=${documentURL}

This enables da-collab to clean up.

If a service binding is configured, da-admin will use the service binding to reach da-collab.

Needs https://github.com/adobe/da-collab/pull/36 to be merged in order to work.

Related Issue

30

How Has This Been Tested?

Types of changes

Checklist:

codecov[bot] commented 4 months ago

Codecov Report

Attention: Patch coverage is 94.11765% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 60.93%. Comparing base (c6df3d6) to head (b7f2d24).

Files Patch % Lines
src/storage/object/delete.js 0.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #31 +/- ## ========================================== + Coverage 60.55% 60.93% +0.37% ========================================== Files 13 13 Lines 829 837 +8 ========================================== + Hits 502 510 +8 Misses 327 327 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.