Closed Madhu1029 closed 3 months ago
Note the merge conflict. It should be easy to solve, just adding the existing and new lines.
The PR looks good, thank you so much for your contribution. Being said that, I have a couple of comments:
checkServiceIdentity()
function is only used for those 2 methods. What about the rest of the requests? (e.g: group read and list and device CRUDL)Hi @mapedraza ,
The PR looks good, thank you so much for your contribution. Being said that, I have a couple of comments:
- it would be great if you could add a test to prove it works propperly. It should prove that creating a group having the FIWARE-service header with capitals can be deleted also using the same FIWARE-service value.
I have added test case for deletion and updation with FIWARE-service in uppercase.
- This fix is valid for group update and delete as
checkServiceIdentity()
function is only used for those 2 methods. What about the rest of the requests? (e.g: group read and list and device CRUDL)
As mentioned in issue, the bug exists for deletion and updation only. Group create and read is working fine.
Hi @fgalan ,
If the PR seems OK, please merge the PR.
Fixes #1528. Now, uppercase value can also be used for service header in case of update and delete.