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

README and pom update #782

Merged
merged 1 commit into from
Nov 15, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
10 changes: 10 additions & 0 deletions MIGRATING.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,16 @@ This revision will embrace the Open Source [openapi-generator](https://github.co
In older version, you would instantiate a global `Client` and access the Okta resources using the Management APIs.
Now, each API area (such as Users, Groups, Applications etc.) would have its own specific client, so you will only instantiate those clients you are interested in:

Note that the below `okta-sdk-httpclient` dependency we used in previous versions is no longer needed:

```xml
<dependency>
<groupId>com.okta.sdk</groupId>
<artifactId>okta-sdk-httpclient</artifactId>
<scope>runtime</scope>
</dependency>
```

_Earlier:_

```java
Expand Down
7 changes: 0 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,20 +99,13 @@ For Apache Maven:
<version>${okta.sdk.version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>com.okta.sdk</groupId>
<artifactId>okta-sdk-httpclient</artifactId>
<version>${okta.sdk.version}</version>
<scope>runtime</scope>
</dependency>
```

For Gradle:

```groovy
compile "com.okta.sdk:okta-sdk-api:${okta.sdk.version}"
runtime "com.okta.sdk:okta-sdk-impl:${okta.sdk.version}"
runtime "com.okta.sdk:okta-sdk-httpclient:${okta.sdk.version}"
```

where ${okta.sdk.version} is the latest published version in [Maven Central](https://search.maven.org/search?q=g:com.okta.sdk%20a:okta-sdk-api).
Expand Down
5 changes: 0 additions & 5 deletions examples/quickstart/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,6 @@
<artifactId>okta-sdk-impl</artifactId>
<scope>runtime</scope>
</dependency>
<!-- <dependency>-->
<!-- <groupId>com.okta.sdk</groupId>-->
<!-- <artifactId>okta-sdk-httpclient</artifactId>-->
<!-- <scope>runtime</scope>-->
<!-- </dependency>-->
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
Expand Down
1 change: 0 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
<inceptionYear>2017</inceptionYear>

<properties>
<swagger-annotations.version>1.6.7</swagger-annotations.version>
<jackson.version>2.14.0</jackson.version>
<snakeyaml.version>1.33</snakeyaml.version>
<bouncycastle.version>1.70</bouncycastle.version>
Expand Down