Skip to content

Commit

Permalink
update admin with proper list of workflows
Browse files Browse the repository at this point in the history
Signed-off-by: Florent Poinsard <[email protected]>
  • Loading branch information
frouioui committed Nov 6, 2024
1 parent 8c6f2c1 commit 9f5bfc0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 20 deletions.
25 changes: 8 additions & 17 deletions go/admin/templates/add_new_executions.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,15 @@
/>
All</label
>
</div>
<div class="flex flex-col">
<label
><input
class="accent-orange-500"
type="checkbox"
name="workloads"
value="OLTP"
/>
><input
class="accent-orange-500"
type="checkbox"
name="workloads"
value="OLTP"
/>
OLTP</label
>
<label
Expand All @@ -52,17 +54,6 @@
/>
OLTP-READONLY</label
>
<label
><input
class="accent-orange-500"
type="checkbox"
name="workloads"
value="OLTP-SET"
/>
OLTP-SET</label
>
</div>
<div class="flex flex-col">
<label
><input
class="accent-orange-500"
Expand Down
6 changes: 3 additions & 3 deletions go/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -189,9 +189,9 @@ func (s *Server) Init() error {
// "oltp-readonly-olap": {file: path.Join(s.benchmarkConfigPath, "olap-readonly.yaml"), v: viper.New(), skip: true},

"tpcc": {file: path.Join(s.benchmarkConfigPath, "tpcc.yaml"), v: viper.New()},
"tpcc_unsharded": {file: path.Join(s.benchmarkConfigPath, "tpcc_unsharded.yaml"), v: viper.New()},
"tpcc_fk": {file: path.Join(s.benchmarkConfigPath, "tpcc_fk.yaml"), v: viper.New()},
"tpcc_fk_unmanaged": {file: path.Join(s.benchmarkConfigPath, "tpcc_fk_unmanaged.yaml"), v: viper.New()},
"tpcc_unsharded": {file: path.Join(s.benchmarkConfigPath, "tpcc_unsharded.yaml"), v: viper.New(), skip: true},
"tpcc_fk": {file: path.Join(s.benchmarkConfigPath, "tpcc_fk.yaml"), v: viper.New(), skip: true},
"tpcc_fk_unmanaged": {file: path.Join(s.benchmarkConfigPath, "tpcc_fk_unmanaged.yaml"), v: viper.New(), skip: true},
}
for workload, config := range s.benchmarkConfig {
config.v.SetConfigFile(config.file)
Expand Down

0 comments on commit 9f5bfc0

Please sign in to comment.