Advertisement
Guest User

Untitled

a guest
Mar 26th, 2019
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.60 KB | None | 0 0
  1. [1:21 PM] Harris, Nathan (TR Tech, Content & Ops)
  2. Sorry I was stuck in a debate
  3. ​[1:22 PM] Harris, Nathan (TR Tech, Content & Ops)
  4. what's up ?
  5. ​[1:25 PM] Nikolaev, Viktor
  6. We wanted to integrate our new cool httpClient with proxy to automations.
  7. As I can see, we only need to change engines themselves - I see there are methods like CreateHttpClient
  8.  
  9. ​[1:26 PM] Harris, Nathan (TR Tech, Content & Ops)
  10. Yeah there should be central code in each WFE that we need to configure
  11. ​[1:26 PM] Harris, Nathan (TR Tech, Content & Ops)
  12. The automations themselves only access web via WFEs
  13. ​[1:29 PM] Nikolaev, Viktor
  14.  
  15.  
  16. Ok, cool.
  17. Also what should we do if proxy settings in Elastic get updated?
  18.  
  19. Ie we have to subscribe for changes and update HttpClientHandler on a running automations? Or we can just restart running automation so it will pick-up new settings?
  20.  
  21. Edited​[1:38 PM] Harris, Nathan (TR Tech, Content & Ops)
  22. It doesnt have to be dynamic 
  23. ​[1:39 PM] Harris, Nathan (TR Tech, Content & Ops)
  24. new config can be picked up on next run
  25. ​[1:39 PM] Harris, Nathan (TR Tech, Content & Ops)
  26. I believe all day schedules will get bounced if the schedule is changed
  27. ​[1:39 PM] Harris, Nathan (TR Tech, Content & Ops)
  28. check with Viktor
  29. [1:39 PM] Harris, Nathan (TR Tech, Content & Ops)
  30. *Vladimir
  31. ​[1:39 PM] Harris, Nathan (TR Tech, Content & Ops)
  32. (smile)
  33.  
  34. ​[1:39 PM] Harris, Nathan (TR Tech, Content & Ops)
  35. checking with yourself might not be very productive!
  36. ​[1:41 PM] Nikolaev, Viktor
  37. Currently in a Schedule we have ProxyId, so if we change something in the Proxy index, it would not update the Schedule. Do we need to bounce the Schedule manually in Scheduler?
  38. ​[1:47 PM] Harris, Nathan (TR Tech, Content & Ops)
  39. If it's by ID then I assume the automation when it starts will pull the latest proxy information on startup from the config
  40. ​[1:47 PM] Harris, Nathan (TR Tech, Content & Ops)
  41. However change to proxy for all day schedules wouldn't restart them
  42. ​[1:48 PM] Harris, Nathan (TR Tech, Content & Ops)
  43. so maybe scheduler should get notifcation of change and take action
  44. ​[1:48 PM] Harris, Nathan (TR Tech, Content & Ops)
  45. I think it's only the all day ones where we need to capture this
  46. ​[1:49 PM] Nikolaev, Viktor
  47. Yeap, so the question is - should we just restart automation (easy way), or we need to subscribe for changes in automation itself?
  48. ​[1:49 PM] Harris, Nathan (TR Tech, Content & Ops)
  49. I think we get scheduler to subscribe and do the restart of all days
  50. [1:49 PM] Harris, Nathan (TR Tech, Content & Ops)
  51. If we subscribe in automation then we may disrupt current running
  52. ​[1:50 PM] Harris, Nathan (TR Tech, Content & Ops)
  53. which probably isnt desirable
  54. ​[1:50 PM] Harris, Nathan (TR Tech, Content & Ops)
  55. although it would be cool
  56. ​[1:51 PM] Nikolaev, Viktor
  57. We won't disrupt current running as new proxy settings will be used on next http call
  58. ​[1:53 PM] Harris, Nathan (TR Tech, Content & Ops)
  59. ic OK - maybe this a better option
  60. ​[1:53 PM] Harris, Nathan (TR Tech, Content & Ops)
  61. only concern is someone changes proxy and breaks all running automatiosn
  62. ​[1:53 PM] Harris, Nathan (TR Tech, Content & Ops)
  63. I suppose risk is the same if change is made on next run
  64. ​[1:54 PM] Harris, Nathan (TR Tech, Content & Ops)
  65. I assume if the notification is delete then we ignore in automation ?
  66. ​[1:54 PM] Harris, Nathan (TR Tech, Content & Ops)
  67. or we switch to no proxy mode ?
  68. ​[1:55 PM] Nikolaev, Viktor
  69. Not sure what is better. Let's switch to no proxy. 
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement