Skip to content

Commit

Permalink
feat: add Subscription API and Org2Org applications support
Browse files Browse the repository at this point in the history
OKTA-450296
<<<Jenkins Check-In of Tested SHA: d1ab09e for [email protected]>>>
Artifact: okta-sdk-nodejs
Files changed count: 69
PR Link: "#299"
  • Loading branch information
oleksandrpravosudko-okta authored and eng-prod-CI-bot-okta committed Feb 3, 2022
1 parent 0b302af commit aeb4b68
Show file tree
Hide file tree
Showing 69 changed files with 2,441 additions and 13 deletions.
45 changes: 45 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,50 @@
# Okta Node SDK Changelog

## 6.3.0

### Features

- [#299](https://github.com/okta/okta-sdk-nodejs/pull/299/files) Adds Subscription, Application Feature APIs and adds suppport for Org2Org applications.
- new Models/Enum:
- `ApplicationFeature`
- `CapabilitiesCreateObject`
- `CapabilitiesObject`
- `CapabilitiesUpdateObject`
- `ChangeEnum`
- `LifecycleCreateSettingsObject`
- `LifecycleDeactivateSettingsObject`
- `NotificationType`
- `Org2OrgApplication`
- `Org2OrgApplicationSettings`
- `Org2OrgApplicationSettingsApp`
- `PasswordSettingObject`
- `ProfileSettingObject`
- `ProvisioningConnection`
- `ProvisioningConnectionAuthScheme`
- `ProvisioningConnectionProfile`
- `ProvisioningConnectionRequest`
- `ProvisioningConnectionStatus`
- `SeedEnum`
- `Subscription`
- `SubscriptionStatus`
- Client:
- `getDefaultProvisioningConnectionForApplication`
- `setDefaultProvisioningConnectionForApplication`
- `activateDefaultProvisioningConnectionForApplication`
- `deactivateDefaultProvisioningConnectionForApplication`
- `listFeaturesForApplication`
- `getFeatureForApplication`
- `updateFeatureForApplication`
- `updateFeatureForApplication`
- `listRoleSubscriptions`
- `getRoleSubscriptionByNotificationType`
- `subscribeRoleSubscriptionByNotificationType`
- `unsubscribeRoleSubscriptionByNotificationType`
- `listUserSubscriptions`
- `getUserSubscriptionByNotificationType`
- `subscribeUserSubscriptionByNotificationType`
- `unsubscribeUserSubscriptionByNotificationType`

## 6.2.0

### Others
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"safe-flat": "^2.0.2"
},
"devDependencies": {
"@okta/openapi": "^2.9.2",
"@okta/openapi": "^2.10.0",
"@types/chai": "^4.2.22",
"@types/mocha": "^9.0.0",
"@types/node-fetch": "^2.5.8",
Expand Down
6 changes: 5 additions & 1 deletion scripts/unit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@ export OKTA_CLIENT_PRIVATEKEY=$(cat ${OKTA_HOME}/${REPO}/scripts/privateKey.pem)
export TEST_SUITE_TYPE="junit"
export TEST_RESULT_FILE_DIR="${REPO}/test-reports"

# Runs unit and jest tests
if ! yarn test:types; then
echo "tsd tests failed! Exiting..."
exit $PUBLISH_TYPE_AND_RESULT_DIR_BUT_ALWAYS_FAIL
fi

if ! yarn test:unit; then
echo "Unit tests failed! Exiting..."
exit $PUBLISH_TYPE_AND_RESULT_DIR_BUT_ALWAYS_FAIL
Expand Down
8 changes: 6 additions & 2 deletions src/factories/ApplicationFactory.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions src/factories/BrowserPluginApplicationFactory.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions src/factories/PolicyFactory.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions src/factories/PolicyRuleFactory.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

37 changes: 37 additions & 0 deletions src/factories/SamlApplicationFactory.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions src/factories/UserFactorFactory.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/factories/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit aeb4b68

Please sign in to comment.