Date: Thu, 28 Mar 2024 08:37:20 +0000 (UTC) Message-ID: <1043712875.23.1711615040650@33c117d34fa7> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_22_345025639.1711615040649" ------=_Part_22_345025639.1711615040649 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
This is the home of the OpenATNA space.
To help you on your way, we've inserted some of our favourite macros on = this home page. As you start creating pages, blogging and commenting you'll= see the macros below fill up with all the activity in your space.
Create a user with username 'openatna' and host 'localhost' identified b=
y pass 'openatna'*
mysql -= u root -p create user 'openatna'@'localhost' identified by 'openatna';
Create new db with name 'openatna'*
create = database openatna default character set =3D utf8;
Granting all priviledges to user 'openatna' on 'openatna' db*
=
grant a= ll on openatna.* to 'openatna'@'localhost' identified by 'openatna';
Important - After deploying OpenATNA, please check if your 'mess= ages' table has a field 'messageContent' with type 'blob' and allows 'NULL'= . If not, you have to run this script in order to have the messages display= er in OpenATNA Viewer:
alter m= essages change messageContent messageContent blob null;
Checking out the openatna component source using git URI: https://code.google.com/p/epsos-common-compon=
ents.openatna/
Building openatna using maven
cd /pat= h/to/openatna/folder mvn clean install (-P all|service|web)
The compiled WAR archive (in folder openatna/web/target/epsos-openatna-a=
ll.war) contains OpenATNA service and Log Viewer. It is also possible to co=
mpile a war which has only the other component. The profiles that can be us=
ed are: all (default), service and
Modifying actors properties within file /opt/openncp/openatna/openatna.p= roperties
# IHE a= ctor configuration directory ihe.actors.dir=3D/opt/openncp/openatna/conf ihe.actors.file=3DIheActors.xml Modifying mysql properties within file /opt/openncp/openatna/openatna.prope= rties {code} # mySQL 5 hib.dialect=3Dorg.hibernate.dialect.MySQL5InnoDBDialect db.driver.class=3Dcom.mysql.jdbc.Driver db.url=3Djdbc:mysql://localhost/openatna?createDatabaseIfNotExist=3Dtrue&am= p;amp;useUnicode=3Dtrue&characterEncoding=3Dutf-8 db.username=3Dopenatna db.password=3Dopenatna hib.hbm2ddl.auto=3Dupdate
OpenATNA uses property with name scheduled.time.between.fai= led.logs.handling.minutes in ConfigurationManager database to defi= ne the interval in which OpenATNA checks if some audit log was not persiste= d. In case these logs are found, they will be attempted to re-persist. The = default value is 60 (minutes).
Firstly modify the file /opt/openncp/openatna/conf/ArrConnections.xml
<Hos= tName>IP_ADDRESS</HostName> <Port>2862</Port> <!-- Trust and Keystore --> <KeyStore>/opt/openncp/certs/service-provider-keystore.jks</KeySto= re> <KeyPass>password</KeyPass> <TrustStore>/opt/openncp/certs/service-consumer-keystore.jks</Trus= tStore> <TrustPass>password</TrustPass>
Deploy the compiled WAR archive on Tomcat server and OpenATNA AuditServi= ce and logViewer should be running.
Configure epsos properties to write test audits
TEST_AUDITS_PATH=3D<path to be extracted the audits><= br>WRITE_TEST_AUDITS=3Dtrue/false