Skip to content

Commit

Permalink
Merge pull request #14 from eliona-smart-building-assistant/eliona_ap…
Browse files Browse the repository at this point in the history
…p_and_api

implement eliona_app changes and add API specification path
  • Loading branch information
andreas-goebel authored Apr 19, 2023
2 parents a67af14 + 557193b commit 71105ae
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
1 change: 1 addition & 0 deletions metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -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" ]
}
10 changes: 7 additions & 3 deletions reset.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 71105ae

Please sign in to comment.