Revision 48139
Added by Alessia Bardi almost 7 years ago
PromoteShadowStatsJobNode.java | ||
---|---|---|
1 | 1 |
package eu.dnetlib.msro.openaireplus.workflows.nodes.stats; |
2 | 2 |
|
3 |
import com.googlecode.sarasvati.NodeToken; |
|
4 |
import eu.dnetlib.enabling.tools.blackboard.BlackboardJob; |
|
3 | 5 |
import org.apache.commons.lang.StringUtils; |
4 | 6 |
import org.apache.commons.logging.Log; |
5 | 7 |
import org.apache.commons.logging.LogFactory; |
6 | 8 |
|
7 |
import com.googlecode.sarasvati.NodeToken; |
|
8 |
|
|
9 |
import eu.dnetlib.enabling.tools.blackboard.BlackboardJob; |
|
10 |
|
|
11 | 9 |
/** |
12 | 10 |
* Ask the StatsManagerService to promote the shadow stats db and cache to public for the portal specified by the additional BB parameter |
13 | 11 |
* <code>StatsManagerServiceBBAction.PROMOTE_SHADOW_STATS.getTargetPortalParamName()</code>. |
14 |
* |
|
15 | 12 |
* <p> |
13 |
* <p> |
|
16 | 14 |
* According to the StatsManagerService specifications in https://issue.openaire.research-infrastructures.eu/issues/914#note-49, this BB |
17 | 15 |
* action will: |
18 | 16 |
* <ol> |
... | ... | |
21 | 19 |
* <li>replace it with the new one</li> |
22 | 20 |
* </ol> |
23 | 21 |
* </p> |
24 |
*
|
|
22 |
* |
|
25 | 23 |
* @author alessia |
26 |
* |
|
27 | 24 |
*/ |
28 | 25 |
public class PromoteShadowStatsJobNode extends AbstractStatsJobNode { |
29 | 26 |
|
Also available in: Unified diff
integrated (hopefully) all required changes from dnet40