Skip to content

Commit

Permalink
Set 3.13 version in the remaining project files.
Browse files Browse the repository at this point in the history
Signed-off-by: Ljupcho Palashevski <[email protected]>
  • Loading branch information
lpalashevski committed Oct 31, 2022
1 parent 22c6dd3 commit c9a89b4
Show file tree
Hide file tree
Showing 14 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ plugins {
allprojects {

group = 'org.odpi.egeria'
version = '3.13-SNAPSHOT'
version = '3.13'

// Mostly java, so default to this for now
apply plugin: 'java'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<parent>
<artifactId>egeria</artifactId>
<groupId>org.odpi.egeria</groupId>
<version>3.13-SNAPSHOT</version>
<version>3.13</version>
</parent>

<name>Add module name here</name>
Expand Down
2 changes: 1 addition & 1 deletion developer-resources/Release-Process.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ are GPG signed and distributed to [Maven Central](https://oss.sonatype.org).
#### 4. Update main version & cleanup notes
* `git checkout main`
* `git pull upstream main`
* Edit all files (command line or IDE) to replace 'x.y-SNAPSHOT' with the next version, ie change '1.3-SNAPSHOT' to '3.13-SNAPSHOT'. Most of the changes are in pom.xml files, however some code & documentation also has references to our versions and all need modifying.
* Edit all files (command line or IDE) to replace 'x.y-SNAPSHOT' with the next version 'x.y+1-SNAPSHOT'. Most of the changes are in pom.xml files, however some code & documentation also has references to our versions and all need modifying.
* If using an IDE like IntelliJ make sure you have all hits by searching again as by default only a limited number of hits are shown - see https://youtrack.jetbrains.com/issue/IDEA-157855 for Intellij advice.
* Commit
* Now remove all the release notes from the 'release-notes' directory other than README.md - so users will always get directed to the latest in main
Expand Down
2 changes: 1 addition & 1 deletion developer-resources/tools/HTTPie-Curl.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ It uses commands such as:

```bash
$ curl --insecure -X GET https://localhost:9443/open-metadata/platform-services/users/test/server-platform/origin
Egeria OMAG Server Platform (version 3.13-SNAPSHOT)
Egeria OMAG Server Platform (version 3.13)
```

Note that Egeria is using https, so if you have not replaced the provided self-signed certificate, ensure to add '--insecure' to any requests
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ open metadata services are activated.
"successfulAssertions" : [ "Origin descriptor retrieved from platform." ],
"unsuccessfulAssertions" : [ ],
"discoveredProperties" : {
"Repository origin id" : "Egeria OMAG Server Platform (version 3.13-SNAPSHOT)"
"Repository origin id" : "Egeria OMAG Server Platform (version 3.13)"
}
}
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ following:

```
<properties>
<open-metadata.version>3.13-SNAPSHOT</open-metadata.version>
<open-metadata.version>3.13</open-metadata.version>
</properties>
<dependencies>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ main you won’t, and you will need to perform a property-based search, such as:
g.V().has('veReferenceablexqualifiedName','csv-asset-discovery-service-GovernanceServiceProvider')

However, at the time of writing I cannot do that because the JanusGraph 0.5.2 assembly I am using has an older version of Lucene than
that used in the Egeria 3.13-SNAPSHOT build, so I am unable to use the index. I would need to build a JanusGraph assembly with a later
that used in the Egeria 2.6-SNAPSHOT build, so I am unable to use the index. I would need to build a JanusGraph assembly with a later
version of Lucene, so the above cuts a massive corner, for the sake of illustration, so that you can see what an entity looks like when
stored as a vertex in the graph database.

Expand Down Expand Up @@ -546,7 +546,7 @@ storage.backend=berkeleyje
# Default: (no default value)
# Data Type: String
# Mutability: LOCAL
storage.directory=../../../egeria-install/egeria-omag-3.13-SNAPSHOT/data/servers/Metadata_Server/repository/graph/berkeley
storage.directory=../../../egeria-install/egeria-omag-3.13/data/servers/Metadata_Server/repository/graph/berkeley
# The indexing backend used to extend and optimize JanusGraph's query
# functionality. This setting is optional. JanusGraph can use multiple
Expand All @@ -573,7 +573,7 @@ index.search.backend=lucene
# Default: (no default value)
# Data Type: String
# Mutability: MASKABLE
index.search.directory=../../../egeria-install/egeria-omag-3.13-SNAPSHOT/data/servers/Metadata_Server/repository/graph/searchindex
index.search.directory=../../../egeria-install/egeria-omag-3.13/data/servers/Metadata_Server/repository/graph/searchindex
```
----
License: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*/
public class OMAGServerOriginServices
{
final String implementationOrigin = "Egeria OMAG Server Platform (version 3.13-SNAPSHOT)\n";
final String implementationOrigin = "Egeria OMAG Server Platform (version 3.13)\n";

/**
* Return the origin of this server implementation.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*/
public class OMAGServerPlatformOriginServices
{
final String implementationOrigin = "Egeria OMAG Server Platform (version 3.13-SNAPSHOT)\n";
final String implementationOrigin = "Egeria OMAG Server Platform (version 3.13)\n";

/**
* Return the origin of this server platform implementation.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
@OpenAPIDefinition(
info = @Info(
title = "Egeria's Open Metadata and Governance (OMAG) Server Platform",
version = "3.13-SNAPSHOT",
version = "3.13",
description = "The OMAG Server Platform provides a runtime process and platform for Open Metadata and Governance (OMAG) Services.\n" +
"\n" +
"The OMAG services are configured and activated in OMAG Servers using the Administration Services.\n" +
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ In this example:

## Limitations

- All docker builds will currently set the tag (version) to be the same as the maven version (eg. 3.13-SNAPSHOT). This
- All docker builds will currently set the tag (version) to be the same as the maven version (eg. 3.13). This
means that when testing it is imperative to always force-pull fresh images, or an old version may be used. For
example, when using kubernetes ensure `imagePullPolicy = 'Always'`. Previously every single change was versioned,
but this led to significant overhead in storage as well as constant changes in the source code just to do a rebuild.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Copyright Contributors to the Egeria project

FROM docker.io/library/alpine:3.16.2
ARG version=3.13-SNAPSHOT
ARG version=3.13
ARG VCS_REF=unknown
ARG VCS_ORIGIN=unknown
ARG BUILD_TIME=unknown
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@


FROM registry.access.redhat.com/ubi8/openjdk-11
ARG version=3.13-SNAPSHOT
ARG version=3.13
ARG VCS_REF=unknown
ARG VCS_ORIGIN=unknown
ARG BUILD_TIME=unknown
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ With that in place we can now run our docker image, this time making use of the
$ docker run -p 9443:9443 -v source=egeria-data,target=/deployments/data odpi/egeria:latest
/usr/local/s2i/run: line 15: /opt/jboss/container/maven/default//scl-enable-maven: No such file or directory
Starting the Java application using /opt/jboss/container/java/run/run-java.sh ...
INFO exec java -XX:+UseParallelOldGC -XX:MinHeapFreeRatio=10 -XX:MaxHeapFreeRatio=20 -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -XX:MaxMetaspaceSize=100m -XX:+ExitOnOutOfMemoryError -XX:MaxMetaspaceSize=1g -cp "." -jar /deployments/server/server-chassis-spring-3.13-SNAPSHOT.jar
INFO exec java -XX:+UseParallelOldGC -XX:MinHeapFreeRatio=10 -XX:MaxHeapFreeRatio=20 -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -XX:MaxMetaspaceSize=100m -XX:+ExitOnOutOfMemoryError -XX:MaxMetaspaceSize=1g -cp "." -jar /deployments/server/server-chassis-spring-3.13.jar
ODPi Egeria
____ __ ___ ___ ______ _____ ____ _ _ ___
/ __ \ / |/ // | / ____/ / ___/ ___ ____ _ __ ___ ____ / _ \ / / __ / / / _ /__ ____ _ _
Expand Down Expand Up @@ -186,7 +186,7 @@ you may need to create another job to retrieve the required libraries or content
#### Adding to the image through a docker build

Use the egeria image as a base, for example begin your custom Dockerfile with
`FROM odpi/egeria:3.13-SNAPSHOT`
`FROM odpi/egeria:3.13`

Then add in the files you need, as well as customize the LOADER_PATH variable ie
`COPY myextralib.jar /deployments/server/lib`
Expand Down

0 comments on commit c9a89b4

Please sign in to comment.