Skip to content

Commit 8315764

Browse files
Merge pull request #2 from xdev-software/develop
v0.0.1
2 parents faacbdb + 8252dec commit 8315764

File tree

7 files changed

+48
-18
lines changed

7 files changed

+48
-18
lines changed

CONTRIBUTING.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,13 @@ You should have the following things installed:
3333
* Ensure that the JDK/Java-Version is correct
3434

3535

36-
## Releasing [![Build](https://img.shields.io/github/actions/workflow/status/xdev-software/standard-maven-template/release.yml?branch=master)](https://github.com/xdev-software/standard-maven-template/actions/workflows/release.yml)
36+
## Releasing [![Build](https://img.shields.io/github/actions/workflow/status/xdev-software/eclipse-store-afs-ibm-cos/release.yml?branch=master)](https://github.com/xdev-software/eclipse-store-afs-ibm-cos/actions/workflows/release.yml)
3737

3838
Before releasing:
39-
* Consider doing a [test-deployment](https://github.com/xdev-software/standard-maven-template/actions/workflows/test-deploy.yml?query=branch%3Adevelop) before actually releasing.
39+
40+
* Consider doing
41+
a [test-deployment](https://github.com/xdev-software/eclipse-store-afs-ibm-cos/actions/workflows/test-deploy.yml?query=branch%3Adevelop)
42+
before actually releasing.
4043
* Check the [changelog](CHANGELOG.md)
4144

4245
If the ``develop`` is ready for release, create a pull request to the ``master``-Branch and merge the changes

README.md

Lines changed: 32 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,44 @@
1-
[![Latest version](https://img.shields.io/maven-central/v/com.xdev-software/standard-maven-template?logo=apache%20maven)](https://mvnrepository.com/artifact/com.xdev-software/standard-maven-template)
2-
[![Build](https://img.shields.io/github/actions/workflow/status/xdev-software/standard-maven-template/checkBuild.yml?branch=develop)](https://github.com/xdev-software/standard-maven-template/actions/workflows/checkBuild.yml?query=branch%3Adevelop)
3-
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=xdev-software_standard-maven-template&metric=alert_status)](https://sonarcloud.io/dashboard?id=xdev-software_standard-maven-template)
1+
[![Latest version](https://img.shields.io/maven-central/v/com.xdev-software/eclipse-store-afs-ibm-cos?logo=apache%20maven)](https://mvnrepository.com/artifact/com.xdev-software/eclipse-store-afs-ibm-cos)
2+
[![Build](https://img.shields.io/github/actions/workflow/status/xdev-software/eclipse-store-afs-ibm-cos/checkBuild.yml?branch=develop)](https://github.com/xdev-software/eclipse-store-afs-ibm-cos/actions/workflows/checkBuild.yml?query=branch%3Adevelop)
3+
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=xdev-software_eclipse-store-afs-ibm-cos&metric=alert_status)](https://sonarcloud.io/dashboard?id=xdev-software_eclipse-store-afs-ibm-cos)
44

5-
# standard-maven-template
5+
# eclipse-store-afs-ibm-cos
66

7+
A connector for the [EclipseStore](https://eclipsestore.io/) which allows storing data in
8+
the [IBM Cloud Object Storage](https://www.ibm.com/cloud/object-storage).
9+
10+
It uses the [IBM-provided Java SDK](https://github.com/IBM/ibm-cos-sdk-java).
11+
12+
The connector works virtually identical to
13+
the [AWS S3 Connector](https://docs.eclipsestore.io/manual/storage/storage-targets/blob-stores/aws-s3.html) of
14+
EclipseStore
15+
but for IBM COS instead of AWS S3.
16+
17+
> **Note**
18+
> This library is still version 0.0.1 since EclipseStore is not yet released in version 1.0.0.
719
820
## Installation
9-
[Installation guide for the latest release](https://github.com/xdev-software/standard-maven-template/releases/latest#Installation)
1021

22+
[Installation guide for the latest release](https://github.com/xdev-software/eclipse-store-afs-ibm-cos/releases/latest#Installation)
23+
24+
## Supported EclipseStore versions
25+
26+
The connector supports
27+
[version 1.0.0 of the EclipseStore](https://central.sonatype.com//artifact/org.eclipse.store/storage-embedded/01.00.00).
28+
29+
If you are using a different, not listed version of EclipseStore, this shouldn't be a problem.
30+
Usually you can simply exclude the dependent version of EclipseStore.
1131

1232
## Support
13-
If you need support as soon as possible and you can't wait for any pull request, feel free to use [our support](https://xdev.software/en/services/support).
33+
34+
If you need support as soon as possible and you can't wait for any pull request, feel free to
35+
use [our support](https://xdev.software/en/services/support).
1436

1537
## Contributing
38+
1639
See the [contributing guide](./CONTRIBUTING.md) for detailed instructions on how to get started with our project.
1740

1841
## Dependencies and Licenses
19-
View the [license of the current project](LICENSE) or the [summary including all dependencies](https://xdev-software.github.io/standard-maven-template/dependencies/)
42+
43+
View the [license of the current project](LICENSE) or
44+
the [summary including all dependencies](https://xdev-software.github.io/eclipse-store-afs-ibm-cos/dependencies/)

SECURITY.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22

33
## Reporting a Vulnerability
44

5-
Please report a security vulnerability [on GitHub Security Advisories](https://github.com/xdev-software/standard-maven-template/security/advisories/new).
5+
Please report a security
6+
vulnerability [on GitHub Security Advisories](https://github.com/xdev-software/eclipse-store-afs-ibm-cos/security/advisories/new).

eclipse-store-afs-ibm-cos-demo/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@
66

77
<groupId>com.xdev-software</groupId>
88
<artifactId>eclipse-store-afs-ibm-cos-demo</artifactId>
9-
<version>1.0.0-SNAPSHOT</version>
9+
<version>0.0.1-SNAPSHOT</version>
1010
<packaging>jar</packaging>
1111

1212
<inceptionYear>2023</inceptionYear>
1313

1414
<parent>
1515
<groupId>com.xdev-software</groupId>
1616
<artifactId>eclipse-store-afs-ibm-cos-root</artifactId>
17-
<version>1.0.0-SNAPSHOT</version>
17+
<version>0.0.1-SNAPSHOT</version>
1818
</parent>
1919

2020
<organization>

eclipse-store-afs-ibm-cos-demo/src/main/java/software/xdev/eclipse/store/App.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ public class App
3030

3131
private static final Logger LOG = LoggerFactory.getLogger(App.class);
3232

33+
/**
34+
* This function connects to the IBM COS and writes one million String-Entries on it.
35+
*/
3336
public static void main(final String[] args)
3437
{
3538
final List<String> stringList = new ArrayList<>();
@@ -67,13 +70,11 @@ public static AmazonS3 createClient(
6770
final ClientConfiguration clientConfig = new ClientConfiguration().withRequestTimeout(-1);
6871
clientConfig.setUseTcpKeepAlive(true);
6972

70-
final AmazonS3 cos = AmazonS3ClientBuilder.standard()
73+
return AmazonS3ClientBuilder.standard()
7174
.withCredentials(new AWSStaticCredentialsProvider(credentials))
7275
.withEndpointConfiguration(new AwsClientBuilder.EndpointConfiguration(endpoint_url, location))
7376
.withPathStyleAccessEnabled(true)
7477
.withClientConfiguration(clientConfig)
7578
.build();
76-
77-
return cos;
7879
}
7980
}

eclipse-store-afs-ibm-cos/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@
66

77
<groupId>com.xdev-software</groupId>
88
<artifactId>eclipse-store-afs-ibm-cos</artifactId>
9-
<version>1.0.0-SNAPSHOT</version>
9+
<version>0.0.1-SNAPSHOT</version>
1010
<packaging>jar</packaging>
1111

1212
<parent>
1313
<groupId>com.xdev-software</groupId>
1414
<artifactId>eclipse-store-afs-ibm-cos-root</artifactId>
15-
<version>1.0.0-SNAPSHOT</version>
15+
<version>0.0.1-SNAPSHOT</version>
1616
</parent>
1717

1818
<name>eclipse-store-afs-ibm-cos</name>

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>com.xdev-software</groupId>
88
<artifactId>eclipse-store-afs-ibm-cos-root</artifactId>
9-
<version>1.0.0-SNAPSHOT</version>
9+
<version>0.0.1-SNAPSHOT</version>
1010
<packaging>pom</packaging>
1111

1212
<organization>

0 commit comments

Comments
 (0)