mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
RM-4309 (Investigate an alternative option for the default.properties in RM REST API Automation project)
This commit is contained in:
@@ -68,7 +68,8 @@ import org.testng.annotations.BeforeClass;
|
|||||||
* @since 2.6
|
* @since 2.6
|
||||||
*/
|
*/
|
||||||
@Configuration
|
@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)
|
@PropertySource(value = "classpath:local.properties", ignoreResourceNotFound = true)
|
||||||
public class BaseRestTest extends RestTest
|
public class BaseRestTest extends RestTest
|
||||||
{
|
{
|
||||||
|
@@ -0,0 +1,2 @@
|
|||||||
|
alfresco.server=localhost
|
||||||
|
rest.rmPath=alfresco/api/-default-/public/ig/versions/1
|
@@ -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
|
|
Reference in New Issue
Block a user