You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## THIS IS A NEW, BLANK REPO THAT IS NOT READY FOR USE YET. PLEASE CHECK BACK SOON!
6
-
7
5
## Introduction
8
-
MISSING
6
+
This is a small set of wrappers around the OCI Java SDK.
7
+
8
+
I created it because while the oci java SDK is very powerfuil it's also not a model I foound intuitive (for me at least) So as I need them I have been creating simple wrappers around the OCI Java SDK to help me do things. Of course you may not find them to be useful, but they help me.
9
+
10
+
This is by no means a complete set of functionality, it's focused on things that I needed to do, but I suspect over time more capabilities will be added.
9
11
10
12
## Getting Started
11
-
MISSING
13
+
You will need to have setup a OCI tenancy, and created a user within that tenancy. That user should have the appropriate permisions (set via OCI policies) to do the things you want to use - this code **will not** override the OCI security (not least of which is it's impemented in the API, not my code).
14
+
15
+
To get started you will also user API signing keys and credentials for the user in OCI and a ".oci" directory appropriately configured ([see the OCI documentation on hos to do this](https://docs.oracle.com/en-us/iaas/Content/API/Concepts/sdkconfig.htm#SDK_and_CLI_Configuration_File))
16
+
17
+
To use the code to manage objects in OCI you will need to :
18
+
19
+
Create an AuthenticationProcessor (com.oracle.timg.oci.authentication) - this does the security work for you, speciy the OCI configuration file section to use for the connection and optionall the OCI region to work on (by defual it will sue the region in the config file)
20
+
21
+
From there use the other processor classes as needed, these will all need the AuthenticationProcessor you created as part of their consructor.
22
+
23
+
12
24
13
25
### Prerequisites
14
-
MISSING
26
+
You will need a development environment with Java (17 is the cersion Im using, earlier versions may not be supported by the OCI Java SDK).
27
+
28
+
I also use Maven to build this and to manage the dependencies, but if you have other mechanisms feel free.
29
+
30
+
I use [Lombok](https://projectlombok.org/) to generate logs and the like, this is included in the Maven pom.xml, but your IDE or compile time will need to include the lombok jar file to process the annotations - usually just running the lombok jar file will let you locate the IDE and install it for you.
31
+
15
32
16
33
## Notes/Issues
17
-
MISSING
34
+
This is a **very** limited set of OCI services that are being wrapped here, over time I'll probabaly add some more.
18
35
19
36
## URLs
20
-
* Nothing at this time
37
+
[The OCI Java SDK is documented here](https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdk.htm)
21
38
22
39
## Contributing
23
40
This project is open source. Please submit your contributions by forking this repository and submitting a pull request! Oracle appreciates any contributions that are made by the open source community.
@@ -29,4 +46,4 @@ Licensed under the Universal Permissive License (UPL), Version 1.0.
29
46
30
47
See [LICENSE](LICENSE) for more details.
31
48
32
-
ORACLE AND ITS AFFILIATES DO NOT PROVIDE ANY WARRANTY WHATSOEVER, EXPRESS OR IMPLIED, FOR ANY SOFTWARE, MATERIAL OR CONTENT OF ANY KIND CONTAINED OR PRODUCED WITHIN THIS REPOSITORY, AND IN PARTICULAR SPECIFICALLY DISCLAIM ANY AND ALL IMPLIED WARRANTIES OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE. FURTHERMORE, ORACLE AND ITS AFFILIATES DO NOT REPRESENT THAT ANY CUSTOMARY SECURITY REVIEW HAS BEEN PERFORMED WITH RESPECT TO ANY SOFTWARE, MATERIAL OR CONTENT CONTAINED OR PRODUCED WITHIN THIS REPOSITORY. IN ADDITION, AND WITHOUT LIMITING THE FOREGOING, THIRD PARTIES MAY HAVE POSTED SOFTWARE, MATERIAL OR CONTENT TO THIS REPOSITORY WITHOUT ANY REVIEW. USE AT YOUR OWN RISK.
49
+
ORACLE AND ITS AFFILIATES DO NOT PROVIDE ANY WARRANTY WHATSOEVER, EXPRESS OR IMPLIED, FOR ANY SOFTWARE, MATERIAL OR CONTENT OF ANY KIND CONTAINED OR PRODUCED WITHIN THIS REPOSITORY, AND IN PARTICULAR SPECIFICALLY DISCLAIM ANY AND ALL IMPLIED WARRANTIES OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE. FURTHERMORE, ORACLE AND ITS AFFILIATES DO NOT REPRESENT THAT ANY CUSTOMARY SECURITY REVIEW HAS BEEN PERFORMED WITH RESPECT TO ANY SOFTWARE, MATERIAL OR CONTENT CONTAINED OR PRODUCED WITHIN THIS REPOSITORY. IN ADDITION, AND WITHOUT LIMITING THE FOREGOING, THIRD PARTIES MAY HAVE POSTED SOFTWARE, MATERIAL OR CONTENT TO THIS REPOSITORY WITHOUT ANY REVIEW. USE AT YOUR OWN RISK.
0 commit comments