Skip to content

Commit 7a3d33a

Browse files
committed
more updates
1 parent f77a30e commit 7a3d33a

File tree

5 files changed

+42
-28
lines changed

5 files changed

+42
-28
lines changed

.github/workflows/tests.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ jobs:
3636
- coldboxVersion: "8"
3737
cfengine: "boxlang-cfml@1"
3838
experimental: true
39+
# BoxLang CFML BE with ColdBox 8
40+
- coldboxVersion: "8"
41+
cfengine: "boxlang-cfml@be"
42+
experimental: true
3943
steps:
4044
- name: Checkout Repository
4145
uses: actions/checkout@v5

changelog.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111

1212
### Added
1313

14+
- Upgraded test harness
1415
- BoxLang certification
1516
- Github Actions updates
1617
- ColdBox 8 Support and certification
18+
- Added `.github/copilot-instructions.md` — concise AI-agent guidance covering module architecture, validators, interceptor flows, and developer workflows (install, test, server start).
19+
- Documented test-harness and TestBox runner details for local integration testing (see `test-harness/tests/runner.cfm` and `box.json` scripts).
1720

1821
## [3.4.3] - 2024-05-09
1922

[email protected]

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"name":"cbsecurity-boxlang-cfml@be",
3+
"app":{
4+
"serverHomeDirectory":".engine/boxlang-cfml-be",
5+
"cfengine":"boxlang@be"
6+
},
7+
"web":{
8+
"http":{
9+
"port":"60299"
10+
},
11+
"rewrites":{
12+
"enable":true
13+
},
14+
"webroot":"test-harness",
15+
"aliases":{
16+
"/moduleroot/cbsecurity":"../"
17+
}
18+
},
19+
"JVM":{
20+
"heapSize":"1024",
21+
"javaVersion":"openjdk21_jre",
22+
"args":"-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=8888"
23+
},
24+
"openBrowser": false,
25+
"cfconfig":{
26+
"file":".cfconfig.json"
27+
},
28+
"env":{},
29+
"scripts":{
30+
"onServerInitialInstall":"install bx-compat-cfml,bx-esapi,bx-mysql --noSave"
31+
}
32+
}

test-harness/box.json

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,13 @@
55
"private":true,
66
"description":"",
77
"dependencies":{
8-
"coldbox":"^7",
8+
"coldbox":"^8",
99
"BCrypt":"^3.1.0+4"
1010
},
1111
"devDependencies":{
12-
"cbdebugger":"^4.0.0",
1312
"testbox":"*",
1413
"route-visualizer":"*"
1514
},
1615
"installPaths":{
17-
"coldbox":"coldbox/",
18-
"testbox":"testbox/",
19-
"cbauth":"modules/cbauth/",
20-
"BCrypt":"modules/BCrypt/",
21-
"route-visualizer":"modules/route-visualizer/",
22-
"jwt-cfml":"modules/jwtcfml/",
23-
"cbcsrf":"modules/cbcsrf/",
24-
"cbdebugger":"modules/cbdebugger/"
2516
}
2617
}
Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,4 @@
1-
<cfscript>
2-
// Allow unique URL or combination (false)
3-
setUniqueURLS(false);
4-
// Auto reload configuration, true in dev makes sense
5-
//setAutoReload(false);
6-
// Sets automatic route extension detection and places the extension in the rc.format
7-
// setExtensionDetection(true)
8-
// setValidExtensions('xml,json,jsont,rss,html,htm');
9-
10-
// Base URL
11-
if( len(getSetting('AppMapping') ) lte 1){
12-
setBaseURL("http://#cgi.HTTP_HOST#/index.cfm");
13-
}
14-
else{
15-
setBaseURL("http://#cgi.HTTP_HOST#/#getSetting('AppMapping')#/index.cfm");
16-
}
17-
1+
component{
182

193
// API Routing
204
defaultAPIActions = {
@@ -58,4 +42,4 @@
5842

5943
// Your Application Routes
6044
addRoute(pattern=":handler/:action?");
61-
</cfscript>
45+
}

0 commit comments

Comments
 (0)