Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Api product test improvement #13144

Open
wants to merge 431 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
431 commits
Select commit Hold shift + click to select a range
6fd637d
Merge pull request #948 from vithu30/APIMINTERNAL-963-Tests-U2
vithu30 Sep 28, 2021
b3bf3c1
Adding missing config
HiranyaKavishani Oct 1, 2021
6825704
Adding binding_federated_user_claims config
HiranyaKavishani Oct 2, 2021
7aba6e3
Merge pull request #965 from HiranyaKavishani/3.2.0-new
HiranyaKavishani Oct 4, 2021
421c34d
Add missing properties as templates in broker.xml
Chamindu36 Jan 15, 2021
fb5267a
Add missing properties as templates in broker.xml
Chamindu36 Jan 15, 2021
df5ad60
Update properties as templates in broker.xml
Chamindu36 Jan 15, 2021
220047d
[3.2.0] Template the HttpHeaderSecurityFilter setting product-apim#9585
menakaj Dec 8, 2020
f48f898
Added proxyProfiles configs to .j2 files.
prasa7 Jan 20, 2021
c1f0f69
Add missing configs in J2 files
Chamindu36 Jan 8, 2021
622511a
Remove j2 files packed from kernel
Chamindu36 Jan 8, 2021
ce9d9b5
Fixing requested changes
Chamindu36 Jan 8, 2021
95cf6c3
Add TransportHeaderHandler specific details to synapse-handlers.xml
npamudika Dec 1, 2020
1f7cb04
Fix NullPointer Exception when using fn:replace()
HeshanSudarshana Feb 12, 2021
8d3187e
fix for CTLIENPROD-129
isharac Dec 4, 2020
023181a
Add tests for https://github.com/wso2/product-apim/issues/11382
sajinieKavindya Jul 7, 2021
c9be0a3
Add test case for CustomizeAuthHeader
Krishanx92 Jun 22, 2021
018a0cd
Fix lisence header
Krishanx92 Jun 22, 2021
c861515
Add negative test cases
Krishanx92 Jun 22, 2021
1b0ea6b
Fix description
Krishanx92 Jun 22, 2021
88c9bb4
tests: Add tests for #11015
praminda May 7, 2021
e9fc44c
Adding APIkey and basic auth checks in velocity.template file
Chamindu36 Feb 2, 2021
7f2de81
Add changes to api_product_template.xml
Chamindu36 Feb 3, 2021
d543d3a
fix username resolving issue when securevault is enabled
chashikajw Jan 27, 2021
debcd66
Adding optional fields to graphQL payload
HiranyaKavishani Nov 26, 2020
39ee9b7
Create application,generate keys, verify SP
kavishkafernando Jul 8, 2021
2f4b02c
Create application,generate keys, verify SP
kavishkafernando Jul 8, 2021
3d86ccf
change application owner and update app
kavishkafernando Jul 9, 2021
a61dd80
Sync WUM and U2 update
Krishanx92 Oct 5, 2021
8f1cfdc
Merge pull request #976 from Krishanx92/support-3.2.0.x-full
Krishanx92 Oct 6, 2021
4441280
Adding tests for #11773 and #11231
mushiR33 Oct 6, 2021
1cf67c2
Adding missing files
mushiR33 Oct 6, 2021
f567cbe
Revert "Sync WUM and U2 update"
Krishanx92 Oct 6, 2021
075ec83
Merge pull request #981 from wso2-support/revert-976-support-3.2.0.x-…
Krishanx92 Oct 6, 2021
c663a27
Set default api message format to REST
msm1992 Feb 16, 2021
111700c
added end line
hasuniea Oct 7, 2021
4ed97c4
Merge pull request #1 from hasuniea/newe
hasuniea Oct 7, 2021
56d0382
Merge pull request #982 from hasuniea/support-3.2.0.x-full
hasuniea Oct 7, 2021
8892208
Merge pull request #979 from mushthaq33/support-3.2.0.x-full-graphql-…
mushiR33 Oct 11, 2021
b6580f6
Add MessageTracker loggers
Oct 15, 2021
6e489da
Merge pull request #994 from Sarangan0219/support-3.2.0.x-full
Sarangan0219 Oct 18, 2021
43cc3d8
Update log4j2.properties
Oct 18, 2021
9763cc9
Merge pull request #998 from Sarangan0219/support-3.2.0.x-full
Sarangan0219 Oct 18, 2021
1292dc6
Fix APIEndpointsCertificateTestCase failure
YasasRangika Oct 18, 2021
3bdf943
Change the initialize method
YasasRangika Oct 18, 2021
f0f6c73
Change the fault sequence
YasasRangika Oct 18, 2021
4c34237
fault xml file changes
YasasRangika Oct 18, 2021
cba1be8
fault xml file changes
YasasRangika Oct 18, 2021
feb4c46
Add integration tests for lightweight observability
Oct 18, 2021
1d4a187
Adding artifacts for 2694
Oct 22, 2021
1b60c5c
Merge pull request #1001 from Sarangan0219/support-3.2.0.x-full
Sarangan0219 Oct 22, 2021
bf38a7f
Merge pull request #999 from YasasRangika/yasas-support-3.2.0.x-full-…
YasasRangika Oct 28, 2021
ea1cb6a
Add integration tests for subscription throttle policy update
npamudika Nov 1, 2021
137a141
Merge pull request #1016 from npamudika/support-3.2.0.x-full
npamudika Nov 2, 2021
3b696fc
Fix compilation issue in SubscriptionThrottlingPolicyTestCase
npamudika Nov 4, 2021
49d530f
Merge pull request #1022 from npamudika/support-3.2.0.x-full
rmsamitha Nov 4, 2021
425a8d8
Add missing j2 file changes
YasasRangika Nov 5, 2021
83a9809
Merge pull request #1024 from YasasRangika/yasas-support-3.2.0.x-full
YasasRangika Nov 5, 2021
2ef2cf6
Updating the identity oauth to latest qualifier
mushiR33 Nov 9, 2021
f14550a
Merge pull request #1030 from wso2-support/mushthaq33-patch-3
rmsamitha Nov 9, 2021
6adbbfc
Changing to versions 38
mushiR33 Nov 9, 2021
c586275
Merge pull request #1031 from wso2-support/mushthaq33-patch-4
mushiR33 Nov 9, 2021
94a132c
Fix SubscriptionThrottlingPolicyTestCase issue
npamudika Nov 9, 2021
1a8df6c
Merge pull request #1032 from npamudika/support-3.2.0.x-full
npamudika Nov 9, 2021
370280c
Upgrade jackson versions
Arshardh Nov 10, 2021
0c84ada
Adding artifacts for APIMINTERNAL-1217
YasasRangika Nov 10, 2021
b1da1f8
Merge pull request #1036 from Arshardh/informatica-upgrade
Arshardh Nov 11, 2021
931cea0
Update pom.xml
mushiR33 Nov 12, 2021
e5c2bed
Merge pull request #1040 from wso2-support/mushthaq33-patch-5
mushiR33 Nov 12, 2021
284e832
Merge pull request #1037 from YasasRangika/yasas-support-3.2.0.x-full
YasasRangika Nov 12, 2021
4a096e7
Add j2 file changes
npamudika Nov 26, 2021
3d24371
Merge pull request #1114 from npamudika/support-3.2.0.x-full
npamudika Nov 26, 2021
71b16e9
Solve reCAPTCHA issues in .j2 files
Chamindu36 Nov 30, 2021
dcc51e6
Merge pull request #1123 from Chamindu36/chamindu_3.2.0_x
Chamindu36 Nov 30, 2021
f45bad2
Solve reCAPTCHA issues in .j2 files
Chamindu36 Dec 1, 2021
6dff1d4
Add new template file for profile startup
Chamindu36 Dec 1, 2021
fa9f73a
Merge pull request #1131 from Chamindu36/chamindu_3.2.0_x
Chamindu36 Dec 1, 2021
9f6c229
Add validation to name fields
RakhithaRR Dec 3, 2021
be9e215
Merge pull request #1144 from RakhithaRR/3.2.0.x-consent-delete
RakhithaRR Dec 3, 2021
78a471f
Adds tests for subscription pagintaion wso2/product-apim#12097
msm1992 Dec 7, 2021
cd0792d
Refine errorMessage logic
Dec 13, 2021
2d492e1
Add JSP files and resource.properties
Dec 14, 2021
baacf6d
Merge pull request #1160 from Sarangan0219/support-3.2.0.x-full
Sarangan0219 Dec 22, 2021
8e69646
Improve i18n strings for error messages
Dec 22, 2021
5d550ef
remove unnecessary versions
Dec 23, 2021
bcc5fc6
Merge pull request #1169 from Sarangan0219/support-3.2.0.x-full
Sarangan0219 Dec 23, 2021
c8f698c
Remove unsupported langauages
Jan 3, 2022
a477c23
Merge pull request #1175 from Sarangan0219/support-3.2.0.x-full
Sarangan0219 Jan 3, 2022
2376882
Merge pull request #1148 from msm1992/support-3.2.0.x-full-12097
msm1992 Jan 5, 2022
5e81a19
Fix sign in link in devportal signup page
tharikaGitHub Jan 10, 2022
91a51d3
Merge pull request #1179 from tharikaGitHub/support-3.2.0.x-full
tharikaGitHub Jan 11, 2022
f8c469c
Add bundles.info files changes related to ua-parser jar upgrade
npamudika Jan 20, 2022
935e636
Merge pull request #1182 from npamudika/support-3.2.0.x-full
npamudika Jan 20, 2022
e05b183
Add bundle.info changes for pax logging upgrade from IS
tharikaGitHub Jan 24, 2022
cdcbc46
Merge pull request #1184 from tharikaGitHub/support-3.2.0.x-full
tharikaGitHub Jan 24, 2022
06d6466
Add test case for custom auth header value in error response
dushaniw Feb 1, 2022
381054d
fix header name.
dushaniw Feb 2, 2022
8fb2635
fix response message.
dushaniw Feb 3, 2022
3b4fd1e
Merge pull request #1191 from dushaniw/support-3.2.0.x-full
dushaniw Feb 3, 2022
0f88751
Add updated infer.json for APIMINTERNAL-1476
YasasRangika Feb 15, 2022
d490419
Merge pull request #1200 from YasasRangika/yasas-support-3.2.0.x-full
YasasRangika Feb 15, 2022
5f8e5d9
Add integration tests for GraphQL subs
wasuradananjith Dec 8, 2021
1fed33b
Improve indexing in WS and GraphQL subs tests
wasuradananjith Dec 10, 2021
2837289
Modify GraphQL subs integration tests
wasuradananjith Dec 13, 2021
a70b939
Increase thread sleeps of GraphQL subs integration tests
wasuradananjith Dec 16, 2021
accbd1c
Adjust the request count to 3 in GraphQL subs tests
wasuradananjith Dec 22, 2021
81278ac
Fix thread sleeps in GraphQL subs tests
wasuradananjith Dec 22, 2021
fbfbd3d
Add source j2 for WebSocketInboundEndpoint and remove echo WS subprot…
wasuradananjith Dec 22, 2021
0e87e51
Add update-artifacts j2 for WebSocketInboundEndpoint and remove echo …
wasuradananjith Dec 22, 2021
c15d6c3
Update license header to 2022
wasuradananjith Jan 20, 2022
db0bc56
fix intermittent test failures in GraphQL operation security test cas…
dushaniw Feb 14, 2022
b66cf2b
Add WebSocketInboundEndpoint modifications for GraphQL WS
wasuradananjith Feb 18, 2022
8a332e8
Merge pull request #1201 from dushaniw/support-3.2.0.x-full
wasuradananjith Feb 18, 2022
6aa9641
Merge pull request #1202 from wasuradananjith/support-3.2.0.x-full
wasuradananjith Feb 21, 2022
8d05833
Add support for the WS to handle inbound and outbound idle connection…
Feb 23, 2022
1cc35a4
Update artifacts related to https://github.com/wso2-support/product-a…
wasuradananjith Mar 1, 2022
a0d98d2
Add new tests for default API invocation
RakhithaRR Mar 9, 2022
55d53a8
Adding configs for identity endpoint properties
Mar 11, 2022
07eb69c
Remove deployment.toml configs
Mar 11, 2022
14a5f70
Bunlde identity properties together
Mar 11, 2022
12d5e7e
Update license header
Mar 11, 2022
8cb88e3
Merge pull request #1214 from Sarangan0219/support-3.2.0.x-full
Sarangan0219 Mar 11, 2022
683901a
Add artifacts for APIMINTERNAL-1711
Mar 18, 2022
939a894
Merge pull request #1215 from Sarangan0219/support-3.2.0.x-full
Sarangan0219 Mar 18, 2022
55fddce
Add update artifacts for APIMINTERNAL-1670, APIMINTERNAL-1672
rmsamitha Mar 22, 2022
ecaf1c8
Merge pull request #1217 from rmsamitha/support-3.2.0.x-full
rmsamitha Mar 22, 2022
4ee5afa
Merge pull request #1213 from RakhithaRR/AI-1753-U2-test
RakhithaRR Mar 23, 2022
15a77a7
Update h2 jar version
YasasRangika Apr 6, 2022
15cef31
Merge pull request #1227 from YasasRangika/yasas-support-3.2.0.x-full
YasasRangika Apr 6, 2022
df39122
Add test case for fix of issue #12414
rmsamitha Apr 11, 2022
ed1f6b9
add missing default.json changes
YasasRangika Apr 12, 2022
97d940b
Merge pull request #1235 from YasasRangika/yasas-support-3.2.0.x-full
YasasRangika Apr 12, 2022
66ac5c1
Added integration test to block subscription with dashes in respectiv…
prasa7 Apr 15, 2022
6071b41
Added the test case.
prasa7 Apr 15, 2022
e70b17d
Merge pull request #1237 from prasa7/support-3.2.0.x-full
prasa7 Apr 15, 2022
0c3f0c8
Add support repo jars
chamilaadhi Dec 8, 2021
eb449dc
Improve GraphQL Subscription tests
wasuradananjith Apr 22, 2022
ed47395
Add j2 changes to skip default API handler when config is enabled
Apr 22, 2022
d14ba97
Add licence headers
Apr 22, 2022
bb4ca24
Merge pull request #1242 from binodmx/support-3.2.0.x-full
binodmx Apr 22, 2022
5951387
Add a unique scope for testGraphQLAPIInvocationWithScopes
wasuradananjith Apr 22, 2022
2ca8af4
Revert "[3.2.0][U2] Fix APIEndpointsCertificateTestCase failure"
YasasRangika Apr 25, 2022
6286f8f
update synapse file locations
YasasRangika Apr 25, 2022
cc3ec0f
Updated artifacts in update 4560
YasasRangika Apr 25, 2022
966c6b9
Merge pull request #1248 from YasasRangika/yasas-support-3.2.0.x-full
YasasRangika Apr 26, 2022
8686293
Merge pull request #1247 from wso2-support/revert-999-yasas-support-3…
YasasRangika Apr 26, 2022
e55fb98
Initial commit for apim-is-plugin
vithu30 Apr 26, 2022
899f78a
Fix review comments
vithu30 Apr 26, 2022
b523beb
Modify registry.xml.j2 with extensions cache handler
ashera96 Apr 27, 2022
81ac26f
Update scripts to handler jar names with underscore
vithu30 Apr 27, 2022
079179d
Add U2 binaries to product
vithu30 Apr 27, 2022
5701b9a
Merge pull request #1253 from ashera96/fix-cache-issue-u2
ashera96 Apr 27, 2022
92ce8f9
Merge pull request #1252 from vithu30/accelerator-model
vithu30 Apr 27, 2022
b5022bd
fix WorkflowApprovalExecutorTest failures in 3.2.0
YasasRangika Apr 28, 2022
7939ccb
Set region property of aws lambda mediator
Apr 28, 2022
0c28f07
Merge pull request #1256 from binodmx/support-3.2.0.x-full
binodmx Apr 28, 2022
2b1a02f
Merge pull request #1257 from YasasRangika/yasas-support-3.2.0.x-full
YasasRangika Apr 29, 2022
72b9769
adding updated artifacts via u2: 4589
YasasRangika May 3, 2022
c2660d2
Merge pull request #1260 from YasasRangika/yasas-support-3.2.0.x-full
YasasRangika May 3, 2022
243d0a1
Add update artifacts for 4615
RakhithaRR May 3, 2022
c0c849a
Merge pull request #1261 from RakhithaRR/AI-1597-artifats
RakhithaRR May 4, 2022
f762304
Merge pull request #1232 from rmsamitha/support-3.2.0.x-full
rmsamitha May 6, 2022
a3e68fb
Update test cases and renew certs for APIEndpointsCertificateTestase
RakhithaRR May 9, 2022
8fd8ee2
Merge pull request #1262 from RakhithaRR/3.2.0.x-full-cert-renew
RakhithaRR May 9, 2022
532acae
Fix test failure in GraphqlTestCase and GraphqlSubscriptionTestCase
ashera96 May 9, 2022
a513279
Fix test failure in GraphqlTestCase and GraphqlSubscriptionTestCase
ashera96 May 22, 2022
a38bba9
Fix imports in GraphqlTestCase
ashera96 May 22, 2022
2691508
Merge pull request #1268 from ashera96/3.2.0-graphql-test-fixes-testgrid
ashera96 May 25, 2022
dd2bc7b
Add updated artifacts from update 4985
YasasRangika Jun 21, 2022
01e5e57
Merge pull request #1277 from YasasRangika/yasas-support-3.2.0.x-full
YasasRangika Jun 21, 2022
0d7fdef
Fix GraphQL test cases to read a JSON array on error response
PasanT9 Jul 5, 2022
b3a3e18
Merge pull request #1288 from PasanT9/json-array-payload-u2
arunans23 Jul 8, 2022
b684965
Change APILifeCycle.xml to default after CustomLifeCycleTestCase
HeshanSudarshana Jul 8, 2022
9ebdf73
Add integration tests to validate invalid context modification using …
PasanT9 Jul 15, 2022
bc40e1e
Add log4j DEBUG logs for registry, apimgt and governance
HeshanSudarshana Jul 19, 2022
09ed16e
Revert "Add log4j DEBUG logs for registry, apimgt and governance"
HeshanSudarshana Jul 19, 2022
5ece502
Add DEBUG logs for registry, apimgt and governance components
HeshanSudarshana Jul 19, 2022
f00b2b9
Merge pull request #1300 from HeshanSudarshana/support-3.2.0.x-full-d…
HeshanSudarshana Jul 20, 2022
09c7aaa
Merge pull request #1297 from PasanT9/context-mod-int-u2
wasuradananjith Jul 20, 2022
1ee83be
Revert "[U2] Add integration tests to validate invalid context modifi…
ashera96 Jul 23, 2022
c933ef9
Merge pull request #1306 from wso2-support/revert-1297-context-mod-in…
HiranyaKavishani Jul 23, 2022
9329089
Fixing integration tests related to pr https://github.com/wso2-suppor…
Jul 26, 2022
fbcca98
Merge pull request #1308 from chanaka3d/support-3.2.0.x-full
chanaka3d Jul 26, 2022
cc9ab75
Add integration tests to validate invalid context modification using …
PasanT9 Jul 15, 2022
198f11b
Merge pull request #1312 from PasanT9/context-mod-int-tests-u2
ashera96 Jul 27, 2022
81d67f5
Revert "Adding tokenType to application information resource to fix t…
Jul 28, 2022
c059f3c
Merge pull request #1314 from wso2-support/revert-1308-support-3.2.0.…
chanaka3d Jul 28, 2022
30e400c
Revert "[U2] Add integration tests to validate invalid context modifi…
PasanT9 Jul 28, 2022
2a328df
Merge pull request #1316 from PasanT9/revert-1312-context-mod-int-tes…
HiranyaKavishani Jul 28, 2022
76422e7
Add integration tests to validate invalid context modification using …
PasanT9 Jul 15, 2022
0eed835
Merge pull request #1318 from PasanT9/cont-fix-test-u2
wasuradananjith Aug 1, 2022
3509179
Revert "[U2] Add integration tests to validate invalid context modifi…
PasanT9 Aug 5, 2022
4e1f9b2
Merge pull request #1320 from PasanT9/revert-1318-cont-fix-test-u2
HiranyaKavishani Aug 5, 2022
2917e7d
Add integration tests to validate invalid context modification using …
PasanT9 Jul 15, 2022
d8062bf
Merge pull request #1321 from PasanT9/support-3.2.0.x-full
wasuradananjith Aug 8, 2022
82c1fb9
Redirect to callback url
Tharsanan1 Aug 17, 2022
0cec4f1
Merge pull request #1322 from Tharsanan1/fix-signup-cancel-btn
HiranyaKavishani Aug 18, 2022
9b8ebb4
Add sleep to avoid intermittent API update failures
HeshanSudarshana Aug 30, 2022
d8756bb
Revert "Add DEBUG logs for registry, apimgt and governance components"
HeshanSudarshana Aug 30, 2022
9ad5cd9
Add sleep to avoid intermittent API update failures
HeshanSudarshana Sep 14, 2022
7fd115d
Merge pull request #1348 from HeshanSudarshana/support-3.2.0.x-full-a…
chamilaadhi Sep 15, 2022
2505ac5
Integration-Tests:Incorrect-Token
Tharanidk Sep 19, 2022
ec13641
Test Formatting
Tharanidk Sep 19, 2022
fb7d123
Merge pull request #1351 from Tharanidk/support-3.2.0.x-full
dnwick Sep 20, 2022
57bdcdf
update artifact for datagent configs
shilmyhasan Sep 21, 2022
d802ad9
Merge branch 'support-3.2.0.x-full' of https://github.com/wso2-suppor…
shilmyhasan Sep 21, 2022
bf49d42
Merge pull request #1353 from shilmyhasan/support-3.2.0-x
shilmyhasan Sep 21, 2022
41773cd
Add _CommonAuthAPI_.xml proxy to the synpase-configs
hisanhunais Sep 26, 2022
6a6b5c6
Initial Commit
thisaltennakoon Sep 26, 2022
178fc66
Add init-url.jsp file to authenticationendpoint
hisanhunais Sep 26, 2022
e09147d
Add ISKMReverseProxyEnabled property to api-manager.xml.j2
hisanhunais Sep 26, 2022
7cd796f
Add iskm_reverseproxy_enabled property to default.json
hisanhunais Sep 26, 2022
92f273f
Add reverse proxy configs to identity.xml.j2
hisanhunais Sep 26, 2022
f424fa7
Add config to enable session nonce cookie validation
hisanhunais Sep 26, 2022
0c52751
Add suspicious authentication attempts error messages
hisanhunais Sep 27, 2022
039200d
Add POST resource to _AuthorizeAPI_.xml
hisanhunais Sep 27, 2022
1304a72
Merge pull request #1359 from thisaltennakoon/support-3.2.0.x-full
rmsamitha Oct 4, 2022
a574944
Revert "Integration tests for get applications with pagination"
thisaltennakoon Oct 5, 2022
ee6e0b6
Merge pull request #1371 from thisaltennakoon/revert-1359-support-3.2…
rmsamitha Oct 5, 2022
63141fc
Fix indents in testcases after Xalan jar removal
arunans23 Nov 17, 2022
192db06
Merge pull request #1391 from arunans23/support-3.2.0.x-full
GDLMadushanka Nov 18, 2022
6a4e710
Test block subscription for username which contains hyphen
Tharsanan1 Nov 21, 2022
45843f5
Add J2 mapping to support nested properties
Nov 22, 2022
efba6f6
Add J2 mapping to support ApplicationXMLBuilder.allowDTD parameter
Nov 22, 2022
4f2dcf8
Add pass through control frames config for web sockets
Arshardh Nov 22, 2022
ba96eaa
Update J2 mapping of ApplicationXMLBuilder.allowDTD with for loop
Nov 23, 2022
b30c74e
Merge pull request #1401 from binodmx/support-3.2.0.x-full
binodmx Nov 23, 2022
9b5761e
Add ws.pass.through.control.frames property to WSS
Arshardh Nov 23, 2022
02461cc
Add ws.pass.through.control.frames to ws
Arshardh Nov 23, 2022
4ca851a
Merge pull request #1402 from Arshardh/origin-config
Arshardh Nov 23, 2022
d935817
Invoke api after blocking and unblocking
Tharsanan1 Nov 28, 2022
3dff791
Improve code format and add newline at EOF
Tharsanan1 Nov 28, 2022
33350ae
Add perAPICorsValidationEnabledTests test
PasanT9 Dec 6, 2022
6df68ac
Merge pull request #1405 from Tharsanan1/test-block-subscription
Tharsanan1 Dec 8, 2022
a96a651
Merge pull request #1416 from PasanT9/per-api-cors-u2
PasanT9 Dec 12, 2022
2e92a00
Comment problematic test case
Tharsanan1 Dec 13, 2022
0be91aa
Merge pull request #1423 from Tharsanan1/integ-fail-u2
Tharsanan1 Dec 13, 2022
87d68e5
Comment out failing test case
PasanT9 Dec 13, 2022
b72126c
Merge pull request #1425 from PasanT9/fail-test-u2
PasanT9 Dec 13, 2022
b0b8c6d
Fix checking port availability
PasanT9 Dec 16, 2022
cfaf64f
Merge pull request #1427 from PasanT9/port-fix-u2
PasanT9 Dec 16, 2022
ea67cb8
Correct api endpoint URL
PasanT9 Dec 16, 2022
b3c89f4
Merge pull request #1429 from PasanT9/port-fix-u2
PasanT9 Dec 16, 2022
36921c0
Add missing i18n strings
hisanhunais Jan 4, 2023
687c75b
remove extra spaces
Tharanidk Jan 5, 2023
2aa1cce
Merge pull request #1360 from hisanhunais/reverse-proxy-fix-3.2.0
hisanhunais Jan 9, 2023
5aac632
Upgrade callhome version
PasanT9 Jan 9, 2023
82a1b32
Merge pull request #1453 from PasanT9/320-callhome-u2
PasanT9 Jan 9, 2023
8b627f7
Merge pull request #1442 from Tharanidk/fix_320x
npamudika Jan 10, 2023
f74266f
Add api product testcase improvement
chamilaadhi Feb 13, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions modules/distribution/apim-is-plugin/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# WSO2 APIM IS Plugin - 3.2.0

