sonata-nfv / son-gkeeper

SONATA's Service Platform Gatekeeper
http://www.sonata-nfv.eu
Apache License 2.0
2 stars 18 forks source link

Licence always owned by user #957

Open santiagordguez opened 6 years ago

santiagordguez commented 6 years ago

Hi @jbonnet , @felipevicens

The GK is returning "user_licence": "owned" even when the database does not contain any row:

image

gatekeeper=# SELECT * FROM license;
 service_uuid | user_uuid | license_uuid | license_type | description | validation_url | status
--------------+-----------+--------------+--------------+-------------+----------------+--------
(0 rows)

I noticed that because the int-10-bss-gkeeper is failing due to there are never any private licences to request