-
Notifications
You must be signed in to change notification settings - Fork 190
Introduce a new API for debugging purposes #1033
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
LinukaAr
wants to merge
69
commits into
wso2:feature-connection-debug
Choose a base branch
from
LinukaAr:poc-idp-validator
base: feature-connection-debug
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
69 commits
Select commit
Hold shift + click to select a range
4eb9489
Add IdP Debug Flow Data Provider API implementation
LinukaAr a0af6e5
Implement DFDP Debug API with comprehensive debugging capabilities
LinukaAr 90687ab
Refactor codec
LinukaAr c3cb4b0
Refactor code
LinukaAr cf9ae59
Merge branch 'poc-idp-validator'
LinukaAr fc0e4a4
Remove unused files
LinukaAr 983f4a3
debug framework
LinukaAr a83b4ad
Add IdP Debug API and related models for debugging authentication flows
LinukaAr 5aa1ed5
Improve api layer for the debug service
LinukaAr 70f99d3
Merge remote-tracking branch 'origin/poc-idp-validator' into poc-idp-…
LinukaAr d8ee390
Code cleanup
LinukaAr 5eca33d
Refactor SimpleDebugService
LinukaAr a30e3ec
Move context creation
LinukaAr 34f8d04
Code cleanup
LinukaAr 4c48a94
Add new GET endpoint
LinukaAr 183acaf
Merge branch 'wso2:master' into poc-idp-validator
LinukaAr ec987ed
Code cleanup
LinukaAr f07ad23
Update version in pom.xml
LinukaAr aead54e
Update versions in pom.xml
LinukaAr 8056975
Refactor DebugService to invoke Executer methods
LinukaAr 74d240d
Refactor DebugAPI to new changes
LinukaAr 32a2c62
Enhance Debug API for Generic Resource Debugging
LinukaAr a2b28d0
Update DebugContextResolver references to DebugContextProvider
LinukaAr df95f8b
Refactor Debug API Service and Remove Unused Classes
LinukaAr 7e9168b
Rename api from idp.debug to debug
LinukaAr 76164d4
Code cleanup
LinukaAr 826a876
Merge remote-tracking branch 'origin/master' into poc-idp-validator
LinukaAr dd83888
Add debug module to the pom
LinukaAr 7e405d1
Refactor Debug API and Service: streamline methods, remove unused code
LinukaAr 4d4ff04
Refactor debugservice to use typed debugRequest and debugResponse
LinukaAr 76fcaa5
Refactor Debug API models and services: make resourceId optional
LinukaAr 7122e3a
Improve code readability and exception handling
LinukaAr e005b7d
Address review comments
LinukaAr 5474222
Remove deprecated debug API models and related configurations
LinukaAr 16058c8
Update response models, improve error handling
LinukaAr 96ab0f0
Improve error handling in DebugApiServiceImpl
LinukaAr 37be64f
Address PR comments
LinukaAr 60aed94
Update licenses header
LinukaAr 9e5fdc7
Update example values in response models
LinukaAr a05bfe3
Add properties section to POM files for FindBugs exclusion
LinukaAr 72a5c2d
Address review comments
LinukaAr 339c36e
Add minor improvements
LinukaAr 3c1fd08
Address coderabbit comments
LinukaAr c889e8f
Address review comments
LinukaAr fdb76bd
Add minor improvements
LinukaAr a212e2b
Merge remote-tracking branch 'origin' into poc-idp-validator
LinukaAr 807ddd6
Update versions in POM files
LinukaAr ad87c86
Add minor improvement
LinukaAr 212618e
Add minor improvement
LinukaAr 3d78811
Address review comments
LinukaAr 2e6407a
Address review comments
LinukaAr 4974709
Address review comments
LinukaAr 9b5501c
Update api contract
LinukaAr b91345a
Add minor improvements
LinukaAr e401073
Add minor improvement
LinukaAr 96117a2
Add minor improvement
LinukaAr b0d8a65
Address review comments
LinukaAr 02f7bde
Address review comments
LinukaAr b81692d
Add minor fixes
LinukaAr e37200a
Improve status resolution
LinukaAr 3ac51e0
Address review comments
LinukaAr 87ff93e
Update error codes in debug.yaml
LinukaAr 9c8e7af
Merge remote-tracking branch 'origin/master' into poc-idp-validator
LinukaAr fe70ecf
Address review comments
LinukaAr 5d16a03
Address review comments
LinukaAr b22962a
Address review comments
LinukaAr 53f8494
Address Review comments
LinukaAr 12e151c
Improve error handling
LinukaAr 947b536
Merge remote-tracking branch 'origin/master' into poc-idp-validator
LinukaAr File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
63 changes: 63 additions & 0 deletions
63
...carbon.identity.api.server.debug/org.wso2.carbon.identity.api.server.debug.common/pom.xml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,63 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
| <!-- | ||
| ~ Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). | ||
| ~ | ||
| ~ WSO2 LLC. licenses this file to you under the Apache License, | ||
| ~ Version 2.0 (the "License"); you may not use this file except | ||
| ~ in compliance with the License. | ||
| ~ You may obtain a copy of the License at | ||
| ~ | ||
| ~ http://www.apache.org/licenses/LICENSE-2.0 | ||
| ~ | ||
| ~ Unless required by applicable law or agreed to in writing, | ||
| ~ software distributed under the License is distributed on an | ||
| ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
| ~ KIND, either express or implied. See the License for the | ||
| ~ specific language governing permissions and limitations | ||
| ~ under the License. | ||
| --> | ||
|
|
||
| <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
|
|
||
| <parent> | ||
| <groupId>org.wso2.carbon.identity.server.api</groupId> | ||
| <artifactId>org.wso2.carbon.identity.api.server.debug</artifactId> | ||
| <version>1.5.18-SNAPSHOT</version> | ||
| <relativePath>../pom.xml</relativePath> | ||
| </parent> | ||
|
|
||
| <modelVersion>4.0.0</modelVersion> | ||
| <artifactId>org.wso2.carbon.identity.api.server.debug.common</artifactId> | ||
| <packaging>jar</packaging> | ||
| <name>WSO2 Identity Server - Debug API Common</name> | ||
| <description>WSO2 Identity Server - Common classes for Debug API</description> | ||
|
|
||
| <build> | ||
| <plugins> | ||
| <plugin> | ||
| <groupId>org.apache.maven.plugins</groupId> | ||
| <artifactId>maven-compiler-plugin</artifactId> | ||
| <version>${maven.compiler.plugin.version}</version> | ||
| <configuration> | ||
| <source>1.8</source> | ||
| <target>1.8</target> | ||
| </configuration> | ||
| </plugin> | ||
| <plugin> | ||
| <groupId>org.apache.maven.plugins</groupId> | ||
| <artifactId>maven-jar-plugin</artifactId> | ||
| <version>3.3.0</version> | ||
| </plugin> | ||
| </plugins> | ||
| </build> | ||
|
|
||
| <dependencies> | ||
| <dependency> | ||
| <groupId>org.wso2.carbon.identity.framework</groupId> | ||
| <artifactId>org.wso2.carbon.identity.debug.framework</artifactId> | ||
| <version>7.10.35</version> | ||
| <scope>provided</scope> | ||
| </dependency> | ||
| </dependencies> | ||
|
|
||
| </project> |
49 changes: 49 additions & 0 deletions
49
...on/src/main/java/org/wso2/carbon/identity/api/server/debug/common/DebugServiceHolder.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,49 @@ | ||
| /** | ||
| * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). | ||
| * | ||
| * WSO2 LLC. licenses this file to you under the Apache License, | ||
| * Version 2.0 (the "License"); you may not use this file except | ||
| * in compliance with the License. | ||
| * You may obtain a copy of the License at | ||
| * | ||
| * http://www.apache.org/licenses/LICENSE-2.0 | ||
| * | ||
| * Unless required by applicable law or agreed to in writing, | ||
| * software distributed under the License is distributed on an | ||
| * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
| * KIND, either express or implied. See the License for the | ||
| * specific language governing permissions and limitations | ||
| * under the License. | ||
| */ | ||
|
|
||
| package org.wso2.carbon.identity.api.server.debug.common; | ||
|
|
||
| import org.wso2.carbon.context.PrivilegedCarbonContext; | ||
| import org.wso2.carbon.identity.debug.framework.core.DebugRequestCoordinator; | ||
|
|
||
| /** | ||
| * Holder class for Debug Framework OSGi services. | ||
| */ | ||
| public class DebugServiceHolder { | ||
|
|
||
| private DebugServiceHolder() { | ||
|
|
||
| } | ||
|
|
||
| private static class DebugRequestCoordinatorHolder { | ||
|
|
||
| private static final DebugRequestCoordinator INSTANCE = (DebugRequestCoordinator) | ||
| PrivilegedCarbonContext.getThreadLocalCarbonContext() | ||
| .getOSGiService(DebugRequestCoordinator.class, null); | ||
| } | ||
|
|
||
| /** | ||
| * Get DebugRequestCoordinator OSGi service. | ||
| * | ||
| * @return DebugRequestCoordinator | ||
| */ | ||
| public static DebugRequestCoordinator getDebugRequestCoordinator() { | ||
|
|
||
| return DebugRequestCoordinatorHolder.INSTANCE; | ||
| } | ||
| } |
186 changes: 186 additions & 0 deletions
186
...so2.carbon.identity.api.server.debug/org.wso2.carbon.identity.api.server.debug.v1/pom.xml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,186 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
| <!-- | ||
| ~ Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). | ||
| ~ | ||
| ~ WSO2 LLC. licenses this file to you under the Apache License, | ||
| ~ Version 2.0 (the "License"); you may not use this file except | ||
| ~ in compliance with the License. | ||
| ~ You may obtain a copy of the License at | ||
| ~ | ||
| ~ http://www.apache.org/licenses/LICENSE-2.0 | ||
| ~ | ||
| ~ Unless required by applicable law or agreed to in writing, | ||
| ~ software distributed under the License is distributed on an | ||
| ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
| ~ KIND, either express or implied. See the License for the | ||
| ~ specific language governing permissions and limitations | ||
| ~ under the License. | ||
| --> | ||
|
|
||
| <project xmlns="http://maven.apache.org/POM/4.0.0" | ||
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
| xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | ||
|
|
||
| <parent> | ||
| <groupId>org.wso2.carbon.identity.server.api</groupId> | ||
| <artifactId>org.wso2.carbon.identity.api.server.debug</artifactId> | ||
| <version>1.5.18-SNAPSHOT</version> | ||
| <relativePath>../pom.xml</relativePath> | ||
| </parent> | ||
|
|
||
| <modelVersion>4.0.0</modelVersion> | ||
| <artifactId>org.wso2.carbon.identity.api.server.debug.v1</artifactId> | ||
| <packaging>jar</packaging> | ||
| <name>WSO2 Identity Server - Debug API</name> | ||
| <description>WSO2 Identity Server - Debug API v1.0</description> | ||
|
|
||
| <properties> | ||
| <maven.findbugsplugin.exclude.file>${project.basedir}/../../../findbugs-exclude-filter.xml</maven.findbugsplugin.exclude.file> | ||
| </properties> | ||
|
|
||
| <dependencies> | ||
| <dependency> | ||
| <groupId>org.wso2.carbon.identity.server.api</groupId> | ||
| <artifactId>org.wso2.carbon.identity.api.server.debug.common</artifactId> | ||
| <version>${project.version}</version> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>org.wso2.carbon.identity.server.api</groupId> | ||
| <artifactId>org.wso2.carbon.identity.api.server.common</artifactId> | ||
| <scope>provided</scope> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>org.apache.cxf</groupId> | ||
| <artifactId>cxf-rt-frontend-jaxrs</artifactId> | ||
| <scope>provided</scope> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>org.apache.cxf</groupId> | ||
| <artifactId>cxf-rt-rs-service-description</artifactId> | ||
| <scope>provided</scope> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>io.swagger</groupId> | ||
| <artifactId>swagger-jaxrs</artifactId> | ||
| <exclusions> | ||
| <exclusion> | ||
| <groupId>com.fasterxml.jackson.core</groupId> | ||
| <artifactId>jackson-databind</artifactId> | ||
| </exclusion> | ||
| <exclusion> | ||
| <groupId>com.fasterxml.jackson.core</groupId> | ||
| <artifactId>jackson-annotations</artifactId> | ||
| </exclusion> | ||
| <exclusion> | ||
| <groupId>com.fasterxml.jackson.core</groupId> | ||
| <artifactId>jackson-core</artifactId> | ||
| </exclusion> | ||
| <exclusion> | ||
| <groupId>com.fasterxml.jackson.dataformat</groupId> | ||
| <artifactId>jackson-dataformat-yaml</artifactId> | ||
| </exclusion> | ||
| <exclusion> | ||
| <groupId>javax.ws.rs</groupId> | ||
| <artifactId>jsr311-api</artifactId> | ||
| </exclusion> | ||
| <exclusion> | ||
| <groupId>com.google.guava</groupId> | ||
| <artifactId>guava</artifactId> | ||
| </exclusion> | ||
| </exclusions> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>javax.ws.rs</groupId> | ||
| <artifactId>javax.ws.rs-api</artifactId> | ||
| <scope>provided</scope> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>org.wso2.carbon.identity.framework</groupId> | ||
| <artifactId>org.wso2.carbon.identity.debug.framework</artifactId> | ||
| <version>7.10.35</version> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>commons-lang.wso2</groupId> | ||
| <artifactId>commons-lang</artifactId> | ||
| <version>2.6.0.wso2v1</version> | ||
| <scope>provided</scope> | ||
| </dependency> | ||
| </dependencies> | ||
|
|
||
| <build> | ||
| <plugins> | ||
| <plugin> | ||
| <groupId>org.apache.maven.plugins</groupId> | ||
| <artifactId>maven-compiler-plugin</artifactId> | ||
| <version>${maven.compiler.plugin.version}</version> | ||
| <configuration> | ||
| <source>21</source> | ||
| <target>21</target> | ||
|
LinukaAr marked this conversation as resolved.
|
||
| </configuration> | ||
| </plugin> | ||
| <plugin> | ||
| <groupId>org.apache.maven.plugins</groupId> | ||
| <artifactId>maven-jar-plugin</artifactId> | ||
| <version>3.3.0</version> | ||
| </plugin> | ||
|
|
||
| <!-- | ||
| <plugin> | ||
| <groupId>org.openapitools</groupId> | ||
| <artifactId>openapi-generator-maven-plugin</artifactId> | ||
| <version>4.1.2</version> | ||
| <executions> | ||
| <execution> | ||
| <goals> | ||
| <goal>generate</goal> | ||
| </goals> | ||
| <configuration> | ||
| <inputSpec>${project.basedir}/src/main/resources/debug.yaml</inputSpec> | ||
| <generatorName>org.wso2.carbon.codegen.CxfWso2Generator</generatorName> | ||
| <configOptions> | ||
| <sourceFolder>src/gen/java</sourceFolder> | ||
| <apiPackage>org.wso2.carbon.identity.api.server.debug.v1</apiPackage> | ||
| <modelPackage>org.wso2.carbon.identity.api.server.debug.v1.model</modelPackage> | ||
| <packageName>org.wso2.carbon.identity.api.server.debug.v1</packageName> | ||
| <dateLibrary>java17</dateLibrary> | ||
| <hideGenerationTimestamp>true</hideGenerationTimestamp> | ||
| <ignoreFileOverride>${project.basedir}/.openapi-generator-ignore</ignoreFileOverride> | ||
| </configOptions> | ||
| <output>.</output> | ||
| <skipOverwrite>false</skipOverwrite> | ||
| </configuration> | ||
| </execution> | ||
| </executions> | ||
| <dependencies> | ||
| <dependency> | ||
| <groupId>org.openapitools</groupId> | ||
| <artifactId>cxf-wso2-openapi-generator</artifactId> | ||
| <version>1.0.0</version> | ||
| </dependency> | ||
| </dependencies> | ||
| </plugin> | ||
| --> | ||
|
|
||
| <plugin> | ||
| <groupId>org.codehaus.mojo</groupId> | ||
| <artifactId>build-helper-maven-plugin</artifactId> | ||
| <version>1.8</version> | ||
| <executions> | ||
| <execution> | ||
| <id>add-source</id> | ||
| <phase>generate-sources</phase> | ||
| <goals> | ||
| <goal>add-source</goal> | ||
| </goals> | ||
| <configuration> | ||
| <sources> | ||
| <source>src/gen/java</source> | ||
| </sources> | ||
| </configuration> | ||
| </execution> | ||
| </executions> | ||
| </plugin> | ||
|
|
||
| </plugins> | ||
| </build> | ||
| </project> | ||
98 changes: 98 additions & 0 deletions
98
...i.server.debug.v1/src/gen/java/org/wso2/carbon/identity/api/server/debug/v1/DebugApi.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,98 @@ | ||
| /** | ||
| * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com). | ||
| * | ||
| * WSO2 LLC. licenses this file to you under the Apache License, | ||
| * Version 2.0 (the "License"); you may not use this file except | ||
| * in compliance with the License. | ||
| * You may obtain a copy of the License at | ||
| * | ||
| * http://www.apache.org/licenses/LICENSE-2.0 | ||
| * | ||
| * Unless required by applicable law or agreed to in writing, | ||
| * software distributed under the License is distributed on an | ||
| * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
| * KIND, either express or implied. See the License for the | ||
| * specific language governing permissions and limitations | ||
| * under the License. | ||
| */ | ||
|
|
||
| package org.wso2.carbon.identity.api.server.debug.v1; | ||
|
|
||
| import org.apache.cxf.jaxrs.ext.multipart.Attachment; | ||
| import org.apache.cxf.jaxrs.ext.multipart.Multipart; | ||
| import java.io.InputStream; | ||
| import java.util.List; | ||
|
|
||
| import org.wso2.carbon.identity.api.server.debug.v1.model.DebugResponse; | ||
| import org.wso2.carbon.identity.api.server.debug.v1.model.DebugResult; | ||
| import org.wso2.carbon.identity.api.server.debug.v1.model.Error; | ||
| import java.util.Map; | ||
| import org.wso2.carbon.identity.api.server.debug.v1.DebugApiService; | ||
| import org.wso2.carbon.identity.api.server.debug.v1.factories.DebugApiServiceFactory; | ||
|
|
||
| import javax.validation.Valid; | ||
| import javax.ws.rs.*; | ||
| import javax.ws.rs.core.Response; | ||
| import io.swagger.annotations.*; | ||
|
|
||
| import javax.validation.constraints.*; | ||
|
|
||
| @Path("/debug") | ||
| @Api(description = "The debug API") | ||
|
|
||
| public class DebugApi { | ||
|
|
||
| private final DebugApiService delegate; | ||
|
|
||
| public DebugApi() { | ||
|
|
||
| this.delegate = DebugApiServiceFactory.getDebugApi(); | ||
| } | ||
|
|
||
| @Valid | ||
| @GET | ||
| @Path("/{debugId}/result") | ||
|
|
||
| @Produces({ "application/json" }) | ||
| @ApiOperation(value = "Get Debug Result", notes = "Retrieves the debug results for a specific debug ID. This endpoint is primarily required for multi-step debug flows, such as Identity Provider (IDP) debugging, which involve intermediate steps. For most other resources, the initial request completes the flow and this endpoint may not be needed. <b>Scope (Permission) required:</b> ``internal_debug_mgt_view``", response = DebugResult.class, authorizations = { | ||
| @Authorization(value = "BasicAuth"), | ||
| @Authorization(value = "OAuth2", scopes = { | ||
| @AuthorizationScope(scope = "internal_debug_mgt_view", description = "View debug sessions and results") | ||
| }) | ||
| }, tags={ "Debug", }) | ||
| @ApiResponses(value = { | ||
| @ApiResponse(code = 200, message = "Debug result retrieved successfully.", response = DebugResult.class), | ||
| @ApiResponse(code = 400, message = "Bad Request", response = Error.class), | ||
| @ApiResponse(code = 401, message = "Unauthorized", response = Error.class), | ||
| @ApiResponse(code = 404, message = "Not Found", response = Error.class), | ||
| @ApiResponse(code = 500, message = "Server Error", response = Error.class) | ||
| }) | ||
| public Response getDebugResult( @Size(min=1)@ApiParam(value = "The debug session identifier.",required=true) @PathParam("debugId") String debugId) { | ||
|
|
||
| return delegate.getDebugResult(debugId ); | ||
| } | ||
|
|
||
| @Valid | ||
| @POST | ||
| @Path("/{resourceType}") | ||
| @Consumes({ "application/json" }) | ||
| @Produces({ "application/json" }) | ||
| @ApiOperation(value = "Start Debug Session", notes = "Initiates a debug session for supported resource types with configurable properties. <b>Scope (Permission) required:</b> ``internal_debug_mgt_update`` ", response = DebugResponse.class, authorizations = { | ||
| @Authorization(value = "BasicAuth"), | ||
| @Authorization(value = "OAuth2", scopes = { | ||
| @AuthorizationScope(scope = "internal_debug_mgt_update", description = "Create and manage debug sessions") | ||
| }) | ||
| }, tags={ "Debug" }) | ||
| @ApiResponses(value = { | ||
| @ApiResponse(code = 200, message = "Debug session executed successfully.", response = DebugResponse.class), | ||
| @ApiResponse(code = 400, message = "Bad Request", response = Error.class), | ||
| @ApiResponse(code = 401, message = "Unauthorized", response = Error.class), | ||
| @ApiResponse(code = 403, message = "Forbidden", response = Error.class), | ||
| @ApiResponse(code = 500, message = "Server Error", response = Error.class) | ||
| }) | ||
| public Response startDebugSession( @Size(min=1,max=50)@ApiParam(value = "Type of resource to debug. Allowed values: idp",required=true, allowableValues="idp") @PathParam("resourceType") String resourceType, @ApiParam(value = "Debug request with resource-specific properties." ) @Valid Map<String, String> requestBody) { | ||
|
|
||
| return delegate.startDebugSession(resourceType, requestBody ); | ||
| } | ||
|
|
||
| } |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.