Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-71315

Remove usages of Prototype from Qualys Web App Scanning Connector

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Minor Minor
    • qualys-was-plugin
    • None

      See this blog post for details. Prototype will eventually be removed from Jenkins core, and to prepare for this transition, this plugin must be migrated away from Prototype. The blog post contains instructions on how to find and eliminate usages of Prototype. In this plugin, the following usages of Prototype have been identified. This may not be an exhaustive list:

      ./src/main/resources/com/qualys/plugins/wasPlugin/report/ReportAction/index.jelly:202:          jQuery("#vulnerabilities").hide();
      ./src/main/resources/com/qualys/plugins/wasPlugin/report/ReportAction/index.jelly:217:          jQuery("td#vulns #vulnsCount-link").on("click", function(e){
      ./src/main/resources/com/qualys/plugins/wasPlugin/report/ReportAction/index.jelly:222:       jQuery(".left-pill-item").on("click", function(e){
      ./src/main/resources/com/qualys/plugins/wasPlugin/report/ReportAction/index.jelly:227:                          jQuery(".reports-main-content").hide();
      ./src/main/resources/com/qualys/plugins/wasPlugin/report/ReportAction/index.jelly:230:                                  jQuery("#vulnerabilities").show();
      ./src/main/resources/com/qualys/plugins/wasPlugin/report/ReportAction/index.jelly:233:                                  jQuery("#build-summary").show();
      ./src/main/resources/com/qualys/plugins/wasPlugin/WASScanBuildStep/config.jelly:260:                    if (apiServerTr.next('tr')) {
      ./src/main/resources/com/qualys/plugins/wasPlugin/WASScanBuildStep/config.jelly:261:                            apiServerTr.next('tr').style.display = 'none';
      ./src/main/resources/com/qualys/plugins/wasPlugin/WASScanBuildStep/config.jelly:267:                                    if (apiServerTr.next('tr')) {
      ./src/main/resources/com/qualys/plugins/wasPlugin/WASScanBuildStep/config.jelly:268:                                            apiServerTr.next('tr').style.display = 'table-row';
      ./src/main/resources/com/qualys/plugins/wasPlugin/WASScanBuildStep/config.jelly:272:                                    if (apiServerTr.next('tr')) {
      ./src/main/resources/com/qualys/plugins/wasPlugin/WASScanBuildStep/config.jelly:273:                                            apiServerTr.next('tr').style.display = 'none';
      ./src/main/resources/com/qualys/plugins/wasPlugin/WASScanBuildStep/config.jelly:289:                                    if (otherOptionTr.next()) {
      ./src/main/resources/com/qualys/plugins/wasPlugin/WASScanBuildStep/config.jelly:290:                                            otherOptionTr.next().style.display='table-row';
      ./src/main/resources/com/qualys/plugins/wasPlugin/WASScanBuildStep/config.jelly:294:                                    if (otherOptionTr.next()) {
      ./src/main/resources/com/qualys/plugins/wasPlugin/WASScanBuildStep/config.jelly:295:                                            otherOptionTr.next().style.display='none';
      ./src/main/resources/com/qualys/plugins/wasPlugin/WASScanBuildStep/config.jelly:302:                                    if (otherAuthTr.next()) {
      ./src/main/resources/com/qualys/plugins/wasPlugin/WASScanBuildStep/config.jelly:303:                                            otherAuthTr.next().style.display='table-row';
      ./src/main/resources/com/qualys/plugins/wasPlugin/WASScanBuildStep/config.jelly:307:                                    if (otherAuthTr.next()) {
      ./src/main/resources/com/qualys/plugins/wasPlugin/WASScanBuildStep/config.jelly:308:                                            otherAuthTr.next().style.display='none';
      ./src/main/resources/com/qualys/plugins/wasPlugin/WASScanNotifier/config.jelly:73:                      //apiServerTr.previous('tr').style.display = 'none';
      ./src/main/resources/com/qualys/plugins/wasPlugin/WASScanNotifier/config.jelly:74:                      if (apiServerTr.next('tr')) {
      ./src/main/resources/com/qualys/plugins/wasPlugin/WASScanNotifier/config.jelly:75:                              apiServerTr.next('tr').style.display = 'none';
      ./src/main/resources/com/qualys/plugins/wasPlugin/WASScanNotifier/config.jelly:81:                                      //apiServerTr.previous('tr').style.display = 'table-row';
      ./src/main/resources/com/qualys/plugins/wasPlugin/WASScanNotifier/config.jelly:82:                                      if (apiServerTr.next('tr')) {
      ./src/main/resources/com/qualys/plugins/wasPlugin/WASScanNotifier/config.jelly:83:                                              apiServerTr.next('tr').style.display = 'table-row';
      ./src/main/resources/com/qualys/plugins/wasPlugin/WASScanNotifier/config.jelly:87:                                      //apiServerTr.previous('tr').style.display = 'none';
      ./src/main/resources/com/qualys/plugins/wasPlugin/WASScanNotifier/config.jelly:88:                                      if (apiServerTr.next('tr')) {
      ./src/main/resources/com/qualys/plugins/wasPlugin/WASScanNotifier/config.jelly:89:                                              apiServerTr.next('tr').style.display = 'none';
      ./src/main/resources/com/qualys/plugins/wasPlugin/WASScanNotifier/config.jelly:96:                      if (apiServerTr.next()) {
      ./src/main/resources/com/qualys/plugins/wasPlugin/WASScanNotifier/config.jelly:97:                                      apiServerTr.next().style.display='table-row';
      ./src/main/resources/com/qualys/plugins/wasPlugin/WASScanNotifier/config.jelly:103:                     if (otherOptionTr.next()) {
      ./src/main/resources/com/qualys/plugins/wasPlugin/WASScanNotifier/config.jelly:104:                                     otherOptionTr.next().style.display='table-row';
      ./src/main/resources/com/qualys/plugins/wasPlugin/WASScanNotifier/config.jelly:110:                     if (otherAuthTr.next()) {
      ./src/main/resources/com/qualys/plugins/wasPlugin/WASScanNotifier/config.jelly:111:                                     otherAuthTr.next().style.display='table-row';
      ./src/main/resources/com/qualys/plugins/wasPlugin/WASScanNotifier/config.jelly:122:                                     if (otherOptionTr.next()) {
      ./src/main/resources/com/qualys/plugins/wasPlugin/WASScanNotifier/config.jelly:123:                                             otherOptionTr.next().style.display='table-row';
      ./src/main/resources/com/qualys/plugins/wasPlugin/WASScanNotifier/config.jelly:127:                                     if (otherOptionTr.next()) {
      ./src/main/resources/com/qualys/plugins/wasPlugin/WASScanNotifier/config.jelly:128:                                             otherOptionTr.next().style.display='none';
      ./src/main/resources/com/qualys/plugins/wasPlugin/WASScanNotifier/config.jelly:137:                                     if (otherAuthTr.next()) {
      ./src/main/resources/com/qualys/plugins/wasPlugin/WASScanNotifier/config.jelly:138:                                             otherAuthTr.next().style.display='table-row';
      ./src/main/resources/com/qualys/plugins/wasPlugin/WASScanNotifier/config.jelly:142:                                     if (otherAuthTr.next()) {
      ./src/main/resources/com/qualys/plugins/wasPlugin/WASScanNotifier/config.jelly:143:                                             otherAuthTr.next().style.display='none';
      ./src/main/resources/com/qualys/plugins/wasPlugin/WASScanNotifier/config.jelly:176:                           new Ajax.Request(checkUrl + 'getWebAppList', {
      ./src/main/resources/com/qualys/plugins/wasPlugin/WASScanNotifier/config.jelly:183:                               new Ajax.Request(checkUrl + 'getAuthRecordList', {
      ./src/main/resources/com/qualys/plugins/wasPlugin/WASScanNotifier/config.jelly:190:                               new Ajax.Request(checkUrl + 'getOptionProfileList', {
      ./src/main/webapp/js/report.js:98:     jQuery('.severity-dropdown').on('change', function(e){
      ./src/main/webapp/js/report.js:104:     jQuery(".custom-filter-checkbox").on("change", function(e){
      ./src/main/webapp/js/report.js:152:    jQuery("#sevVulns-error").hide();
      ./src/main/webapp/js/report.js:153:    jQuery("#sevVulns").show();
      ./src/main/webapp/js/report.js:154:    jQuery("#pie-legend-div").show();
      ./src/main/webapp/js/report.js:157:        jQuery("#sevVulns").hide();
      ./src/main/webapp/js/report.js:158:        jQuery("#pie-legend-div").hide();
      ./src/main/webapp/js/report.js:159:        jQuery("#sevVulns-error").show();
      

            qualys Qualys Plugins
            basil Basil Crow
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: