Add index to yang_resource for faster registration 64/139364/1
authordanielhanrahan <daniel.hanrahan@est.tech>
Wed, 30 Oct 2024 11:19:40 +0000 (11:19 +0000)
committerDaniel Hanrahan <daniel.hanrahan@est.tech>
Fri, 8 Nov 2024 17:19:57 +0000 (17:19 +0000)
commit33a1e63aa9f177af0f88e1518b91ae87cd30a10e
tree0dbfee17463916917033734be4961ad831b3c06d
parent76b4ff600dfefd2bea79a43431e36698e86c4a5a
Add index to yang_resource for faster registration

This doubles registration speed by adding a DB index
for yang resource module_name and revision.

Issue-ID: CPS-2478
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: I747ac3c8d4a524082b08ab44417e913b163207ce
cps-ri/src/main/resources/changelog/changelog-master.yaml
cps-ri/src/main/resources/changelog/db/changes/23-yang-resource-index.yaml [new file with mode: 0644]