Mercurial > hg > orthanc
changeset 439:081a44d5110b
notes
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 15 May 2013 17:10:52 +0200 |
parents | 7bbe77cb9e12 |
children | 23e5b35e3c5c |
files | NEWS OrthancServer/OrthancInitialization.cpp Resources/Configuration.json |
diffstat | 3 files changed, 16 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/NEWS Wed May 15 16:51:10 2013 +0200 +++ b/NEWS Wed May 15 17:10:52 2013 +0200 @@ -1,8 +1,18 @@ Pending changes in the mainline =============================== + +Metadata +-------- + +* Access to the metadata through the REST API +* Support of user-defined metadata * "LastUpdate" metadata for patients, studies and series * Improved support of series with temporal positions + +Other +----- + * Fixes for Red Hat and Debian packaging * Fixes for boost::thread, as reported by Cyril Paulus
--- a/OrthancServer/OrthancInitialization.cpp Wed May 15 16:51:10 2013 +0200 +++ b/OrthancServer/OrthancInitialization.cpp Wed May 15 17:10:52 2013 +0200 @@ -129,11 +129,11 @@ for (size_t i = 0; i < members.size(); i++) { std::string info = "\"" + members[i] + "\" = " + parameter[members[i]].toStyledString(); - LOG(INFO) << "Registering user-specific metadata: " << info; + LOG(INFO) << "Registering user-defined metadata: " << info; if (!parameter[members[i]].asBool()) { - LOG(ERROR) << "Not a number in this user-specific metadata: " << info; + LOG(ERROR) << "Not a number in this user-defined metadata: " << info; throw OrthancException(ErrorCode_BadParameterType); } @@ -145,7 +145,7 @@ } catch (OrthancException e) { - LOG(ERROR) << "Cannot register this user-specific metadata: " << info; + LOG(ERROR) << "Cannot register this user-defined metadata: " << info; throw e; } }
--- a/Resources/Configuration.json Wed May 15 16:51:10 2013 +0200 +++ b/Resources/Configuration.json Wed May 15 17:10:52 2013 +0200 @@ -33,8 +33,9 @@ "LuaScripts" : [ ], - // Dictionary of the user-specific metadata. Each entry must map a - // number between 1024 and 65535 to an unique string. + // Dictionary of symbolic names for the user-defined metadata. Each + // entry must map a number between 1024 and 65535 to an unique + // string. "UserMetadata" : { // "Sample" : 1024 },