openwisp-controller icon indicating copy to clipboard operation
openwisp-controller copied to clipboard

[enhancement] Added WhoIs details alongside devices

Open DragnEmperor opened this issue 6 months ago • 1 comments

Checklist

  • [x] I have read the OpenWISP Contributing Guidelines.
  • [x] I have manually tested the changes proposed in this pull request.
  • [ ] I have written new test cases for new code and/or updated existing tests for changes to existing code.
  • [ ] I have updated the documentation.

Reference to Existing Issue

Closes #1026.

Description of Changes

To fetch WhoIs details in device REST APIs, created two serializers : BriefWhoIsSerializer and WhoIsSerializer for listing and detail endpoints respectively

DragnEmperor avatar Jun 10 '25 19:06 DragnEmperor

There are some commits which are related to another PR #1054. Once its merged, this branch will be rebased.

DragnEmperor avatar Jun 11 '25 16:06 DragnEmperor

Coverage Status

coverage: 98.718% (+0.1%) from 98.605% when pulling 308515f52e47e463700a83b02536d1519df49acc on issues/1026-whois-display into 41e0b5580fcba84f213eea74f5f4db3f8fa0ebfd on gsoc25-whois.

coveralls avatar Jul 02 '25 08:07 coveralls

@DragnEmperor I was testing this again, and found below error if who is object doesn't exist for device, can you please handle this?

image

Done.

DragnEmperor avatar Jul 11 '25 16:07 DragnEmperor