-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4756a5e
commit 921960d
Showing
3 changed files
with
119 additions
and
117 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,50 +1,52 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>Java eloglib Release Notes</title> | ||
<meta charset="UTF-8"> | ||
</head> | ||
<body> | ||
<h1>Java eloglib Release Notes</h1> | ||
<h2>September 27, 2018 - Version 3.1.0</h2> | ||
<p>Default properties updated now that server requires SSL for schema. Server certificate checking is now a configurable option.</p> | ||
<h2>November 28, 2017 - Version 3.0.0</h2> | ||
<p>Upgraded to Java 7 platform (no longer support Java 6) - this fixed many issues related to Java 6 JVM.</p> | ||
<h2>September 16, 2014 - Version 2.9</h2> | ||
<p>Added support for problem reports: a tool for operations to record issues they | ||
encounter in the elog. A log entry now has an optional problem report section.</p> | ||
<h2>March 15, 2013 - Version 2.8</h2> | ||
<p>This version fixes a bug in the Java elog Client API. When writing out the | ||
XML either to a file for queuing or to an HTTP server via PUT, the Java IO stream | ||
constructors assume platform character encoding. The character encoding is now | ||
always UTF-8 as intended.</p> | ||
<h2>March 14, 2013 - Version 2.7</h2> | ||
<p>This version adds a new "addAttachment" overloaded method which allows | ||
specification of a caption, but with auto-detection of mime-type. This is needed | ||
for the elog command line interface project. </p> | ||
<h2>March 12, 2013 - Version 2.6</h2> | ||
<p>Added a new method named submitNow that takes an argument specifying a path | ||
to a certificate file. There was already a method named SubmitNow, but it doesn't | ||
take any arguments and just uses the default certificate path. I've also added | ||
an additional example program named HelloWorldDemo and updated the docs to reflect | ||
this. The reason for these two changes is someone from offsite is about to use | ||
the API and we noticed there were deficiencies with the offsite scenario mostly | ||
due to the fact that there is not going to be a queue directory available. The | ||
example program we had originally is not good for offsite people because if | ||
they don't setup their certificate correctly or invert the arguments to the | ||
LogEntry constructor the exception generated is masked by the queue directory | ||
not found exception until they code some try catches with whyQueued or switch | ||
to the submitNow method. The HelloWorldDemo just uses submitNow and is good | ||
for offsite users. </p> | ||
<h2>January 15, 2013 - Version 2.5</h2> | ||
<p>Fixed bug where accessing attachments from an existing XML file would fail | ||
if the existing XML had spaces around the attachment tag. (Added check to DOM | ||
traversal code to ensure node was an instance of Element instead of TextNode).</p> | ||
<h2>January 2, 2013 - Version 2.4</h2> | ||
<p>Updated default UNIX queue path configuration parameter in the elog.properties | ||
file from "/u/group/elogbooks/logentryq/new" to "/group/elogbooks/logentryq/new".</p> | ||
<h2>October 12, 2012 - Version 2.3</h2> | ||
<p>This is the initial public release of the Java implementation of the Electronic | ||
Logbooks API.</p> | ||
</body> | ||
</html> | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>Java eloglib Release Notes</title> | ||
<meta charset="UTF-8"> | ||
</head> | ||
<body> | ||
<h1>Java eloglib Release Notes</h1> | ||
<h2>May 14, 2019 - Version 3.2.0</h2> | ||
<p>Forced schema validation disabled as it is unreliable over network and also unnecessary anyways.</p> | ||
<h2>September 27, 2018 - Version 3.1.0</h2> | ||
<p>Default properties updated now that server requires SSL for schema. Server certificate checking is now a configurable option.</p> | ||
<h2>November 28, 2017 - Version 3.0.0</h2> | ||
<p>Upgraded to Java 7 platform (no longer support Java 6) - this fixed many issues related to Java 6 JVM.</p> | ||
<h2>September 16, 2014 - Version 2.9</h2> | ||
<p>Added support for problem reports: a tool for operations to record issues they | ||
encounter in the elog. A log entry now has an optional problem report section.</p> | ||
<h2>March 15, 2013 - Version 2.8</h2> | ||
<p>This version fixes a bug in the Java elog Client API. When writing out the | ||
XML either to a file for queuing or to an HTTP server via PUT, the Java IO stream | ||
constructors assume platform character encoding. The character encoding is now | ||
always UTF-8 as intended.</p> | ||
<h2>March 14, 2013 - Version 2.7</h2> | ||
<p>This version adds a new "addAttachment" overloaded method which allows | ||
specification of a caption, but with auto-detection of mime-type. This is needed | ||
for the elog command line interface project. </p> | ||
<h2>March 12, 2013 - Version 2.6</h2> | ||
<p>Added a new method named submitNow that takes an argument specifying a path | ||
to a certificate file. There was already a method named SubmitNow, but it doesn't | ||
take any arguments and just uses the default certificate path. I've also added | ||
an additional example program named HelloWorldDemo and updated the docs to reflect | ||
this. The reason for these two changes is someone from offsite is about to use | ||
the API and we noticed there were deficiencies with the offsite scenario mostly | ||
due to the fact that there is not going to be a queue directory available. The | ||
example program we had originally is not good for offsite people because if | ||
they don't setup their certificate correctly or invert the arguments to the | ||
LogEntry constructor the exception generated is masked by the queue directory | ||
not found exception until they code some try catches with whyQueued or switch | ||
to the submitNow method. The HelloWorldDemo just uses submitNow and is good | ||
for offsite users. </p> | ||
<h2>January 15, 2013 - Version 2.5</h2> | ||
<p>Fixed bug where accessing attachments from an existing XML file would fail | ||
if the existing XML had spaces around the attachment tag. (Added check to DOM | ||
traversal code to ensure node was an instance of Element instead of TextNode).</p> | ||
<h2>January 2, 2013 - Version 2.4</h2> | ||
<p>Updated default UNIX queue path configuration parameter in the elog.properties | ||
file from "/u/group/elogbooks/logentryq/new" to "/group/elogbooks/logentryq/new".</p> | ||
<h2>October 12, 2012 - Version 2.3</h2> | ||
<p>This is the initial public release of the Java implementation of the Electronic | ||
Logbooks API.</p> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,66 +1,66 @@ | ||
package org.jlab.elog; | ||
|
||
import java.io.IOException; | ||
import java.io.InputStream; | ||
import java.util.Properties; | ||
import org.jlab.elog.exception.LogRuntimeException; | ||
|
||
/** | ||
* Captures the jlog library global version and configuration information. | ||
* The Overview page contains a list of all available configuration properties. | ||
* | ||
* @author ryans | ||
*/ | ||
public final class Library { | ||
|
||
private static final String VERSION = "3.1.0"; | ||
private static Properties configuration; | ||
|
||
static { | ||
InputStream in = Library.class.getClassLoader().getResourceAsStream( | ||
"org/jlab/elog/elog.properties"); | ||
|
||
configuration = new Properties(); | ||
|
||
try { | ||
configuration.load(in); | ||
} catch (IOException e) { | ||
throw new LogRuntimeException("Unable to load properties.", e); | ||
} | ||
} | ||
|
||
private Library() { | ||
// Can't instantiate publicly | ||
} | ||
|
||
/** | ||
* Get the configuration properties. | ||
* | ||
* @return The configuration | ||
*/ | ||
public static Properties getConfiguration() { | ||
return configuration; | ||
} | ||
|
||
/** | ||
* Set the configuration properties. | ||
* | ||
* @param configuration The configuration | ||
*/ | ||
public static void setConfiguration(Properties configuration) { | ||
Library.configuration = configuration; | ||
} | ||
|
||
/** | ||
* Returns the library version String. A programmaticaly accessible version | ||
* String is a requirement of JLab accelerator software certification. | ||
* | ||
* The major version number corresponds to the API version. The minor | ||
* version number corresponds to the implementation version. | ||
* | ||
* @return The version String | ||
*/ | ||
public static String getVersion() { | ||
return VERSION; | ||
} | ||
} | ||
package org.jlab.elog; | ||
|
||
import java.io.IOException; | ||
import java.io.InputStream; | ||
import java.util.Properties; | ||
import org.jlab.elog.exception.LogRuntimeException; | ||
|
||
/** | ||
* Captures the jlog library global version and configuration information. | ||
* The Overview page contains a list of all available configuration properties. | ||
* | ||
* @author ryans | ||
*/ | ||
public final class Library { | ||
|
||
private static final String VERSION = "3.2.0"; | ||
private static Properties configuration; | ||
|
||
static { | ||
InputStream in = Library.class.getClassLoader().getResourceAsStream( | ||
"org/jlab/elog/elog.properties"); | ||
|
||
configuration = new Properties(); | ||
|
||
try { | ||
configuration.load(in); | ||
} catch (IOException e) { | ||
throw new LogRuntimeException("Unable to load properties.", e); | ||
} | ||
} | ||
|
||
private Library() { | ||
// Can't instantiate publicly | ||
} | ||
|
||
/** | ||
* Get the configuration properties. | ||
* | ||
* @return The configuration | ||
*/ | ||
public static Properties getConfiguration() { | ||
return configuration; | ||
} | ||
|
||
/** | ||
* Set the configuration properties. | ||
* | ||
* @param configuration The configuration | ||
*/ | ||
public static void setConfiguration(Properties configuration) { | ||
Library.configuration = configuration; | ||
} | ||
|
||
/** | ||
* Returns the library version String. A programmaticaly accessible version | ||
* String is a requirement of JLab accelerator software certification. | ||
* | ||
* The major version number corresponds to the API version. The minor | ||
* version number corresponds to the implementation version. | ||
* | ||
* @return The version String | ||
*/ | ||
public static String getVersion() { | ||
return VERSION; | ||
} | ||
} |