adatper formatting; ops loader fix

This commit is contained in:
jeffbanks 2023-02-15 16:59:53 -06:00
parent 6911fd13c9
commit d63ba45281
5 changed files with 36 additions and 32 deletions

View File

@ -43,7 +43,7 @@ blocks:
};
truncate-table: |
truncate table <<keyspace:baselines>>.<<table:iot>>;
truncate table TEMPLATE(keyspace, baselines).TEMPLATE(table:iot);
rampup:
params:
cl: <<write_cl:LOCAL_QUORUM>>

View File

@ -40,7 +40,7 @@ blocks:
PRIMARY KEY ((machine_id), time)
) WITH CLUSTERING ORDER BY (time DESC);
truncate-table: |
truncate table <<keyspace:starter>>.<<table:cqlstarter>>;
truncate table TEMPLATE(keyspace,starter).TEMPLATE(table,cqlstarter);
schema-astra:
params:
prepared: false

View File

@ -104,8 +104,10 @@ blocks:
"debt": null,
"match1": {match1},
"match2": "{match2}",
"match3": {match2}
{additional_fields}
"match3": {match2},
{
additional_fields
}
}
]
}

View File

@ -81,7 +81,9 @@ public class OpsLoader {
transformer.checkpointAccesses().forEach((k, v) -> {
layered.addTemplateVariable(k, v);
if (params.containsKey(k)) {
params.remove(k);
}
});
return layered;