Skip to content

Commit 7176dd5

Browse files
authored
Merge pull request #371 from ForgeRock/SDKS-4311-remove-marketplace
SDKS-4311: Remove Protect Marketplace support
2 parents 18ceae1 + 4248bd3 commit 7176dd5

14 files changed

Lines changed: 15 additions & 744 deletions

e2e/davinci-app/tsconfig.app.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@
1313
],
1414
"references": [
1515
{
16-
"path": "../../packages/protect/tsconfig.lib.json"
16+
"path": "../../packages/sdk-effects/logger/tsconfig.lib.json"
1717
},
1818
{
19-
"path": "../../packages/sdk-effects/logger/tsconfig.lib.json"
19+
"path": "../../packages/protect/tsconfig.lib.json"
2020
},
2121
{
2222
"path": "../../packages/davinci-client/tsconfig.lib.json"

e2e/davinci-app/tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@
1515
},
1616
"references": [
1717
{
18-
"path": "../../packages/protect"
18+
"path": "../../packages/sdk-effects/logger"
1919
},
2020
{
21-
"path": "../../packages/sdk-effects/logger"
21+
"path": "../../packages/protect"
2222
},
2323
{
2424
"path": "../../packages/davinci-client"

e2e/protect-app/src/index.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ <h2>Protect Home</h2>
1919
<p class="read-the-docs">Click on the Vite and TypeScript logos to learn more</p>
2020
<a href="/" class="nav">Home</a>
2121
<a href="/protect-native.html" class="nav">Protect Native</a>
22-
<a href="/protect-marketplace.html" class="nav">Protect Marketplace</a>
2322
</div>
2423
</body>
2524
</html>

e2e/protect-app/src/protect-marketplace.html

Lines changed: 0 additions & 49 deletions
This file was deleted.

e2e/protect-app/src/protect-marketplace.ts

Lines changed: 0 additions & 200 deletions
This file was deleted.

e2e/protect-app/vite.config.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ export default defineConfig({
1414
input: {
1515
main: path.resolve(__dirname + '/src', 'index.html'),
1616
protectNative: path.resolve(__dirname + '/src', 'protect-native.html'),
17-
protectMarketplace: path.resolve(__dirname + '/src', 'protect-marketplace.html'),
1817
},
1918
output: {
2019
entryFileNames: '[name].js',

e2e/protect-suites/src/protect-native.test.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ test.describe('Test basic login flow with Ping Protect', () => {
2222
return Promise.resolve(true);
2323
});
2424

25-
await page.goto('/protect-native');
26-
await expect(page.url()).toBe('http://localhost:8443/protect-native');
25+
await page.goto('/protect-native.html');
26+
await expect(page.url()).toBe('http://localhost:8443/protect-native.html');
2727

2828
await expect(page.getByText('Ping Protect Native')).toBeVisible();
2929
await expect(page.getByText('Protect initializing')).toBeVisible();
@@ -34,6 +34,7 @@ test.describe('Test basic login flow with Ping Protect', () => {
3434

3535
await expect(page.getByText('Protect evaluating')).toBeVisible();
3636

37+
await page.waitForRequest('https://openam-sdks.forgeblocks.com/am/oauth2/alpha/userinfo');
3738
await expect(page.getByText('Your user information:')).toBeVisible();
3839
await expect(page.getByText('sdkuser@example.com')).toBeVisible();
3940

packages/protect/package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,7 @@
2525
"test": "pnpm nx nxTest",
2626
"test:watch": "pnpm nx nxTest --watch"
2727
},
28-
"dependencies": {
29-
"@forgerock/javascript-sdk": "4.7.0"
30-
},
28+
"dependencies": {},
3129
"publishConfig": {
3230
"access": "public"
3331
},

0 commit comments

Comments
 (0)