brpm_content 0.1.32 → 0.1.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MDViMzNkYTYyMjgzZjg4NjM5ZTExYjNhZTI2NTRhZjZkN2I0ZmMwNQ==
4
+ OTU1Zjk2YzM0MGRmZGQ1OGE1YWI1MjBkMDhjZTA5MmE5ZjBlOTRiZA==
5
5
  data.tar.gz: !binary |-
6
- OTgwYzI5MWZiODc2MDkxMjE1ZWE2OWMzZGE4ZDA2NzIwYjlmNjQ2NA==
6
+ MmQzOTkzODhjM2MzNTk4ZmM2ZjA5ZDllZGQ0MGEyNjA0ZWZkMTI2Ng==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MGUxNGUxZjJkZjcxYjE5MzNhNThiZWE5MjJiZWJhZGQxMmE4YzgxODBhMGQ3
10
- YzYyZDM4YjJjNGY3ZDBkMjNiOWE4ZDZmNjA0NzY1MjNiYTI0MThhYzZkYmIz
11
- MjY5YjBlNzZjMzA2YzVmNzliYzNhYTRhOGNmNDA2Zjc5M2NiNTQ=
9
+ ZGMzNTZjMGU5YzM2ZjdlNDY1NGY2NDJiNTY4MmNmZTRhYjBiNTQ1NzY5N2M0
10
+ NzMzOWYyZDA3MDRkZDE0MmM1MWNmZTc3MjczODE1MmNjMGQ2MGQ4MTU2ZGYw
11
+ MWJlNTdjZjRhODRhZDJlN2NiNGFlM2Y4NDZhMDAzODJjODNjN2Q=
12
12
  data.tar.gz: !binary |-
13
- MTM0ZmQ2Zjg0Y2JlN2ZjODYzYzA4ZDFkMTFhMzVmZWRiMDBmODE3ZGVkN2Q1
14
- Y2NiNzhkZTYzNWQ5NGFlMmE0Zjg4MGU2YTk0MDYzOGY5MzI5NjBkZGNiOTIy
15
- ZmU4NzVjYmFhNWNjMTgzZTQxNGEyYTVmMjBkZGI0Y2YzMGFkMjg=
13
+ ZDFlNDRhNzA3NDBkNzYzMjg1MjFkOGU2Y2E2N2MzM2M3MzQyNWNlYjE2MWRi
14
+ NWU1MjM5NTEzM2MwZGQ3NTFmZjM1NDczMWI4NTZiODlkNDdmMTAzY2UzZTY4
15
+ NjM4ZjU2N2U4NTM4NzcxYmQ3NzFiMjQyNWQ2OGQ4MjAyZWMzNWY=
@@ -1,4 +1,4 @@
1
- version: 0.1.32
1
+ version: 0.1.33
2
2
 
3
3
  author: Niek Bartholomeus
4
4
  email: niek.bartholomeus@gmail.com
@@ -225,15 +225,15 @@ class ModuleInstaller
225
225
  server_type_id = @brpm_rest_client.get_id_for_project_server_type(auto_script_config["integration_server_type"])
226
226
  if server_type_id
227
227
  integration_server = integration_servers.find { |integr_server| integr_server["server_name_id"] == server_type_id } #TODO: support multiple integration servers of same type (user should pick one)
228
+ else
229
+ integration_server = integration_servers.find { |integr_server| integr_server["name"].include?(auto_script_config["integration_server_type"]) } #TODO: support multiple integration servers of same type (user should pick one)
230
+ end
228
231
 
229
- if integration_server
230
- wrapper_script_content += "\n"
231
- wrapper_script_content += get_integration_server_template(integration_server["id"], integration_server["name"], auto_script_config["integration_server_type"])
232
- else
233
- BrpmAuto.log "WARNING - An integration server of type #{auto_script_config["integration_server_type"]} doesn't exist so not setting the integration server in the wrapper script."
234
- end
232
+ if integration_server
233
+ wrapper_script_content += "\n"
234
+ wrapper_script_content += get_integration_server_template(integration_server["id"], integration_server["name"], auto_script_config["integration_server_type"])
235
235
  else
236
- BrpmAuto.log "WARNING - Integration server type '#{auto_script_config["integration_server_type"]}' is not supported so not setting the integration server in the wrapper script."
236
+ BrpmAuto.log "WARNING - An integration server of type #{auto_script_config["integration_server_type"]} doesn't exist so not setting the integration server in the wrapper script."
237
237
  end
238
238
  end
239
239
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: brpm_content
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.32
4
+ version: 0.1.33
5
5
  platform: ruby
6
6
  authors:
7
7
  - Niek Bartholomeus