Skip to content

Commit

Permalink
version 1.0.122
Browse files Browse the repository at this point in the history
  • Loading branch information
andponlin committed Sep 18, 2020
1 parent b8b6676 commit 60553e9
Show file tree
Hide file tree
Showing 11 changed files with 116 additions and 12 deletions.
2 changes: 1 addition & 1 deletion haikudepotserver-api1/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<artifactId>haikudepotserver-parent</artifactId>
<groupId>org.haiku</groupId>
<relativePath>../haikudepotserver-parent</relativePath>
<version>1.0.122-SNAPSHOT</version>
<version>1.0.122</version>
</parent>

<modelVersion>4.0.0</modelVersion>
Expand Down
2 changes: 1 addition & 1 deletion haikudepotserver-core-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<artifactId>haikudepotserver-parent</artifactId>
<groupId>org.haiku</groupId>
<relativePath>../haikudepotserver-parent</relativePath>
<version>1.0.122-SNAPSHOT</version>
<version>1.0.122</version>
</parent>

<modelVersion>4.0.0</modelVersion>
Expand Down
2 changes: 1 addition & 1 deletion haikudepotserver-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<artifactId>haikudepotserver-parent</artifactId>
<groupId>org.haiku</groupId>
<relativePath>../haikudepotserver-parent</relativePath>
<version>1.0.122-SNAPSHOT</version>
<version>1.0.122</version>
</parent>

<modelVersion>4.0.0</modelVersion>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
package org.haiku.haikudepotserver.dataobjects.auto;

import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;

import org.apache.cayenne.exp.Property;
import org.haiku.haikudepotserver.dataobjects.RepositorySource;
import org.haiku.haikudepotserver.dataobjects.support.AbstractDataObject;

/**
* Class _RepositorySourceExtraIdentifier was generated by Cayenne.
* It is probably a good idea to avoid changing this class manually,
* since it may be overwritten next time code is regenerated.
* If you need to make any customizations, please use subclass.
*/
public abstract class _RepositorySourceExtraIdentifier extends AbstractDataObject {

private static final long serialVersionUID = 1L;

public static final String ID_PK_COLUMN = "id";

public static final Property<String> IDENTIFIER = Property.create("identifier", String.class);
public static final Property<RepositorySource> REPOSITORY_SOURCE = Property.create("repositorySource", RepositorySource.class);

protected String identifier;

protected Object repositorySource;

public void setIdentifier(String identifier) {
beforePropertyWrite("identifier", this.identifier, identifier);
this.identifier = identifier;
}

public String getIdentifier() {
beforePropertyRead("identifier");
return this.identifier;
}

public void setRepositorySource(RepositorySource repositorySource) {
setToOneTarget("repositorySource", repositorySource, true);
}

public RepositorySource getRepositorySource() {
return (RepositorySource)readProperty("repositorySource");
}

@Override
public Object readPropertyDirectly(String propName) {
if(propName == null) {
throw new IllegalArgumentException();
}

switch(propName) {
case "identifier":
return this.identifier;
case "repositorySource":
return this.repositorySource;
default:
return super.readPropertyDirectly(propName);
}
}

@Override
public void writePropertyDirectly(String propName, Object val) {
if(propName == null) {
throw new IllegalArgumentException();
}

switch (propName) {
case "identifier":
this.identifier = (String)val;
break;
case "repositorySource":
this.repositorySource = val;
break;
default:
super.writePropertyDirectly(propName, val);
}
}

private void writeObject(ObjectOutputStream out) throws IOException {
writeSerialized(out);
}

private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException {
readSerialized(in);
}

@Override
protected void writeState(ObjectOutputStream out) throws IOException {
super.writeState(out);
out.writeObject(this.identifier);
out.writeObject(this.repositorySource);
}

@Override
protected void readState(ObjectInputStream in) throws IOException, ClassNotFoundException {
super.readState(in);
this.identifier = (String)in.readObject();
this.repositorySource = in.readObject();
}

}
2 changes: 1 addition & 1 deletion haikudepotserver-docs/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<artifactId>haikudepotserver-parent</artifactId>
<groupId>org.haiku</groupId>
<relativePath>../haikudepotserver-parent</relativePath>
<version>1.0.122-SNAPSHOT</version>
<version>1.0.122</version>
</parent>

<modelVersion>4.0.0</modelVersion>
Expand Down
2 changes: 1 addition & 1 deletion haikudepotserver-driversettings/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<artifactId>haikudepotserver-parent</artifactId>
<groupId>org.haiku</groupId>
<relativePath>../haikudepotserver-parent</relativePath>
<version>1.0.122-SNAPSHOT</version>
<version>1.0.122</version>
</parent>

<modelVersion>4.0.0</modelVersion>
Expand Down
2 changes: 1 addition & 1 deletion haikudepotserver-packagefile/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<artifactId>haikudepotserver-parent</artifactId>
<groupId>org.haiku</groupId>
<relativePath>../haikudepotserver-parent</relativePath>
<version>1.0.122-SNAPSHOT</version>
<version>1.0.122</version>
</parent>

<modelVersion>4.0.0</modelVersion>
Expand Down
2 changes: 1 addition & 1 deletion haikudepotserver-parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<artifactId>haikudepotserver</artifactId>
<groupId>org.haiku</groupId>
<relativePath>..</relativePath>
<version>1.0.122-SNAPSHOT</version>
<version>1.0.122</version>
</parent>

<modelVersion>4.0.0</modelVersion>
Expand Down
2 changes: 1 addition & 1 deletion haikudepotserver-webapp/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<artifactId>haikudepotserver-parent</artifactId>
<groupId>org.haiku</groupId>
<relativePath>../haikudepotserver-parent</relativePath>
<version>1.0.122-SNAPSHOT</version>
<version>1.0.122</version>
</parent>

<modelVersion>4.0.0</modelVersion>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<groupId>org.haiku</groupId>
<artifactId>haikudepotserver</artifactId>
<packaging>pom</packaging>
<version>1.0.122-SNAPSHOT</version>
<version>1.0.122</version>

<modules>
<module>haikudepotserver-api1</module>
Expand Down
6 changes: 3 additions & 3 deletions support/deployment/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ FROM ubuntu:18.04
# copy the correct values from the poms into these variables so that the right
# versions of the artefacts are used in the Docker container.

ENV HDS_VERSION "???"
ENV JETTY_VERSION "???"
ENV PG_VERSION "???"
ENV HDS_VERSION "1.0.122"
ENV JETTY_VERSION "9.4.27.v20200227"
ENV PG_VERSION "42.2.12"

ENV JAVA_BIN "java"

Expand Down

0 comments on commit 60553e9

Please sign in to comment.