okta / okta-idx-java

okta-idx-java
https://github.com/okta/okta-idx-java
Other
14 stars 23 forks source link

2024.07.1: Enhanced dynamic zone update #494

Open mannesrikanth opened 3 months ago

mannesrikanth commented 3 months ago

Hello Team,

As part of the https://help.okta.com/oie/en-us/content/topics/releasenotes/preview-oie.htm release OKTA introduced a Default Enhanced Dynamic Zone, which is updating the exiting bean format for both locations and asns. It seems these are not added in the latest SDK release, when we can expect them in the NetworkZone?

https://developer.okta.com/okta-sdk-java/apidocs/com/okta/sdk/resource/model/NetworkZone.html

Existing Format: "locations": [ { "country": "", "region": null }, { "country": "", "region": null } ],

"asns" :[ "" ]

With DefaultEnhancedDynamicZone: "locations": { "exclude": [], "include": [] }

"asns": { "include": [], "exclude": [] }

Thank you for looking into it.

arvindkrishnakumar-okta commented 3 months ago

@mannesrikanth Thanks for posting!

Will plan to get it added soon.

mannesrikanth commented 3 months ago

Thank you for the update @arvindkrishnakumar-okta

arvindkrishnakumar-okta commented 2 months ago

@mannesrikanth okta/okta-sdk-java already contains the NetworkZone model definition included. If you wanted to use it inside this SDK okta/okta-idx-java, you'll have to manually copy the generated resource (after a building okta-sdk-java) into okta-idx-java/api/src/main/java/com/okta/idx/sdk/api/model to use it.