Merge branch 'master' of https://gitlab.alfresco.com/records-management/records-management into RM-4396_UseModelInsteadJsonObject

This commit is contained in:
Rodica Sutu
2016-11-28 17:19:16 +02:00
4 changed files with 9 additions and 29 deletions

View File

@@ -14,6 +14,8 @@
<properties>
<alfresco.rm.share>alfresco-rm-community-share</alfresco.rm.share>
<alfresco.rm.repo>alfresco-rm-community-repo</alfresco.rm.repo>
<tas.restapi.version>5.2.0-0</tas.restapi.version>
<fluent.json.version>2.0.0</fluent.json.version>
</properties>
<build>
@@ -34,18 +36,18 @@
<dependency>
<groupId>org.alfresco.tas</groupId>
<artifactId>restapi-test</artifactId>
<version>2.0.0</version>
<version>${tas.restapi.version}</version>
</dependency>
<dependency>
<groupId>org.alfresco.tas</groupId>
<artifactId>restapi-test</artifactId>
<version>2.0.0</version>
<version>${tas.restapi.version}</version>
<type>test-jar</type>
</dependency>
<dependency>
<groupId>org.jglue.fluent-json</groupId>
<artifactId>fluent-json</artifactId>
<version>2.0.0</version>
<version>${fluent.json.version}</version>
</dependency>
</dependencies>
</project>

View File

@@ -61,7 +61,8 @@ import org.testng.annotations.BeforeClass;
* @since 2.6
*/
@Configuration
@PropertySource("classpath:default.properties")
@PropertySource(value = {"classpath:default.properties", "classpath:config.properties"})
@PropertySource(value = "classpath:module.properties", ignoreResourceNotFound = true)
@PropertySource(value = "classpath:local.properties", ignoreResourceNotFound = true)
public class BaseRestTest extends RestTest
{

View File

@@ -0,0 +1,2 @@
alfresco.server=localhost
rest.rmPath=alfresco/api/-default-/public/ig/versions/1

View File

@@ -1,25 +0,0 @@
#########################################################################
# Original property values from default.properties #
#########################################################################
# Dataprep related
alfresco.scheme=http
alfresco.server=localhost
alfresco.port=8080
# Credentials
admin.user=admin
admin.password=admin
# Rest related
rest.basePath=alfresco/api/-default-/public/alfresco/versions/1
rest.workflowPath=alfresco/api/-default-/public/workflow/versions/1
# Database Section
db.url = jdbc:mysql://${alfresco.server}:3306/alfresco
db.username = alfresco
db.password = alfresco
#########################################################################
rest.rmPath=alfresco/api/-default-/public/ig/versions/1