forked from Alfresco/alfresco-community-repo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'alfresco-remote-api/master'
- Loading branch information
Showing
2,274 changed files
with
296,502 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# For SmartGit | ||
[bugtraq "jira"] | ||
url = https://issues.alfresco.com/jira/browse/%BUGID% | ||
logRegex = ([A-Z]+-\\d+) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
*.class | ||
|
||
# Eclipse | ||
.classpath | ||
.settings | ||
.project | ||
|
||
# Intellij | ||
.idea/ | ||
*.iml | ||
*.iws | ||
|
||
# Mac | ||
.DS_Store | ||
|
||
# Maven | ||
target | ||
*.log | ||
*.log.* | ||
|
||
# Mobile Tools for Java (J2ME) | ||
|
||
.mtj | ||
.tmp/ | ||
|
||
# Package Files # | ||
|
||
*.jar | ||
*.war | ||
*.ear | ||
|
||
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml | ||
|
||
hs_err_pid* | ||
|
||
# Development | ||
alf_data/ | ||
/src/main/resources/alfresco-global.properties | ||
/src/main/resources/alfresco/extension/custom-log4j.properties |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<settings> | ||
<!-- required to push artifacts to repositories --> | ||
<servers> | ||
<server> | ||
<id>alfresco-public</id> | ||
<username>${env.MAVEN_USERNAME}</username> | ||
<password>${env.MAVEN_PASSWORD}</password> | ||
</server> | ||
</servers> | ||
</settings> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
dist: xenial | ||
sudo: required | ||
language: java | ||
jdk: | ||
- openjdk11 | ||
services: | ||
- docker | ||
|
||
cache: | ||
directories: | ||
- $HOME/.m2 | ||
# the cache can grow constantly | ||
before_cache: | ||
- rm -rf $HOME/.m2/repository/org/alfresco/alfresco-remote-api | ||
- rm -rf $HOME/.m2/repository/org/alfresco/alfresco-repository | ||
|
||
branches: | ||
only: | ||
- master | ||
- /support\/.*/ | ||
- /feature\/.*/ | ||
|
||
stages: | ||
- test | ||
- release | ||
|
||
before_install: | ||
- docker run -d -p 5433:5432 -e POSTGRES_PASSWORD=alfresco -e POSTGRES_USER=alfresco -e POSTGRES_DB=alfresco postgres:11.7 postgres -c 'max_connections=300' | ||
- docker run -d -p 61616:61616 -p 5672:5672 alfresco/alfresco-activemq:5.15.8 | ||
|
||
install: travis_retry mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V | ||
|
||
jobs: | ||
include: | ||
- stage: test | ||
name: "WhiteSource scan" | ||
# only on support branches or master and if it is not a PR | ||
if: fork = false AND (branch = master OR branch =~ /support\/SP\/.*/) AND type != pull_request | ||
script: | ||
# Download the latest version of WhiteSource Unified Agent | ||
- curl -LJO https://github.com/whitesource/unified-agent-distribution/releases/latest/download/wss-unified-agent.jar | ||
# Run WhiteSource Unified Agent | ||
- java -jar wss-unified-agent.jar -apiKey ${WHITESOURCE_API_KEY} -c .wss-unified-agent.config | ||
- name: "AppContext01TestSuite" | ||
script: travis_wait 20 mvn test -B -Dtest=AppContext01TestSuite -Ddb.driver=org.postgresql.Driver -Ddb.name=alfresco -Ddb.url=jdbc:postgresql://localhost:5433/alfresco -Ddb.username=alfresco -Ddb.password=alfresco | ||
- name: "AppContext02TestSuite" | ||
script: travis_wait 20 mvn test -B -Dtest=AppContext02TestSuite -Ddb.driver=org.postgresql.Driver -Ddb.name=alfresco -Ddb.url=jdbc:postgresql://localhost:5433/alfresco -Ddb.username=alfresco -Ddb.password=alfresco | ||
- name: "AppContext03TestSuite" | ||
script: travis_wait 20 mvn test -B -Dtest=AppContext03TestSuite -Ddb.driver=org.postgresql.Driver -Ddb.name=alfresco -Ddb.url=jdbc:postgresql://localhost:5433/alfresco -Ddb.username=alfresco -Ddb.password=alfresco | ||
- name: "AppContext04TestSuite" | ||
script: travis_wait 20 mvn test -B -Dtest=AppContext04TestSuite -Ddb.driver=org.postgresql.Driver -Ddb.name=alfresco -Ddb.url=jdbc:postgresql://localhost:5433/alfresco -Ddb.username=alfresco -Ddb.password=alfresco | ||
- name: "AppContextExtraTestSuite" | ||
script: travis_wait 20 mvn test -B -Dtest=AppContextExtraTestSuite -Ddb.driver=org.postgresql.Driver -Ddb.name=alfresco -Ddb.url=jdbc:postgresql://localhost:5433/alfresco -Ddb.username=alfresco -Ddb.password=alfresco | ||
- stage: release | ||
name: "Push to Nexus" | ||
if: fork = false AND (branch = master OR branch =~ /support\/.*/) AND type != pull_request AND commit_message !~ /\[no-release\]/ | ||
before_install: | ||
- "cp .travis.settings.xml $HOME/.m2/settings.xml" | ||
script: | ||
# Use full history for release | ||
- git checkout -B "${TRAVIS_BRANCH}" | ||
# Add email to link commits to user | ||
- git config user.email "${GIT_EMAIL}" | ||
# Skip building of release commits | ||
- mvn --batch-mode -DscmCommentPrefix="[maven-release-plugin][skip ci] " -Dusername="${GIT_USERNAME}" -Dpassword="${GIT_PASSWORD}" -DskipTests -Darguments=-DskipTests release:clean release:prepare release:perform |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"generalSettings": { | ||
"shouldScanRepo": true | ||
}, | ||
"checkRunSettings": { | ||
"vulnerableCheckRunConclusionLevel": "failure" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,228 @@ | ||
#################################################################### | ||
# WhiteSource Unified-Agent configuration file | ||
#################################################################### | ||
########################################## | ||
# GENERAL SCAN MODE: Files and Package Managers | ||
########################################## | ||
|
||
checkPolicies=true | ||
forceCheckAllDependencies=true | ||
forceUpdate=true | ||
forceUpdate.failBuildOnPolicyViolation=true | ||
offline=false | ||
#ignoreSourceFiles=true | ||
#scanComment= | ||
#updateInventory=false | ||
#resolveAllDependencies=false | ||
#failErrorLevel=ALL | ||
#requireKnownSha1=false | ||
#generateScanReport=true | ||
#scanReportTimeoutMinutes=10 | ||
#excludeDependenciesFromNodes=.*commons-io.*,.*maven-model | ||
|
||
#projectPerFolder=true | ||
#projectPerFolderIncludes= | ||
#projectPerFolderExcludes= | ||
|
||
#wss.connectionTimeoutMinutes=60 | ||
# Change the below URL to your WhiteSource server. | ||
# Use the 'WhiteSource Server URL' which can be retrieved | ||
# from your 'Profile' page on the 'Server URLs' panel. | ||
# Then, add the '/agent' path to it. | ||
wss.url=https://saas.whitesourcesoftware.com/agent | ||
|
||
#npm.resolveDependencies=false | ||
#npm.ignoreSourceFiles=false | ||
#npm.includeDevDependencies=true | ||
#npm.runPreStep=true | ||
#npm.ignoreNpmLsErrors=true | ||
#npm.ignoreScripts=true | ||
#npm.yarnProject=true | ||
#npm.accessToken= | ||
#npm.identifyByNameAndVersion=true | ||
|
||
#bower.resolveDependencies=false | ||
#bower.ignoreSourceFiles=true | ||
#bower.runPreStep=true | ||
|
||
#nuget.resolvePackagesConfigFiles=false | ||
#nuget.resolveCsProjFiles=false | ||
#nuget.resolveDependencies=false | ||
#nuget.restoreDependencies=true | ||
#nuget.ignoreSourceFiles=true | ||
#nuget.runPreStep=true | ||
#nuget.resolveNuspecFiles=false | ||
|
||
#python.resolveDependencies=false | ||
#python.ignoreSourceFiles=false | ||
#python.ignorePipInstallErrors=true | ||
#python.installVirtualenv=true | ||
#python.resolveHierarchyTree=false | ||
#python.requirementsFileIncludes=requirements.txt | ||
#python.resolveSetupPyFiles=true | ||
#python.runPipenvPreStep=true | ||
#python.pipenvDevDependencies=true | ||
#python.IgnorePipenvInstallErrors=true | ||
|
||
#maven.ignoredScopes=test provided | ||
maven.resolveDependencies=true | ||
#maven.ignoreSourceFiles=true | ||
#maven.aggregateModules=true | ||
maven.ignorePomModules=false | ||
#maven.runPreStep=true | ||
#maven.ignoreMvnTreeErrors=true | ||
#maven.environmentPath= | ||
#maven.m2RepositoryPath= | ||
|
||
#gradle.ignoredScopes= | ||
#gradle.resolveDependencies=false | ||
#gradle.runAssembleCommand=false | ||
#gradle.runPreStep=true | ||
#gradle.ignoreSourceFiles=true | ||
#gradle.aggregateModules=true | ||
#gradle.preferredEnvironment=wrapper | ||
#gradle.localRepositoryPath= | ||
|
||
#paket.resolveDependencies=false | ||
#paket.ignoredGroups= | ||
#paket.ignoreSourceFiles=false | ||
#paket.runPreStep=true | ||
#paket.exePath= | ||
|
||
#go.resolveDependencies=false | ||
#go.collectDependenciesAtRuntime=true | ||
#go.dependencyManager= | ||
#go.ignoreSourceFiles=true | ||
#go.glide.ignoreTestPackages=false | ||
#go.gogradle.enableTaskAlias=true | ||
|
||
#ruby.resolveDependencies = false | ||
#ruby.ignoreSourceFiles = false | ||
#ruby.installMissingGems = true | ||
#ruby.runBundleInstall = true | ||
#ruby.overwriteGemFile = true | ||
|
||
#sbt.resolveDependencies=false | ||
#sbt.ignoreSourceFiles=true | ||
#sbt.aggregateModules=true | ||
#sbt.runPreStep=true | ||
#sbt.targetFolder= | ||
|
||
#php.resolveDependencies=false | ||
#php.runPreStep=true | ||
#php.includeDevDependencies=true | ||
|
||
#html.resolveDependencies=false | ||
|
||
#cocoapods.resolveDependencies=false | ||
#cocoapods.runPreStep=true | ||
#cocoapods.ignoreSourceFiles=false | ||
|
||
#hex.resolveDependencies=false | ||
#hex.runPreStep=true | ||
#hex.ignoreSourceFiles=false | ||
#hex.aggregateModules=true | ||
|
||
################################## | ||
# Organization tokens: | ||
################################## | ||
apiKey= | ||
|
||
#userKey is required if WhiteSource administrator has enabled "Enforce user level access" option | ||
#userKey= | ||
|
||
projectName=alfresco-remote-api | ||
projectVersion= | ||
projectToken= | ||
|
||
productName=ACS Community | ||
productVersion= | ||
productToken= | ||
#updateType=APPEND | ||
#[email protected] | ||
|
||
######################################################################################### | ||
# Includes/Excludes Glob patterns - PLEASE USE ONLY ONE EXCLUDE LINE AND ONE INCLUDE LINE | ||
######################################################################################### | ||
#includes=**/*.c **/*.cc **/*.cp **/*.cpp **/*.cxx **/*.c++ **/*.h **/*.hpp **/*.hxx | ||
|
||
#includes=**/*.m **/*.mm **/*.js **/*.php | ||
includes=**/*.jar | ||
#includes=**/*.gem **/*.rb | ||
#includes=**/*.dll **/*.cs **/*.nupkg | ||
#includes=**/*.tgz **/*.deb **/*.gzip **/*.rpm **/*.tar.bz2 | ||
#includes=**/*.zip **/*.tar.gz **/*.egg **/*.whl **/*.py | ||
|
||
## Exclude file extensions or specific directories by adding **/*.<extension> or **<excluded_dir>/** | ||
excludes=**/*sources.jar **/*javadoc.jar | ||
|
||
case.sensitive.glob=false | ||
followSymbolicLinks=true | ||
|
||
################################## | ||
# Archive properties | ||
################################## | ||
#archiveExtractionDepth=2 | ||
#archiveIncludes=**/*.war **/*.ear | ||
#archiveExcludes=**/*sources.jar | ||
|
||
################################## | ||
# Proxy settings | ||
################################## | ||
#proxy.host= | ||
#proxy.port= | ||
#proxy.user= | ||
#proxy.pass= | ||
|
||
################################## | ||
# SCM settings | ||
################################## | ||
#scm.type= | ||
#scm.user= | ||
#scm.pass= | ||
#scm.ppk= | ||
#scm.url= | ||
#scm.branch= | ||
#scm.tag= | ||
#scm.npmInstall= | ||
#scm.npmInstallTimeoutMinutes= | ||
#scm.repositoriesFile= | ||
|
||
############################################## | ||
# SCAN MODE: Linux package manager settings | ||
############################################## | ||
#scanPackageManager=true | ||
|
||
################################## | ||
# SCAN MODE: Docker images | ||
################################## | ||
#docker.scanImages=true | ||
#docker.includes=.*.* | ||
#docker.excludes= | ||
#docker.pull.enable=true | ||
#docker.pull.images=.*.* | ||
#docker.pull.maxImages=10 | ||
#docker.pull.tags=.*.* | ||
#docker.pull.digest= | ||
#docker.delete.force=true | ||
#docker.login.sudo=false | ||
|
||
#docker.aws.enable=true | ||
#docker.aws.registryIds= | ||
|
||
################################## | ||
# SCAN MODE: Docker containers | ||
################################## | ||
#docker.scanContainers=true | ||
#docker.containerIncludes=.*.* | ||
#docker.containerExcludes= | ||
|
||
################################ | ||
# Serverless settings | ||
################################ | ||
#serverless.provider= | ||
#serverless.scanFunctions=true | ||
#serverless.includes= | ||
#serverless.excludes= | ||
#serverless.region= | ||
#serverless.maxFunctions=10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
### Contributing | ||
Thanks for your interest in contributing to this project! | ||
|
||
The following is a set of guidelines for contributing to this library. Most of them will make the life of the reviewer easier and therefore decrease the time required for the patch be included in the next version. | ||
|
||
Because this project forms a part of Alfresco Content Services, the guidelines are hosted in the [Alfresco Social Community](http://community.alfresco.com/community/ecm) where they can be referenced from multiple projects. | ||
|
||
Read an [overview on how this project is goverened](https://community.alfresco.com/docs/DOC-6385-project-overview-repository). | ||
|
||
You can report an issue in the ALF project of the [Alfresco issue tracker](http://issues.alfresco.com). | ||
|
||
Read [instructions for a good issue report](https://community.alfresco.com/docs/DOC-6263-reporting-an-issue). | ||
|
||
Read [instructions for making a contribution](https://community.alfresco.com/docs/DOC-6269-submitting-contributions). | ||
|
||
Please follow [the coding standards](https://community.alfresco.com/docs/DOC-4658-coding-standards). |
Oops, something went wrong.