syncope-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marco Di Sabatino Di Diodoro (Confluence)" <conflue...@apache.org>
Subject [CONF] Apache Syncope > Upgrade from 1.1.4 to 1.1.5
Date Mon, 09 Dec 2013 11:17:00 GMT
<html>
<head>
    <base href="https://cwiki.apache.org/confluence">
            <link rel="stylesheet" href="/confluence/s/en/2176/1/3/_/styles/combined.css?spaceKey=SYNCOPE&amp;forWysiwyg=true"
type="text/css">
    </head>
<body style="background: white;" bgcolor="white" class="email-body">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
    <h2><a href="https://cwiki.apache.org/confluence/display/SYNCOPE/Upgrade+from+1.1.4+to+1.1.5">Upgrade
from 1.1.4 to 1.1.5</a></h2>
    <h4>Page <b>edited</b> by             <a href="https://cwiki.apache.org/confluence/display/~mdisabatino">Marco
Di Sabatino Di Diodoro</a>
    </h4>
        <br/>
                         <h4>Changes (1)</h4>
                                 
    
<div id="page-diffs">
                    <table class="diff" cellpadding="0" cellspacing="0">
    
            <tr><td class="diff-snipped" >...<br></td></tr>
            <tr><td class="diff-unchanged" >h3. [SYNCOPE-434|https://issues.apache.org/jira/browse/SYNCOPE-434]
<br>{code} <br></td></tr>
            <tr><td class="diff-changed-lines" >INSERT INTO SyncopeConf(confKey,
<span class="diff-changed-words">con<span class="diff-added-chars"style="background-color:
#dfd;">f</span>Value)</span> VALUES(&#39;authentication.statuses&#39;,
&#39;active&#39;); <br></td></tr>
            <tr><td class="diff-unchanged" >{code} <br> <br></td></tr>
            <tr><td class="diff-snipped" >...<br></td></tr>
    
            </table>
    </div>                            <h4>Full Content</h4>
                    <div class="notificationGreySide">
        <style type='text/css'>/*<![CDATA[*/
div.rbtoc1386587778130 {margin-left: 1.5em;padding: 0px;}
div.rbtoc1386587778130 ul {list-style: decimal;margin-left: 0px;}
div.rbtoc1386587778130 li {margin-left: 0px;padding-left: 0px;}

/*]]>*/</style><div class='rbtoc1386587778130'>
<ul>
    <li><a href='#Upgradefrom1.1.4to1.1.5-Sourcechanges'>Source changes</a></li>
<ul>
    <li><a href='#Upgradefrom1.1.4to1.1.5-POM'>POM</a></li>
    <li><a href='#Upgradefrom1.1.4to1.1.5-Other'>Other</a></li>
</ul>
    <li><a href='#Upgradefrom1.1.4to1.1.5-Internalstoragechanges'>Internal storage
changes</a></li>
</ul></div>

<h1><a name="Upgradefrom1.1.4to1.1.5-Sourcechanges"></a>Source changes</h1>

<h2><a name="Upgradefrom1.1.4to1.1.5-POM"></a>POM</h2>

<p>In the root <tt>pom.xml</tt>:</p>
<ul>
	<li>change <tt>parent/version</tt> from <tt>1.1.4</tt> to <tt>1.1.5</tt></li>
	<li>change <tt>properties/syncope.version</tt> from <tt>1.1.4</tt>
to <tt>1.1.5</tt></li>
</ul>


<h2><a name="Upgradefrom1.1.4to1.1.5-Other"></a>Other</h2>

<p>Replace the following files with their 1.1.5 counterparts (re-apply any customization
previously made).</p>

<h3><a name="Upgradefrom1.1.4to1.1.5-SYNCOPE441https%3A%2F%2Fissues.apache.org%2Fjira%2Fbrowse%2FSYNCOPE441"></a><a
href="https://issues.apache.org/jira/browse/SYNCOPE-441" class="external-link" rel="nofollow">SYNCOPE-441</a></h3>
<ul>
	<li><a href="http://svn.apache.org/repos/asf/syncope/tags/syncope-1.1.5/core/src/main/resources/indexes.xml"
class="external-link" rel="nofollow">core/src/main/resources/indexes.xml</a></li>
</ul>


<h3><a name="Upgradefrom1.1.4to1.1.5-SYNCOPE419https%3A%2F%2Fissues.apache.org%2Fjira%2Fbrowse%2FSYNCOPE419SYNCOPE431https%3A%2F%2Fissues.apache.org%2Fjira%2Fbrowse%2FSYNCOPE431SYNCOPE435https%3A%2F%2Fissues.apache.org%2Fjira%2Fbrowse%2FSYNCOPE435SYNCOPE449https%3A%2F%2Fissues.apache.org%2Fjira%2Fbrowse%2FSYNCOPE449"></a><a
href="https://issues.apache.org/jira/browse/SYNCOPE-419" class="external-link" rel="nofollow">SYNCOPE-419</a>
<a href="https://issues.apache.org/jira/browse/SYNCOPE-431" class="external-link" rel="nofollow">SYNCOPE-431</a>
<a href="https://issues.apache.org/jira/browse/SYNCOPE-435" class="external-link" rel="nofollow">SYNCOPE-435</a>
<a href="https://issues.apache.org/jira/browse/SYNCOPE-449" class="external-link" rel="nofollow">SYNCOPE-449</a></h3>
<ul>
	<li><a href="http://svn.apache.org/repos/asf/syncope/tags/syncope-1.1.5/core/src/main/resources/rest.properties"
class="external-link" rel="nofollow">core/src/main/resources/rest.properties</a></li>
	<li><a href="http://svn.apache.org/repos/asf/syncope/tags/syncope-1.1.5/core/src/main/resources/restContext.xml"
class="external-link" rel="nofollow">core/src/main/resources/restContext.xml</a></li>
	<li><a href="http://svn.apache.org/repos/asf/syncope/tags/syncope-1.1.5/core/src/main/resources/syncopeContext.xml"
class="external-link" rel="nofollow">core/src/main/resources/syncopeContext.xml</a></li>
</ul>


<h3><a name="Upgradefrom1.1.4to1.1.5-SYNCOPE437https%3A%2F%2Fissues.apache.org%2Fjira%2Fbrowse%2FSYNCOPE437"></a><a
href="https://issues.apache.org/jira/browse/SYNCOPE-437" class="external-link" rel="nofollow">SYNCOPE-437</a></h3>
<ul>
	<li><a href="http://svn.apache.org/repos/asf/syncope/tags/syncope-1.1.5/core/src/main/resources/META-INF/orm.xml"
class="external-link" rel="nofollow">core/src/main/resources/META-INF/orm.xml</a></li>
	<li><a href="http://svn.apache.org/repos/asf/syncope/tags/syncope-1.1.5/core/src/main/resources/META-INF/orm.xml.oracle"
class="external-link" rel="nofollow">core/src/main/resources/META-INF/orm.xml.oracle</a></li>
	<li><a href="http://svn.apache.org/repos/asf/syncope/tags/syncope-1.1.5/core/src/main/resources/META-INF/orm.xml.sqlserver"
class="external-link" rel="nofollow">core/src/main/resources/META-INF/orm.xml.sqlserver</a></li>
</ul>


<h3><a name="Upgradefrom1.1.4to1.1.5-SYNCOPE427https%3A%2F%2Fissues.apache.org%2Fjira%2Fbrowse%2FSYNCOPE427"></a><a
href="https://issues.apache.org/jira/browse/SYNCOPE-427" class="external-link" rel="nofollow">SYNCOPE-427</a></h3>
<ul>
	<li>all files under <a href="http://svn.apache.org/repos/asf/syncope/tags/syncope-1.1.5/core/src/main/resources/report/"
class="external-link" rel="nofollow">core/src/main/resources/report/</a></li>
</ul>


<h1><a name="Upgradefrom1.1.4to1.1.5-Internalstoragechanges"></a>Internal
storage changes</h1>

<p>If not starting with an empty database, the following changes are needed:</p>

<h3><a name="Upgradefrom1.1.4to1.1.5-SYNCOPE422https%3A%2F%2Fissues.apache.org%2Fjira%2Fbrowse%2FSYNCOPE422"></a><a
href="https://issues.apache.org/jira/browse/SYNCOPE-422" class="external-link" rel="nofollow">SYNCOPE-422</a></h3>
<p>Change triggered audit <em>logName</em> in your <em>SyncopeLogger</em>
table.<br/>
The new syntax is: <b>syncope.audit.[type]:[category]:[subcategory]:[event]:[result
condition]</b>.<br/>
Take a look at the following samples.</p>
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="theme: Default; brush: java; gutter: false" style="font-size:12px; font-family:
ConfluenceInstalledFont,monospace;">
[REST]:[AuthenticationController]:[]:[getEntitlements]:[SUCCESS] (successful getEntitlement
operation)
[PropagationTask]:[]:[]:[]:[SUCCESS] (successful propagation)
[SyncTask]:[]:[]:[]:[FAILURE] (unsuccessful synchronization)
[CUSTOM]:[]:[]:[my custome event]:[FAILURE] (custome event raised by a custom extension)
...
</pre>
</div></div>

<h3><a name="Upgradefrom1.1.4to1.1.5-SYNCOPE423https%3A%2F%2Fissues.apache.org%2Fjira%2Fbrowse%2FSYNCOPE423"></a><a
href="https://issues.apache.org/jira/browse/SYNCOPE-423" class="external-link" rel="nofollow">SYNCOPE-423</a></h3>
<p>Change triggered notification <em>events</em> in your <em>Notification_events</em>
table.<br/>
The new syntax is: <b>[type]:[category]:[subcategory]:[event]:[result condition]</b>.<br/>
Take a look at the following samples.</p>
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="theme: Default; brush: java; gutter: false" style="font-size:12px; font-family:
ConfluenceInstalledFont,monospace;">
[REST]:[UserController]:[]:[update]:[SUCCESS] (successful user update)
[REST]:[RoleController]:[]:[delete]:[FAILURE] (unsuccessful role delete)
[PropagationTask]:[user]:[resource-ldap]:[create]:[SUCCESS] (successful user create onto resource-ldap
resource)
[SyncTask]:[role]:[resource-csv]:[update]:[SUCCESS] (successful role update during resource-csv
synchronization)
[CUSTOM]:[]:[]:[my custome event]:[SUCCESS] (custome event raised by a custom extension)
...
</pre>
</div></div>

<h3><a name="Upgradefrom1.1.4to1.1.5-SYNCOPE434https%3A%2F%2Fissues.apache.org%2Fjira%2Fbrowse%2FSYNCOPE434"></a><a
href="https://issues.apache.org/jira/browse/SYNCOPE-434" class="external-link" rel="nofollow">SYNCOPE-434</a></h3>
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="theme: Default; brush: java; gutter: false" style="font-size:12px; font-family:
ConfluenceInstalledFont,monospace;">
INSERT INTO SyncopeConf(confKey, confValue) VALUES('authentication.statuses', 'active');
</pre>
</div></div>

<h3><a name="Upgradefrom1.1.4to1.1.5-SYNCOPE441https%3A%2F%2Fissues.apache.org%2Fjira%2Fbrowse%2FSYNCOPE441"></a><a
href="https://issues.apache.org/jira/browse/SYNCOPE-441" class="external-link" rel="nofollow">SYNCOPE-441</a></h3>
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="theme: Default; brush: java; gutter: false" style="font-size:12px; font-family:
ConfluenceInstalledFont,monospace;">
CREATE INDEX ACT_RU_TASK_PARENT_TASK_ID_ ON ACT_RU_TASK(PARENT_TASK_ID_); 
</pre>
</div></div>
    </div>
        <div id="commentsSection" class="wiki-content pageSection">
        <div style="float: right;" class="grey">
                        <a href="https://cwiki.apache.org/confluence/users/removespacenotification.action?spaceKey=SYNCOPE">Stop
watching space</a>
            <span style="padding: 0px 5px;">|</span>
                <a href="https://cwiki.apache.org/confluence/users/editmyemailsettings.action">Change
email notification preferences</a>
</div>
        <a href="https://cwiki.apache.org/confluence/display/SYNCOPE/Upgrade+from+1.1.4+to+1.1.5">View
Online</a>
        |
        <a href="https://cwiki.apache.org/confluence/pages/diffpagesbyversion.action?pageId=34842321&revisedVersion=4&originalVersion=3">View
Changes</a>
            </div>
</div>
</div>
</div>
</div>
</body>
</html>

Mime
View raw message