diff --git a/metadata.json b/metadata.json index 2d2723a..ed18352 100644 --- a/metadata.json +++ b/metadata.json @@ -10,6 +10,7 @@ "dashboardTemplateNames": [ "Thingdust" ], + "apiSpecificationPath": "/v1/version/openapi.json", "documentationUrl": "https://doc.eliona.io/collection/eliona-apps/externe-apps/thingdust", "useEnvironment": [ "CONNECTION_STRING", "API_ENDPOINT", "API_TOKEN" ] } diff --git a/reset.sql b/reset.sql index e2e7e23..7388a27 100644 --- a/reset.sql +++ b/reset.sql @@ -17,9 +17,13 @@ -- The only thing that remains after testing then are the incremented auto-increment values and app -- registration (which you can optionally remove as well by uncommenting the last command). -INSERT INTO public.eliona_app (app_name, category, enable) -VALUES ('thingdust', 'app', 't') -ON CONFLICT (app_name) DO UPDATE SET initialized_at = null; +INSERT INTO public.eliona_store (app_name, category, version) +VALUES ('thingdust', 'app', '1.0.0') + ON CONFLICT (app_name) DO UPDATE SET version = '1.0.0'; + +INSERT INTO public.eliona_app (app_name, enable) +VALUES ('thingdust', 't') + ON CONFLICT (app_name) DO UPDATE SET initialized_at = null; DROP SCHEMA IF EXISTS thingdust CASCADE;