browserstack-node-sdk 1.26.3 → 1.26.4

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.
Files changed (92) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -0
  2. package/ats/src/cloudproviders/Azure.js +1 -0
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -0
  4. package/ats/src/cloudproviders/utils.js +1 -0
  5. package/ats/src/commands/configure.js +1 -1
  6. package/ats/src/commands/connect.js +1 -1
  7. package/ats/src/commands/connect_commands/grid.js +1 -1
  8. package/ats/src/commands/create.js +1 -1
  9. package/ats/src/commands/create_commands/grid.js +1 -1
  10. package/ats/src/commands/delete.js +1 -1
  11. package/ats/src/commands/delete_commands/grid.js +1 -1
  12. package/ats/src/commands/init.js +1 -1
  13. package/ats/src/commands/list.js +1 -1
  14. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  15. package/ats/src/commands/list_commands/grids.js +1 -1
  16. package/ats/src/config/constants.js +1 -1
  17. package/ats/src/config/logger.js +1 -1
  18. package/ats/src/index.js +1 -1
  19. package/ats/src/templates/azureresources/akscluster.json +127 -0
  20. package/ats/src/templates/azureresources/azureInstancetypes.json +759 -0
  21. package/ats/src/templates/azureresources/federatedidentityhub.json +50 -0
  22. package/ats/src/templates/azureresources/federatedidentitynode.json +50 -0
  23. package/ats/src/templates/azureresources/managedidentity.json +49 -0
  24. package/ats/src/templates/azureresources/storageaccount.json +92 -0
  25. package/ats/src/templates/default-service-account.yaml +5 -0
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createk8sClient.js +1 -1
  30. package/ats/src/utils/deleteStack.js +1 -1
  31. package/ats/src/utils/gridComponents.js +1 -1
  32. package/ats/src/utils/hstUtils.js +1 -1
  33. package/ats/src/utils/instrumentationUtils.js +1 -1
  34. package/ats/src/utils/userInput.js +1 -1
  35. package/ats/src/utils/utilityMethods.js +1 -1
  36. package/ats/src/utils/webSocketUtils.js +1 -1
  37. package/package.json +1 -1
  38. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  39. package/src/bin/codeceptjs/command.js +1 -1
  40. package/src/bin/cucumber-js/command.js +1 -1
  41. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  42. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  43. package/src/bin/cucumber-js/test.setup.js +1 -1
  44. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  45. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  46. package/src/bin/jest/command.js +1 -1
  47. package/src/bin/jest/customEnvironment.js +1 -1
  48. package/src/bin/jest/customTestRunnerTemplate.js +1 -1
  49. package/src/bin/jest/jest.setup.js +1 -1
  50. package/src/bin/jest/test_before.setup.js +1 -1
  51. package/src/bin/launcher/launcher.js +1 -1
  52. package/src/bin/mocha/accessibility-automation/constants.js +1 -1
  53. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  54. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  55. package/src/bin/mocha/command.js +1 -1
  56. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  57. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  58. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  59. package/src/bin/mocha/test.setup.js +1 -1
  60. package/src/bin/nightwatch/command.js +1 -1
  61. package/src/bin/playwright/command.js +1 -1
  62. package/src/bin/playwright/globalSetup.js +1 -1
  63. package/src/bin/playwright/mock-process.js +1 -1
  64. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  65. package/src/bin/playwright/reporter/reporter.js +1 -1
  66. package/src/bin/playwright/reporter/test-details.js +1 -1
  67. package/src/bin/runner.js +1 -1
  68. package/src/bin/setup.js +1 -1
  69. package/src/bin/test-runner/index.js +1 -1
  70. package/src/bin/test-runner/runTest.js +1 -1
  71. package/src/bin/test-runner/testWorker.js +1 -1
  72. package/src/bin/utils/constants.js +1 -1
  73. package/src/bin/utils/log4jsAppender.js +1 -1
  74. package/src/bin/utils/logPatcher.js +1 -1
  75. package/src/bin/utils/logReportingAPI.js +1 -1
  76. package/src/bin/vanilla-js/command.js +1 -1
  77. package/src/helpers/BrowserStackSetup.js +1 -1
  78. package/src/helpers/capsMapping.js +1 -1
  79. package/src/helpers/helper.js +1 -1
  80. package/src/helpers/logger.js +1 -1
  81. package/src/helpers/patchHelpers.js +1 -1
  82. package/src/helpers/request-spy.js +1 -1
  83. package/src/helpers/setKeepAlive.js +1 -1
  84. package/src/helpers/test-observability/constants.js +1 -1
  85. package/src/helpers/test-observability/error-handler.js +1 -1
  86. package/src/helpers/test-observability/performance-tester.js +1 -1
  87. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  88. package/src/helpers/test-observability/sessionHandler.js +1 -1
  89. package/src/helpers/test-observability/utils.js +1 -1
  90. package/src/helpers/w3cMapping.js +1 -1
  91. package/src/hubAllocationMethods.js +1 -1
  92. package/src/index.js +1 -1
