browserstack-node-sdk 1.26.2 → 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_0x13fd22=a11_0x182d;(function(_0x1c9cb4,_0x5c44cd){var _0x3dec94=a11_0x182d,_0x597709=_0x1c9cb4();while(!![]){try{var _0x3835b6=parseInt(_0x3dec94(0xa0))/0x1+-parseInt(_0x3dec94(0xad))/0x2+-parseInt(_0x3dec94(0xc1))/0x3+-parseInt(_0x3dec94(0x97))/0x4*(-parseInt(_0x3dec94(0x96))/0x5)+-parseInt(_0x3dec94(0xbe))/0x6+parseInt(_0x3dec94(0x86))/0x7*(parseInt(_0x3dec94(0x8a))/0x8)+-parseInt(_0x3dec94(0x92))/0x9*(-parseInt(_0x3dec94(0xc4))/0xa);if(_0x3835b6===_0x5c44cd)break;else _0x597709['push'](_0x597709['shift']());}catch(_0x1dba40){_0x597709['push'](_0x597709['shift']());}}}(a11_0x295f,0x9743a),require('dotenv')['config'](),exports[a11_0x13fd22(0xa5)]=process[a11_0x13fd22(0x7b)][a11_0x13fd22(0xa5)]||a11_0x13fd22(0xa6),exports[a11_0x13fd22(0xab)]=process['env'][a11_0x13fd22(0xab)]||'api.browserstack.com',exports[a11_0x13fd22(0x7e)]=process[a11_0x13fd22(0x7b)][a11_0x13fd22(0x7e)]||a11_0x13fd22(0xc6),exports[a11_0x13fd22(0xa8)]=a11_0x13fd22(0x90)+this['AG_API_URL']+'/ws?username=<UsernamePlaceholder>&password=<PasswordPlaceholder>',exports[a11_0x13fd22(0x8b)]=a11_0x13fd22(0xba),exports[a11_0x13fd22(0x84)]=a11_0x13fd22(0xc8),exports[a11_0x13fd22(0x89)]=a11_0x13fd22(0xaf),exports[a11_0x13fd22(0x82)]=a11_0x13fd22(0x93),exports['CLUSTER_DEP_STACK_NAME']='BSTACK-ATS-CLUSTER',exports[a11_0x13fd22(0x9a)]=a11_0x13fd22(0x99));var a11_0x4c16ff={};a11_0x4c16ff[a11_0x13fd22(0x7a)]=a11_0x13fd22(0x94),a11_0x4c16ff['Value']=a11_0x13fd22(0xaa);var a11_0x1a415a={};a11_0x1a415a[a11_0x13fd22(0x7a)]=a11_0x13fd22(0xac),a11_0x1a415a[a11_0x13fd22(0xa7)]=a11_0x13fd22(0x81),exports[a11_0x13fd22(0xa4)]=[a11_0x4c16ff,a11_0x1a415a];function a11_0x182d(_0x24764f,_0x5abbbb){var _0x295f22=a11_0x295f();return a11_0x182d=function(_0x182de9,_0x557156){_0x182de9=_0x182de9-0x79;var _0x1c557c=_0x295f22[_0x182de9];return _0x1c557c;},a11_0x182d(_0x24764f,_0x5abbbb);}function a11_0x295f(){var _0x588074=['ERROR','grid','NULL','\x0aThis\x20will\x20help\x20create\x20a\x20new\x20Automation\x20grid.','INFO','cliRunFinished','WS_EVENTS','delete','\x0aThis\x20will\x20help\x20delete\x20the\x20Automation\x20grid.','credentials','cliRunStarted','Use\x20\x22browserstack-cli\x20ats\x20<command_group>\x20-h/--help\x22\x20for\x20more\x20options\x20available\x20about\x20Automate\x20{TurboScale}.','HELP_FOOTER_MESSAGE','6789990fSRoAW','\x0aCreate\x20and\x20Manage\x20scalable\x20browser\x20automation\x20grids\x20for\x20Functional\x20Testing.','GRID_URL','2141796xqJLjI','HST_CLUSTER_TAGS','[REDACTED]','416650YXNeEm','RESOURCES','grid-api.browserstack.com','connect','BrowserStackIAMUser','init','AWS_INSTANCE_TYPE_LIST','RAW_ARGS_REGEX','Key','env','LOG','global_registry','AG_API_URL','WARNING','root','BrowserStack-Automate-TurboScale','AWS','REDACTED','IAM_USER_NAME','CLI_ARGS_REGEX','7SZkomC','resourceInfo','log','DEFAULT_GRID_NAME','326072iJelMm','CP_CONFIG_FILE','info','SUCCESS','unknown','UNKNOWN','wss://','create','342FFhQqn','aws','browserstack:managedBy','./instanceTypes.json','5Yltefi','3342668dUFpRD','\x0aThis\x20command\x20will\x20take\x20you\x20through\x20the\x20initialisation\x20of\x20BrowserStack\x20CLI.','BSTACK-ATS-CLUSTER-AUTOSCALER','CLUSTER_AUTOSCALER_STACK_NAME','LINK_MESSAGE','\x0aThis\x20command\x20will\x20list\x20down\x20the\x20grids\x20created.','warning','\x0aThis\x20will\x20connect\x20the\x20grid\x20with\x20existing\x20VPC.','gridProfile','1085897KbfgUj','\x0a\x0aFind\x20more\x20information\x20at:\x20https://browserstack.com/docs/automate-turboscale/references/browserstack-cli','error','CLI_RUN_FINISHED','COMMON_HST_TAGS','DASHBOARD_ENDPOINT','grid.browserstack.com','Value','WS_ENDPOINT','gridUrl','BrowserStack','BS_API_URL','browserstack:service','2160836aUrKmi','list','high-scale-grid','\x0aThis\x20command\x20will\x20list\x20down\x20the\x20resources\x20created\x20on\x20Automate\x20{TurboScale}.'];a11_0x295f=function(){return _0x588074;};return a11_0x295f();}var a11_0x50677f={};a11_0x50677f[a11_0x13fd22(0x94)]=a11_0x13fd22(0xaa),a11_0x50677f[a11_0x13fd22(0xac)]='BrowserStack-Automate-TurboScale',exports[a11_0x13fd22(0xc2)]=a11_0x50677f,exports['SUPPORTED_CLOUD_PROVIDERS']=[this[a11_0x13fd22(0x82)]];var a11_0x552f25={};a11_0x552f25[a11_0x13fd22(0x7c)]=a11_0x13fd22(0x88),a11_0x552f25[a11_0x13fd22(0xc5)]=a11_0x13fd22(0x87),a11_0x552f25[a11_0x13fd22(0xc0)]=a11_0x13fd22(0xa9),a11_0x552f25['CLI_RUN_STARTED']=a11_0x13fd22(0xbb),a11_0x552f25[a11_0x13fd22(0xa3)]=a11_0x13fd22(0xb6),exports[a11_0x13fd22(0xb7)]=a11_0x552f25,exports[a11_0x13fd22(0x7d)]={},exports['LINK_MESSAGE']=a11_0x13fd22(0xa1);var a11_0x362c3a={};a11_0x362c3a['root']=a11_0x13fd22(0xbf)+this[a11_0x13fd22(0x9b)],a11_0x362c3a[a11_0x13fd22(0xc9)]=a11_0x13fd22(0x98)+this[a11_0x13fd22(0x9b)],a11_0x362c3a['configure']='\x0aThis\x20command\x20will\x20take\x20you\x20through\x20the\x20configuration\x20of\x20BrowserStack\x20CLI.'+this[a11_0x13fd22(0x9b)],a11_0x362c3a[a11_0x13fd22(0x91)]=a11_0x13fd22(0xb4)+this['LINK_MESSAGE'],a11_0x362c3a[a11_0x13fd22(0xae)]={},a11_0x362c3a[a11_0x13fd22(0xb8)]=a11_0x13fd22(0xb9)+this[a11_0x13fd22(0x9b)],a11_0x362c3a[a11_0x13fd22(0xc7)]=a11_0x13fd22(0x9e)+this['LINK_MESSAGE'],a11_0x362c3a[a11_0x13fd22(0xae)][a11_0x13fd22(0x80)]=a11_0x13fd22(0xb0)+this[a11_0x13fd22(0x9b)],a11_0x362c3a[a11_0x13fd22(0xae)][a11_0x13fd22(0xb2)]=a11_0x13fd22(0x9c)+this['LINK_MESSAGE'],a11_0x362c3a[a11_0x13fd22(0xae)][a11_0x13fd22(0x9f)]='\x0aThis\x20command\x20will\x20list\x20down\x20the\x20grid\x20profiles\x20created.'+this['LINK_MESSAGE'],exports['HELP_HEADER_MESSAGE']=a11_0x362c3a,exports[a11_0x13fd22(0xbd)]=a11_0x13fd22(0xbc);var a11_0x46e472={};a11_0x46e472[a11_0x13fd22(0x8d)]='success',a11_0x46e472[a11_0x13fd22(0xb1)]=a11_0x13fd22(0xa2),a11_0x46e472[a11_0x13fd22(0xb5)]=a11_0x13fd22(0x8c),a11_0x46e472[a11_0x13fd22(0x7f)]=a11_0x13fd22(0x9d),a11_0x46e472[a11_0x13fd22(0x8f)]=a11_0x13fd22(0x8e),a11_0x46e472[a11_0x13fd22(0xb3)]=null,exports['messageTypes']=a11_0x46e472,exports[a11_0x13fd22(0x85)]=/(?<=("u"|"username"|"k"|"key") *: *)"[^,}]*/g,exports[a11_0x13fd22(0x79)]=/(?<=("-u"|"-username"|"-k"|"-key") *, *)"[^,\]]*/g,exports[a11_0x13fd22(0x83)]=a11_0x13fd22(0xc3),exports[a11_0x13fd22(0xca)]=require(a11_0x13fd22(0x95));
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
- function a12_0xf534(_0x4c63a7,_0x1e4ab3){const _0x431db7=a12_0x431d();return a12_0xf534=function(_0xf534f5,_0x53c67b){_0xf534f5=_0xf534f5-0x1d6;let _0x510a40=_0x431db7[_0xf534f5];return _0x510a40;},a12_0xf534(_0x4c63a7,_0x1e4ab3);}const a12_0x3de746=a12_0xf534;(function(_0x5daa26,_0x404b40){const _0x191984=a12_0xf534,_0x43c616=_0x5daa26();while(!![]){try{const _0x4b8597=-parseInt(_0x191984(0x1e8))/0x1+parseInt(_0x191984(0x1de))/0x2+-parseInt(_0x191984(0x1e1))/0x3*(-parseInt(_0x191984(0x1ed))/0x4)+-parseInt(_0x191984(0x1d6))/0x5+-parseInt(_0x191984(0x1d9))/0x6+parseInt(_0x191984(0x1d8))/0x7+-parseInt(_0x191984(0x1ee))/0x8;if(_0x4b8597===_0x404b40)break;else _0x43c616['push'](_0x43c616['shift']());}catch(_0x54d104){_0x43c616['push'](_0x43c616['shift']());}}}(a12_0x431d,0x7ea2e));const winston=require(a12_0x3de746(0x1f3)),fs=require('fs'),path=require(a12_0x3de746(0x1ec)),logDir=a12_0x3de746(0x1f2);!fs[a12_0x3de746(0x1e7)](logDir)&&fs[a12_0x3de746(0x1e9)](logDir);const a12_0x12a2cf={};a12_0x12a2cf[a12_0x3de746(0x1eb)]=a12_0x3de746(0x1e4);const a12_0x4db5ba={};function a12_0x431d(){const _0x43d6f0=['File','5178481ReRVqp','5525658vsfKRn','colorize','printf','events.log','debug','2055034VKoUVK','usage.log','message','102QmJIme','timestamp','transports','YYYY-MM-DD\x20HH:mm:ss','createLogger','\x20-\x20','existsSync','290534dHhXPo','mkdirSync','console.info','format','path','72784zCGfEk','1836264pJDKtI','level','logger','Console','log','winston','2131260LUDPIb'];a12_0x431d=function(){return _0x43d6f0;};return a12_0x431d();}a12_0x4db5ba['level']=!![];const a12_0x138084={};a12_0x138084['name']=a12_0x3de746(0x1ea),exports[a12_0x3de746(0x1f0)]=new winston['createLogger']({'format':winston[a12_0x3de746(0x1eb)]['combine'](winston[a12_0x3de746(0x1eb)][a12_0x3de746(0x1e2)](a12_0x12a2cf),winston[a12_0x3de746(0x1eb)][a12_0x3de746(0x1da)](a12_0x4db5ba),winston[a12_0x3de746(0x1eb)][a12_0x3de746(0x1db)](_0x139021=>_0x139021[a12_0x3de746(0x1e2)]+a12_0x3de746(0x1e6)+_0x139021[a12_0x3de746(0x1ef)]+':\x20'+_0x139021[a12_0x3de746(0x1e0)])),'transports':[new winston['transports'][(a12_0x3de746(0x1f1))](a12_0x138084),new winston[(a12_0x3de746(0x1e3))][(a12_0x3de746(0x1d7))]({'filename':path['join'](logDir,a12_0x3de746(0x1dc)),'level':a12_0x3de746(0x1dd)})]});const winstonFileLoggerParams={'transports':[new winston[(a12_0x3de746(0x1e3))][(a12_0x3de746(0x1d7))]({'filename':path['join'](logDir,a12_0x3de746(0x1df)),'level':a12_0x3de746(0x1dd)})]};exports['fileLogger']=new winston[(a12_0x3de746(0x1e5))](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';const a13_0x39ddd4=a13_0x5433;(function(_0x2bb14c,_0x299d97){const _0x578ff9=a13_0x5433,_0x293ea7=_0x2bb14c();while(!![]){try{const _0x18f958=-parseInt(_0x578ff9(0x1ee))/0x1+parseInt(_0x578ff9(0x1f4))/0x2*(parseInt(_0x578ff9(0x1ec))/0x3)+-parseInt(_0x578ff9(0x1f0))/0x4+parseInt(_0x578ff9(0x1f9))/0x5*(-parseInt(_0x578ff9(0x1f8))/0x6)+-parseInt(_0x578ff9(0x1f2))/0x7+parseInt(_0x578ff9(0x1eb))/0x8+parseInt(_0x578ff9(0x1f6))/0x9;if(_0x18f958===_0x299d97)break;else _0x293ea7['push'](_0x293ea7['shift']());}catch(_0x5a1d23){_0x293ea7['push'](_0x293ea7['shift']());}}}(a13_0x265f,0x5dddb));const {HELP_FOOTER_MESSAGE,HELP_HEADER_MESSAGE}=require('./config/constants');function a13_0x265f(){const _0x280718=['1294nhFzQG','root','6905817cMJkjf','bjdBK','1055202KkDKPM','5RlvLzV','AWS_SDK_JS_SUPPRESS_MAINTENANCE_MODE_MESSAGE','1433200RPOZzw','2238oQpULT','commandDir','559664KEiWhS','exports','1172216EITiqL','demandCommand','112455yMFrtY','ZBWsB'];a13_0x265f=function(){return _0x280718;};return a13_0x265f();}process['env'][a13_0x39ddd4(0x1fa)]=0x1;function a13_0x5433(_0xf24804,_0x5c6ca8){const _0x265f91=a13_0x265f();return a13_0x5433=function(_0x5433b7,_0x5b05f6){_0x5433b7=_0x5433b7-0x1eb;let _0x5bf6f2=_0x265f91[_0x5433b7];return _0x5bf6f2;},a13_0x5433(_0xf24804,_0x5c6ca8);}function run(_0x5d1adf){const _0x5e1bf0=a13_0x39ddd4,_0x3f68cd={};_0x3f68cd[_0x5e1bf0(0x1f3)]='commands',_0x3f68cd['bjdBK']='help';const _0x235473=_0x3f68cd;_0x5d1adf['usage'](HELP_HEADER_MESSAGE[_0x5e1bf0(0x1f5)])[_0x5e1bf0(0x1ed)](_0x235473[_0x5e1bf0(0x1f3)])[_0x5e1bf0(0x1f1)]()['help'](_0x235473[_0x5e1bf0(0x1f7)])['epilogue'](HELP_FOOTER_MESSAGE);}module[a13_0x39ddd4(0x1ef)]=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
+ }