<commit_before>define(function (require) {
  'use strict';
  
  var modules = require('modules');
  var _ = require('lodash');
  
  modules.get('a4c-applications', ['ui.bootstrap']).controller('SecretCredentialsController', ['$scope', '$uibModalInstance',
    function ($scope, $uibModalInstance) {
      $scope.pluginName = $scope.deploymentTopologyDTO.secretCredentialInfos[0].pluginName;
      $scope.pluginConfigurationDescriptor = $scope.deploymentTopologyDTO.secretCredentialInfos[0].credentialDescriptor;
      $scope.pluginConfigurationValues = {};

      $scope.ok = function () {
        $uibModalInstance.close({
          pluginName: $scope.pluginName,
          credentials: $scope.pluginConfigurationValues
        });
      };
      
      $scope.cancel = function () {
        $uibModalInstance.dismiss('cancel');
      };
    }
  ]);
});<commit_msg>ALIEN-2675: generic form amelioration to handle secret credentials modal Minor fixes<commit_after>define(function (require) {
  'use strict';
  
  var modules = require('modules');
  var _ = require('lodash');
  
  modules.get('a4c-applications', ['ui.bootstrap']).controller('SecretCredentialsController', ['$scope', '$uibModalInstance',
    function ($scope, $uibModalInstance) {
      $scope.pluginName = $scope.deploymentTopologyDTO.secretCredentialInfos[0].pluginName;
      $scope.pluginConfigurationDescriptor = $scope.deploymentTopologyDTO.secretCredentialInfos[0].credentialDescriptor;
      $scope.pluginConfigurationValues = {};

      $scope.ok = function () {
        $uibModalInstance.close({
          pluginName: $scope.pluginName,
          credentials: $scope.pluginConfigurationValues
        });
      };
      
      $scope.cancel = function () {
        $uibModalInstance.close();
      };
    }
  ]);
});
{'fraction_non_alphanumeric': 0.13831567205800335, 'fraction_numerical': 0.005577244841048522, 'mean_word_length': 3.6237113402061856, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5331814', 'n_tokens_mistral': 510, 'n_tokens_neox': 507, 'n_words': 72}