Skip to content

Commit

Permalink
Merge pull request #955 from akto-api-security/fix/fix_pricing_in_jira
Browse files Browse the repository at this point in the history
added interceptors for jira
  • Loading branch information
Ark2307 authored Mar 21, 2024
2 parents 1331bec + 25098cf commit 0fb464a
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions apps/dashboard/src/main/resources/struts.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2864,23 +2864,39 @@
<action name="api/testIntegration" class="com.akto.action.JiraIntegrationAction" method="testIntegration" >
<interceptor-ref name="json"/>
<interceptor-ref name="defaultStack" />
<interceptor-ref name="usageInterceptor">
<param name="featureLabel">JIRA_INTEGRATION</param>
</interceptor-ref>
<result name="SUCCESS" type="json"/>
<result name="ERROR" type="json">
<param name="statusCode">422</param>
<param name="ignoreHierarchy">false</param>
<param name="includeProperties">^actionErrors.*, ^responses.*</param>
</result>
<result name="UNAUTHORIZED" type="json">
<param name="statusCode">403</param>
<param name="ignoreHierarchy">false</param>
<param name="includeProperties">^actionErrors.*</param>
</result>
</action>

<action name="api/addIntegration" class="com.akto.action.JiraIntegrationAction" method="addIntegration" >
<interceptor-ref name="json"/>
<interceptor-ref name="defaultStack" />
<interceptor-ref name="usageInterceptor">
<param name="featureLabel">JIRA_INTEGRATION</param>
</interceptor-ref>
<result name="SUCCESS" type="json"/>
<result name="ERROR" type="json">
<param name="statusCode">422</param>
<param name="ignoreHierarchy">false</param>
<param name="includeProperties">^actionErrors.*, ^responses.*</param>
</result>
<result name="UNAUTHORIZED" type="json">
<param name="statusCode">403</param>
<param name="ignoreHierarchy">false</param>
<param name="includeProperties">^actionErrors.*</param>
</result>
</action>

<action name="api/fetchIntegration" class="com.akto.action.JiraIntegrationAction" method="fetchIntegration" >
Expand Down

0 comments on commit 0fb464a

Please sign in to comment.