@@ -1 +1 @@
1
- var a11_0x417d1d=a11_0x43de;(function(_0x3a45fd,_0x59ef3d){var _0x2d837e=a11_0x43de,_0x3b1ddd=_0x3a45fd();while(!![]){try{var _0x3da155=-parseInt(_0x2d837e(0x1d0))/0x1+-parseInt(_0x2d837e(0x206))/0x2+-parseInt(_0x2d837e(0x1da))/0x3*(-parseInt(_0x2d837e(0x20b))/0x4)+parseInt(_0x2d837e(0x200))/0x5*(-parseInt(_0x2d837e(0x1d2))/0x6)+-parseInt(_0x2d837e(0x1d8))/0x7+-parseInt(_0x2d837e(0x20e))/0x8+-parseInt(_0x2d837e(0x1e6))/0x9*(-parseInt(_0x2d837e(0x1f4))/0xa);if(_0x3da155===_0x59ef3d)break;else _0x3b1ddd['push'](_0x3b1ddd['shift']());}catch(_0x5d3df3){_0x3b1ddd['push'](_0x3b1ddd['shift']());}}}(a11_0x3df0,0x9e0f9),require(a11_0x417d1d(0x203))['config'](),exports[a11_0x417d1d(0x1c9)]=process[a11_0x417d1d(0x202)][a11_0x417d1d(0x1c9)]||a11_0x417d1d(0x1f2),exports[a11_0x417d1d(0x1c3)]=process[a11_0x417d1d(0x202)][a11_0x417d1d(0x1c3)]||a11_0x417d1d(0x1d5),exports[a11_0x417d1d(0x1ff)]=process['env'][a11_0x417d1d(0x1ff)]||'grid-api.browserstack.com',exports[a11_0x417d1d(0x1f7)]=a11_0x417d1d(0x1cb)+this[a11_0x417d1d(0x1ff)]+a11_0x417d1d(0x1fe),exports[a11_0x417d1d(0x20a)]='credentials',exports[a11_0x417d1d(0x1ec)]=a11_0x417d1d(0x1dc),exports[a11_0x417d1d(0x1fc)]=a11_0x417d1d(0x1e2),exports['AWS']='aws',exports['CLUSTER_DEP_STACK_NAME']=a11_0x417d1d(0x1cc),exports[a11_0x417d1d(0x1fd)]=a11_0x417d1d(0x1fb));var a11_0x443e44={};a11_0x443e44[a11_0x417d1d(0x209)]=a11_0x417d1d(0x1c2),a11_0x443e44[a11_0x417d1d(0x20c)]='BrowserStack';var a11_0x3c1f20={};a11_0x3c1f20[a11_0x417d1d(0x209)]=a11_0x417d1d(0x1c5),a11_0x3c1f20[a11_0x417d1d(0x20c)]=a11_0x417d1d(0x1d3),exports[a11_0x417d1d(0x1e0)]=[a11_0x443e44,a11_0x3c1f20];var a11_0x47c8b5={};function a11_0x43de(_0x4b4e25,_0x146a73){var _0x3df042=a11_0x3df0();return a11_0x43de=function(_0x43defc,_0x48f5a6){_0x43defc=_0x43defc-0x1c2;var _0x49f6dd=_0x3df042[_0x43defc];return _0x49f6dd;},a11_0x43de(_0x4b4e25,_0x146a73);}a11_0x47c8b5['browserstack:managedBy']=a11_0x417d1d(0x1ee),a11_0x47c8b5[a11_0x417d1d(0x1c5)]='BrowserStack-Automate-TurboScale',exports[a11_0x417d1d(0x1ef)]=a11_0x47c8b5,exports[a11_0x417d1d(0x1d4)]=[this[a11_0x417d1d(0x205)]];var a11_0xc1dfdf={};a11_0xc1dfdf['LOG']=a11_0x417d1d(0x1eb),a11_0xc1dfdf[a11_0x417d1d(0x1ed)]=a11_0x417d1d(0x1ca),a11_0xc1dfdf[a11_0x417d1d(0x1e9)]=a11_0x417d1d(0x1db),a11_0xc1dfdf[a11_0x417d1d(0x1c7)]=a11_0x417d1d(0x1e8),a11_0xc1dfdf[a11_0x417d1d(0x1e5)]=a11_0x417d1d(0x1d6),exports['WS_EVENTS']=a11_0xc1dfdf,exports['global_registry']={},exports['LINK_MESSAGE']='\x0a\x0aFind\x20more\x20information\x20at:\x20https://browserstack.com/docs/automate-turboscale/references/browserstack-cli';var a11_0x4b4461={};a11_0x4b4461[a11_0x417d1d(0x1f0)]='\x0aCreate\x20and\x20Manage\x20scalable\x20browser\x20automation\x20grids\x20for\x20Functional\x20Testing.'+this['LINK_MESSAGE'],a11_0x4b4461[a11_0x417d1d(0x1cd)]='\x0aThis\x20command\x20will\x20take\x20you\x20through\x20the\x20initialisation\x20of\x20BrowserStack\x20CLI.'+this[a11_0x417d1d(0x1c6)],a11_0x4b4461['configure']=a11_0x417d1d(0x1e4)+this[a11_0x417d1d(0x1c6)],a11_0x4b4461['create']=a11_0x417d1d(0x204)+this[a11_0x417d1d(0x1c6)],a11_0x4b4461[a11_0x417d1d(0x1de)]={},a11_0x4b4461[a11_0x417d1d(0x1df)]=a11_0x417d1d(0x1ce)+this['LINK_MESSAGE'],a11_0x4b4461[a11_0x417d1d(0x1f3)]='\x0aThis\x20will\x20connect\x20the\x20grid\x20with\x20existing\x20VPC.'+this['LINK_MESSAGE'],a11_0x4b4461[a11_0x417d1d(0x1de)][a11_0x417d1d(0x1f0)]=a11_0x417d1d(0x20d)+this[a11_0x417d1d(0x1c6)],a11_0x4b4461[a11_0x417d1d(0x1de)][a11_0x417d1d(0x1e7)]=a11_0x417d1d(0x1d1)+this[a11_0x417d1d(0x1c6)],a11_0x4b4461[a11_0x417d1d(0x1de)][a11_0x417d1d(0x201)]=a11_0x417d1d(0x1f5)+this[a11_0x417d1d(0x1c6)],exports[a11_0x417d1d(0x1dd)]=a11_0x4b4461,exports[a11_0x417d1d(0x207)]=a11_0x417d1d(0x1e1);var a11_0x1aa8f8={};function a11_0x3df0(){var _0x8b22e5=['BSTACK-ATS-CLUSTER-AUTOSCALER','DEFAULT_GRID_NAME','CLUSTER_AUTOSCALER_STACK_NAME','/ws?username=<UsernamePlaceholder>&password=<PasswordPlaceholder>','AG_API_URL','66655XYSKaj','gridProfile','env','dotenv','\x0aThis\x20will\x20help\x20create\x20a\x20new\x20Automation\x20grid.','AWS','1797276erobVa','HELP_FOOTER_MESSAGE','messageTypes','Key','CP_CONFIG_FILE','1000SVFiDq','Value','\x0aThis\x20command\x20will\x20list\x20down\x20the\x20resources\x20created\x20on\x20Automate\x20{TurboScale}.','9292680BcCTJa','browserstack:managedBy','BS_API_URL','SUCCESS','browserstack:service','LINK_MESSAGE','CLI_RUN_STARTED','UNKNOWN','DASHBOARD_ENDPOINT','resourceInfo','wss://','BSTACK-ATS-CLUSTER','init','\x0aThis\x20will\x20help\x20delete\x20the\x20Automation\x20grid.','AWS_INSTANCE_TYPE_LIST','1026970FeoPSF','\x0aThis\x20command\x20will\x20list\x20down\x20the\x20grids\x20created.','198lyjfYu','BrowserStack-Automate-TurboScale','SUPPORTED_CLOUD_PROVIDERS','api.browserstack.com','cliRunFinished','unknown','544894DPncZl','success','14037AZhXBJ','gridUrl','BrowserStackIAMUser','HELP_HEADER_MESSAGE','list','delete','COMMON_HST_TAGS','Use\x20\x22browserstack-cli\x20ats\x20<command_group>\x20-h/--help\x22\x20for\x20more\x20options\x20available\x20about\x20Automate\x20{TurboScale}.','high-scale-grid','INFO','\x0aThis\x20command\x20will\x20take\x20you\x20through\x20the\x20configuration\x20of\x20BrowserStack\x20CLI.','CLI_RUN_FINISHED','27743625wDiuKP','grid','cliRunStarted','GRID_URL','NULL','log','IAM_USER_NAME','RESOURCES','BrowserStack','HST_CLUSTER_TAGS','root','WARNING','grid.browserstack.com','connect','10FenhQy','\x0aThis\x20command\x20will\x20list\x20down\x20the\x20grid\x20profiles\x20created.','warning','WS_ENDPOINT','REDACTED','CLI_ARGS_REGEX','error'];a11_0x3df0=function(){return _0x8b22e5;};return a11_0x3df0();}a11_0x1aa8f8[a11_0x417d1d(0x1c4)]=a11_0x417d1d(0x1d9),a11_0x1aa8f8['ERROR']=a11_0x417d1d(0x1fa),a11_0x1aa8f8[a11_0x417d1d(0x1e3)]='info',a11_0x1aa8f8[a11_0x417d1d(0x1f1)]=a11_0x417d1d(0x1f6),a11_0x1aa8f8[a11_0x417d1d(0x1c8)]=a11_0x417d1d(0x1d7),a11_0x1aa8f8[a11_0x417d1d(0x1ea)]=null,exports[a11_0x417d1d(0x208)]=a11_0x1aa8f8,exports[a11_0x417d1d(0x1f9)]=/(?<=("u"|"username"|"k"|"key") *: *)"[^,}]*/g,exports['RAW_ARGS_REGEX']=/(?<=("-u"|"-username"|"-k"|"-key") *, *)"[^,\]]*/g,exports[a11_0x417d1d(0x1f8)]='[REDACTED]',exports[a11_0x417d1d(0x1cf)]=require('./instanceTypes.json');
1
+ var a15_0x3e0667=a15_0x370d;(function(_0x39883f,_0x3e2745){var _0x4da471=a15_0x370d,_0x46c1c6=_0x39883f();while(!![]){try{var _0x326867=parseInt(_0x4da471(0xa5))/0x1*(parseInt(_0x4da471(0xc4))/0x2)+parseInt(_0x4da471(0xee))/0x3*(-parseInt(_0x4da471(0xba))/0x4)+parseInt(_0x4da471(0xb3))/0x5+-parseInt(_0x4da471(0xeb))/0x6*(-parseInt(_0x4da471(0xcb))/0x7)+-parseInt(_0x4da471(0xec))/0x8*(-parseInt(_0x4da471(0xb8))/0x9)+parseInt(_0x4da471(0xbc))/0xa*(parseInt(_0x4da471(0xbe))/0xb)+-parseInt(_0x4da471(0xe4))/0xc;if(_0x326867===_0x3e2745)break;else _0x46c1c6['push'](_0x46c1c6['shift']());}catch(_0x3b22db){_0x46c1c6['push'](_0x46c1c6['shift']());}}}(a15_0x5688,0x389ba),require(a15_0x3e0667(0xa7))[a15_0x3e0667(0xcc)](),exports[a15_0x3e0667(0xe6)]=process[a15_0x3e0667(0xea)][a15_0x3e0667(0xe6)]||a15_0x3e0667(0xc1),exports[a15_0x3e0667(0xd0)]=process[a15_0x3e0667(0xea)][a15_0x3e0667(0xd0)]||a15_0x3e0667(0xef),exports[a15_0x3e0667(0xae)]=process[a15_0x3e0667(0xea)]['AG_API_URL']||a15_0x3e0667(0xf0),exports[a15_0x3e0667(0xa6)]=a15_0x3e0667(0xf2)+this[a15_0x3e0667(0xae)]+a15_0x3e0667(0xcd),exports['CP_CONFIG_FILE']=a15_0x3e0667(0xb4),exports[a15_0x3e0667(0xdb)]=a15_0x3e0667(0xdc),exports[a15_0x3e0667(0xe3)]=a15_0x3e0667(0xc7),exports[a15_0x3e0667(0xab)]='aws',exports[a15_0x3e0667(0xe2)]=a15_0x3e0667(0xa8),exports[a15_0x3e0667(0xc3)]='BSTACK-ATS-CLUSTER-AUTOSCALER',exports[a15_0x3e0667(0xd7)]=a15_0x3e0667(0xcf));var a15_0x573cbc={};a15_0x573cbc[a15_0x3e0667(0xb0)]='browserstack:managedBy',a15_0x573cbc[a15_0x3e0667(0xd3)]=a15_0x3e0667(0xd8);var a15_0x5d9c3d={};a15_0x5d9c3d[a15_0x3e0667(0xb0)]=a15_0x3e0667(0xac),a15_0x5d9c3d[a15_0x3e0667(0xd3)]=a15_0x3e0667(0xd9),exports[a15_0x3e0667(0xe0)]=[a15_0x573cbc,a15_0x5d9c3d];var a15_0x39a9a6={};a15_0x39a9a6['browserstack:managedBy']='BrowserStack',a15_0x39a9a6[a15_0x3e0667(0xac)]=a15_0x3e0667(0xd9),exports[a15_0x3e0667(0xe1)]=a15_0x39a9a6,exports[a15_0x3e0667(0xb5)]=[this['AWS']];var a15_0x1d432d={};a15_0x1d432d[a15_0x3e0667(0xb9)]=a15_0x3e0667(0xd1),a15_0x1d432d['RESOURCES']=a15_0x3e0667(0xbf),a15_0x1d432d[a15_0x3e0667(0xd6)]=a15_0x3e0667(0xdf),a15_0x1d432d[a15_0x3e0667(0xc0)]=a15_0x3e0667(0xde),a15_0x1d432d['CLI_RUN_FINISHED']=a15_0x3e0667(0xd5),exports[a15_0x3e0667(0xed)]=a15_0x1d432d,exports['global_registry']={},exports['LINK_MESSAGE']='\x0a\x0aFind\x20more\x20information\x20at:\x20https://browserstack.com/docs/automate-turboscale/references/browserstack-cli';var a15_0x3d51d5={};a15_0x3d51d5[a15_0x3e0667(0xbd)]='\x0aCreate\x20and\x20Manage\x20scalable\x20browser\x20automation\x20grids\x20for\x20Functional\x20Testing.'+this[a15_0x3e0667(0xdd)],a15_0x3d51d5[a15_0x3e0667(0xf1)]=a15_0x3e0667(0xaa)+this['LINK_MESSAGE'],a15_0x3d51d5[a15_0x3e0667(0xe9)]='\x0aThis\x20command\x20will\x20take\x20you\x20through\x20the\x20configuration\x20of\x20BrowserStack\x20CLI.'+this[a15_0x3e0667(0xdd)],a15_0x3d51d5['create']=a15_0x3e0667(0xc6)+this[a15_0x3e0667(0xdd)],a15_0x3d51d5[a15_0x3e0667(0xb2)]={},a15_0x3d51d5['delete']=a15_0x3e0667(0xce)+this[a15_0x3e0667(0xdd)],a15_0x3d51d5[a15_0x3e0667(0xd4)]=a15_0x3e0667(0xe8)+this[a15_0x3e0667(0xdd)],a15_0x3d51d5[a15_0x3e0667(0xb2)][a15_0x3e0667(0xbd)]=a15_0x3e0667(0xd2)+this[a15_0x3e0667(0xdd)],a15_0x3d51d5[a15_0x3e0667(0xb2)][a15_0x3e0667(0xca)]=a15_0x3e0667(0xe7)+this[a15_0x3e0667(0xdd)],a15_0x3d51d5[a15_0x3e0667(0xb2)]['gridProfile']=a15_0x3e0667(0xc5)+this[a15_0x3e0667(0xdd)],exports['HELP_HEADER_MESSAGE']=a15_0x3d51d5,exports[a15_0x3e0667(0xb1)]=a15_0x3e0667(0xda);function a15_0x370d(_0xc10e7e,_0x401b45){var _0x5688e3=a15_0x5688();return a15_0x370d=function(_0x370d7c,_0x111333){_0x370d7c=_0x370d7c-0xa5;var _0x4245b0=_0x5688e3[_0x370d7c];return _0x4245b0;},a15_0x370d(_0xc10e7e,_0x401b45);}function a15_0x5688(){var _0x83ca8c=['CLI_RUN_STARTED','grid.browserstack.com','error','CLUSTER_AUTOSCALER_STACK_NAME','2MymWbT','\x0aThis\x20command\x20will\x20list\x20down\x20the\x20grid\x20profiles\x20created.','\x0aThis\x20will\x20help\x20create\x20a\x20new\x20Automation\x20grid.','high-scale-grid','NULL','success','grid','28343YlnwUW','config','/ws?username=<UsernamePlaceholder>&password=<PasswordPlaceholder>','\x0aThis\x20will\x20help\x20delete\x20the\x20Automation\x20grid.','azure','BS_API_URL','log','\x0aThis\x20command\x20will\x20list\x20down\x20the\x20resources\x20created\x20on\x20Automate\x20{TurboScale}.','Value','connect','cliRunFinished','GRID_URL','AZURE','BrowserStack','BrowserStack-Automate-TurboScale','Use\x20\x22browserstack-cli\x20ats\x20<command_group>\x20-h/--help\x22\x20for\x20more\x20options\x20available\x20about\x20Automate\x20{TurboScale}.','IAM_USER_NAME','BrowserStackIAMUser','LINK_MESSAGE','cliRunStarted','gridUrl','COMMON_HST_TAGS','HST_CLUSTER_TAGS','CLUSTER_DEP_STACK_NAME','DEFAULT_GRID_NAME','16994412LWHtPG','WARNING','DASHBOARD_ENDPOINT','\x0aThis\x20command\x20will\x20list\x20down\x20the\x20grids\x20created.','\x0aThis\x20will\x20connect\x20the\x20grid\x20with\x20existing\x20VPC.','configure','env','498uLekSP','400096CPoGFE','WS_EVENTS','8763Yrjxxk','api.browserstack.com','grid-api.browserstack.com','init','wss://','warning','432868wbeUyX','WS_ENDPOINT','dotenv','BSTACK-ATS-CLUSTER','ERROR','\x0aThis\x20command\x20will\x20take\x20you\x20through\x20the\x20initialisation\x20of\x20BrowserStack\x20CLI.','AWS','browserstack:service','REDACTED','AG_API_URL','./instanceTypes.json','Key','HELP_FOOTER_MESSAGE','list','1475510IlKUKY','credentials','SUPPORTED_CLOUD_PROVIDERS','RAW_ARGS_REGEX','INFO','63UxkSiC','LOG','104mCUFbr','AWS_INSTANCE_TYPE_LIST','20DXNiOF','root','1704406luOCoZ','resourceInfo'];a15_0x5688=function(){return _0x83ca8c;};return a15_0x5688();}var a15_0x2a4a8e={};a15_0x2a4a8e['SUCCESS']=a15_0x3e0667(0xc9),a15_0x2a4a8e[a15_0x3e0667(0xa9)]=a15_0x3e0667(0xc2),a15_0x2a4a8e[a15_0x3e0667(0xb7)]='info',a15_0x2a4a8e[a15_0x3e0667(0xe5)]=a15_0x3e0667(0xf3),a15_0x2a4a8e['UNKNOWN']='unknown',a15_0x2a4a8e[a15_0x3e0667(0xc8)]=null,exports['messageTypes']=a15_0x2a4a8e,exports['CLI_ARGS_REGEX']=/(?<=("u"|"username"|"k"|"key") *: *)"[^,}]*/g,exports[a15_0x3e0667(0xb6)]=/(?<=("-u"|"-username"|"-k"|"-key") *, *)"[^,\]]*/g,exports[a15_0x3e0667(0xad)]='[REDACTED]',exports[a15_0x3e0667(0xbb)]=require(a15_0x3e0667(0xaf)),exports['AZURE_INSTANCE_TYPE_LIST']=require('../templates/azureresources/azureInstancetypes.json');
@@ -1 +1 @@
1
- const a12_0x234667=a12_0x3824;(function(_0x25cd9e,_0x3905e6){const _0x201be4=a12_0x3824,_0x9558f2=_0x25cd9e();while(!![]){try{const _0x15b986=-parseInt(_0x201be4(0xeb))/0x1+parseInt(_0x201be4(0xd3))/0x2+parseInt(_0x201be4(0xd5))/0x3*(parseInt(_0x201be4(0xea))/0x4)+-parseInt(_0x201be4(0xd1))/0x5+parseInt(_0x201be4(0xec))/0x6+parseInt(_0x201be4(0xe7))/0x7+parseInt(_0x201be4(0xd2))/0x8*(-parseInt(_0x201be4(0xe9))/0x9);if(_0x15b986===_0x3905e6)break;else _0x9558f2['push'](_0x9558f2['shift']());}catch(_0x26ca4a){_0x9558f2['push'](_0x9558f2['shift']());}}}(a12_0x2934,0x1a2df));const winston=require(a12_0x234667(0xdf)),fs=require('fs'),path=require(a12_0x234667(0xe0)),logDir='log';!fs[a12_0x234667(0xe5)](logDir)&&fs['mkdirSync'](logDir);const a12_0x550779={};function a12_0x3824(_0x4b7d8d,_0x3c4246){const _0x293483=a12_0x2934();return a12_0x3824=function(_0x382482,_0x294296){_0x382482=_0x382482-0xce;let _0x2661fe=_0x293483[_0x382482];return _0x2661fe;},a12_0x3824(_0x4b7d8d,_0x3c4246);}a12_0x550779[a12_0x234667(0xd0)]=a12_0x234667(0xd6);const a12_0x83e8c={};a12_0x83e8c[a12_0x234667(0xe6)]=!![];function a12_0x2934(){const _0x1cc277=['11560rMzavd','765198QUcXDh','File','fileLogger','format','329690SHGvjs','1513040jvdSOq','420538qJcjJg','events.log','3588uwmWAj','YYYY-MM-DD\x20HH:mm:ss','usage.log','timestamp','Console','message','console.info','logger','transports','join','winston','path','createLogger','combine','debug','name','existsSync','level','186557wfaviU','\x20-\x20','18ebvTXS','664ClQyMA'];a12_0x2934=function(){return _0x1cc277;};return a12_0x2934();}const a12_0x5f0081={};a12_0x5f0081[a12_0x234667(0xe4)]=a12_0x234667(0xdb),exports[a12_0x234667(0xdc)]=new winston[(a12_0x234667(0xe1))]({'format':winston[a12_0x234667(0xd0)][a12_0x234667(0xe2)](winston[a12_0x234667(0xd0)][a12_0x234667(0xd8)](a12_0x550779),winston[a12_0x234667(0xd0)]['colorize'](a12_0x83e8c),winston[a12_0x234667(0xd0)]['printf'](_0xd0133f=>_0xd0133f[a12_0x234667(0xd8)]+a12_0x234667(0xe8)+_0xd0133f[a12_0x234667(0xe6)]+':\x20'+_0xd0133f[a12_0x234667(0xda)])),'transports':[new winston[(a12_0x234667(0xdd))][(a12_0x234667(0xd9))](a12_0x5f0081),new winston[(a12_0x234667(0xdd))][(a12_0x234667(0xce))]({'filename':path[a12_0x234667(0xde)](logDir,a12_0x234667(0xd4)),'level':a12_0x234667(0xe3)})]});const winstonFileLoggerParams={'transports':[new winston['transports'][(a12_0x234667(0xce))]({'filename':path[a12_0x234667(0xde)](logDir,a12_0x234667(0xd7)),'level':'debug'})]};exports[a12_0x234667(0xcf)]=new winston[(a12_0x234667(0xe1))](winstonFileLoggerParams);
1
+ function a16_0x4283(_0x53b1bd,_0x56b214){const _0x259aa9=a16_0x259a();return a16_0x4283=function(_0x42834b,_0x26def7){_0x42834b=_0x42834b-0x121;let _0x19efc6=_0x259aa9[_0x42834b];return _0x19efc6;},a16_0x4283(_0x53b1bd,_0x56b214);}const a16_0x3b8875=a16_0x4283;(function(_0x204bb1,_0x315451){const _0x4cb0cd=a16_0x4283,_0xc63bc7=_0x204bb1();while(!![]){try{const _0x49a9ba=-parseInt(_0x4cb0cd(0x138))/0x1+parseInt(_0x4cb0cd(0x12b))/0x2+-parseInt(_0x4cb0cd(0x12d))/0x3+parseInt(_0x4cb0cd(0x133))/0x4*(-parseInt(_0x4cb0cd(0x13d))/0x5)+-parseInt(_0x4cb0cd(0x13a))/0x6+-parseInt(_0x4cb0cd(0x128))/0x7*(-parseInt(_0x4cb0cd(0x12a))/0x8)+-parseInt(_0x4cb0cd(0x130))/0x9*(-parseInt(_0x4cb0cd(0x13b))/0xa);if(_0x49a9ba===_0x315451)break;else _0xc63bc7['push'](_0xc63bc7['shift']());}catch(_0x521da8){_0xc63bc7['push'](_0xc63bc7['shift']());}}}(a16_0x259a,0x217ca));const winston=require(a16_0x3b8875(0x132)),fs=require('fs'),path=require(a16_0x3b8875(0x134)),logDir=a16_0x3b8875(0x129);function a16_0x259a(){const _0x460589=['96oqNhVg','27422yTsOVq','YYYY-MM-DD\x20HH:mm:ss','568677BwicEK','combine','name','45QUioMj','createLogger','winston','79412QGRApa','path','existsSync','File','debug','143805yKgdNK','usage.log','1283604EqVVqJ','1459750WJdslO','events.log','50ZMIzpj','timestamp','level','printf','join','transports','format','mkdirSync','81319xWZnCB','log'];a16_0x259a=function(){return _0x460589;};return a16_0x259a();}!fs[a16_0x3b8875(0x135)](logDir)&&fs[a16_0x3b8875(0x127)](logDir);const a16_0x4bd715={};a16_0x4bd715[a16_0x3b8875(0x126)]=a16_0x3b8875(0x12c);const a16_0x3c478e={};a16_0x3c478e[a16_0x3b8875(0x122)]=!![];const a16_0x5e8285={};a16_0x5e8285[a16_0x3b8875(0x12f)]='console.info',exports['logger']=new winston[(a16_0x3b8875(0x131))]({'format':winston[a16_0x3b8875(0x126)][a16_0x3b8875(0x12e)](winston[a16_0x3b8875(0x126)]['timestamp'](a16_0x4bd715),winston[a16_0x3b8875(0x126)]['colorize'](a16_0x3c478e),winston[a16_0x3b8875(0x126)][a16_0x3b8875(0x123)](_0x573511=>_0x573511[a16_0x3b8875(0x121)]+'\x20-\x20'+_0x573511[a16_0x3b8875(0x122)]+':\x20'+_0x573511['message'])),'transports':[new winston[(a16_0x3b8875(0x125))]['Console'](a16_0x5e8285),new winston[(a16_0x3b8875(0x125))]['File']({'filename':path[a16_0x3b8875(0x124)](logDir,a16_0x3b8875(0x13c)),'level':a16_0x3b8875(0x137)})]});const winstonFileLoggerParams={'transports':[new winston['transports'][(a16_0x3b8875(0x136))]({'filename':path[a16_0x3b8875(0x124)](logDir,a16_0x3b8875(0x139)),'level':a16_0x3b8875(0x137)})]};exports['fileLogger']=new winston[(a16_0x3b8875(0x131))](winstonFileLoggerParams);
package/ats/src/index.js CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a13_0x2cca(_0x55ea54,_0x33d7d6){const _0x5541b5=a13_0x5541();return a13_0x2cca=function(_0x2ccafe,_0x2d488d){_0x2ccafe=_0x2ccafe-0x19a;let _0x161bdf=_0x5541b5[_0x2ccafe];return _0x161bdf;},a13_0x2cca(_0x55ea54,_0x33d7d6);}const a13_0x4377d6=a13_0x2cca;(function(_0x41878f,_0x58b183){const _0x549163=a13_0x2cca,_0x28cdc5=_0x41878f();while(!![]){try{const _0xfdbdd9=parseInt(_0x549163(0x19e))/0x1+parseInt(_0x549163(0x1a0))/0x2*(-parseInt(_0x549163(0x1a2))/0x3)+parseInt(_0x549163(0x1ac))/0x4*(parseInt(_0x549163(0x19b))/0x5)+parseInt(_0x549163(0x1a6))/0x6*(-parseInt(_0x549163(0x1a4))/0x7)+parseInt(_0x549163(0x1ab))/0x8*(parseInt(_0x549163(0x1aa))/0x9)+-parseInt(_0x549163(0x1ad))/0xa+parseInt(_0x549163(0x1a5))/0xb;if(_0xfdbdd9===_0x58b183)break;else _0x28cdc5['push'](_0x28cdc5['shift']());}catch(_0x2ea13a){_0x28cdc5['push'](_0x28cdc5['shift']());}}}(a13_0x5541,0x5fe7f));const {HELP_FOOTER_MESSAGE,HELP_HEADER_MESSAGE}=require(a13_0x4377d6(0x19f));function a13_0x5541(){const _0x44bb45=['55192TzVWNu','usage','66ceuUpz','epilogue','49qbXSUD','7003579ClLVBE','278544cELlCp','VCAHU','commands','env','4616649VmOJJE','8XdzedI','141580xvcWeV','7383420cxrkzZ','xGqoH','25AqFnfp','demandCommand','help','736628QLDkPA','./config/constants'];a13_0x5541=function(){return _0x44bb45;};return a13_0x5541();}process[a13_0x4377d6(0x1a9)]['AWS_SDK_JS_SUPPRESS_MAINTENANCE_MODE_MESSAGE']=0x1;function run(_0x665ec4){const _0x5c4da9=a13_0x4377d6,_0x1fad1e={};_0x1fad1e[_0x5c4da9(0x1a7)]=_0x5c4da9(0x1a8),_0x1fad1e[_0x5c4da9(0x19a)]='help';const _0x30ecb6=_0x1fad1e;_0x665ec4[_0x5c4da9(0x1a1)](HELP_HEADER_MESSAGE['root'])['commandDir'](_0x30ecb6[_0x5c4da9(0x1a7)])[_0x5c4da9(0x19c)]()[_0x5c4da9(0x19d)](_0x30ecb6[_0x5c4da9(0x19a)])[_0x5c4da9(0x1a3)](HELP_FOOTER_MESSAGE);}module['exports']=run;
2
+ 'use strict';const a17_0x43e179=a17_0x59dc;(function(_0xb41a18,_0x31b6c1){const _0x3d874b=a17_0x59dc,_0x38be89=_0xb41a18();while(!![]){try{const _0x45988f=-parseInt(_0x3d874b(0x1fa))/0x1*(-parseInt(_0x3d874b(0x1f0))/0x2)+-parseInt(_0x3d874b(0x1fd))/0x3*(-parseInt(_0x3d874b(0x1f8))/0x4)+-parseInt(_0x3d874b(0x1f4))/0x5+-parseInt(_0x3d874b(0x1fc))/0x6*(parseInt(_0x3d874b(0x1f1))/0x7)+parseInt(_0x3d874b(0x1f5))/0x8+parseInt(_0x3d874b(0x1f6))/0x9+-parseInt(_0x3d874b(0x1fb))/0xa;if(_0x45988f===_0x31b6c1)break;else _0x38be89['push'](_0x38be89['shift']());}catch(_0x144ea6){_0x38be89['push'](_0x38be89['shift']());}}}(a17_0x4b59,0xa1f11));function a17_0x59dc(_0x58584e,_0xb943a9){const _0x4b591e=a17_0x4b59();return a17_0x59dc=function(_0x59dc22,_0xf5e7a1){_0x59dc22=_0x59dc22-0x1eb;let _0xd3827d=_0x4b591e[_0x59dc22];return _0xd3827d;},a17_0x59dc(_0x58584e,_0xb943a9);}const {HELP_FOOTER_MESSAGE,HELP_HEADER_MESSAGE}=require(a17_0x43e179(0x1f9));process[a17_0x43e179(0x1ed)][a17_0x43e179(0x1ee)]=0x1;function a17_0x4b59(){const _0x577734=['308iaKZLF','./config/constants','10bEiIIy','10332110MwDFbm','5866494QKDuvo','15945Jkjhsq','NVppI','root','env','AWS_SDK_JS_SUPPRESS_MAINTENANCE_MODE_MESSAGE','exports','262058zRxJZt','7PvFLWB','demandCommand','epilogue','2257270zSTmuS','8755760BQhAGF','2805408QDHrep','oDzBZ'];a17_0x4b59=function(){return _0x577734;};return a17_0x4b59();}function run(_0x49ab0c){const _0x142b8e=a17_0x43e179,_0xff9ed0={};_0xff9ed0[_0x142b8e(0x1f7)]='commands',_0xff9ed0[_0x142b8e(0x1eb)]='help';const _0x55834c=_0xff9ed0;_0x49ab0c['usage'](HELP_HEADER_MESSAGE[_0x142b8e(0x1ec)])['commandDir'](_0x55834c[_0x142b8e(0x1f7)])[_0x142b8e(0x1f2)]()['help'](_0x55834c[_0x142b8e(0x1eb)])[_0x142b8e(0x1f3)](HELP_FOOTER_MESSAGE);}module[a17_0x43e179(0x1ef)]=run;
@@ -0,0 +1,127 @@
1
+ {
2
+ "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
3
+ "contentVersion": "1.0.0.0",
4
+ "parameters": {
5
+ "clusterName": {
6
+ "type": "string",
7
+ "metadata": {
8
+ "description": "The name of the Managed Cluster resource."
9
+ }
10
+ },
11
+ "location": {
12
+ "type": "string",
13
+ "metadata": {
14
+ "description": "The location of AKS resource."
15
+ }
16
+ },
17
+ "userInstanceType": {
18
+ "type": "string",
19
+ "defaultValue": "Standard_D8_v5",
20
+ "metadata": {
21
+ "description": "Disk size (in GiB) to provision for each of the agent pool nodes. This value ranges from 0 to 1023. Specifying 0 will apply the default disk size for that agentVMSize."
22
+ }
23
+ },
24
+ "osDiskSizeGB": {
25
+ "type": "int",
26
+ "defaultValue": 30,
27
+ "metadata": {
28
+ "description": "Disk size (in GiB) to provision for each of the agent pool nodes. This value ranges from 0 to 1023. Specifying 0 will apply the default disk size for that agentVMSize."
29
+ }
30
+ },
31
+ "userMaxNodes": {
32
+ "type": "int",
33
+ "defaultValue": 1,
34
+ "metadata": {
35
+ "description": "Disk size (in GiB) to provision for each of the agent pool nodes. This value ranges from 0 to 1023. Specifying 0 will apply the default disk size for that agentVMSize."
36
+ }
37
+ }
38
+ },
39
+ "resources": [
40
+ {
41
+ "apiVersion": "2023-04-01",
42
+ "dependsOn": [],
43
+ "type": "Microsoft.ContainerService/managedClusters",
44
+ "location": "[parameters('location')]",
45
+ "name": "[parameters('clusterName')]",
46
+ "properties": {
47
+ "dnsPrefix": "[concat(parameters('clusterName'), '-dns')]",
48
+ "kubernetesVersion": "1.26.6",
49
+ "enableRBAC": true,
50
+ "agentPoolProfiles": [
51
+ {
52
+ "name": "agentpool",
53
+ "osDiskSizeGB": "[parameters('osDiskSizeGB')]",
54
+ "count": 1,
55
+ "enableAutoScaling": true,
56
+ "minCount": 1,
57
+ "maxCount": "[parameters('userMaxNodes')]",
58
+ "vmSize": "[parameters('userInstanceType')]",
59
+ "osType": "Linux",
60
+ "storageProfile": "ManagedDisks",
61
+ "type": "VirtualMachineScaleSets",
62
+ "mode": "System",
63
+ "maxPods": 100,
64
+ "availabilityZones": [
65
+ "1",
66
+ "2",
67
+ "3"
68
+ ],
69
+ "enableNodePublicIP": false,
70
+ "tags": {
71
+ "browserstack:managedBy": "BrowserStack"
72
+ }
73
+ }
74
+ ],
75
+ "networkProfile": {
76
+ "loadBalancerSku": "standard",
77
+ "networkPlugin": "kubenet",
78
+ "networkPolicy": "calico"
79
+ },
80
+ "autoUpgradeProfile": {
81
+ "upgradeChannel": "none"
82
+ },
83
+ "disableLocalAccounts": false,
84
+ "aadProfile": {
85
+ "managed": true,
86
+ "adminGroupObjectIDs": [],
87
+ "enableAzureRBAC": true
88
+ },
89
+ "apiServerAccessProfile": {
90
+ "enablePrivateCluster": false
91
+ },
92
+ "addonProfiles": {
93
+ "azurepolicy": {
94
+ "enabled": false
95
+ },
96
+ "azureKeyvaultSecretsProvider": {
97
+ "enabled": false,
98
+ "config": null
99
+ }
100
+ },
101
+ "oidcIssuerProfile": {
102
+ "enabled": true
103
+ },
104
+ "securityProfile": {
105
+ "workloadIdentity": {
106
+ "enabled": true
107
+ }
108
+ },
109
+ "upgradePolicy": {
110
+ "automaticOSUpgradePolicy": {
111
+ "enableAutomaticOSUpgrade": false
112
+ }
113
+ }
114
+ },
115
+ "tags": {
116
+ "browserstack:managedBy": "BrowserStack"
117
+ },
118
+ "sku": {
119
+ "name": "Base",
120
+ "tier": "Standard"
121
+ },
122
+ "identity": {
123
+ "type": "SystemAssigned"
124
+ }
125
+ }
126
+ ]
127
+ }