Skip to content
This repository was archived by the owner on Nov 2, 2023. It is now read-only.

Commit ca7e3a3

Browse files
New Release v1.5.1 for OCI Service Broker
- Adding support for Chiyoda (NJA) and Dubai (DXB) regions - Minor Bug Fixes Co-authored-by: Ashokkumar Kannan [email protected] Co-authored-by: Jayasheelan Kumar [email protected]
1 parent a8da5f7 commit ca7e3a3

File tree

8 files changed

+19
-14
lines changed

8 files changed

+19
-14
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
66
This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
77

8+
[1.5.1]
9+
10+
- Adding support for Chiyoda (NJA) and Dubai (DXB) regions
11+
- Minor Bug Fixes
12+
813
[1.5.0]
914

1015
- Adding support for Chuncheon (YNY), Hyderabad (HYD) and Sanjose (SJC) regions

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ See the [Documentation](charts/oci-service-broker/README.md#oci-service-broker)
2929
The OCI Service Broker is packaged as Helm chart for making it easy to install in Kubernetes Clusters. The chart can be downloaded from below URL.
3030

3131
```
32-
https://github.com/oracle/oci-service-broker/releases/download/v1.5.0/oci-service-broker-1.5.0.tgz
32+
https://github.com/oracle/oci-service-broker/releases/download/v1.5.1/oci-service-broker-1.5.1.tgz
3333
```
3434

3535
## Samples

charts/oci-service-broker/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
apiVersion: v1
66
description: A Helm chart for installing OCI Service Broker into a Kubernetes cluster
77
name: oci-service-broker
8-
version: 1.5.0
8+
version: 1.5.1

charts/oci-service-broker/docs/installation.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ brew update && brew install kubernetes-service-catalog-client
7575
The OCI Service Broker is packaged as Helm chart for making it easy to install in Kubernetes. The chart is available at [charts/oci-service-broker](../) directory.
7676

7777
```plain
78-
https://github.com/oracle/oci-service-broker/releases/download/v1.5.0/oci-service-broker-1.5.0.tgz
78+
https://github.com/oracle/oci-service-broker/releases/download/v1.5.1/oci-service-broker-1.5.1.tgz
7979
```
8080

8181
### OCI credentials
@@ -114,15 +114,15 @@ For quickly testing out OCI Service Broker, TLS can be disabled and an embedded
114114

115115
Helm 3.x syntax:
116116
```bash
117-
helm install oci-service-broker https://github.com/oracle/oci-service-broker/releases/download/v1.5.0/oci-service-broker-1.5.0.tgz \
117+
helm install oci-service-broker https://github.com/oracle/oci-service-broker/releases/download/v1.5.1/oci-service-broker-1.5.1.tgz \
118118
--set ociCredentials.secretName=ocicredentials \
119119
--set storage.etcd.useEmbedded=true \
120120
--set tls.enabled=false
121121
```
122122

123123
Helm 2.x syntax:
124124
```bash
125-
helm install https://github.com/oracle/oci-service-broker/releases/download/v1.5.0/oci-service-broker-1.5.0.tgz --name oci-service-broker \
125+
helm install https://github.com/oracle/oci-service-broker/releases/download/v1.5.1/oci-service-broker-1.5.1.tgz --name oci-service-broker \
126126
--set ociCredentials.secretName=ocicredentials \
127127
--set storage.etcd.useEmbedded=true \
128128
--set tls.enabled=false
@@ -226,15 +226,15 @@ Replace the values of --set arguments with your appropriate values to install th
226226

227227
Helm 3.x syntax:
228228
```bash
229-
helm install oci-service-broker https://github.com/oracle/oci-service-broker/releases/download/v1.5.0/oci-service-broker-1.5.0.tgz \
229+
helm install oci-service-broker https://github.com/oracle/oci-service-broker/releases/download/v1.5.1/oci-service-broker-1.5.1.tgz \
230230
--set ociCredentials.secretName=ocicredentials \
231231
--set tls.secretName=certsecret \
232232
--set storage.etcd.servers=<comma separated list of etcd servers>
233233
```
234234

235235
Helm 2.x syntax:
236236
```bash
237-
helm install https://github.com/oracle/oci-service-broker/releases/download/v1.5.0/oci-service-broker-1.5.0.tgz --name oci-service-broker \
237+
helm install https://github.com/oracle/oci-service-broker/releases/download/v1.5.1/oci-service-broker-1.5.1.tgz --name oci-service-broker \
238238
--set ociCredentials.secretName=ocicredentials \
239239
--set tls.secretName=certsecret \
240240
--set storage.etcd.servers=<comma separated list of etcd servers>
@@ -288,7 +288,7 @@ Refer [Restrict access to Service Catalog resources using RBAC](security.md#rest
288288
Sample files for various services are available under [`oci-service-broker/samples`](../samples) directory inside the charts. The below command extracts chart that contains the sample files.
289289

290290
```bash
291-
curl -LO https://github.com/oracle/oci-service-broker/releases/download/v1.5.0/oci-service-broker-1.5.0.tgz | tar xz
291+
curl -LO https://github.com/oracle/oci-service-broker/releases/download/v1.5.1/oci-service-broker-1.5.1.tgz | tar xz
292292
```
293293

294294
Create a `ClusterServiceBroker` resource with OCI Service Broker URL to register the broker. Use the below register yaml file after updating the namespace of the OCI Service Broker.

charts/oci-service-broker/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ image:
1414
repository: iad.ocir.io/oracle/oci-service-broker
1515

1616
# Tag of the image
17-
tag: 1.5.0
17+
tag: 1.5.1
1818

1919
# The image pull policy
2020
pullPolicy: Always

oci-service-broker/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,14 @@ apply plugin: 'maven-publish'
3030
archivesBaseName = 'oci-service-broker'
3131

3232
// Sometimes, the version has to be overridden from command line
33-
version = project.hasProperty('version_num') ? project.getProperty('version_num') : '1.5.0'
33+
version = project.hasProperty('version_num') ? project.getProperty('version_num') : '1.5.1'
3434
ext.dockerGroup = 'iad.ocir.io/oci-cnp-dev'
3535
mainClassName = 'com.oracle.oci.osb.Broker'
3636

3737
sourceCompatibility = 10
3838

3939
ext {
40-
ociSdkVersion = "1.22.1"
40+
ociSdkVersion = "1.26.0"
4141
jerseyVersion = "2.27"
4242
hk2Version = "2.5.0-b42"
4343
hamcrestVersion = "1.3"

oci-service-broker/download_SDK_libs.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@
99
#sdk jars and their dependency jars. The jars are written to libs directory.
1010

1111
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
12-
SDK_VERSION="1.22.1"
12+
SDK_VERSION="1.26.0"
1313
TEMP_DIR="/tmp/oci-java-sdk"
1414
rm -rf ${TEMP_DIR}
1515
mkdir -p ${TEMP_DIR}
1616
mkdir -p ${SCRIPT_DIR}/libs
1717
echo "Downloading oci-java-sdk version v${SDK_VERSION} and the dependent libraries..."
1818
curl -sSL https://github.com/oracle/oci-java-sdk/releases/download/v${SDK_VERSION}/oci-java-sdk-${SDK_VERSION}.zip -o ${TEMP_DIR}/oci-java-sdk.zip
1919
unzip -qq ${TEMP_DIR}/oci-java-sdk.zip -d ${TEMP_DIR}
20-
cp ${TEMP_DIR}/lib/oci-java-sdk-full-1.22.1.jar ${SCRIPT_DIR}/libs/
20+
cp ${TEMP_DIR}/lib/oci-java-sdk-full-1.26.0.jar ${SCRIPT_DIR}/libs/
2121
cp ${TEMP_DIR}/third-party/lib/*.jar ${SCRIPT_DIR}/libs/
2222
rm -rf ${TEMP_DIR}
2323
echo "oci-java-sdk and the dependent libraries are downloaded to ${SCRIPT_DIR}/libs directory"

oci-service-broker/src/main/java/com/oracle/oci/osb/adapters/oss/OSSServiceAdapter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ private ServiceInstanceStatus getOciServiceInstanceStatusForProvisioning(String
9696
ListStreamsResponse listResponse = streamAdminClient.listStreams(ListStreamsRequest.builder()
9797
.compartmentId(compartmentId).build());
9898
Optional<StreamSummary> summary = listResponse.getItems().stream()
99-
.filter(item -> item.getName().equals(streamName)).findFirst();
99+
.filter(item -> item.getName().equals(streamName) && item.getLifecycleState() != StreamSummary.LifecycleState.Deleted).findFirst();
100100
if (summary.isPresent()) {
101101
StreamSummary stream = summary.get();
102102
Map<String, String> freeFormTagsExisting = stream.getFreeformTags();

0 commit comments

Comments
 (0)