mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
ACS-3429 post support for actions (#1305)
* ACS-3429: Initial attemp to add action mappings for create rule. * ACS-3429: Adding rule action validation (TBC). * ACS-3429: Adding some basic unit tests. * ACS-3429: Fixing existing unit tests. * ACS-3429: Adding some unit tests, small fixes. * ACS-3429: Fixing existing TAS tests. * ACS-3429: Fixing test after merge from master. * ACS-3429: Updating TAS REST dependency. * ACS-3429: Small fixes after review. * ACS-3429: Refactoring conversion of action parameters + unit tests adjustments. * ACS-3429: More unit tests for action parameter conversions. * ACS-3429: More unit tests for action parameter conversions. * ACS-3429: Removing unused imports. * ACS-3429: Adding missing bean definition.
This commit is contained in:
@@ -891,11 +891,23 @@
|
||||
<property name="ruleSets" ref="RuleSets" />
|
||||
</bean>
|
||||
|
||||
<bean id="actionParameterConverter" class="org.alfresco.rest.api.impl.rules.ActionParameterConverter">
|
||||
<constructor-arg name="actionService" ref="ActionService"/>
|
||||
<constructor-arg name="dictionaryService" ref="DictionaryService"/>
|
||||
<constructor-arg name="namespaceService" ref="NamespaceService"/>
|
||||
</bean>
|
||||
|
||||
<bean id="actionPermissionValidator" class="org.alfresco.rest.api.impl.rules.ActionPermissionValidator">
|
||||
<constructor-arg name="runtimeActionService" ref="actionService"/>
|
||||
</bean>
|
||||
|
||||
<bean id="rules" class="org.alfresco.rest.api.impl.rules.RulesImpl">
|
||||
<property name="nodes" ref="Nodes" />
|
||||
<property name="validator" ref="nodeValidator"/>
|
||||
<property name="ruleService" ref="RuleService" />
|
||||
<property name="ruleLoader" ref="ruleLoader" />
|
||||
<property name="ruleLoader" ref="ruleLoader"/>
|
||||
<property name="actionParameterConverter" ref="actionParameterConverter"/>
|
||||
<property name="actionPermissionValidator" ref="actionPermissionValidator"/>
|
||||
</bean>
|
||||
|
||||
<bean id="Rules" class="org.springframework.aop.framework.ProxyFactoryBean">
|
||||
|
Reference in New Issue
Block a user