Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-10258

AJAX calls getChains and getJobs have to be changed into REST actions

    XMLWordPrintable

Details

    Description

      As investigated in https://support.atlassian.com/browse/BSP-5896:

      getChains and getJobs are AJAX calls and should not execute WebWork interceptor stack. Check this out:

      curl -u admin:admin 'http://localhost:8085/chain/admin/ajax/getChains.action?planKey=CON15-SILVERCANDIDATEPACKAGING&_=1322123804442'

      2011-11-24 11:18:53,295 DEBUG [qtp2022356744-14] [UtilTimerStack] [16260ms] - com.atlassian.bamboo.ww2.interceptors.ChainAwareInterceptor.intercept
        [0ms] - ChainAwareInterceptor.intercept()
        [16260ms] - com.atlassian.bamboo.ww2.interceptors.ResultsSummaryAwareInteceptor.intercept
          [16260ms] - com.atlassian.bamboo.ww2.interceptors.BuildResultsSummaryAwareInteceptor.intercept
            [16260ms] - com.atlassian.bamboo.ww2.interceptors.NavigationAwareInterceptor.intercept
              [16230ms] - DecoratedPlan.DecoratedPlanCON15-SILVERCANDIDATEPACKAGING
                [1ms] - DecoratedStage.DecoratedStage Init
                  [1ms] - DecoratedPlan.DecoratedPlanCON15-SILVERCANDIDATEPACKAGING-INIT
                [2280ms] - DecoratedStage.DecoratedStage Pre-Package
                  [1ms] - DecoratedPlan.DecoratedPlanCON15-SILVERCANDIDATEPACKAGING-CONFLUENCECURRENT
                  [2279ms] - DecoratedPlan.DecoratedPlanCON15-SILVERCANDIDATEPACKAGING-BBFBUILD
                [11901ms] - DecoratedStage.DecoratedStage Package
                  [1426ms] - DecoratedPlan.DecoratedPlanCON15-SILVERCANDIDATEPACKAGING-SQLEXPORTMETADATAVERIFICATION
                  [303ms] - DecoratedPlan.DecoratedPlanCON15-SILVERCANDIDATEPACKAGING-SQLEXPORTBATCH1
                  [2203ms] - DecoratedPlan.DecoratedPlanCON15-SILVERCANDIDATEPACKAGING-WMUEXPORTBATCH2
                  [403ms] - DecoratedPlan.DecoratedPlanCON15-SILVERCANDIDATEPACKAGING-SQLEXPORTBATCH2
                  [1610ms] - DecoratedPlan.DecoratedPlanCON15-SILVERCANDIDATEPACKAGING-WMUEXPORTBATCH1
                  [1670ms] - DecoratedPlan.DecoratedPlanCON15-SILVERCANDIDATEPACKAGING-SQLEXPORTMETADATADEV
                  [1564ms] - DecoratedPlan.DecoratedPlanCON15-SILVERCANDIDATEPACKAGING-REVERSIONINTEGRATIONKEYS
                  [960ms] - DecoratedPlan.DecoratedPlanCON15-SILVERCANDIDATEPACKAGING-SQLEXPORTCREDENTIALVERIFICATION
                  [1762ms] - DecoratedPlan.DecoratedPlanCON15-SILVERCANDIDATEPACKAGING-BRONZE2SILVER
                [2045ms] - DecoratedStage.DecoratedStage Current Silver in JIRA
                  [2045ms] - DecoratedPlan.DecoratedPlanCON15-SILVERCANDIDATEPACKAGING-SILVERCANDIDATEJIRAS
              [2ms] - com.atlassian.bamboo.ww2.interceptors.ResultsListAwareInterceptor.intercept
                [2ms] - com.atlassian.bamboo.ww2.interceptors.StatisticsAwareInterceptor.intercept
                  [2ms] - com.atlassian.bamboo.ww2.interceptors.PaginationAwareInterceptor.intercept
                    [1ms] - com.atlassian.bamboo.ww2.interceptors.JSONValidationInterceptor.intercept
                      [0ms] - PaginationAwareInterceptor.intercept()
                      [0ms] - buildJsonObject
                        [0ms] - chainExecutionManager.getExecutingChains
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            kbrazulewicz Krystian Brazulewicz
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: