Skip to content

Commit

Permalink
Fixed provision tagging
Browse files Browse the repository at this point in the history
  • Loading branch information
GilbertCherrie committed Aug 20, 2024
1 parent f65c6d1 commit 78a4213
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/models/service_orchestration/provision_tagging.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module ServiceOrchestration::ProvisionTagging
DIALOG_TAG_KEY_REGEX = /^Array::dialog_tag_(?<sequence>\d*)_(?<option_key>.*)/i
DIALOG_TAG_KEY_REGEX = /^dialog_tag_(?<sequence>\d*)_(?<option_key>.*)/i
DIALOG_TAG_VALUE_REGEX = /Classification::(\d*)/

private
Expand Down
6 changes: 3 additions & 3 deletions spec/models/service_orchestration/provision_tagging_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
let(:service) { FactoryBot.build(:service_orchestration, :miq_request_task => miq_request_task) }
let(:dialog_tag_options) do
{:dialog => {
'Array::dialog_tag_0_env' => 'Classification::1',
'Array::dialog_tag_1_network' => 'Classification::11',
'Array::dialog_tag_2_dept' => 'Classification::21,Classification::22,Classification::23'
'dialog_tag_0_env' => 'Classification::1',
'dialog_tag_1_network' => 'Classification::11',
'dialog_tag_2_dept' => 'Classification::21,Classification::22,Classification::23'
}}
end

Expand Down

0 comments on commit 78a4213

Please sign in to comment.