Skip to content
Snippets Groups Projects
Commit c79ff98e authored by Martin Weise's avatar Martin Weise
Browse files

fixed small parameter for container creation

Former-commit-id: 50a29669
parent 38b50bb0
No related branches found
No related tags found
1 merge request!23Sprint results
...@@ -73,7 +73,7 @@ public class ContainerImage { ...@@ -73,7 +73,7 @@ public class ContainerImage {
@OneToMany(fetch = FetchType.LAZY, cascade = CascadeType.ALL) @OneToMany(fetch = FetchType.LAZY, cascade = CascadeType.ALL)
private List<ContainerImageEnvironmentItem> environment; private List<ContainerImageEnvironmentItem> environment;
@ToString.Include @ToString.Exclude
@OneToMany(fetch = FetchType.LAZY, cascade = CascadeType.ALL, mappedBy = "image") @OneToMany(fetch = FetchType.LAZY, cascade = CascadeType.ALL, mappedBy = "image")
private List<Container> containers; private List<Container> containers;
......
...@@ -10,6 +10,7 @@ pids ...@@ -10,6 +10,7 @@ pids
*.pid *.pid
*.seed *.seed
*.pid.lock *.pid.lock
package-lock.json
# Directory for instrumented libs generated by jscoverage/JSCover # Directory for instrumented libs generated by jscoverage/JSCover
lib-cov lib-cov
......
...@@ -72,6 +72,7 @@ export default { ...@@ -72,6 +72,7 @@ export default {
// //
// create a container // create a container
let containerId let containerId
const isPublic = false
try { try {
res = await this.$axios.post('/api/container/', { res = await this.$axios.post('/api/container/', {
name: this.database, name: this.database,
...@@ -105,7 +106,8 @@ export default { ...@@ -105,7 +106,8 @@ export default {
try { try {
res = await this.$axios.post('/api/database/', { res = await this.$axios.post('/api/database/', {
name: this.database, name: this.database,
containerId containerId,
isPublic
}) })
console.log(res) console.log(res)
} catch (err) { } catch (err) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment