Skip to content

Commit 777c55f

Browse files
authored
Link traversal + rename aux-->test (#160)
1 parent 383ef0c commit 777c55f

File tree

90 files changed

+3442
-1661
lines changed

Some content is hidden

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

90 files changed

+3442
-1661
lines changed

.gitignore

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,5 @@ pods*
2727

2828
lintPush.sh
2929

30-
aux/cypress/screenshots
31-
aux/cypress/downloads
30+
test/cypress/screenshots
31+
test/cypress/downloads

CHANGELOG.md

+2-6
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1313

1414
### Changed
1515

16-
- Split directories to isolate the site code (main) from the test and development tools (aux) (#157).
17-
18-
### Fixed
19-
20-
- The test that failed on the production build after change #157, passes again (#159).
21-
16+
- Split directories to isolate the site code (main) from the test and development tools (test) (#157).
17+
- Sources from index file(s) (aka indirect sources) now works recursively, using the Comunica link-traversal feature (#79).
2218

2319
## [1.3.0] - 2024-08-07
2420

README.md

+13-12
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ This Web app allows users to easily execute queries over multiple data sources (
44
inspect the corresponding results.
55

66
Table of contents:
7+
78
* [Preface](#preface)
89
* [Getting Started](#getting-started)
910
* [Static, production build](#static-production-build)
@@ -24,7 +25,7 @@ Table of contents:
2425

2526
## Preface
2627

27-
This repository defines a Web application in the directory `main` and some auxiliary tools for testing and supporting a demo in the directory `aux`.
28+
This repository defines a Web application in the directory `main` and some auxiliary tools for testing and supporting a demo in the directory `test`.
2829

2930
## Getting Started
3031

@@ -47,13 +48,13 @@ Now you can browse the displayed URL.
4748
The queries provided in the example configuration `main/src/config.json` access data located in pods at localhost.
4849
To have these up and running, you need to install the auxiliary tools first.
4950

50-
Go to directory `aux` and execute:
51+
Go to directory `test` and execute:
5152

5253
```bash
5354
npm install
5455
```
5556

56-
Next, also in directory `aux`, activate the supporting resources:
57+
Next, also in directory `test`, activate the supporting resources:
5758

5859
1. In a new terminal window, prepare and start the local pods:
5960

@@ -74,7 +75,7 @@ Next, also in directory `aux`, activate the supporting resources:
7475
```
7576

7677
Some queries require a log in.
77-
Log in with the IDP `http://localhost:8080` and the credentials for the user owning the pod named `example` in the file `aux/seeded-pod-config.json`.
78+
Log in with the IDP `http://localhost:8080` and the credentials for the user owning the pod named `example` in the file `test/seeded-pod-config.json`.
7879

7980
## Static, production build
8081

@@ -302,9 +303,9 @@ They've already got styling matching that of `react-admin` and are easy to use.
302303
To support the provided example configuration `main/src/config.json` and the tests, this repo integrates some local pods.
303304
You can make use of these for your own tests. Follow these steps:
304305

305-
* Add your data and `.acl` files in the `aux/initial-pod-data` folder.
306+
* Add your data and `.acl` files in the `test/initial-pod-data` folder.
306307
These files will be available in the pod relative to `http://localhost:8080/example/`.
307-
* Prepare the pods by executing `npm run reset:pods` in directory `aux`.
308+
* Prepare the pods by executing `npm run reset:pods` in directory `test`.
308309

309310
## Testing
310311

@@ -329,31 +330,31 @@ The development version might be tested repeatedly during development.
329330
npm run build
330331
```
331332

332-
In directory `aux`:
333+
In directory `test`:
333334

334335
```bash
335-
npx http-server -p 5173 ../main/dist
336+
npm run serve
336337
```
337338

338-
2. In a new terminal window, in directory `aux`, prepare and start the local pods:
339+
2. In a new terminal window, in directory `test`, prepare and start the local pods:
339340

340341
```bash
341342
npm run reset:pods && npm run start:pods
342343
```
343344

344-
3. In a new terminal window, in directory `aux`, start the http proxy:
345+
3. In a new terminal window, in directory `test`, start the http proxy:
345346

346347
```bash
347348
npm run start:proxy
348349
```
349350

350-
4. In a new terminal window, in directory `aux`, start a server which denies all CORS headers:
351+
4. In a new terminal window, in directory `test`, start a server which denies all CORS headers:
351352

352353
```bash
353354
npm run start:badCors
354355
```
355356

356-
5. Finally, in a new terminal window, in directory `aux`, you can execute the tests by running:
357+
5. Finally, in a new terminal window, in directory `test`, you can execute the tests by running:
357358

358359
For normal test execution:
359360

0 commit comments

Comments
 (0)