Skip to content

Commit

Permalink
README and pom update (#782)
Browse files Browse the repository at this point in the history
update readme
  • Loading branch information
arvindkrishnakumar-okta authored Nov 15, 2022
1 parent 6f4fde4 commit cb0a648
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 13 deletions.
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

0 comments on commit cb0a648

Please sign in to comment.