instance_id stringlengths 10 65 | repo stringlengths 5 59 | pr_number int64 1 313k | task_type stringclasses 1
value | base_commit stringlengths 40 40 | review_commit stringlengths 40 40 | title stringlengths 2 282 | body stringlengths 7 3k | patch stringlengths 202 204k | n_defects int64 1 72 | n_supported int64 1 65 | n_major int64 0 32 | defects stringlengths 140 18.8k | certifier_count int64 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
worldcoin__world-id-protocol__640 | worldcoin/world-id-protocol | 640 | defect | 70b29ae5a2878609a465cdf89868a550689a46af | e06ca3b481a0083238567720777f3f32c7b6393a | feat: proof orchestration | ### Motivation
We had a mix of concerns before between the core authenticator crate and the platform-specific SDKs (https://github.com/worldcoin/walletkit). This now properly delegates proof request parsing and resolution to the core authenticator crate. The SDKs responsibilities are: storing and providing the crede... | diff --git a/crates/authenticator/src/authenticator.rs b/crates/authenticator/src/authenticator.rs
index 56da72529..7d69b1b9a 100644
--- a/crates/authenticator/src/authenticator.rs
+++ b/crates/authenticator/src/authenticator.rs
@@ -12,7 +12,8 @@ use crate::api_types::{
ServiceApiError, UpdateAuthenticatorRequest,... | 1 | 1 | 0 | [{"id": "G0", "claim": "`proof_request.session_id` is `.expect()`-ed twice in consecutive lines and the result of the first call should be stored in a local variable and reused, avoiding the redundant unwrap and improving readability.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "... | null |
worldcoin__world-id-protocol__738 | worldcoin/world-id-protocol | 738 | defect | a9fe4104845ee67cf82704a364a7c001f4f44d01 | c9b257e3ec8081cb9449fc539e461c7a8ff638fb | fix: Improve Registry Version Probe | <!-- CURSOR_SUMMARY -->
> [!NOTE]
> **Medium Risk**
> Changes startup-time registry probing behavior by defaulting to `V1` on any failure of the V2-only selector (after a baseline call succeeds), which could mask unexpected contract/provider errors and alter how misconfigurations surface.
>
> **Overview**
> Improves t... | diff --git a/services/gateway/src/registry_version.rs b/services/gateway/src/registry_version.rs
index 9a3e7656c..b36126a27 100644
--- a/services/gateway/src/registry_version.rs
+++ b/services/gateway/src/registry_version.rs
@@ -4,17 +4,12 @@
use std::sync::Arc;
-use alloy::{contract::Error as ContractError, primi... | 3 | 1 | 0 | [{"id": "G0", "claim": "The new catch-all `Err(err) => Ok(RegistryVersion::V1)` branch treats every failure of the V2-only selector as V1 — including transient RPC/provider errors that hit after the baseline call succeeded — so a real V2 deployment can be silently downgraded to V1 for its lifetime instead of surfacing ... | null |
wowsims__tbc__475 | wowsims/tbc | 475 | defect | 84c8006b134131acd2076b0457d84bad4214edbb | 016664235879f3a3fb18b3c2ac0d69e1f52f4917 | vigo/normalizedWeaponDamage | [build-system] macOS is using a BSD sed by default, which has incompatible options; slightly simplified sed's regular expression
[core] Weapon now has a NormalizedSwingSpeed field, and a corresponding calculateNormalizedWeaponDamage();WeaponDamageInput has a Normalized field, specifying whether normalized or non-nor... | diff --git a/makefile b/makefile
index b5f08e72c..4590fcba2 100644
--- a/makefile
+++ b/makefile
@@ -4,6 +4,12 @@ rwildcard=$(foreach d,$(wildcard $(1:=/*)),$(call rwildcard,$d,$2) $(filter $(su
OUT_DIR=dist/tbc
GOROOT:=$(shell go env GOROOT)
+ifeq ($(shell go env GOOS),darwin)
+ SED:=sed -i "" -E -e
+else
+ ... | 3 | 1 | 1 | [{"id": "G0", "claim": "The pull request removes the line scaling backstab's FlatDamageBonus for Sinister Calling, and it doesn't seem like this adjustment is replaced anywhere else.", "category": "correctness", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The newly added `cast... | null |
wowsims__tbc__492 | wowsims/tbc | 492 | defect | db9e418cdc1ac05ae4daf60e257cbd0544860665 | ef4d51969a91c2c5d0ca11497221204b8683b001 | [smite] rotation update, preset gear, power infusion | Added P1-P5 presets
Fixed sanct aura to apply buff if not improved
Added checkbox options to add mind blast and SW:death to rotation (are DPS loss, exists to prove to not use)
Implemented focused power talent
Tried implementing Power Infusion correctly, uncertain | diff --git a/proto/priest.proto b/proto/priest.proto
index 63998652c..c66f38c53 100644
--- a/proto/priest.proto
+++ b/proto/priest.proto
@@ -3,6 +3,8 @@ package proto;
option go_package = "./proto";
+import "common.proto";
+
message PriestTalents {
// Discipline
int32 wand_specialization = 1;
@@ -78,7 +80,9... | 5 | 5 | 1 | [{"id": "G0", "claim": "The CanActivate hook of the Power Infusion cooldown should check conditions that absolutely prevent the cast (the casting priest having enough mana for the spell), while conditions that are merely good for ideal usage belong in ShouldActivate, instead of the hooks returning true unconditionally ... | null |
wowsims__tbc__61 | wowsims/tbc | 61 | defect | 97953901a7cf35f0603dee4d4d09b327726b14d1 | b6a9bb9520bed0467305b35c14d1ec01b9cde0cd | Raid Sim API call. | To implement this I had to make a few design changes:
- Moved raid/party/individual buffs to be on the raid/party/player protos.
- Refactored presim logic entirely to be managed by the Sim.
- Merged Player/PlayerOptions protos (this was not mandatory, just wanted to do it).
Also renamed custom_stats --> bonu... | diff --git a/proto/api.proto b/proto/api.proto
index 14e42b341..29ce784b8 100644
--- a/proto/api.proto
+++ b/proto/api.proto
@@ -14,37 +14,39 @@ import "shaman.proto";
import "warlock.proto";
import "warrior.proto";
-message PlayerOptions {
+message Player {
Race race = 1;
Class class = 2;
- oneof sp... | 1 | 1 | 1 | [{"id": "G0", "claim": "GetPresimOptions should be moved out of the mandatory Agent interface into a separate interface, so that only agents that want presim support have to implement it.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
wowsims__tbc__636 | wowsims/tbc | 636 | defect | 06c688542387b022e0ba36034f249cfe1f7a0c51 | 35bace4b48470406c3274b1bb5a3bf81037784dd | Ret rotation | Implemented foundation of ret rotation logic, fixed some bugs with paladin spells, added functionality for libram of avengement, minor UI changes, made ret unit tests. | diff --git a/sim/core/character.go b/sim/core/character.go
index b5818ce02..b46d8b4eb 100644
--- a/sim/core/character.go
+++ b/sim/core/character.go
@@ -314,7 +314,7 @@ func (character *Character) InitialCastSpeed() float64 {
}
func (character *Character) SpellGCD() time.Duration {
- return MinDuration(GCDMin, time... | 3 | 3 | 1 | [{"id": "G0", "claim": "registerJudgementOfBloodSpell should use the core.NewTemporaryStatsAura helper instead of hand-rolling the Libram of Avengement aura, whose OnGain/OnExpire incorrectly modify BonusMeleeCritRating as an attacker PseudoStat when it is a target PseudoStat and so would have no effect; and the aura s... | null |
wowsims__wotlk__1480 | wowsims/wotlk | 1,480 | defect | 4667d6e9b43b8352aac4d6749b5e6b4297789fee | d6d0da3173297f16c03b326de9793644f40e3e8e | Simplified resists | [core] partial resistance thresholds are no longer cached, which simplifies things in quite a few places (notably, DefenseTables can be removed, and processDynamicBonus() is slimmer)
[core] ResistanceMultiplier() now panics when encountering spells with SpellSchoolNone
[core] binary(-like) spells (Thorns and Ret... | diff --git a/sim/core/environment.go b/sim/core/environment.go
index 0d08106163..f8779aa6de 100644
--- a/sim/core/environment.go
+++ b/sim/core/environment.go
@@ -149,18 +149,10 @@ func (env *Environment) setupAttackTables() {
return
}
- for _, unit := range env.AllUnits {
- unit.AttackTables = make([]*AttackTa... | 1 | 1 | 0 | [{"id": "G0", "claim": "The panic for a spell with no spell school set could be placed in `unit.RegisterSpell` instead of in `ResistanceMultiplier`.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
woxblom__DragListView__67 | woxblom/DragListView | 67 | defect | 6a2c9f3a8650fb82fa8fb6a89e3c1e6ab74d3cc9 | 442a862de90ce32bcd864b1f2e8fb5484e3c2f48 | Add onDragItemChangedPosition callback | Hi there!
We'd like to be notified when the item that is being dragged changes position so we've added the `onDragItemChangedPosition` callback to the `BoardListener` interface.
`onDragItemChangedPosition` will get called every time the item that is being dragged changes its position.
We've also added tests ... | diff --git a/library/src/main/java/com/woxthebox/draglistview/BoardView.java b/library/src/main/java/com/woxthebox/draglistview/BoardView.java
index 1d3b4b1..e4d0af1 100644
--- a/library/src/main/java/com/woxthebox/draglistview/BoardView.java
+++ b/library/src/main/java/com/woxthebox/draglistview/BoardView.java
@@ -41,... | 3 | 3 | 0 | [{"id": "G0", "claim": "Rename the new callback from onDragItemChangedPosition to onItemChangedPosition to follow the same naming style as the other BoardListener methods.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Pass the already-computed ... | null |
wpnpeiris__nats-s3__79 | wpnpeiris/nats-s3 | 79 | defect | e8a576e4f56e317f36e2a74abe51b6a002dcdabd | 8533fa4624c12d68bbd972f2c6d2cd386896ddc3 | Fixes #68 initiate multipart upload | ## Overview
Handle multipart upload init request
| diff --git a/go.mod b/go.mod
index 128ff04..8cc6b99 100644
--- a/go.mod
+++ b/go.mod
@@ -12,6 +12,7 @@ require (
require (
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
+ github.com/google/uuid v1.6.0 // indirect
github.com/jmespath/go-jmespath v0.4.0 // indirect
github.com/klausp... | 2 | 2 | 2 | [{"id": "G0", "claim": "The new route registers s.InitiateMultipartUpload for the POST ?uploads endpoint, but S3Gateway does not define that method anywhere in the package, so building the module fails with 's.InitiateMultipartUpload undefined' and the multipart upload entry point remains unreachable.", "category": "co... | null |
wpnpeiris__nats-s3__84 | wpnpeiris/nats-s3 | 84 | defect | 521aa46b9623ad5d79d1c0ea26bdcf99fc37a319 | 93ca2bf20a2930cdf2b4819febc5947662dae10f | Fix healthcheck endpoints | ## Overview
Enable basic health/metrics endpoints
| diff --git a/internal/client/nats_object_client.go b/internal/client/nats_object_client.go
index 1433df0..b35543b 100644
--- a/internal/client/nats_object_client.go
+++ b/internal/client/nats_object_client.go
@@ -153,13 +153,32 @@ func (m *MultiPartStore) getUploadMeta(sessionKey string) (nats.KeyValueEntry, e
// Nats... | 1 | 1 | 1 | [{"id": "G0", "claim": "Both /metrics and /stats call s.client.ListBuckets() and immediately take len() of the returned channel without ever consuming from it, which leaves the backing goroutine blocked forever (a resource leak on every health-check request) and makes the reported bucket count always zero; the reviewer... | null |
wrdv__testme-idea__22 | wrdv/testme-idea | 22 | defect | 64bf71b4003518eb94d8f83672578cb3cf042fbf | 98e55b477d43b72232d3aa4edabe49e8592de1ed | for classes with only private constructor exclude mocks | for classes with only private constructor exclude mocks,
for example tested class like
````java
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.unicom.tdt.admin.model.exception.ResponseException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.spri... | diff --git a/src/main/java/com/weirddev/testme/intellij/template/context/MockitoMockBuilder.java b/src/main/java/com/weirddev/testme/intellij/template/context/MockitoMockBuilder.java
index ee8a7ef6..f4ffb3b8 100644
--- a/src/main/java/com/weirddev/testme/intellij/template/context/MockitoMockBuilder.java
+++ b/src/main/... | 6 | 5 | 2 | [{"id": "G0", "claim": "Existing macro renderMockStubs or its callers do not evaluate hasMocks (they call isMockable transitively), so a stub statement can be generated for a field that is not mocked — which would result in a compilation failure; not all templates are aligned with the new logic, and all 7 usages of #if... | null |
wrdv__testme-idea__23 | wrdv/testme-idea | 23 | defect | f8a233cbb00d59a27ff5778075e737ee21818932 | 19bf3f3037951f5e5303797c5fa6aec87bcc1911 | Feature/add verify | add verify for void return type of method calls,
for exemple
````java
public class Foo{
private TechFighter techFighter;
private Supplier<Integer> result;
public String fight(Fire withFire,String foeName) {
techFighter.initSelfArming("gun");
String fail = techFighter.fight(with... | diff --git a/src/integrationTest/java/com/weirddev/testme/intellij/generator/TestMeGeneratorGroovyJunit4Test.java b/src/integrationTest/java/com/weirddev/testme/intellij/generator/TestMeGeneratorGroovyJunit4Test.java
index 4874ac46..3c67ca1d 100644
--- a/src/integrationTest/java/com/weirddev/testme/intellij/generator/T... | 3 | 3 | 2 | [{"id": "G0", "claim": "In the verify-macro conditions of both the Groovy and Java template includes, the check should be replaced with `$fieldMethod.hasReturn()` (per the reviewer, e.g. `#if($fieldMethod.hasReturn() &&` for the void-verify condition and likewise in the Java template) instead of the raw `$fieldMethod.r... | null |
wrdv__testme-idea__29 | wrdv/testme-idea | 29 | defect | d83311f016258103d98fde448d0c934d103745ac | 038ba02cb51e667518767c0e94ea5170ce4a6329 | Throw specific exceptions based on the method under testFeature/zfj/add exception on actual | Throw specific exceptions based on the method under test | diff --git a/src/main/java/com/weirddev/testme/intellij/builder/MethodFactory.java b/src/main/java/com/weirddev/testme/intellij/builder/MethodFactory.java
index c9d473a9..01156ec9 100644
--- a/src/main/java/com/weirddev/testme/intellij/builder/MethodFactory.java
+++ b/src/main/java/com/weirddev/testme/intellij/builder/... | 9 | 9 | 3 | [{"id": "G0", "claim": "MethodFactory should avoid the dependency on apache commons-lang, since it is a transitive dependency added by JetBrains internal implementation that may be removed and external dependencies should be minimized.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduc... | null |
wrdv__testme-idea__34 | wrdv/testme-idea | 34 | defect | 82f8d89b619251510287b5e08286d99c13f51d4e | 8c43633aef4ae9caa1af774ae0ff02f42e0debc0 | Declare exceptions thrown by tested class-take test code exceptions into account | Declare exceptions thrown by tested class-take test code exceptions into account | diff --git a/src/integrationTest/java/com/weirddev/testme/intellij/generator/TestMeGeneratorJunit4PowerMockTest.java b/src/integrationTest/java/com/weirddev/testme/intellij/generator/TestMeGeneratorJunit4PowerMockTest.java
index 31ebf123..58eecb21 100644
--- a/src/integrationTest/java/com/weirddev/testme/intellij/gener... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new getMethodExceptionTypes method should be replaced by a Lombok-generated getter, as for the other fields in this class.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
writefreely__writefreely__230 | writefreely/writefreely | 230 | defect | f343cebce75794660538952d830fe84a0e2e8f8c | 9170c846175a71a161c82030181d131c58a1b818 | OAuth Provider: Slack | This PR introduces Slack specific functionality as part of the larger OAuth feature set.
This PR builds off of the functionality in https://github.com/writeas/writefreely/pull/225.
## Testing
1. Create a Slack application
2. Set the following configuration
[oauth.slack]
client_id = "<slack a... | diff --git a/config/config.go b/config/config.go
index 4b9586edd..996c1df3d 100644
--- a/config/config.go
+++ b/config/config.go
@@ -56,6 +56,20 @@ type (
Port int `ini:"port"`
}
+ WriteAsOauthCfg struct {
+ ClientID string `ini:"client_id"`
+ ClientSecret string `ini:"client_secret"`
+ AuthL... | 8 | 8 | 6 | [{"id": "G0", "claim": "The t.Skip added to TestPostLede should be removed so the tests fail properly instead of being skipped.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The v1 migration should not use CREATE TABLE IF NOT EXISTS (migrations should ... | null |
writefreely__writefreely__243 | writefreely/writefreely | 243 | defect | 75e2b6032820f9e733a8b5fcb438c3223ee3eb55 | 5d834c1cd2138d6bd0d4daf415bdb5221c38bb1c | OAuth account management | This PR introduces oauth account management functionality on the account settings page. With it, oauth accounts can be added and removed from existing accounts.
---
- [x] I have signed the [CLA](https://phabricator.write.as/L1)
| diff --git a/account.go b/account.go
index 2dcfd2702..ae3ef8740 100644
--- a/account.go
+++ b/account.go
@@ -1038,18 +1038,45 @@ func viewSettings(app *App, u *User, w http.ResponseWriter, r *http.Request) err
flashes, _ := getSessionFlashes(app, w, r, nil)
+ enableOauthSlack := app.Config().SlackOauth.ClientID !... | 2 | 2 | 1 | [{"id": "G0", "claim": "The new attach_user_id column should be NULLable for the cases where we're not attaching a user, instead of NOT NULL with a default of 0.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Attaching an OAuth account that is already at... | null |
writefreely__writefreely__336 | writefreely/writefreely | 336 | defect | 504a2a42aa05f867b6f6c85f9f428d1b26a706ab | 2bda0d80a3d5133a475a8dfc7fd4bb0c8bf1b50b | Add Cache-Control header | Add Cache-Control response header for static files in order to improve page loading speed.
Fixes #322
---
- [x] I have signed the [CLA](https://phabricator.write.as/L1)
| diff --git a/cache.go b/cache.go
index b1b1be9eb..587b0c450 100644
--- a/cache.go
+++ b/cache.go
@@ -11,6 +11,7 @@
package writefreely
import (
+ "net/http"
"sync"
"time"
)
@@ -67,3 +68,10 @@ func GetPostsCache(userID int64) *[]PublicPost {
}
return pci.Posts
}
+
+func cacheControl(next http.Handler) http... | 2 | 2 | 0 | [{"id": "G0", "claim": "The cacheControl middleware should be moved out of cache.go, which is meant for internal application caches, into handle.go where the other HTTP middleware lives.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The pre-exi... | null |
wso2__carbon-apimgt__11966 | wso2/carbon-apimgt | 11,966 | defect | ce2cfa20d51268aea641a9c7c3cfe8ae4bd57b4a | f6a248532fdb56cf4014121a501227befc8e5764 | Fix the Documentation Visibility Feature | This update fixes the feature of having different visibility levels for the documentation of an API as Private, Owners only and Same as API.
Fixes: https://github.com/wso2/api-manager/issues/1610 | diff --git a/components/apimgt/org.wso2.carbon.apimgt.impl/src/main/java/org/wso2/carbon/apimgt/impl/APIConstants.java b/components/apimgt/org.wso2.carbon.apimgt.impl/src/main/java/org/wso2/carbon/apimgt/impl/APIConstants.java
index 6491383d6a9a..7344928a0285 100755
--- a/components/apimgt/org.wso2.carbon.apimgt.impl/s... | 1 | 1 | 1 | [{"id": "G0", "claim": "The DOC_SHARED_VISIBILITY branch of isDocVisible omits the tenant-domain check that the DOC_OWNER_VISIBILITY branch applies, so the tenant domain check should be added there as well.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
wso2__carbon-apimgt__12077 | wso2/carbon-apimgt | 12,077 | defect | 6ecf713f91d8e8ed0061caf3e1cd6481117b8c20 | 7ecef520501ba61030f97c4e6d0f599b94629e86 | Allow registering external IDPs. | Objective is to support third party IDPs in loosely coupled manner from api manager point of view. API manager will not communicate with the IDP at all, but it would store it so that the gateway can directly call the external IDP and validate all by itself.
We bring in the tokenType call `EXTERNAL` to support this ... | diff --git a/components/apimgt/org.wso2.carbon.apimgt.api/src/main/java/org/wso2/carbon/apimgt/api/ExceptionCodes.java b/components/apimgt/org.wso2.carbon.apimgt.api/src/main/java/org/wso2/carbon/apimgt/api/ExceptionCodes.java
index 9246061ee240..da69eca6a8d3 100644
--- a/components/apimgt/org.wso2.carbon.apimgt.api/sr... | 3 | 3 | 1 | [{"id": "G0", "claim": "Remove the BOTH token type from the REST API level (the tokenType enum in api.yaml).", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The 'Cannot switch between tokenType when the Key Manager's Token Type is External' error should n... | null |
wso2__carbon-apimgt__12080 | wso2/carbon-apimgt | 12,080 | defect | 6ecf713f91d8e8ed0061caf3e1cd6481117b8c20 | e2270788658edcd68beced88b3206b804b58ce97 | Add subscription version range when subscription creating | Related task: https://github.com/wso2-enterprise/choreo/issues/22171
- `VERSION_RANGE` new field is added to the `AM_SUBSCRIPTION` table.
- When subscription is creating for a new API (version starting with `v`), the `VERSION_RANGE` is added as the major version of the API. Eg. When creating a subscription for API ... | diff --git a/components/apimgt/org.wso2.carbon.apimgt.api/src/main/java/org/wso2/carbon/apimgt/api/APIVersionValidationFailureException.java b/components/apimgt/org.wso2.carbon.apimgt.api/src/main/java/org/wso2/carbon/apimgt/api/APIVersionValidationFailureException.java
new file mode 100644
index 000000000000..8e52c29b... | 2 | 2 | 1 | [{"id": "G0", "claim": "The errorMessage of the INVALID_API_SEMANTIC_VERSION exception code should read 'Invalid API version' instead of 'Invalid API semantic version'.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The API version used when deriv... | null |
wso2__carbon-apimgt__12091 | wso2/carbon-apimgt | 12,091 | defect | 1d47481be8b781209b58535a85116e8443f4dc60 | e18548bd43414f74a8881a30955c7156d987b7a2 | Add Gateway JWKS Endpoint | ## Purpose
- Resolves https://github.com/wso2/api-manager/issues/1839
This PR introduces a JWKS endpoint to the Gateway. Also, a kid claim is added to the backend JWT header via a deployment.toml configuration. If the said config is set to true, backend JWT will include the kid claim. By default the config is set... | diff --git a/components/apimgt/org.wso2.carbon.apimgt.common.gateway/src/main/java/org/wso2/carbon/apimgt/common/gateway/constants/JWTConstants.java b/components/apimgt/org.wso2.carbon.apimgt.common.gateway/src/main/java/org/wso2/carbon/apimgt/common/gateway/constants/JWTConstants.java
index 8b95d358a19b..6fe0f09e5e7f ... | 4 | 3 | 0 | [{"id": "G0", "claim": "The JWT header should be built with a JSON library instead of string appending in the generateHeader methods of JWTUtil, DefaultApiKeyGenerator and AbstractJWTGenerator.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Catc... | null |
wso2__carbon-apimgt__12100 | wso2/carbon-apimgt | 12,100 | defect | aaedc82199d94b26f8ef2dfeb4439238388b0c07 | 6e05695c30f0407e677a15b08dbc3df2655c6a74 | Add Application Keys for External IDPs | Here all we need to do is save the application keys in a database after doing some validations. No need to have active key manager connections, token generations and oauth appcreations. | diff --git a/components/apimgt/org.wso2.carbon.apimgt.api/src/main/java/org/wso2/carbon/apimgt/api/APIConsumer.java b/components/apimgt/org.wso2.carbon.apimgt.api/src/main/java/org/wso2/carbon/apimgt/api/APIConsumer.java
index 18ada0f3b393..8f5806226f75 100644
--- a/components/apimgt/org.wso2.carbon.apimgt.api/src/main... | 8 | 6 | 0 | [{"id": "G0", "claim": "Use null instead of the \"N/A\" placeholder for the consumer secret returned by mapExistingOAuthClient and updateMappedApplicationKey.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Restore the null-check onto its own line instead... | null |
wso2__carbon-apimgt__12124 | wso2/carbon-apimgt | 12,124 | defect | 23d5b3b7862bb9d6df1f228f56783d9c707c21ad | 7e5cb9e232ed413eaeb714830ef895693fd6144c | Implement version range subscription get from API ID | $subject
Adds, query param: `includeFromVersionRange: boolean`.
When `includeFromVersionRange=true`, the `GET /subscriptions` for `apiId` will return the subscriptions which are inherited from the version range.
When `includeFromVersionRange=false` or not specified, the exact subscriptions will be returned as ... | diff --git a/components/apimgt/org.wso2.carbon.apimgt.api/src/main/java/org/wso2/carbon/apimgt/api/APIConsumer.java b/components/apimgt/org.wso2.carbon.apimgt.api/src/main/java/org/wso2/carbon/apimgt/api/APIConsumer.java
index a4001620d48d..6d5e2b569033 100644
--- a/components/apimgt/org.wso2.carbon.apimgt.api/src/main... | 1 | 1 | 1 | [{"id": "G0", "claim": "The try/catch around getSubscriptionVersionRange is unnecessary and should be dropped, throwing the APIManagementException from the method itself so it is handled at the REST API level.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
wso2__carbon-apimgt__13084 | wso2/carbon-apimgt | 13,084 | defect | d9628c54da7f800f663756e66b0615d4839ebe9e | 5cca87ca36141989485fda18c644d9ea05ccd55c | Improve unit test coverage for OASParsers | ### Purpose
Added unit tests for recently added functionalities of OASParsers. | diff --git a/components/apimgt/org.wso2.carbon.apimgt.impl/src/test/java/org/wso2/carbon/apimgt/impl/definitions/OAS2ParserTest.java b/components/apimgt/org.wso2.carbon.apimgt.impl/src/test/java/org/wso2/carbon/apimgt/impl/definitions/OAS2ParserTest.java
index 56e9231f9728..77098fbfb1d2 100644
--- a/components/apimgt/o... | 3 | 1 | 1 | [{"id": "G0", "claim": "The `equalNoOfResourcesWithoutInfoTag` entry in the OAS 3.1 resources file specifies `\"openapi\": \"3.0.1\"` and should be changed to `\"3.1.0\"` to stay consistent with the file's OAS 3.1 scope and the tests in OAS31ParserTest.", "category": "correctness", "verdict": "supported", "priority": "... | null |
wso2__carbon-apimgt__13134 | wso2/carbon-apimgt | 13,134 | defect | bcfbf5dc1d6e601fe51a5dbba3f20fe88cd50367 | 849309e95a563c75edef309a030d0d305875135e | Include the WSDL url when mapping APIDTO to API | ## Purpose
Fixes https://github.com/wso2/api-manager/issues/3928
## Goals
Preventing the wsdl url being null when it is used in the velocity template
## Approach
Set the `wsdlUrl` within the `fromDTOtoAPI` itself.
(Note: In other scenarios, such as adding or updating an API, the `wsdlUrl` is set separately... | diff --git a/components/apimgt/org.wso2.carbon.apimgt.rest.api.publisher.v1.common/src/main/java/org/wso2/carbon/apimgt/rest/api/publisher/v1/common/mappings/APIMappingUtil.java b/components/apimgt/org.wso2.carbon.apimgt.rest.api.publisher.v1.common/src/main/java/org/wso2/carbon/apimgt/rest/api/publisher/v1/common/mapp... | 4 | 1 | 1 | [{"id": "G0", "claim": "Add unit tests covering the new wsdlUrl mapping in APIMappingUtil (non-null URL set on the API model, null case, and the fromAPItoDTO round-trip), since the added block is not covered by existing tests.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"... | null |
wso2__carbon-apimgt__13142 | wso2/carbon-apimgt | 13,142 | defect | 092bb5c9752b2512bb9a95e2b188b7405e44b799 | b5c8e6a500fab5ccc36c006176f8d864ddecdc0b | Fix the issue of deploying APIs with reserved API names | ### Purpose
This pull request fixes the issue where deploying APIs fails due to the use of internally reserved API names. To address this, we have introduced a new constant value (`prod--`) that serves as a prefix appended to API names during deployment.
- Related Issue: https://github.com/wso2/api-manager/issu... | diff --git a/components/apimgt/org.wso2.carbon.apimgt.gateway/src/main/java/org/wso2/carbon/apimgt/gateway/utils/GatewayUtils.java b/components/apimgt/org.wso2.carbon.apimgt.gateway/src/main/java/org/wso2/carbon/apimgt/gateway/utils/GatewayUtils.java
index e2fb95807173..f93fc4d54382 100644
--- a/components/apimgt/org.w... | 10 | 2 | 0 | [{"id": "G0", "claim": "Consider renaming API_NAME_CONSTANT_PREFIX (e.g. to API_DEPLOYMENT_NAME_PREFIX) and including the '--' separator directly in its value to reduce repetition and potential errors when concatenating.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, ... | null |
wso2__carbon-apimgt__13172 | wso2/carbon-apimgt | 13,172 | defect | 0fcae60e8019b3ea0d3135da6f73ce3b04ea7a8e | 496a2b05cf53df74e21521685f59be11bddd7e62 | Enable generic WebSocketProcessor extension point for pluggable WebSocket API authentication | ### Summary
This PR introduces a **generic extension point for WebSocket API authentication** in the gateway by:
- Adding the `WebSocketProcessor` interface.
- Supporting **OSGi dynamic binding** for pluggable authentication logic.
### Details
- Enables integration of **custom authentication schemes** wit... | diff --git a/components/apimgt/org.wso2.carbon.apimgt.gateway/src/main/java/org/wso2/carbon/apimgt/gateway/handlers/WebsocketInboundHandler.java b/components/apimgt/org.wso2.carbon.apimgt.gateway/src/main/java/org/wso2/carbon/apimgt/gateway/handlers/WebsocketInboundHandler.java
index 35f96664ca56..cf596d5e46ec 100644
-... | 11 | 1 | 0 | [{"id": "G0", "claim": "The debug log messages in the new setWebSocketProcessor/unsetWebSocketProcessor OSGi bind/unbind methods misspell 'websocket' as 'websockeet' and should be corrected.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new f... | null |
wso2__carbon-apimgt__13360 | wso2/carbon-apimgt | 13,360 | defect | 16c80fa91e10630e384c3677094e183550fb3da2 | f2a6b6826d824e5a462a08efa8c7efd6c017b126 | Use Internal Key to invoke APIs via MCP Servers | Propagates authenticated context from the MCP auth layer to the API layer by generating and injecting an Internal Key for upstream calls. When an MCP Server has already authenticated the request, we skip subscription validation for the API. | diff --git a/components/apimgt/org.wso2.carbon.apimgt.gateway/src/main/java/org/wso2/carbon/apimgt/gateway/APIMgtGatewayConstants.java b/components/apimgt/org.wso2.carbon.apimgt.gateway/src/main/java/org/wso2/carbon/apimgt/gateway/APIMgtGatewayConstants.java
index 671bca7cb535..eee542e9b136 100644
--- a/components/apim... | 39 | 22 | 1 | [{"id": "G0", "claim": "The RESERVED_CLAIMS set is missing standard JWT claims 'typ' and 'alg'; add them to prevent conflicts with those reserved names.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The MCP request debug log is missing a space befo... | null |
wso2__carbon-apimgt__13367 | wso2/carbon-apimgt | 13,367 | defect | c588449cd3b928ed536b083b0bfa5df9d9e2feda | 4e89395a29aaf8b01a73565ada97ba346602eb03 | Add BasicAuthClient and BasicAuthClientPool for improved basicauth | ## Purpose
Fixes: https://github.com/wso2/api-manager/issues/3806
Currently, stub requests to access Axis2 services are made without any restrictions. This leads to intermittent 500 server errors. To address this, a client pool mechanism is introduced.
## Approach
Implement a client pool so that the system ca... | diff --git a/components/apimgt/org.wso2.carbon.apimgt.gateway/src/main/java/org/wso2/carbon/apimgt/gateway/APIMgtGatewayConstants.java b/components/apimgt/org.wso2.carbon.apimgt.gateway/src/main/java/org/wso2/carbon/apimgt/gateway/APIMgtGatewayConstants.java
index 671bca7cb535..ae3f86a27883 100644
--- a/components/apim... | 31 | 16 | 2 | [{"id": "G0", "claim": "Converting the password to a char array and then back to String defeats the purpose of using char arrays; use char arrays throughout or String consistently (or wipe the array after use).", "category": "security", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim... | null |
wso2__carbon-apimgt__13372 | wso2/carbon-apimgt | 13,372 | defect | da4360fc0bc95587fc095f0a355334687b9d8a55 | e18d9ccbb1c61fc7edb67231410e0cc6079d6ea2 | Add config to enable failover for load balanced endpoints | ## Purpose
- $subject
- Fixes: https://github.com/wso2/api-manager/issues/4111 | diff --git a/components/apimgt/org.wso2.carbon.apimgt.impl/src/main/java/org/wso2/carbon/apimgt/impl/APIConstants.java b/components/apimgt/org.wso2.carbon.apimgt.impl/src/main/java/org/wso2/carbon/apimgt/impl/APIConstants.java
index 4a05d89f55f3..5cb2db880aba 100755
--- a/components/apimgt/org.wso2.carbon.apimgt.impl/s... | 9 | 1 | 1 | [{"id": "G0", "claim": "Nothing consumes the new failover flag at runtime - the gateway/Velocity endpoint templates do not reference it - so the configuration has no effect and the PR does not fully implement the fix requested in issue #4111; the endpoint templates should be updated to honor the flag.", "category": "co... | null |
wso2__carbon-apimgt__13390 | wso2/carbon-apimgt | 13,390 | defect | d455b64e4291dd0c0f79f2811e07eb993b82d777 | 55c3f374e09f145645aa898292f84f69435b1a52 | Fix 404 Error on Pre-Flight Requests with Per-API Logging Enabled | Fixes: https://github.com/wso2/api-manager/issues/4229 | diff --git a/components/apimgt/org.wso2.carbon.apimgt.gateway/src/main/java/org/wso2/carbon/apimgt/gateway/handlers/LogUtils.java b/components/apimgt/org.wso2.carbon.apimgt.gateway/src/main/java/org/wso2/carbon/apimgt/gateway/handlers/LogUtils.java
index 55dcf84aee1f..4d71abd8ba32 100644
--- a/components/apimgt/org.wso... | 17 | 11 | 2 | [{"id": "G0", "claim": "Removing the break from the REST dispatcher loop makes traversal continue after a match, so a later dispatcher can overwrite a correct literal URL match with a template match; the out-of-scope change should be reverted or else guarded to stop at the first concrete match.", "category": "correctne... | null |
wso2__carbon-apimgt__13430 | wso2/carbon-apimgt | 13,430 | defect | 48305aa8ecff54e9490f9ac5dddd5d12c0e084a6 | 3c4f412be72a58360d3d5b5fd8a07832a0c39526 | Fixing cross tenant subscription approval work flow requests redirecting to API tenant admin portal | ## Purpose
This PR fixes the issues related to cross tenant subscription approval workflow by bringing the subscription approval visibility to the correct tenant's(API owner) admin portal. (Ref: wso2-support/carbon-apimgt/pull/6433)
## Related Issues
- Fixes wso2-enterprise/wso2-apim-internal/issues/5626
- Fi... | diff --git a/components/apimgt/org.wso2.carbon.apimgt.impl/src/main/java/org/wso2/carbon/apimgt/impl/APIConsumerImpl.java b/components/apimgt/org.wso2.carbon.apimgt.impl/src/main/java/org/wso2/carbon/apimgt/impl/APIConsumerImpl.java
index 99392eabcc7c..948cdc749db6 100644
--- a/components/apimgt/org.wso2.carbon.apimgt.... | 27 | 1 | 1 | [{"id": "G0", "claim": "Add an info log recording the API, version and application when a subscription is added in addSubscription, per the supplied suggestion block.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add a debug log of the resolved... | null |
wso2__carbon-apimgt__13538 | wso2/carbon-apimgt | 13,538 | defect | b88eb4317f8b3856024b45ca8d925add6ddcf7b9 | d5275fceacfe7c5adb4261f3c582c0f148c34937 | Set the correct end user in Opaque token validation | ### Purpose
To fix https://github.com/wso2/api-manager/issues/4553
### Issue
When using WSO2 IS as Global Key Manager with opaque token validation, the `endUserName` from introspection returns the SP application owner `admin@carbon.super` instead of the API subscriber for application tokens as mentioned in the tic... | diff --git a/components/apimgt/org.wso2.carbon.apimgt.keymgt/src/main/java/org/wso2/carbon/apimgt/keymgt/service/APIKeyValidationService.java b/components/apimgt/org.wso2.carbon.apimgt.keymgt/src/main/java/org/wso2/carbon/apimgt/keymgt/service/APIKeyValidationService.java
index 3eb9e59c6b9a..ab82f5eb6122 100644
--- a/c... | 7 | 3 | 3 | [{"id": "G0", "claim": "Add a debug log line (e.g. \"Setting end user name for validation context: \" + endUser) when the end user name is set after subscription validation.", "category": "maintainability", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Add a debug log of the end... | null |
wso2__carbon-apimgt__13556 | wso2/carbon-apimgt | 13,556 | defect | ac46cbe6410ea976ac5b4d410288471f0a8308b4 | 31c7d75ea7369da249a978cae26ec7045e7efe87 | Modify OAS3Parser to pass explicitStyleAndExplode option as a config | ### Purpose
$subject
Since the setExplicitStyleAndExplode was introduced from swagger-parser version 2.1.26 onwards [1], did a swagger parser version upgrade.
[1]. https://github.com/swagger-api/swagger-parser/compare/v2.1.25...v2.1.26 | diff --git a/components/apimgt/org.wso2.carbon.apimgt.api/src/main/java/org/wso2/carbon/apimgt/api/APIDefinition.java b/components/apimgt/org.wso2.carbon.apimgt.api/src/main/java/org/wso2/carbon/apimgt/api/APIDefinition.java
index 828c0fd4532a..8f3ecee909d4 100644
--- a/components/apimgt/org.wso2.carbon.apimgt.api/src/... | 17 | 9 | 0 | [{"id": "G0", "claim": "The wso2-engineering bot asks to add info/debug log statements, each with a concrete suggestion block, at the flagged internal-flow call sites so flows and failures are easier to troubleshoot.", "category": "maintainability", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id":... | null |
wso2__carbon-apimgt__13562 | wso2/carbon-apimgt | 13,562 | defect | a16b47cfc46666b1a28deb5c27bb9491a101f05c | 433f612d1e84a5152983311e425c7f910e82b2b8 | Implement MCP resource validation | ## Purpose
MCP underlying API revisions cannot be restored or edited
Fixes: https://github.com/wso2/api-manager/issues/4660 | diff --git a/components/apimgt/org.wso2.carbon.apimgt.impl/src/main/java/org/wso2/carbon/apimgt/impl/APIProviderImpl.java b/components/apimgt/org.wso2.carbon.apimgt.impl/src/main/java/org/wso2/carbon/apimgt/impl/APIProviderImpl.java
index 77c9175fc7b4..f2b8a3aca2e0 100644
--- a/components/apimgt/org.wso2.carbon.apimgt.... | 19 | 7 | 2 | [{"id": "G0", "claim": "Add an info log at the start of updateAPI in APIProviderImpl recording the API id and organization being updated.", "category": "logging", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Add an info log when restoring an API revision in APIProviderImpl.rest... | null |
wso2__carbon-apimgt__13568 | wso2/carbon-apimgt | 13,568 | defect | 3783f4bdfa39d0f059fb1587185213a3b816c341 | befc0c7a51ca0b39a7d747f1884db9c4d11c1ed0 | Fix CBAT functionality related issue | ### Purpose
- This PR addresses issues related to Certificate Bound Access Token functionality when used with mTLS.
- Resolves https://github.com/wso2/api-manager/issues/4655
### Tested flows
- https://github.com/wso2-enterprise/wso2-apim-internal/issues/14870#issuecomment-3805472974 | diff --git a/components/apimgt/org.wso2.carbon.apimgt.impl/src/main/java/org/wso2/carbon/apimgt/impl/jwt/JWTValidatorImpl.java b/components/apimgt/org.wso2.carbon.apimgt.impl/src/main/java/org/wso2/carbon/apimgt/impl/jwt/JWTValidatorImpl.java
index 68cc916b5995..933282a2a20b 100644
--- a/components/apimgt/org.wso2.carb... | 4 | 1 | 1 | [{"id": "G0", "claim": "Add a debug log when the certificate-bound access token feature is disabled, via the applied suggestion block.", "category": "maintainability", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Add a warn log when a certificate-bound token fails validation fo... | null |
wso2__carbon-apimgt__13607 | wso2/carbon-apimgt | 13,607 | defect | 8d340baee61c9552f75ef1f07feec00dd3cb2a71 | b90af3fc1f92fabddd7f560e71bc037b4f74d46d | Fix wrong target name issue in api import flow | ### purpose
$subject
Related to: https://github.com/wso2/api-manager/issues/4705 | diff --git a/components/apimgt/org.wso2.carbon.apimgt.spec.parser/src/main/java/org/wso2/carbon/apimgt/spec/parser/definitions/asyncapi/models/AsyncApiV3Parser.java b/components/apimgt/org.wso2.carbon.apimgt.spec.parser/src/main/java/org/wso2/carbon/apimgt/spec/parser/definitions/asyncapi/models/AsyncApiV3Parser.java
i... | 3 | 1 | 1 | [{"id": "G0", "claim": "Add a log.warn and braces around the silent `if (channel == null) continue;` when a channel is not found for the channel name.", "category": "maintainability", "verdict": "opposed", "priority": "P3", "scope": "pre_existing"}, {"id": "G1", "claim": "Add a guarded debug log recording the channel n... | null |
wso2__carbon-apimgt__13627 | wso2/carbon-apimgt | 13,627 | defect | 4f8a2bc4a7548afe93278d1eff73fec3ba9cbb50 | ba4a197e20045aa664dbf6d7d2f4108cd6389fc3 | Add encryption key generator | This pull request introduces a new encryption key generator module to the project and integrates it into the build system. It also updates several dependency versions to ensure compatibility and improved functionality. The most important changes are grouped below:
**Encryption Key Generator Integration:**
* Added... | diff --git a/components/encryption/org.wso2.carbon.apimgt.encryption.key.generator/pom.xml b/components/encryption/org.wso2.carbon.apimgt.encryption.key.generator/pom.xml
new file mode 100644
index 000000000000..03358a399256
--- /dev/null
+++ b/components/encryption/org.wso2.carbon.apimgt.encryption.key.generator/pom.x... | 16 | 10 | 2 | [{"id": "G0", "claim": "Add java.util.logging output (LOGGER.severe on the failure path, LOGGER.info on the success path) in addition to the existing console logging.", "category": "maintainability", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The JaCoCo plugin excludes all cl... | null |
wso2__carbon-apimgt__13651 | wso2/carbon-apimgt | 13,651 | defect | e4bbee1ecccfe46c8f02dbb66674cda9e162e939 | 6ac1861938d35a0255c7688c3fc225da501de77f | Add: Target Proxy Hosts | Fixes: https://github.com/wso2/api-manager/issues/4741 | diff --git a/components/apimgt/org.wso2.carbon.apimgt.common.gateway/src/main/java/org/wso2/carbon/apimgt/common/gateway/configdto/HttpClientConfigurationDTO.java b/components/apimgt/org.wso2.carbon.apimgt.common.gateway/src/main/java/org/wso2/carbon/apimgt/common/gateway/configdto/HttpClientConfigurationDTO.java
index... | 14 | 10 | 5 | [{"id": "G0", "claim": "The wso2-engineering bot asked for debug/info log statements to be added inside HttpClientConfigurationDTO (in withProxy and after build()), via its Log Improvement Suggestions No: 1 and No: 2.", "category": "maintainability", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id"... | null |
wso2__carbon-apimgt__13705 | wso2/carbon-apimgt | 13,705 | defect | d751ebab870a63eee9e23275fd3aba5a731e2242 | e61d46aacdde8c920b25746b95d639511ccae250 | Fix revision restore with missing resources | This PR fixes part of issue [1]. The other part is fixed with PR [2].
[1] https://github.com/wso2/api-manager/issues/4801
[2] https://github.com/wso2/carbon-apimgt/pull/13656 | diff --git a/components/apimgt/org.wso2.carbon.apimgt.api/src/main/java/org/wso2/carbon/apimgt/api/ExceptionCodes.java b/components/apimgt/org.wso2.carbon.apimgt.api/src/main/java/org/wso2/carbon/apimgt/api/ExceptionCodes.java
index 8f5133d4b878..4e74ee8ada5d 100644
--- a/components/apimgt/org.wso2.carbon.apimgt.api/sr... | 12 | 2 | 1 | [{"id": "G0", "claim": "Add a log.info line when restoreAPIRevision begins restoring (\"Restoring API revision: ... for API: ...\") to improve troubleshooting.", "category": "maintainability", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Add a log.info line when restoreAPIProdu... | null |
wso2__carbon-apimgt__13741 | wso2/carbon-apimgt | 13,741 | defect | b3999da4c3889cf7cf2842ca753c097e0edb0048 | af70f4d0cafb731837b8ca5a64c183e7137759b1 | [4.7.0] Fix provider changing related issue | ### Description
This PR fixes an issue related to API provider changed APIs in tenants. Email domain needs to be replaced with -AT- in the changed provider same as in the API create path since registry paths cannot contains @ characters.
- Resolves https://github.com/wso2/api-manager/issues/4907 | diff --git a/components/apimgt/org.wso2.carbon.apimgt.persistence/src/main/java/org/wso2/carbon/apimgt/persistence/RegistryPersistenceImpl.java b/components/apimgt/org.wso2.carbon.apimgt.persistence/src/main/java/org/wso2/carbon/apimgt/persistence/RegistryPersistenceImpl.java
index eec34172f12a..7638d06cee5c 100644
---... | 2 | 1 | 1 | [{"id": "G0", "claim": "Add an info-level success log after updateGenericArtifact in changeApiProvider recording the normalized provider name and the API id.", "category": "maintainability", "verdict": "opposed", "priority": "P3", "scope": "pre_existing"}, {"id": "G1", "claim": "The provider-name normalization added to... | null |
wso2__carbon-multitenancy__117 | wso2/carbon-multitenancy | 117 | defect | 5c21dcfee446c8e229f6896dfe40108ec83d09b6 | b66a1185ef5f5fae4e0e2fbc54a915241798786b | Fix logical issues in Kubernetes Deployment Provider | This pull request fixes following issues:
- Add namespace to DeploymentProvider interface and its implementations
- Add exception mappers to the application
- Uplift fabric8 kubernetes api version to 2.2.205 | diff --git a/components/org.wso2.carbon.multitenancy.application/src/main/java/org/wso2/carbon/multitenancy/application/Application.java b/components/org.wso2.carbon.multitenancy.application/src/main/java/org/wso2/carbon/multitenancy/application/Application.java
index 5dbd2a963..79cbbee11 100644
--- a/components/org.ws... | 3 | 3 | 0 | [{"id": "G0", "claim": "The null-check before removing the deployment id is unnecessary and the entry can be removed directly.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "If callers do not add elements to the list returned by listDeployments,... | null |
wso2__product-apim__10161 | wso2/product-apim | 10,161 | defect | 11740f71dffdd2f4b57be3a55d6c5a9ccc9ca49d | 9a0c126631c6fd80941b1bfbd5a51c9698c20cff | Add Integration tests for getSubscriptionThrottlingPolicies endpoint | This PR will add test cases for **getSubscriptionThrottlingPolicies** endpoint | diff --git a/modules/integration/tests-common/clients/publisher/api/openapi.yaml b/modules/integration/tests-common/clients/publisher/api/openapi.yaml
index a72c587ebb..688c5c9c3e 100644
--- a/modules/integration/tests-common/clients/publisher/api/openapi.yaml
+++ b/modules/integration/tests-common/clients/publisher/ap... | 2 | 1 | 1 | [{"id": "G0", "claim": "The new import in GraphQLQueryAnalysisTest.java reads 'org.wso2.am .integration...' with a stray space; ask whether it even compiles.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Ask whether there is a reason the test runs ... | null |
wso2__product-apim__10467 | wso2/product-apim | 10,467 | defect | a2ecb4d2055c2926962f367fb2531a24c9f8a4aa | 49a6b03e511cc5b3012601a0dc4c882fee9942bd | Fix Integration Test Failures | ## Purpose
This PR fixes the test failures of the following integration tests.
1. EnvironmentTestCase
2. PublisherCommentTest
3. TagsRatingCommentTestCase | diff --git a/modules/integration/tests-common/integration-test-utils/src/main/java/org/wso2/am/integration/test/helpers/AdminApiTestHelper.java b/modules/integration/tests-common/integration-test-utils/src/main/java/org/wso2/am/integration/test/helpers/AdminApiTestHelper.java
index bee9da9e8b..ce5e895ecb 100644
--- a/m... | 1 | 1 | 0 | [{"id": "G0", "claim": "Add a comment explaining why the Thread.sleep(1000) is added, and do the same wherever else such sleeps appear.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
wso2__product-apim__11159 | wso2/product-apim | 11,159 | defect | 8a25d62cf940180c5f01787be7f095c4192e66f4 | b7f3dc63c1356e5e1048aa2efc2a45e888e7b543 | Added tests for SOAP Pass Through APIs | Test creating and publish SOAP Pass Through API using WSDL definition URL
Test downloading WSDL definition from Publisher/Devportal
Test invoking SOAP endpoint | diff --git a/modules/integration/tests-common/integration-test-utils/src/main/java/org/wso2/am/integration/test/impl/RestAPIPublisherImpl.java b/modules/integration/tests-common/integration-test-utils/src/main/java/org/wso2/am/integration/test/impl/RestAPIPublisherImpl.java
index ef79b8fd2cf..1bd3b9a00ce 100644
--- a/m... | 5 | 4 | 1 | [{"id": "G0", "claim": "Locate the SOAP test resources with the getAMResourceLocation helper instead of getClass().getClassLoader().getResourceAsStream with a hand-built path.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add the remaining user... | null |
wso2__product-apim__11162 | wso2/product-apim | 11,162 | defect | c2085c960cea13ffd9713f8912bea88d7d7de8b1 | ba7fa06ff6cb27c252532c8f3d70de7740445d5b | Add Prototype endpoint test cases | **Following tests were added as a test coverage improvement related to Prototype endpoint APIs**
- Create an API with a prototype endpoint and invoke
- Create an API with a prototype endpoint, demote to created and invoke | diff --git a/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/am/integration/tests/prototype/PrototypedAPITestcase.java b/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/am/integration/tests/prototype/PrototypedAPITestcase.java
new file mode 100644
index 0000000000..... | 4 | 4 | 2 | [{"id": "G0", "claim": "Avoid the Thread.sleep(15000) waits in all occurrences of the test and use the waitForAPIDeploymentSync/waitForAPIDeployment approach used in other test cases instead.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G2", "claim": "Enable running... | null |
wso2__product-apim__11189 | wso2/product-apim | 11,189 | defect | a691eb0f6da2ef4d03b6d3cc556aeea4990f7617 | 0c6b1fcc1b3458160ef2245b825bd60e008064e8 | Admin API Integration Tests | Integration test cases of APIDenyPolicyTestCase and APISystemScopesTestCase | diff --git a/modules/integration/tests-common/integration-test-utils/src/main/java/org/wso2/am/integration/test/helpers/AdminApiTestHelper.java b/modules/integration/tests-common/integration-test-utils/src/main/java/org/wso2/am/integration/test/helpers/AdminApiTestHelper.java
index ce5e895ecb..9ab5ab82ba 100644
--- a/m... | 8 | 7 | 1 | [{"id": "G0", "claim": "Remove the automatic wildcard import in AdminApiTestHelper and use explicit imports instead.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Remove the wildcard import in RestAPIAdminImpl as well, using explicit imports in... | null |
wso2__product-apim__11444 | wso2/product-apim | 11,444 | defect | ee83e84fcd02ab6c275e891a5ad69c9f782fe85c | 9e57eee8d0385ad33532021bdb8f88217d95dc85 | Adding the test cases for adding endpoint security during /apis: POST | ## Purpose
Fixes: https://github.com/wso2/product-apim/issues/11435
## Goals
Adding the integration tests to add an API with different types of endpoint security which were not covered before.
## Approach
- Added a new file named **AddEndPointSecurityPerTypeTestCase.java** with the relevant test cases.
## R... | diff --git a/modules/integration/tests-common/integration-test-utils/src/main/java/org/wso2/am/integration/test/impl/RestAPIPublisherImpl.java b/modules/integration/tests-common/integration-test-utils/src/main/java/org/wso2/am/integration/test/impl/RestAPIPublisherImpl.java
index e25cb6752c..f57377fe64 100644
--- a/mod... | 2 | 1 | 0 | [{"id": "G0", "claim": "In validateIntrospectionResponse, instead of printing the entire stack trace, catch and throw the exception and print only the message.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Is the case where setSetEndpointSecuri... | null |
wso2__product-apim__11899 | wso2/product-apim | 11,899 | defect | 21b707b8cceec8dc7763ced71857ade5dfabefe7 | 193b47771701cf0573ed7fce50a7cc4a94468d02 | Add test to verify that API search works when a dynamic context is used | ## Purpose
- Test PR for https://github.com/wso2/product-apim/issues/11841
This PR adds an integration test to verify that an API that is created using a dynamic context works as expected. Also, tests that the API search works as expected when a dynamic context is used in the query.
## Related PRs
- https:/... | diff --git a/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/am/integration/tests/api/lifecycle/DynamicAPIContextTestCase.java b/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/am/integration/tests/api/lifecycle/DynamicAPIContextTestCase.java
new file mode 100644
in... | 1 | 1 | 0 | [{"id": "G0", "claim": "The API_ENDPOINT_POSTFIX_URL and API_ENDPOINT_RESOURCE constants may not be related to this test and should be removed or replaced.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
wso2__product-apim__12947 | wso2/product-apim | 12,947 | defect | aa841ca827fa72b77b320c3b3ae810ccd31901f8 | 7959d1f687b0593b87ed7b0138655d21690140d3 | Integration tests for get certificate usage api | Resolves https://github.com/wso2/api-manager/issues/499 | diff --git a/modules/integration/tests-common/clients/publisher/src/gen/java/org/wso2/am/integration/clients/publisher/api/v1/EndpointCertificatesApi.java b/modules/integration/tests-common/clients/publisher/src/gen/java/org/wso2/am/integration/clients/publisher/api/v1/EndpointCertificatesApi.java
index d14595d4f79..34... | 8 | 4 | 0 | [{"id": "G0", "claim": "Add a suitable constant instead of the hardcoded endpoint path string in getCertificateUsageByAliasCall of the generated EndpointCertificatesApi.", "category": "maintainability", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Reviewer asks why empty arrays... | null |
wso2__product-apim__12982 | wso2/product-apim | 12,982 | defect | 7c36b6e48db70cb616fabf34cee32edcedd10d20 | 79680aa6d437102d8aa60db383cf3c87387fd58f | Add integration tests for null CORS parameters | Integration tests for the fix: https://github.com/wso2-support/carbon-apimgt/pull/5407 | diff --git a/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/am/integration/tests/publisher/CheckEmptyCORSConfigurationsTestCase.java b/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/am/integration/tests/publisher/CheckEmptyCORSConfigurationsTestCase.java
new file ... | 1 | 1 | 0 | [{"id": "G0", "claim": "The license header of CheckEmptyCORSConfigurationsTestCase.java should say WSO2 LLC instead of WSO2 Inc.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
wso2__product-apim__13010 | wso2/product-apim | 13,010 | defect | c2baf2255179df9983535a9021fc96979225c980 | eb6ebbbdb10ced7c5371e295b4bc24f9e65a8e90 | Test block subscription for owner name with hyphen | Relevant to this issue: https://github.com/wso2/api-manager/issues/934 | diff --git a/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/am/integration/tests/application/ApplicationBlockSubscriptionTestCase.java b/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/am/integration/tests/application/ApplicationBlockSubscriptionTestCase.java
new f... | 1 | 1 | 0 | [{"id": "G0", "claim": "The test should add a new assertion for the API invocation with subscription blocking and unblocking.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
wso2__product-apim__13189 | wso2/product-apim | 13,189 | defect | 103a59c49a653f47c0b570fca522d70a910521c7 | 150462e5c53346eac10d8a25bd1e06a203f97c5b | Improve: Scope Update Test | ### Purpose
$subject
### Issue
- https://github.com/wso2/api-manager/issues/1539
- https://github.com/wso2-enterprise/wso2-apim-internal/issues/2106
### PRs
- https://github.com/wso2/carbon-apimgt/pull/11916 | diff --git a/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/am/integration/tests/other/SharedScopeTestWIthRestart.java b/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/am/integration/tests/other/SharedScopeTestWIthRestart.java
new file mode 100644
index 0000000000... | 3 | 3 | 0 | [{"id": "G0", "claim": "The license header of the newly added SharedScopeTestWIthRestart test class should be updated.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The configuration file the test applies should be moved out of artifacts/AM/opera... | null |
wso2__product-apim__13193 | wso2/product-apim | 13,193 | defect | 103a59c49a653f47c0b570fca522d70a910521c7 | 9b0e199df76596ddd794dd51a129e002446455d3 | Add: Web Socket API invocation test with tracing enabled | ### Purpose
$subject
### Issue
- https://github.com/wso2/api-manager/issues/1550
### PRs
- https://github.com/wso2/carbon-apimgt/pull/11936 | diff --git a/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/am/integration/tests/websocket/WebSocketAPIInvocationWithTracingTestCase.java b/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/am/integration/tests/websocket/WebSocketAPIInvocationWithTracingTestCase.java... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new test class file WebSocketAPIInvocationWithTracingTestCase.java should include the license header.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
wso2__product-apim__13234 | wso2/product-apim | 13,234 | defect | c36bea1ad698c7a1f5fc0f97ef7c38ea1a08938f | 997670f8aee9066cdceb494047da4b8ea178284b | Add integrations tests to check malformed API contexts | This PR adds integration tests to cover the following scenarios.
- Create publisher rest API with malformed context.
- Create graphql API using schema with malformed context.
- Create API product with malformed context.
- Create websocket API with malformed context.
- WSDL import with malformed context. | diff --git a/modules/integration/tests-common/integration-test-utils/src/main/java/org/wso2/am/integration/test/impl/RestAPIPublisherImpl.java b/modules/integration/tests-common/integration-test-utils/src/main/java/org/wso2/am/integration/test/impl/RestAPIPublisherImpl.java
index f1c676f2bcb..888c3e06217 100644
--- a/m... | 3 | 3 | 0 | [{"id": "G0", "claim": "Use the APIMIntegrationConstants.API_TIER constants (UNLIMITED in the GraphQL test, GOLD in the APIM18 publisher test) instead of the hardcoded \"Unlimited\" and \"Gold\" tier strings in the new malformed-context tests.", "category": "maintainability", "verdict": "supported", "priority": "P2", "... | null |
wso2__product-apim__13281 | wso2/product-apim | 13,281 | defect | fa4423ede7ffc3e0964fe1a667f790bede2fce58 | 31bd609bf685bce8515184d69f15c4fcce6ca96d | Add integration tests for security disabled API invocation for a public API when ELK based Analytics is configured | Integration test for https://github.com/wso2/api-manager/issues/2200 | diff --git a/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/am/integration/tests/api/lifecycle/DisableSecurityAndTryOutRESTResourceWithElkAnalyticsEnabledTestCase.java b/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/am/integration/tests/api/lifecycle/DisableSecur... | 1 | 1 | 0 | [{"id": "G0", "claim": "Fix the formatting in the new DisableSecurityAndTryOutRESTResourceWithElkAnalyticsEnabledTestCase test class.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
wso2__product-apim__13304 | wso2/product-apim | 13,304 | defect | f5df1b641a0d1b872c5a93c8ceb8e17110c37e44 | bafe7a7ca0b0af6d595c3a5284d7fa6af7b0e657 | Change api provider TestCase Added | TestCase for feature PR: https://github.com/wso2/carbon-apimgt/pull/12189
Issue: https://github.com/wso2/api-manager/issues/398 | diff --git a/modules/integration/tests-common/clients/admin/src/main/resources/admin-api.yaml b/modules/integration/tests-common/clients/admin/src/main/resources/admin-api.yaml
index 69131316c6..d6de60e3aa 100644
--- a/modules/integration/tests-common/clients/admin/src/main/resources/admin-api.yaml
+++ b/modules/integr... | 1 | 1 | 0 | [{"id": "G0", "claim": "Add the licence headers to the new files added by the pull request.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
wso2__product-apim__13329 | wso2/product-apim | 13,329 | defect | 81dfe177e9394c9052b24b45b92f34c87156a334 | 06b7940b0dfa918c83a9e788c333a68bc56ea6aa | Adds key manager testcase for permission restriction | ## Overview
Testcase for the feature https://github.com/wso2/api-manager/issues/2118 | diff --git a/modules/integration/tests-common/clients/admin/src/gen/java/org/wso2/am/integration/clients/admin/api/dto/KeyManagerDTO.java b/modules/integration/tests-common/clients/admin/src/gen/java/org/wso2/am/integration/clients/admin/api/dto/KeyManagerDTO.java
index fd76c2e521..d44ba21ece 100644
--- a/modules/integ... | 2 | 2 | 1 | [{"id": "G0", "claim": "The test users and roles created by testKeyManagerPermissions need to be cleaned up before exiting the test.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Move the role and user creation to the setup/pre-test method, because if ... | null |
wso2__product-apim__13493 | wso2/product-apim | 13,493 | defect | 5c0a78e2c7ff2a0afa4e9c7e60797f3dc180a441 | 007cbac87cf18247e37a28418abded11d81f23d4 | Integration Tests for Throttle Policy Reset Support Feature | Related Issue: https://github.com/wso2/api-manager/issues/2455
Related PRs
- carbon PR: https://github.com/wso2/carbon-apimgt/pull/12443
- UI PR: https://github.com/wso2/apim-apps/pull/700 | diff --git a/modules/integration/tests-common/clients/store/.openapi-generator/devportal-api.yaml.sha256 b/modules/integration/tests-common/clients/store/.openapi-generator/devportal-api.yaml.sha256
index 38ef7477a9..aa4019a87f 100644
--- a/modules/integration/tests-common/clients/store/.openapi-generator/devportal-api... | 3 | 3 | 1 | [{"id": "G0", "claim": "The bandwidth-limit test's @Test description incorrectly says \"request count limit\", copied from the other test.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Subscription, key-generation, header and invocation-URL setup... | null |
wso2__product-apim__13507 | wso2/product-apim | 13,507 | defect | 0d51035bd0b4d3d50a192d1c188c74e30615e5e9 | 8b993fc5ce03bfa5285f0bfd167daa3895ec0b36 | Search Enhancements Add API Definition Content Search | ## Description
Introduces support for API definition content search
Fixes https://github.com/wso2/api-manager/issues/3103
## Related PRs
https://github.com/wso2/carbon-apimgt/pull/12480
https://github.com/wso2/apim-apps/pull/735 | diff --git a/modules/distribution/product/src/main/resources/conf/templates/repository/conf/registry.xml.j2 b/modules/distribution/product/src/main/resources/conf/templates/repository/conf/registry.xml.j2
index 6996e0d091a..ff2f553484e 100644
--- a/modules/distribution/product/src/main/resources/conf/templates/reposito... | 1 | 1 | 0 | [{"id": "G0", "claim": "Replace the separate 'Gson g = new Gson();' / 'g.fromJson(...)' statements with a single inline 'APIDTO apiDto = new Gson().fromJson(httpResponse.getData(), APIDTO.class);' line.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
wso2__product-apim__14001 | wso2/product-apim | 14,001 | defect | 0ef29e1f423f17e0c96ada9a0e6de4c7168b9f64 | 7e98ba9b0804aac4e291323550b0088308cea5c4 | Comment out JWT API Key related tests until the JWT generation class is added to the test base | $subject
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
* **Tests**
* Disabled multiple test methods across API security, application sharing, custom header, JWT, and WebSocket test suites, reducing active test coverage.
* Commented out an individual test case ... | diff --git a/all-in-one-apim/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/am/integration/tests/api/lifecycle/APISecurityTestCase.java b/all-in-one-apim/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/am/integration/tests/api/lifecycle/APISecurityTestCase.java
ind... | 2 | 1 | 1 | [{"id": "G0", "claim": "Commenting out the AIAPITestCase entry in testng.xml excludes the entire AI API suite from the test run, which is broader than the temporary JWT API-key workaround, so only the affected test methods should be disabled instead of removing the full class from the suite.", "category": "testing", "v... | null |
wso2__product-apim__14057 | wso2/product-apim | 14,057 | defect | 74ae9547ae548ac583fc45e24091055f6a50b227 | 461a04be9bfdf72d16febbc02011a97656012555 | Add deployment config and enable APIEndpointCertificateTestCase | ## Purpose
$Subject
Decreased the SSL profile reload interval from 60s to 30s
```toml
[transport.passthru_https.sender.ssl_profile]
interval = 30000
```
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
* **Tests**
* Added a configuration-driven end... | diff --git a/all-in-one-apim/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/am/integration/tests/api/lifecycle/APIEndpointCertificateTestCase.java b/all-in-one-apim/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/am/integration/tests/api/lifecycle/APIEndpointCertif... | 1 | 1 | 1 | [{"id": "G0", "claim": "Remove the duplicate `super.init(userMode)` call in initialize() — it runs twice, once before and once after applying the configuration, a pattern no other test in the codebase uses, so the second call appears to be accidental duplication.", "category": "correctness", "verdict": "supported", "pr... | null |
wso2__product-apim__14058 | wso2/product-apim | 14,058 | defect | 06899eaea334eefde1a0da3c586674946a8c4266 | 7ebdc33b48e3b49338de8f87e35a6c5e9131621e | Add workflow tests for application attributes visibility and subscription update approval | ## Summary
- Add integration test coverage for application attributes visibility in application creation, update, deletion, and registration workflows.
- Add subscription update workflow approval test.
- Add helper method to update applications with custom attributes.
- Update workflow test configuration to enable ... | diff --git a/all-in-one-apim/modules/integration/tests-common/integration-test-utils/src/main/java/org/wso2/am/integration/test/impl/RestAPIStoreImpl.java b/all-in-one-apim/modules/integration/tests-common/integration-test-utils/src/main/java/org/wso2/am/integration/test/impl/RestAPIStoreImpl.java
index 25aaefb2dd..60e... | 5 | 2 | 1 | [{"id": "G0", "claim": "The rejection-path assertion reuses applicationStatusAfterUpdate, a value captured before the first approval path, so the test stays green even if the second update stops moving the application into UPDATE_PENDING; re-read the application state before asserting.", "category": "testing", "verdict... | null |
wso2__product-apim__14082 | wso2/product-apim | 14,082 | defect | 9245216f34af93f0ce92bdf7d8ae772c15b64dc6 | 4f8415d778f96f3dfc8479dcf034f8d8fef0ed29 | Refactor tests to fix jenkins test failures | $subject
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
* **Tests**
* Improved endpoint-certificate lifecycle tests with retry-based polling, tolerance for transient errors, and stability rechecks for deterministic outcomes
* Enhanced SSL reload detection using... | diff --git a/all-in-one-apim/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/am/integration/tests/api/lifecycle/APIEndpointCertificateTestCase.java b/all-in-one-apim/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/am/integration/tests/api/lifecycle/APIEndpointCertif... | 4 | 2 | 2 | [{"id": "G0", "claim": "The HttpRequestUtil.doGet() calls inside the new retry loops are not wrapped in try-catch, so any transient network or TLS IOException immediately fails the test and bypasses the retry budget; wrap each call to retry on IOException.", "category": "correctness", "verdict": "supported", "priority"... | null |
wso2__product-apim__14097 | wso2/product-apim | 14,097 | defect | 939624084a876fecb3ea8e99408bfdd156b2b4f4 | c5f215bcde93da0f818bd86ed7eb0c01013e7c2f | Add integration test for MCP governance. |
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
* **Tests**
* Added an integration test that validates MCP Server governance compliance: creates an MCP Server from an API definition plus config, polls until compliance is determined (with timeout), verifies artifa... | diff --git a/all-in-one-apim/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/am/integration/tests/apimGovernance/MCPComplianceTestCase.java b/all-in-one-apim/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/am/integration/tests/apimGovernance/MCPComplianceTestCase.ja... | 3 | 2 | 2 | [{"id": "G0", "claim": "The test requires non-empty governed policies but never provisions a policy/ruleset itself, relying on the default/external state, which can make it environment- and order-dependent and flaky; asks that required policy fixtures be created/verified in this test's setup (and cleaned up) instead.",... | null |
wso2__product-apim__7952 | wso2/product-apim | 7,952 | defect | 2239fbb7ba2b5185d2ce558e2ec6368b8c2f0963 | 622c3394177cebf7cd7af28654ceacccd17cd8df | Add API Key with IP and Referer restriction test cases | Integration tests for https://github.com/wso2/carbon-apimgt/pull/8427 | diff --git a/modules/integration/tests-common/integration-test-utils/src/main/java/org/wso2/am/integration/test/impl/RestAPIStoreImpl.java b/modules/integration/tests-common/integration-test-utils/src/main/java/org/wso2/am/integration/test/impl/RestAPIStoreImpl.java
index c3916fa4be..726bb7771c 100644
--- a/modules/int... | 1 | 1 | 0 | [{"id": "G0", "claim": "The request-header preparation repeated across the new API key test methods (up to line 512) should be moved into a separate method so the tests keep only the assertion checks.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
wso2__product-apim__9373 | wso2/product-apim | 9,373 | defect | d2fa91e743528b5bef53bc7866ca9c16f7356a56 | 30abfede9dea5a50515d92eb7fbf491ea2702c36 | Fix test failures due to REST API validation | Fix test failures due to changes introduced in the PR -https://github.com/wso2/carbon-apimgt/pull/9313, to validate the request parameters in REST API level | diff --git a/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/am/integration/tests/publisher/APIM514CreateAnAPIWithoutProvidingMandatoryFieldsTestCase.java b/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/am/integration/tests/publisher/APIM514CreateAnAPIWithoutProvi... | 1 | 1 | 1 | [{"id": "G0", "claim": "The createdTime and lastUpdatedTime attributes should be removed from the test API data fixtures, since they are not updated from the REST API level.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
wso2__product-apim__9484 | wso2/product-apim | 9,484 | defect | 32c9ad21af35b36882c687f35af0f812d2323014 | 45ec3695fe326a543035977384c1acf8b356fff2 | Add throttle policy deployer feature and tests | Related to https://github.com/wso2/carbon-apimgt/pull/9340
- Add throttle policy deployer feature
- Add integration tests | diff --git a/modules/integration/tests-common/integration-test-utils/src/main/java/org/wso2/am/integration/test/helpers/AdminApiTestHelper.java b/modules/integration/tests-common/integration-test-utils/src/main/java/org/wso2/am/integration/test/helpers/AdminApiTestHelper.java
index 8de4e6166ca..cb8acd92abc 100644
--- a... | 1 | 1 | 0 | [{"id": "G0", "claim": "Fold the new JWT request-count throttling test into the existing JWT test suite instead of adding a separate testng.xml test entry with its own JWTRequestCountThrottlingTestSuite and a dedicated throttleConditions deployment.toml.", "category": "design", "verdict": "supported", "priority": "P2",... | null |
wso2__product-apim__9915 | wso2/product-apim | 9,915 | defect | 96f4d1175c45ffab18853665feaffd4f9a385545 | 42e67d272ce904c81a213ad8192292c5884adf7f | Adding an integration test to validate JsonStreamFormatter error while sending GET request with messageType property | ## Purpose
Adding the test for the fix for [1] which is done by [2].
## Goals
Add a new integration test to validate JsonStreamFormatter error while sending GET request with messageType property.
## Approach
After writing the integration test, I have run all the integration tests locally as shown below and all... | diff --git a/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/am/integration/tests/other/APIInvocationWithMessageTypeProperty.java b/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/am/integration/tests/other/APIInvocationWithMessageTypeProperty.java
new file mode 100... | 2 | 2 | 0 | [{"id": "G0", "claim": "The setEnvironment setup should not contain a Thread.sleep(5000) wait.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The hard-coded login credentials \"admin\", \"admin\" and \"localhost\" should be replaced with named constants... | null |
wso2__product-iots__241 | wso2/product-iots | 241 | defect | df281af01a16c9ad3340d8f6cf0c80b8063fe7ab | f40159eca3a459631569cdce80d94adcb0507a1b | Fixed https://wso2.org/jira/browse/IOTS-359 | 1. Integration test pom versions changed.
2. Custom automation extensions for multiple server startup.
Fixes issue [https://wso2.org/jira/browse/IOTS-359](url) | diff --git a/modules/analytics/distribution/src/ues/designer.json b/modules/analytics/distribution/src/ues/designer.json
index 116aeb3ce..20e4bef3a 100644
--- a/modules/analytics/distribution/src/ues/designer.json
+++ b/modules/analytics/distribution/src/ues/designer.json
@@ -89,6 +89,6 @@
"protocol": ""
... | 3 | 3 | 0 | [{"id": "G0", "claim": "The port-offset values passed to the server startup parameters in AnalyticsServerExtension and IOTServerExtension are inline magic numbers and should be defined as named constants.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "cl... | null |
wso2__product-is__22002 | wso2/product-is | 22,002 | defect | 4f97477db39e68a1c05c94cfb195ab9bfb7b512f | 73544b5f6c1b85187d055ae6b9a680ac83a54456 | Improve IdP Integration Tests | ### Proposed changes in this pull request
This PR improves integration tests related to Identity Providers.
**Related Issue:**
- https://github.com/wso2/product-is/issues/22001
---
### Checklist (for reviewing)
#### General
- [ ] **Is this PR explained thoroughly?** All code changes must be account... | diff --git a/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/identity/integration/test/rest/api/server/idp/v1/IdPSuccessTest.java b/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/identity/integration/test/rest/api/server/idp/v1/IdPSuccessTest.java
index c4b59dd8830... | 6 | 6 | 5 | [{"id": "G0", "claim": "The testGetIdPFederatedAuthenticators response should also assert authenticatorId.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The testGetIdP response should also assert self.", "category": "testing", "verdict": "supported", "... | null |
wso2__product-is__22912 | wso2/product-is | 22,912 | defect | d8bcd4327ca366c798f4ef63ee15c20291f112fd | a8e94ac36a2b2c9316ff72842d50944a6024ac0a | Add integration tests for Pre Update Password Action Execution | ### Description
This PR adds integration tests for Pre Update Password Action execution
### Related Issues
- https://github.com/wso2/product-is/issues/22911 | diff --git a/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/identity/integration/test/actions/PreUpdatePasswordActionSuccessTestCase.java b/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/identity/integration/test/actions/PreUpdatePasswordActionSuccessTestCase.java... | 2 | 2 | 1 | [{"id": "G0", "claim": "The test class Javadoc describes the wrong feature (pre issue access token with client credentials grant) and should be corrected to describe the pre update password action tests.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim... | null |
wso2__product-is__23064 | wso2/product-is | 23,064 | defect | c611c7666d2fc1ba142067a5253517c72a0c8e31 | 83290915967d7cf14142c5dd98c18288d2a557a5 | Add integration test to configuring roles and groups to shared user and validate them in switched tokens | Part of https://github.com/wso2/product-is/issues/22426
This integration test covers:
1. Ability to configure groups, app audience roles and org audience roles for shared user
2. Retrieving groups, app audience roles and org audience roles of a shared user via scim user get call
3. Token obtained with password ... | diff --git a/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/identity/integration/test/restclients/SCIM2RestClient.java b/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/identity/integration/test/restclients/SCIM2RestClient.java
index 545da15eb0f..148917db99f 100644... | 2 | 2 | 0 | [{"id": "G0", "claim": "Use the constants defined in the OAuth2Constant class instead of raw string literals for the token-request parameter names (grant_type, scope, token) in the new test helpers.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": ... | null |
wso2__product-is__23787 | wso2/product-is | 23,787 | defect | bdef5773614d091935551b16e94dfdcf4e5f2878 | 5f4f6787edb6729bd3330d1e832bd7b109f86d30 | Integration tests for SMS OTP-based password reset failures triggered by pre-password update action via the V2 Recovery API | This integration tests includes
1. Pre password update failure on SMS OTP via V2 recovery API.
2. Error response format assertion for pre password update failure on "Bad Request".
Product-is issue
- https://github.com/wso2/product-is/issues/23788
| diff --git a/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/identity/integration/test/recovery/model/v2/ConfirmModel.java b/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/identity/integration/test/recovery/model/v2/ConfirmModel.java
new file mode 100644
index 0000... | 2 | 1 | 0 | [{"id": "G0", "claim": "Fold the SMS OTP failure tests into PreUpdatePasswordActionFailureTestCase instead of a separate class, and move the common methods (initSmsOtpserver, updatePasswordBasedRecoveryFeatureStatus, exactOtp) into PreUpdatePasswordActionBaseTestCase, to reduce duplicated code and cover the Error scena... | null |
wso2__product-is__23937 | wso2/product-is | 23,937 | defect | 874f0dbffb6e43c9e734ca5fc7f9567f6b7a6cd0 | 7e25253613a420d63ca41fd1f710f48c4e202367 | Update Organization API test for org handle and Tenant API for Tenant Name | $subject
Related PRs: https://github.com/wso2/identity-api-server/pull/862
Related issue: https://github.com/wso2/product-is/issues/23526 | diff --git a/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/identity/integration/test/rest/api/server/organization/management/v1/OrganizationManagementBaseTest.java b/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/identity/integration/test/rest/api/server/organiza... | 4 | 3 | 1 | [{"id": "G0", "claim": "After the change, there is no test verifying that the organization creation API works without an orgHandle, since testSelfOnboardOrganization was reworked to always send one.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The new... | null |
wso2__product-is__24469 | wso2/product-is | 24,469 | defect | b544b08ab752edbfa8719dcf0ee9ab6f98568c68 | 744c6239c8755eacc1f22407e94a351ae1fcb001 | Add integration tests for providing input formats, data type, subAttributes and Canonical Values as first class property | ### Related Issues
- https://github.com/wso2/product-is/issues/24049
- https://github.com/wso2/product-is/issues/24392 | diff --git a/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/identity/integration/test/claim/metadata/mgt/ClaimMetadataManagementServiceTestCase.java b/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/identity/integration/test/claim/metadata/mgt/ClaimMetadataManageme... | 2 | 2 | 0 | [{"id": "G0", "claim": "The input format string literals \"inputType\" and \"checkbox_group\" in the test should be replaced with named constants, like other values in the test.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "buildLocalClaimReq s... | null |
wso2__product-is__25937 | wso2/product-is | 25,937 | defect | 2b89e97d34cfd0d787cfbe567e99eb8f43100bcf | 42125dc0047b146161ad8f32e9e1b30c1e04ca7e | Add ca certificate management api integration tests | This pull request introduces a new suite of integration tests for the Certificate Validation Management REST API, specifically targeting the CA Certificates endpoints. The changes add comprehensive test coverage for both successful and failure scenarios, along with supporting base classes and models to facilitate these... | diff --git a/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/identity/integration/test/rest/api/server/certificate/validation/management/v1/cacertificates/CACertificatesFailureTest.java b/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/identity/integration/test/rest... | 5 | 4 | 0 | [{"id": "G0", "claim": "The copyright year in CertificateValidationTestBase.java should be 2025 to match the other files in the PR.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The replace operation in CACertificateAddRequest.toIndentedString is... | null |
wso2__product-is__26373 | wso2/product-is | 26,373 | defect | 61935bf63c62bec8dcbad53aaec4d0a0e5551a52 | 08c088fbcffee8299176690cba70ed0562233eff | Add webhook metadata api integration tests | This pull request introduces a comprehensive suite of integration tests for the Webhook Metadata REST API, covering both successful and failure scenarios. The changes include new test classes for validating the API's happy paths and negative paths, a shared test base for common setup and utilities, and updates to the t... | diff --git a/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/identity/integration/test/rest/api/server/webhook/metadata/v1/WebhookMetadataFailureTest.java b/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/identity/integration/test/rest/api/server/webhook/metadata/v1... | 5 | 2 | 0 | [{"id": "G0", "claim": "The class Javadoc of WebhookMetadataFailureTest says \"Webhook Management REST API\" but should say \"Webhook Metadata REST API\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The class Javadoc of WebhookMetadataSuccessTe... | null |
wso2__product-is__26661 | wso2/product-is | 26,661 | defect | 6ee4447aa3067ca69199346b0539e2bd44cb1e09 | 6cf5dcf3a032c67db1590fc9cef1492f3ac399db | Add VC issuance integration tests | $subject
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
* **Tests**
* Added end-to-end integration tests for OID4VCI verifiable credential issuance, covering VC template lifecycle, OAuth app registration, scope authorization, token acquisition, issuance request, ... | diff --git a/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/identity/integration/test/oid4vci/OID4VCIIssuanceTestCase.java b/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/identity/integration/test/oid4vci/OID4VCIIssuanceTestCase.java
new file mode 100644
index 00... | 9 | 1 | 0 | [{"id": "G0", "claim": "Bug: rootIssuerMetadataEndpoint is missing a path separator between serverUrl and OID4VCI_PATH, producing a malformed URL like https://localhost:9853oid4vci/.well-known/openid-credential-issuer.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id":... | null |
wso2__product-is__26685 | wso2/product-is | 26,685 | defect | 367441459842d6a2398b8094d6de718264c783c6 | bb93f4e5bed2dbd86a0fb18e3306ff27d79d9925 | Add integration tests for JWT access token scope array formatting support. | #### Purpose
- $Subject
#### Related Issue
- https://github.com/wso2/product-is/issues/26575
#### Related PRs
- https://github.com/wso2/product-is/issues/26575#issuecomment-3839346305
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
* **Tests**
* Add... | diff --git a/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/identity/integration/test/oauth2/JwtAccessTokenScopeAsArrayTestCase.java b/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/identity/integration/test/oauth2/JwtAccessTokenScopeAsArrayTestCase.java
new file ... | 5 | 1 | 1 | [{"id": "G0", "claim": "The single-element list initialization (`new ArrayList<>()` plus `Collections.addAll`) is unnecessarily verbose and should be simplified to `new ArrayList<>(Collections.singletonList(...))`.", "category": "maintainability", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id":... | null |
wso2__product-is__26745 | wso2/product-is | 26,745 | defect | d164d7f93013164d33eb5de605a4db2303e42953 | 824b579e9e4d0d1a5bb3d7beea18f6589c666c47 | Support Maximum Session Lifetime which a user will be required to re login regardless of their activity | ### Purpose
Integration tests for the **$subject** feature.
### Related Issue
- https://github.com/wso2/product-is/issues/26662
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
* **Tests**
* Added session management tests: end-to-end scenarios for idle timeout... | diff --git a/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/identity/integration/test/rest/api/server/session/SessionMgtFailureTest.java b/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/identity/integration/test/rest/api/server/session/SessionMgtFailureTest.java
n... | 13 | 5 | 3 | [{"id": "G0", "claim": "SUPER_TENANT_ADMIN is commented out in the data provider (apparently a debug leftover), so the new tests only run for TENANT_ADMIN; re-enable it or add a comment explaining why.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The ... | null |
wso2__product-is__26759 | wso2/product-is | 26,759 | defect | ab49226e154614a6673031bd781d8f9aa6405ee5 | 4fb241e8a752e38af3a663c7d8fa1586d051b160 | Integration test for Outbound Provisioning with SCIM2 | $subject
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
* **Tests**
* Added a comprehensive SCIM2 outbound provisioning integration test suite covering end-to-end user and group lifecycle (create, patch/update, delete), attribute propagation, group membership c... | diff --git a/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/identity/integration/test/provisioning/OutboundProvisioningSCIM2TestCase.java b/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/identity/integration/test/provisioning/OutboundProvisioningSCIM2TestCase.java... | 15 | 8 | 3 | [{"id": "G0", "claim": "Close primaryScim2RestClient and secondaryScim2RestClient in the @AfterClass teardown, because only idpMgtRestClient is closed and the underlying CloseableHttpClient connections leak.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "cla... | null |
wso2__product-is__26797 | wso2/product-is | 26,797 | defect | eb14c5e766cf1a576aaffcd2db04eb036d350793 | edb13a89f724e6897e9e78a0e7cab03b5ae0006a | Add integration tests for group based outbound provisioning | This pull request refactors and simplifies the `OutboundProvisioningSCIM2Test` integration test. The main changes involve extracting utility methods to a shared utility class, updating method signatures to use these utilities, and cleaning up redundant code. The refactor aims to improve code maintainability and reusabi... | diff --git a/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/identity/integration/test/provisioning/GroupBasedSCIM2OutboundProvisioningTest.java b/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/identity/integration/test/provisioning/GroupBasedSCIM2OutboundProvision... | 7 | 1 | 1 | [{"id": "G0", "claim": "The atEnd() teardown never closes primaryScim2RestClient or secondaryScim2RestClient, leaking HTTP connections, and should close both like OutboundProvisioningSCIM2Test.atEnd() does.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "clai... | null |
wso2__product-is__27104 | wso2/product-is | 27,104 | defect | e957d3f0d996ffb380059b65a15a556f8e157223 | eb7603c33aad096f2979b63753eda52935287d54 | Integration test fix for sequential running tests |
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
* **Tests**
* Added a new sequential integration test workflow that runs full test suites and archives run artifacts.
* Reactivated a previously disabled federation test case.
* Improved test infrastruct... | diff --git a/.github/scripts/pr-builder.sh b/.github/scripts/pr-builder.sh
index 7b1834c3abf..70067fe535e 100644
--- a/.github/scripts/pr-builder.sh
+++ b/.github/scripts/pr-builder.sh
@@ -36,6 +36,12 @@ disable_tests() {
# Convert comma-separated string to array.
IFS=',' read -ra ENABLED_ARRAY <<< "$enabled_... | 3 | 2 | 2 | [{"id": "G0", "claim": "Because disable_tests() now returns early when ENABLED_TESTS is empty, a full-suite run includes the Nashorn suites, but get_expected_build_success_count() still only returns 17 when the input explicitly contains is-test-adaptive-authentication-nashorn, so the final success-count check can abort... | null |
wso2__transport-http__118 | wso2/transport-http | 118 | defect | 8737182dc04735efd51c4fa4e9e59a9802032410 | ffd18ed9ce6713fed315eceb82f2bae15460a32b | [WebSocket] Test Cases to Test Connection closure of WebSocket Client | This PR resolves https://github.com/wso2/transport-http/issues/113 | diff --git a/components/org.wso2.transport.http.netty/src/main/java/org/wso2/transport/http/netty/internal/websocket/WebSocketSessionImpl.java b/components/org.wso2.transport.http.netty/src/main/java/org/wso2/transport/http/netty/internal/websocket/WebSocketSessionImpl.java
index 941708e13..ebee14fd4 100644
--- a/compo... | 7 | 6 | 0 | [{"id": "G0", "claim": "Rename the class WebSocketSessionImpl to DefaultWebSocketSession.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Rename the session field isOpen to open.", "category": "maintainability", "verdict": "supported", "priority"... | null |
wso2__transport-http__127 | wso2/transport-http | 127 | defect | 30b3161e90a9c9fc7b3cc8d77da8b56aee6a1f54 | 5e30ccc14e5fd11868cdf6b3fb87af917dc05b23 | [WebSocket] Throttle Read WebSocket Frames | ## Purpose
> Allow users to decide the way of reading WebSocket frames after a successful handshake. | diff --git a/components/org.wso2.transport.http.netty/src/main/java/org/wso2/transport/http/netty/contract/websocket/HandshakeFuture.java b/components/org.wso2.transport.http.netty/src/main/java/org/wso2/transport/http/netty/contract/websocket/HandshakeFuture.java
index c5a6f9855..83b19ef21 100644
--- a/components/org.... | 1 | 1 | 0 | [{"id": "G0", "claim": "The instance variables of WsClientConnectorConfig should be initialized inside the constructor instead of at class load time (field initializers).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}] | null |
wso2__transport-http__146 | wso2/transport-http | 146 | defect | 517803f5fc4fbefede5d2dac7192d3cecfdd2780 | e4ce4dff1daf2b46af8799890e148d315f0bab80 | Fix WebSocket Connection Closure Issue | This PR addresses the transport related part of https://github.com/ballerina-platform/ballerina-lang/issues/7893 | diff --git a/components/org.wso2.transport.http.netty/src/main/java/org/wso2/transport/http/netty/contractimpl/websocket/message/DefaultWebSocketInitMessage.java b/components/org.wso2.transport.http.netty/src/main/java/org/wso2/transport/http/netty/contractimpl/websocket/message/DefaultWebSocketInitMessage.java
index b... | 3 | 1 | 0 | [{"id": "G0", "claim": "In WebSocketSourceHandler.channelInactive, notifyCloseMessage is invoked with -1 as the close status, and the reviewer questions that value.", "category": "correctness", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In WebSocketClientHandler.channelRead0,... | null |
wso2__transport-http__158 | wso2/transport-http | 158 | defect | 2a127354282c30a7605b41de22673acd1fad8d9c | 626457ae6a181d3df059294ffc728dd44fb5bfe7 | Fix incorrect cancelling of the handshake | ## Purpose
> This adds more changes to the cancelling handshake method:
- Restricts the status error status codes
- Returns a channel future
Further the makes sure that the `WebSocketInitMessage` returns the proper `HttpCarbonRequest` instead of the `HttpRequest`. | diff --git a/components/org.wso2.transport.http.netty/src/main/java/org/wso2/transport/http/netty/contract/websocket/WebSocketInitMessage.java b/components/org.wso2.transport.http.netty/src/main/java/org/wso2/transport/http/netty/contract/websocket/WebSocketInitMessage.java
index be4d844ab..ad7485561 100644
--- a/compo... | 3 | 3 | 1 | [{"id": "G0", "claim": "cancelHandshake should return ChannelFuture instead of ChannelPromise, since returning ChannelPromise hands users the channel and pipeline, unlike every other API method that uses ChannelFuture.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1"... | null |
wso2__transport-http__166 | wso2/transport-http | 166 | defect | 57f4d5ce329aa78a495e8142021b50f21fb36416 | d60f1c392dfff15e72bb0ee1b61a623239d751aa | Get response from server on client handshake | ## Purpose
> Provides a way to access the response from the server when the client initiates a WebSocket handshake.
Related issue https://github.com/ballerina-platform/ballerina-lang/issues/8390 | diff --git a/components/org.wso2.transport.http.netty/src/main/java/org/wso2/transport/http/netty/contract/WebSocketClientHandshakeException.java b/components/org.wso2.transport.http.netty/src/main/java/org/wso2/transport/http/netty/contract/WebSocketClientHandshakeException.java
new file mode 100644
index 000000000..d... | 7 | 4 | 1 | [{"id": "G0", "claim": "WebSocketClientHandshakeException should carry the HttpCarbonResponse (instead of only a status code and headers) so the server's response is available when a client handshake fails.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "... | null |
wso2__transport-http__188 | wso2/transport-http | 188 | defect | beb493209686ea6f7a42b73b9cc5e5094ab55e26 | a63ab6d8d59e9386c6c901f589abf3be1db2ae05 | [WebSocket] Fix on error notification issue | ## Purpose
> Fix on error notification issues in transport.
> This PR fixes https://github.com/wso2/transport-http/issues/187 | diff --git a/components/org.wso2.transport.http.netty/src/main/java/org/wso2/transport/http/netty/contract/ServerConnectorFuture.java b/components/org.wso2.transport.http.netty/src/main/java/org/wso2/transport/http/netty/contract/ServerConnectorFuture.java
index e14a29bd2..d54a94d75 100644
--- a/components/org.wso2.tra... | 1 | 1 | 0 | [{"id": "G0", "claim": "The javadoc of the new getError() method should read either 'Return available throwable' or 'Return available error' instead of the incomplete 'Return the throwable available'.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
wso2__transport-http__206 | wso2/transport-http | 206 | defect | d7b458a289ce269439fdfc486679b40bdccc4c01 | 217bd272124821c17f007fb1f7df59370116a8fb | Allow terminating a connection with a close frame | ## Purpose
> Allow terminating a connection with a close frame
>Related issue: https://github.com/ballerina-platform/ballerina-lang/issues/8145
## Goals
> This helps to close a connection by sending a close frame but need not wait for a close frame.
## Approach
> Adds a method that sends a close frame and ter... | diff --git a/components/org.wso2.transport.http.netty/src/main/java/org/wso2/transport/http/netty/contract/websocket/WebSocketConnection.java b/components/org.wso2.transport.http.netty/src/main/java/org/wso2/transport/http/netty/contract/websocket/WebSocketConnection.java
index 7b41c6d43..63801f8ae 100644
--- a/compone... | 2 | 2 | 0 | [{"id": "G0", "claim": "The `writeFuture -> {` lambda argument should be placed inline on the same line as the upper `addListener(` call.", "category": "style", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The write listener in terminateConnection(int, String) should use guar... | null |
wso2__transport-http__221 | wso2/transport-http | 221 | defect | 9d7a8f246e5ca237a9be92e7be4359cd39c4d4a6 | bc9a86fb0d574392f077afac32ab557b9e7f2118 | Add missing test cases and remove redundant code | ## Purpose
> Increase the test coverage
## Goals
> Increase the test coverage of WebSocket above 80%
## Approach
> Remove redundant code which is not tested and add missing test cases. | diff --git a/components/org.wso2.transport.http.netty/src/main/java/org/wso2/transport/http/netty/contract/websocket/WebSocketClientConnectorConfig.java b/components/org.wso2.transport.http.netty/src/main/java/org/wso2/transport/http/netty/contract/websocket/WebSocketClientConnectorConfig.java
index 503279191..35a551a2... | 2 | 2 | 0 | [{"id": "G0", "claim": "Reformat the getHost() method declaration in DefaultWebSocketConnection.java, which puts the @Override annotation and the method signature on a single line.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Reformat the sing... | null |
wso2__transport-http__222 | wso2/transport-http | 222 | defect | 9d7a8f246e5ca237a9be92e7be4359cd39c4d4a6 | b12f1fa250a7ecff081ddb019601a22aeb136ec6 | Fix response for HEAD method | ## Purpose
> Fix https://github.com/ballerina-platform/ballerina-lang/issues/7619
## Goals
> Discard entity body correctly and construct response for HEAD request.
## Approach
> Add necessary parts to discard the entity body and construct response in HttpOutboundResListener
## Automation tests
- Unit test... | diff --git a/components/org.wso2.transport.http.netty/src/main/java/org/wso2/transport/http/netty/contractimpl/HttpOutboundRespListener.java b/components/org.wso2.transport.http.netty/src/main/java/org/wso2/transport/http/netty/contractimpl/HttpOutboundRespListener.java
index 489a44f67..735e1f76a 100644
--- a/component... | 1 | 1 | 0 | [{"id": "G0", "claim": "The method name `checkAndWriteLastHttpContent` should be improved because the method writes more than the LastHttpContent.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
wso2__transport-http__232 | wso2/transport-http | 232 | defect | 4b41e3341517433150e4eda4d6521c1b04faa77d | aa964f710943be17ebfea67c79fa60922946524a | Refactor ssl related configurations to improve re-usability | ## Purpose
Fix the issue: https://github.com/wso2/transport-http/issues/211
| diff --git a/components/org.wso2.transport.http.netty/src/main/java/org/wso2/transport/http/netty/common/Constants.java b/components/org.wso2.transport.http.netty/src/main/java/org/wso2/transport/http/netty/common/Constants.java
index 6ae402741..c9b8a3dc5 100644
--- a/components/org.wso2.transport.http.netty/src/main/j... | 3 | 3 | 0 | [{"id": "G0", "claim": "The indentation of the switch statement in getSSLConfigForListener (cases at the same level as the switch) should be corrected to conventional formatting.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The if/else-if chai... | null |
wso2__transport-http__246 | wso2/transport-http | 246 | defect | adc348b688b4627b8dcf14ad8146c53d4c362586 | f5d4e16b2f712ae8cdf14552d88869e88789cf42 | Introduce HTTP 1.1 pipelining | ## Purpose
>Introduce HTTP pipelining
## Goals
> When pipelining requests are sent, responses should go out in the same order as the requests received
## Approach
> Keep track of requests with a sequence number and maintain a pipelined response queue. Pipelining logic is in ballerina side. Only the sequence nu... | diff --git a/components/org.wso2.transport.http.netty/src/main/java/org/wso2/transport/http/netty/common/Constants.java b/components/org.wso2.transport.http.netty/src/main/java/org/wso2/transport/http/netty/common/Constants.java
index d55945cbf..f2ecf1502 100644
--- a/components/org.wso2.transport.http.netty/src/main/j... | 3 | 3 | 0 | [{"id": "G0", "claim": "The onLastHttpContentSent method of the new HttpPipelineListener interface should have documentation added.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "A blank line is required in HttpCarbonMessage.java between the getSe... | null |
wso2__transport-http__248 | wso2/transport-http | 248 | defect | 30ce15af519e798ccca53a26403a36e24a15ad08 | c19440ebe48ee2d3975104861d658ac67526d10a | Handle SSL handshake with certificates and keys without using keystores | ## Purpose
This PR will enable adding certificates and keys without the use of storing them in key stores.
## Goals
From this, it facilitates configuring SSL with both keystores and with certificates and keys.
## Approach
Relevant sslContext will be created depending on the user's configurations, either keysto... | diff --git a/components/org.wso2.transport.http.netty/src/main/java/org/wso2/transport/http/netty/common/Constants.java b/components/org.wso2.transport.http.netty/src/main/java/org/wso2/transport/http/netty/common/Constants.java
index d55945cbf..9595f3313 100644
--- a/components/org.wso2.transport.http.netty/src/main/j... | 14 | 12 | 0 | [{"id": "G0", "claim": "Abstract the else-branch code in configureHttpPipelineForSSL into another function.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Break the long SslContextBuilder train in createHttp2TLSContextForServer into smaller pieces.", "ca... | null |
wso2__transport-http__262 | wso2/transport-http | 262 | defect | 5d9556151033daef96f6ff18e7951aa1a4c8b914 | 21cb2db5a68f2c71f35894449d4647ef8b913478 | Respond properly for unsupported WebSocket version | ## Purpose
> This would prevent a null pointer when a WebSocket request with an unsupported version is sent. | diff --git a/components/org.wso2.transport.http.netty/src/main/java/org/wso2/transport/http/netty/contractimpl/websocket/message/DefaultWebSocketHandshaker.java b/components/org.wso2.transport.http.netty/src/main/java/org/wso2/transport/http/netty/contractimpl/websocket/message/DefaultWebSocketHandshaker.java
index d4e... | 2 | 1 | 0 | [{"id": "G0", "claim": "The chained Unirest request statement in testUnsupportedWebSocketVersion could be more readable by assigning parts to variables and using them.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The header constants used in t... | null |
wso2__transport-http__271 | wso2/transport-http | 271 | defect | 381714a9a9a04dd321be00f09a5fdc2e1332e81e | 52432b26b4ef142b91b2d5f0cf5654f7337c13a3 | Fix an HTTP/2 to HTTP/1.1 fallback scenario | ## Purpose
Fixes https://github.com/ballerina-platform/ballerina-lang/issues/10936
This PR fixes a scenario of HTTP/2 to HTTP/1.1 fallback. The following ballerina program acts as a backend service and it can be invoked by
`$ curl -k https://localhost:9191/nyseStock/stocks`.
The PR fixes this scenario while remo... | diff --git a/components/org.wso2.transport.http.netty/src/main/java/org/wso2/transport/http/netty/contractimpl/listener/HttpServerChannelInitializer.java b/components/org.wso2.transport.http.netty/src/main/java/org/wso2/transport/http/netty/contractimpl/listener/HttpServerChannelInitializer.java
index 00609d6d6..887113... | 2 | 2 | 0 | [{"id": "G0", "claim": "The new client connector field names should be something like `http1ClientConnector` and `http2ClientConnector`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "A description should be added to the test to make it easy to ... | null |
wso2__transport-http__273 | wso2/transport-http | 273 | defect | b0fa491229a50fef5c8abd7f205ed120f29ea4ac | d77bca74d74c245b815d653fb31b183ed9b4386f | Introduce a different thread pool to manage pipelined response serialization | Fixes https://github.com/ballerina-platform/ballerina-lang/issues/10878
| diff --git a/components/org.wso2.transport.http.netty/src/main/java/org/wso2/transport/http/netty/contract/Constants.java b/components/org.wso2.transport.http.netty/src/main/java/org/wso2/transport/http/netty/contract/Constants.java
index b29202ccb..54c7834aa 100644
--- a/components/org.wso2.transport.http.netty/src/ma... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new naming `pipeliningNeeded` is inconsistent with the existing `oscpStaplingEnabled` naming and should be renamed to `pipeliningEnabled`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
wso2__transport-http__276 | wso2/transport-http | 276 | defect | bd946db7b03eaa9f10a4dbddc31e095e364b1fd2 | 467e32e85c37495312675b1b7b328497de82a4f0 | Handle Expect: 100-continue negative scenario | ## Purpose
> Handle status codes other than 100 at Expect100ContinueHeaderReceived state.
> Fixes https://github.com/ballerina-platform/ballerina-lang/issues/12494 | diff --git a/components/org.wso2.transport.http.netty/src/main/java/org/wso2/transport/http/netty/contractimpl/listener/states/Expect100ContinueHeaderReceived.java b/components/org.wso2.transport.http.netty/src/main/java/org/wso2/transport/http/netty/contractimpl/listener/states/Expect100ContinueHeaderReceived.java
ind... | 1 | 1 | 0 | [{"id": "G0", "claim": "The status-code check in writeOutboundResponseBody should use the Constants.HTTP_STATUS_CODE constant and HttpResponseStatus.CONTINUE.code() instead of the hardcoded string \"HTTP_STATUS_CODE\" and the literal 100.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope... | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.