pcf_blue_green 0.35 → 0.36

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5baf5b31561c31847adcde44182471f3a07722d8
4
- data.tar.gz: 7b3f0d2eddce862568efbe7e61fb8b7942a07fd1
3
+ metadata.gz: 320c4d6bb494e4318caa4176cd7dca3bd25897f5
4
+ data.tar.gz: c8be57123bf479209cde4804b53511edde7acec2
5
5
  SHA512:
6
- metadata.gz: 9d9798bf7e1b21f13112cd9402080c79c158d398365cfc5ebd86cbe36ab683ae519d395e694eac3da62eacf32825f173dde5e9553432b3ed2c725804587fcb92
7
- data.tar.gz: 815f082c07d4927522f25b9397e1bd7c352d68a506325263e7a081c8a454c31a19fad16a28f1be958b5b40e4a2b45f175e6d25b5b946cc7c84034d9d07243c46
6
+ metadata.gz: b5dbb7a8d5295a78e80d463e82e4c30d8d8f5d2f830a890d5f31de0951890078e0d29ab69b122f883d29c6f72dec17960a8a7eef9d0848560a939f5208fcb3a5
7
+ data.tar.gz: dd140fa09b37e75e8fbe224a2a1f8efd52ca166a3f46b2887039ba7fee0f0da1fa055e911d126068c26f66eed1d945775d68150ad2e703c34faa994550407b56
@@ -1,3 +1,3 @@
1
1
  module PcfBlueGreen
2
- VERSION = "0.35"
2
+ VERSION = "0.36"
3
3
  end
@@ -84,7 +84,7 @@ function check-health {
84
84
  exit 1
85
85
  fi
86
86
  else
87
- curl -fsSIL --user "${BASIC_AUTH_USERNAME}:${BASIC_AUTH_PASSWORD}" ${app_url} --insecure
87
+ curl -fsSIL --header "x-digital-auth: ${JWT}" --user "${BASIC_AUTH_USERNAME}:${BASIC_AUTH_PASSWORD}" ${app_url} --insecure
88
88
  status=$(curl -sSIL -X GET -o /dev/null -w "%{http_code}" ${app_url} --insecure)
89
89
  if [ $status == 200 ] ; then
90
90
  echo -e "${BGre}curl of ${app_url} 200 OK"
@@ -94,7 +94,7 @@ function check-health {
94
94
  fi
95
95
  fi
96
96
  else
97
- curl -fsSIL -X GET --user "${BASIC_AUTH_USERNAME}:${BASIC_AUTH_PASSWORD}" ${app_url} --insecure
97
+ curl -fsSIL -X GET --header "x-digital-auth: ${JWT}" --user "${BASIC_AUTH_USERNAME}:${BASIC_AUTH_PASSWORD}" ${app_url} --insecure
98
98
  status=$(curl -sSIL -X GET -o /dev/null -w "%{http_code}" ${app_url} --insecure)
99
99
  if [ $status == 200 ] ; then
100
100
  echo -e "${BGre}curl of ${app_url} 200 OK"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pcf_blue_green
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.35'
4
+ version: '0.36'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pawel Bardzinski
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-04-06 00:00:00.000000000 Z
11
+ date: 2017-06-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mixlib-shellout