Skip to content

Commit

Permalink
implement eliona_app changes and add API specification path
Browse files Browse the repository at this point in the history
  • Loading branch information
andreas-goebel committed Apr 18, 2023
1 parent a67af14 commit 557193b
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 557193b

Please sign in to comment.