🗃 Add `href_rewrites` field to RPS Mapping model
Decision Record
Some applications served via the Reverse Proxy Service have no knowledge of the source URL used to serve them.
This means that in the HTML they return, the hyperlinks (href and src attributes on HTML elements <a/>, <img/>, <script/>, <link/>, <form/>, etc...) contain the target URL of the upstream.
In the SID CMDB, mappings had a field has standard rewrites which, when enabled, enabled the configuration to replace the target URLs with the source URLs.
We need to replicate this feature in the Netbox CMDB.
Changes
-
🗃 Add fieldhref_rewritestoMappingmodel -
🗃 Add migration for new fieldhref_rewriteson theMappingmodel -
✨ Add fieldhref_rewritestoMappingforms, tables and HTML templates -
✨ Serialize fieldhref_rewritesin REST API