Skip to content

Commit d92fdab

Browse files
authored
Merge pull request #17 from cloudblue/feature/LITE-27142
LITE-27142 Administrative UI
2 parents 12e7a4e + 0d735b4 commit d92fdab

16 files changed

+395
-17
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,5 @@
1414
* `ez-` for Connect SPA components replicas
1515
* `ui-` for ones imported from Connect UI Toolkit
1616
* Table columns now may be styled directly with a column descriptor `style` property
17-
* 0.2.3: Better handling of DB and Client Server errors
17+
* 0.2.3: Better handling of DB and Client Server errors
18+
* 0.3.0: Administrative UI

dbaas/extension.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"name": "DBaaS",
33
"description": "On-demand provisioning of cloud-based database storages as a service.",
4-
"version": "0.2.3",
4+
"version": "0.3.0",
55
"audience": ["reseller", "distributor", "vendor"],
6-
"readme_url": "https://github.com/cloudblue/connect-extension-dbaas/blob/0.2.3/README.md",
7-
"changelog_url": "https://github.com/cloudblue/connect-extension-dbaas/blob/0.2.3/CHANGELOG.md",
6+
"readme_url": "https://github.com/cloudblue/connect-extension-dbaas/blob/0.3.0/README.md",
7+
"changelog_url": "https://github.com/cloudblue/connect-extension-dbaas/blob/0.3.0/CHANGELOG.md",
88
"icon": "googleExtensionBaseline"
99
}

dbaas/static/528e7daa04dc61e214a6.js

Lines changed: 0 additions & 2 deletions
This file was deleted.

dbaas/static/6c5bb1bba5eebb952b58.js

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dbaas/static/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<html><head><title>Lorem ipsum</title><link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700|Roboto+Mono:400,500|Material+Icons" rel="stylesheet"><link id="mock-favicon" rel="shortcut icon" href="#"><script defer="defer" src="528e7daa04dc61e214a6.js"></script><link href="main.css" rel="stylesheet"></head><body><div id="app"></div></body></html>
1+
<html><head><title>Lorem ipsum</title><link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700|Roboto+Mono:400,500|Material+Icons" rel="stylesheet"><link id="mock-favicon" rel="shortcut icon" href="#"><script defer="defer" src="6c5bb1bba5eebb952b58.js"></script><link href="main.css" rel="stylesheet"></head><body><div id="app"></div></body></html>

dbaas/static/main.css

Lines changed: 5 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ui/app/api/databases.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,13 @@ export default rest(URL, {
1111
{ body: data, ...opts },
1212
),
1313

14-
activate: (id, opts = {}) => http.post(
15-
`${URL}/${id}/activate`,
14+
delete: (id, opts = {}) => http.delete(
15+
`${URL}/${id}`,
1616
opts,
1717
),
18+
19+
activate: (id, data, opts = {}) => http.post(
20+
`${URL}/${id}/activate`,
21+
{ body: data, ...opts },
22+
),
1823
});

ui/app/app.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ createApp({
2424
},
2525
});
2626

27+
connectBus.watch('*', (ctx) => {
28+
store.commit('setInstallationContext', ctx);
29+
}, { immediate: true });
30+
2731
const app = new Vue({
2832
store,
2933

0 commit comments

Comments
 (0)