## Prerequisites:
1. Download WSO2 IS product
2. Download WSO2 APIM IS Plugin product

## Installation Steps:
1. Extract WSO2 IS product. Let's call it `<WSO2_IS_HOME>`.
2. Extract WSO2 APIM IS Plugin. Lets call it `<WSO2_APIM_IS_PLUGIN_HOME>`.
3. Navigate to `<WSO2_APIM_IS_PLUGIN_HOME>` directory and execute `./bin/wso2update_linux` command by providing `<WSO2_IS_HOME>` as argument. It will update the key manager artifacts to latest update level.
4. Navigate to `<WSO2_APIM_IS_PLUGIN_HOME>` directory and execute `./bin/merge.sh` command by providing `<WSO2_IS_HOME>` as argument. This will copy the key manager artifacts to the WSO2 IS.

## Audit Logs:
- Running `merge.sh` script creates an audit log folder in the product home. Structure of it looks like below;

``` sh
apim-is-plugin
├── backup
│ ├── dropins
│ └── webapps
└── merge_audit.log
```
- `backup` folder contains the files that were originally there in the IS product before running the plugin. Please note that only the last state will be there.

## U2 Update Tool
By default, U2 update related files are added in the build.
``` sh
wso2apim-is-plugin-3.2.0
├── LICENSE.txt
│ ├── bin
│ ├── update
├── product.txt
```
46 changes: 46 additions & 0 deletions modules/distribution/apim-is-plugin/assembly/bin.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
<!--
~ Copyright (c) 2022, WSO2 Inc. (http://www.wso2.com). All Rights Reserved.
~
~ This software is the property of WSO2 Inc. and its suppliers, if any.
~ Dissemination of any information or reproduction of any material contained
~ herein is strictly forbidden, unless permitted by WSO2 in accordance with
~ the WSO2 Commercial License available at http://wso2.com/licenses.
~ For specific language governing the permissions and limitations under this
~ license, please see the license as well as any agreement you’ve entered into
~ with WSO2 governing the purchase of this software and any associated services.
-->
<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd">
<id>wso2.apim.is.plugin</id>
<includeBaseDirectory>false</includeBaseDirectory>
<formats>
<format>zip</format>
</formats>
<fileSets>
<fileSet>
<directory>${project.basedir}/target/apim-is-plugin-resources</directory>
<outputDirectory>wso2apim-is-plugin-${project.version}/</outputDirectory>
</fileSet>
<fileSet>
<directory>${project.basedir}/bin</directory>
<outputDirectory>wso2apim-is-plugin-${project.version}/bin</outputDirectory>
</fileSet>
</fileSets>
<files>
<file>
<source>${project.basedir}/README.md</source>
<outputDirectory>wso2apim-is-plugin-${project.version}/</outputDirectory>
</file>
<file>
<source>${project.basedir}/updates/LICENSE.txt</source>
<outputDirectory>wso2apim-is-plugin-${project.version}/</outputDirectory>
</file>
<file>
<source>${project.basedir}/updates/product.txt</source>
<outputDirectory>wso2apim-is-plugin-${project.version}/updates</outputDirectory>
<filtered>true</filtered>
<fileMode>644</fileMode>
</file>
</files>
</assembly>
105 changes: 105 additions & 0 deletions modules/distribution/apim-is-plugin/bin/merge.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
@echo off
REM ---------------------------------------------------------------------------
REM Copyright 2022 WSO2, Inc. http://www.wso2.org
REM
REM Licensed under the Apache License, Version 2.0 (the "License");
REM you may not use this file except in compliance with the License.
REM You may obtain a copy of the License at
REM
REM http://www.apache.org/licenses/LICENSE-2.0
REM
REM Unless required by applicable law or agreed to in writing, software
REM distributed under the License is distributed on an "AS IS" BASIS,
REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
REM See the License for the specific language governing permissions and
REM limitations under the License.

REM merge.sh script copy the APIM-IS-PLUGIN artifacts on top of WSO2 IS
REM
REM merge.bat IS-HOME

if ""%1""=="""" (
echo [ERROR] IS_HOME is not specified, please try again with correct arguments
exit /b 1
)
set IS_HOME=%1
echo [INFO] Product IS home is: %IS_HOME%

FOR %%A IN ("%~dp0.") DO set APIM_IS_PLUGIN_HOME=%%~dpA
echo [INFO WSO2 IS-APIM Plugin home is: %APIM_IS_PLUGIN_HOME%

if exist %IS_HOME%\repository\components\ (
echo [INFO] Valid carbon product path
) else (
echo [ERROR] Specified product path is not a valid carbon product path
exit /b 1
)

rem create the is-apim-plugin folder in product home, if not exist
set APIM_IS_PLUGIN_AUDIT=%IS_HOME%\is-apim-plugin
set APIM_IS_PLUGIN_AUDIT_BACKUP=%APIM_IS_PLUGIN_AUDIT%\backup

if exist %APIM_IS_PLUGIN_AUDIT% (
echo [INFO] APIM-IS-PLUGIN audit folder is present at %APIM_IS_PLUGIN_AUDIT%
if exist %APIM_IS_PLUGIN_AUDIT_BACKUP% (
del /q %APIM_IS_PLUGIN_AUDIT_BACKUP%\webapps\*
del /q %APIM_IS_PLUGIN_AUDIT_BACKUP%\dropins\*
)
) else (
mkdir %APIM_IS_PLUGIN_AUDIT_BACKUP%
mkdir %APIM_IS_PLUGIN_AUDIT_BACKUP%\webapps
mkdir %APIM_IS_PLUGIN_AUDIT_BACKUP%\dropins
echo [INFO] APIM-IS-PLUGIN audit folder %APIM_IS_PLUGIN_AUDIT% is created
)

echo [INFO] Backup original product files..
if exist %APIM_IS_PLUGIN_AUDIT_BACKUP%\webapps\keymanager-operations\ (
rmdir /s /q %APIM_IS_PLUGIN_AUDIT_BACKUP%\webapps\keymanager-operations
echo [INFO] Removed old keymanager-operations directory from %APIM_IS_PLUGIN_AUDIT_BACKUP%\webapps
)

if exist %IS_HOME%\repository\deployment\server\webapps\keymanager-operations\ (
xcopy /i /e %IS_HOME%\repository\deployment\server\webapps\keymanager-operations %APIM_IS_PLUGIN_AUDIT_BACKUP%\webapps\keymanager-operations\
)

if exist %IS_HOME%\repository\deployment\server\webapps\keymanager-operations.war (
copy %IS_HOME%\repository\deployment\server\webapps\keymanager-operations.war %APIM_IS_PLUGIN_AUDIT_BACKUP%\webapps
)

if exist %IS_HOME%\repository\components\dropins\wso2is.key.manager.core*.jar (
copy %IS_HOME%\repository\components\dropins\wso2is.key.manager.core*.jar %APIM_IS_PLUGIN_AUDIT_BACKUP%\dropins
)

if exist %IS_HOME%\repository\components\dropins\wso2is.notification.event.handlers*.jar (
copy %IS_HOME%\repository\components\dropins\wso2is.notification.event.handlers*.jar %APIM_IS_PLUGIN_AUDIT_BACKUP%\dropins
)

echo [INFO] Clean up extracted webapps..
if exist %IS_HOME%\repository\deployment\server\webapps\keymanager-operations\ (
rmdir /s /q %IS_HOME%\repository\deployment\server\webapps\keymanager-operations\
)

echo [INFO] Clean up keymanager-operations.war
if exist %IS_HOME%\repository\deployment\server\webapps\keymanager-operations.war (
del %IS_HOME%\repository\deployment\server\webapps\keymanager-operations.war
)

echo [INFO] Clean up key-manager jars from dropins..
if exist %IS_HOME%\repository\components\dropins\wso2is.key.manager.core*.jar (
del %IS_HOME%\repository\components\dropins\wso2is.key.manager.core*.jar
)

if exist %IS_HOME%\repository\components\dropins\wso2is.notification.event.handlers*.jar (
del %IS_HOME%\repository\components\dropins\wso2is.notification.event.handlers*.jar
)

echo [INFO] Copying APIM Key Manager connector artifacts to dropins
echo ================================================
xcopy /i /s /y %APIM_IS_PLUGIN_HOME%dropins %IS_HOME%\repository\components\dropins\

echo [INFO] Copying APIM Key Manager connector artifacts to webapps
echo ================================================
copy %APIM_IS_PLUGIN_HOME%webapps\keymanager-operations.war %IS_HOME%\repository\deployment\server\webapps\

echo [INFO] Completed!
echo %date% - %USERNAME% - "WSO2 APIM-IS Plugin 3.2.0" >> %APIM_IS_PLUGIN_AUDIT%\merge_audit.log
84 changes: 84 additions & 0 deletions modules/distribution/apim-is-plugin/bin/merge.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
#!/bin/bash
# ------------------------------------------------------------------------
#
# Copyright (c) 2022, WSO2 Inc. (http://www.wso2.com). All Rights Reserved.
#
# This software is the property of WSO2 Inc. and its suppliers, if any.
# Dissemination of any information or reproduction of any material contained
# herein is strictly forbidden, unless permitted by WSO2 in accordance with
# the WSO2 Commercial License available at http://wso2.com/licenses. For specific
# language governing the permissions and limitations under this license,
# please see the license as well as any agreement you’ve entered into with
# WSO2 governing the purchase of this software and any associated services.
#
# ------------------------------------------------------------------------

# merge.sh script copy the APIM-IS-PLUGIN artifacts on top of WSO2 IS
#
# merge.sh <IS-HOME>

IS_HOME=$1

# set APIM-IS-PLUGIN_HOME home
cd ../
APIM_IS_PLUGIN_HOME=$(pwd)
echo "[INFO] WSO2 APIM-IS Plugin home is: ${APIM_IS_PLUGIN_HOME}"

# set product home
if [ "${IS_HOME}" == "" ];
then
echo "[ERROR] IS_HOME is not specified, please try again with correct arguments";
exit 2;
fi
echo "[INFO] Product IS home is: ${IS_HOME}"

# validate product home
if [ ! -d "${IS_HOME}/repository/components" ]; then
echo "[ERROR] Specified product path is not a valid carbon product path";
exit 2;
else
echo "[INFO] Valid carbon product path";
fi

# create the apim-IS-plugin folder in product home, if not exist
APIM_IS_PLUGIN_AUDIT="${IS_HOME}"/apim-is-plugin
APIM_IS_PLUGIN_AUDIT_BACKUP="${APIM_IS_PLUGIN_AUDIT}"/backup
if [ ! -d "${APIM_IS_PLUGIN_AUDIT}" ]; then
mkdir -p "${APIM_IS_PLUGIN_AUDIT_BACKUP}"
mkdir -p "${APIM_IS_PLUGIN_AUDIT_BACKUP}"/webapps
mkdir -p "${APIM_IS_PLUGIN_AUDIT_BACKUP}"/dropins
echo "[INFO] APIM-IS-PLUGIN audit folder [""${APIM_IS_PLUGIN_AUDIT}""] is created";
else
echo "[INFO] APIM-IS-PLUGIN audit folder is present at [""${APIM_IS_PLUGIN_AUDIT}""]";
if [ -d "${APIM_IS_PLUGIN_AUDIT_BACKUP}" ]; then
rm -rf "${APIM_IS_PLUGIN_AUDIT_BACKUP}"/webapps/*
rm -rf "${APIM_IS_PLUGIN_AUDIT_BACKUP}"/dropins/*
fi
fi

echo "[INFO] Backup original product files.."
cp -R "${IS_HOME}"/repository/deployment/server/webapps/keymanager-operations/ "${APIM_IS_PLUGIN_AUDIT_BACKUP}"/webapps/keymanager-operations 2>/dev/null
cp "${IS_HOME}"/repository/deployment/server/webapps/keymanager-operations.war "${APIM_IS_PLUGIN_AUDIT_BACKUP}"/webapps 2>/dev/null
cp "${IS_HOME}"/repository/components/dropins/wso2is.key.manager.core*.jar "${APIM_IS_PLUGIN_AUDIT_BACKUP}"/dropins 2>/dev/null
cp "${IS_HOME}"/repository/components/dropins/wso2is.notification.event.handlers*.jar "${APIM_IS_PLUGIN_AUDIT_BACKUP}"/dropins 2>/dev/null

echo "[INFO] Clean up extracted webapps.."
rm -rf "${IS_HOME}"/repository/deployment/server/webapps/keymanager-operations/

echo "[INFO] Clean up keymanager-operations.war"
rm -f "${IS_HOME}"/repository/deployment/server/webapps/keymanager-operations.war

echo "[INFO] Clean up key-manager jars from dropins.."
rm -f "${IS_HOME}"/repository/components/dropins/wso2is.key.manager.core*.jar
rm -f "${IS_HOME}"/repository/components/dropins/wso2is.notification.event.handlers*.jar

echo "[INFO] Copying APIM Key Manager connector artifacts to dropins"
echo "================================================"
cp -r "${APIM_IS_PLUGIN_HOME}"/dropins/* "${IS_HOME}/repository/components/dropins"/

echo "[INFO] Copying APIM Key Manager connector artifacts to webapps"
echo "================================================"
cp -r "${APIM_IS_PLUGIN_HOME}"/webapps/keymanager-operations.war "${IS_HOME}/repository/deployment/server/webapps"/

echo "[INFO] Completed!"
echo "$(date)" - "$USER" - "WSO2 APIM-IS Plugin 3.2.0" | tee -a "${APIM_IS_PLUGIN_AUDIT}"/merge_audit.log >/dev/null
Binary file not shown.
Binary file not shown.
Binary file not shown.
110 changes: 110 additions & 0 deletions modules/distribution/apim-is-plugin/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
~ Copyright (c) 2022, WSO2 Inc. (http://wso2.com) All Rights Reserved.
~
~ WSO2 Inc. licenses this file to you under the Apache License,
~ Version 2.0 (the "License"); you may not use this file except
~ in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing,
~ software distributed under the License is distributed on an
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
~ KIND, either express or implied. See the License for the
~ specific language governing permissions and limitations
~ under the License.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<groupId>org.wso2.am</groupId>
<artifactId>am-parent</artifactId>
<version>3.2.0</version>
<relativePath>../../../pom.xml</relativePath>
</parent>

<modelVersion>4.0.0</modelVersion>
<artifactId>wso2apim-is-plugin</artifactId>
<packaging>pom</packaging>
<name>WSO2 API Manager - APIM IS Plugin Module</name>
<url>http://wso2.com/products/api-manager</url>

<licenses>
<license>
<name>Apache License Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0</url>
</license>
</licenses>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>copy-is-km-core-jar</id>
<phase>package</phase>
<goals>
<goal>copy</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>org.wso2.km.ext.wso2is</groupId>
<artifactId>wso2is.key.manager.core</artifactId>
<version>${wso2is.km.version}</version>
<type>jar</type>
<overWrite>true</overWrite>
<outputDirectory>target/apim-is-plugin-resources/dropins</outputDirectory>
</artifactItem>
<artifactItem>
<groupId>org.wso2.km.ext.wso2is</groupId>
<artifactId>wso2is.notification.event.handlers</artifactId>
<version>${wso2is.km.version}</version>
<type>jar</type>
<overWrite>true</overWrite>
<outputDirectory>target/apim-is-plugin-resources/dropins</outputDirectory>
</artifactItem>
<artifactItem>
<groupId>org.wso2.km.ext.wso2is</groupId>
<artifactId>org.wso2.is.key.manager.operations.endpoint</artifactId>
<version>${wso2is.km.version}</version>
<type>war</type>
<overWrite>true</overWrite>
<outputDirectory>target/apim-is-plugin-resources/webapps</outputDirectory>
<destFileName>keymanager-operations.war</destFileName>
</artifactItem>
</artifactItems>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<appendAssemblyId>false</appendAssemblyId>
<descriptors>
<descriptor>assembly/bin.xml</descriptor>
</descriptors>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>

<properties>
<product.version>3.2.0</product.version>
</properties>
</project>
Loading