Skip to content

Commit 0571ba8

Browse files
committed
Merge branch 'development'
2 parents ce23268 + 9b6ee58 commit 0571ba8

File tree

97 files changed

+426
-16757
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

97 files changed

+426
-16757
lines changed

.gitignore

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,11 @@
22
logs/*.log
33
settings.xml
44
.netbeans
5-
test/results/*.properties
6-
test/results/*.html
7-
test/results/*.log
8-
tests/results
5+
tests/results/*
6+
modules/cbvalidation/*
7+
coldbox/*
8+
testbox/*
9+
artifacts/*
10+
apidocs/docbox/*
11+
workbench/build.number
12+
build/*

.travis.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
language: java
2+
notifications:
3+
slack:
4+
secure: FIHlTn/YO7Wgumm1uIqmoEsqjQA7fV0AE94Rjc5yKzM3AquQa8HicgDVVk0d2GrKRnl0xt3j4ZJV//VJyIjlCd/QVKuj48R2ChjEY2im3+99HFPafCUI5/S2uyowKU6mJTFonH9v6p41eqxdbiAxJdDGOT0V2Gpt3UBSNuHz8ED9/aIHqv+P7M+VD6Xd2XYwctPniWlaSWx57sWcnG/VkFG45qFQAyha64uxOOe4M3ZmG/n5FfauZ8cBVLiRKEIr+CyNhh1ujfzi7+4uzMlSNL5t/BbZamAQuZzqGzGQ9RVvIlyPgUGNJtDEE/hWS09aagXF5T6EMj00szizErh4J1/x4qZwml5+TcBN31E0QmAhCtZe85sr3tYgic+hEz9XX1yymQzf/C7n4to2yNvq0r4g51xDk8IuP95WEh7zaqLlvFZvBFgxpHZBMYlRvhytjOYDeIFRMcGwHZcXosaG2ejqDwcGq/LC4oeG4sSwmg9sdRrtcmcanrNqrBka86WYO6LntI3JdZ86/1ACEUHzhCCwvrKELc9Ji1xxGAgS7QKH+s2/hnJuiMyv73gOVLKYC+wPMLt+fvOmPLSEl+PJiAIlToBq1KUBg03RSQLfPOLD7OrJ8VvDZsEPwejqlGDyc4wRglS9OTi7SnN5LYHSDNDdGdREegWqq9qDHEYEVLI=
5+
branches:
6+
only:
7+
- development
8+
sudo: required
9+
dist: trusty
10+
before_install:
11+
- sudo apt-key adv --keyserver keys.gnupg.net --recv 6DA70622
12+
- sudo echo "deb http://downloads.ortussolutions.com/debs/noarch /" | sudo tee -a
13+
/etc/apt/sources.list.d/commandbox.list
14+
install:
15+
- sudo apt-get update && sudo apt-get --assume-yes install commandbox
16+
- box install
17+
- box server start
18+
before_script:
19+
# Startup the app
20+
- curl http://localhost:49616/
21+
script:
22+
- ant -f workbench/build.xml

apidocs/Application.cfc

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,18 @@
11
component{
22

3-
this.name = "colddoc_" & hash(getCurrentTemplatePath());
3+
this.name = "APIDocs" & hash(getCurrentTemplatePath());
44
this.sessionManagement = true;
55
this.sessionTimeout = createTimeSpan(0,0,1,0);
66

7-
// mappings
8-
this.mappings[ "/colddoc" ] = getDirectoryFromPath( getCurrentTemplatePath() );
7+
// API Root
8+
API_ROOT = getDirectoryFromPath( getCurrentTemplatePath() );
9+
rootPath = REReplaceNoCase( API_ROOT, "apidocs(\\|\/)$", "" );
910

10-
rootPath = REReplaceNoCase( this.mappings[ "/colddoc" ], "apidocs(\\|\/)$", "" );
11-
this.mappings[ "/root" ] = rootPath;
12-
this.mappings[ "/cbjavaloader" ] = rootPath & "modules/cbjavaloader/models";
11+
// MODULE NAME
12+
request.moduleName = "cbjavaloader";
1313

14-
// request start
15-
public boolean function onRequestStart(String targetPage){
16-
return true;
17-
}
14+
this.mappings[ "/docbox" ] = API_ROOT & "docbox";
15+
this.mappings[ "/root" ] = rootPath;
16+
this.mappings[ "/#request.moduleName#" ] = rootPath & "modules/#request.moduleName#/models";
1817

1918
}

apidocs/ColdDoc.cfc

Lines changed: 0 additions & 263 deletions
This file was deleted.

apidocs/README.md

Lines changed: 0 additions & 18 deletions
This file was deleted.

0 commit comments

Comments
 (0)