RM-4309 (Investigate an alternative option for the default.properties in RM REST API Automation project)

This commit is contained in:
Tuna Aksoy
2016-11-25 23:32:32 +00:00
parent a0df516f09
commit af1ba799f8
3 changed files with 4 additions and 26 deletions

View File

@@ -68,7 +68,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