<commit_before>Running the JAX-RS examples
===========================

All JAX-RS methods can be invoked using a web browser with the following root URI:

`http://host:port/com.ibm.cicsdev.restappext/`

## LINK without data

Invoke the COBOL program `PROG1` with no commarea using the `rest/commarea/empty` URI. See the [`PROG1.cbl`](src/Cobol/PROG1.cbl) program
which may be used with this sample.


## LINK with a commarea

* Invoke the COBOL program `ADDPART` using the `rest/commarea/addPart` URI. See the [`ADDPART.cbl`](src/Cobol/ADDPART.cbl) program which
may be used with this sample.
* Invoke the COBOL program `GETSUPPL` using the `rest/commarea/getSupplier` URI. See the [`GETSUPPL.cbl`](src/Cobol/GETSUPPL.cbl) program which
may be used with this sample.
* Invoke the COBOL program `GETPART` using the `rest/commarea/getPart` URI. See the [`GETPART.cbl`](src/Cobol/GETPART.cbl) program which
may be used with this sample.

## LINK with channels and containers

* Invoke the COBOL program `ADDPARTC` using the `rest/channel/addPart` URI. See the [`ADDPARTC.cbl`](src/Cobol/ADDPARTC.cbl) program which
may be used with this sample.

## Temporary storage queues

* Write an item to a TSQ using the `rest/tsq/write` URI.
* Update the first item in a TSQ using the `rest/tsq/update` URI.
* Delete a TSQ using the `rest/tsq/delete` URI.


## VSAM KSDS

* Write a new record to the file using the `rest/ksds/write` URI. This invokes the `VsamKsdsFileResource.writeNewRecord()` method.
* Delete the first record in the file using the `rest/ksds/delete` URI. This invokes the `VsamKsdsFileResource.deleteRecord()` method.
* Update the first record in the file using the `rest/ksds/update` URI. This invokes the `VsamKsdsFileResource.updateRecord()` method.

In all cases, the JSON returned will be the current contents of the file. Pressing refresh in the browser will repeat the GET request,
causing a record to be written, updated, or deleted accordingly.
<commit_msg>Restructure of instructions<commit_after>Running the JAX-RS examples
===========================

All JAX-RS methods can be invoked using a web browser with the following root URI:

`http://host:port/com.ibm.cicsdev.restappext/`

## LINK without data

* `rest/commarea/empty` - invokes the COBOL program [`PROG1`](src/Cobol/PROG1.cbl) with no commarea.

## LINK with a commarea

* `rest/commarea/addPart` - invokes the COBOL program [`ADDPART.cbl`](src/Cobol/ADDPART.cbl).
* `rest/commarea/getSupplier` - invokes the COBOL program [`GETSUPPL.cbl`](src/Cobol/GETSUPPL.cbl).
* `rest/commarea/getPart` - invokes the COBOL program [`GETPART.cbl`](src/Cobol/GETPART.cbl).

## LINK with channels and containers

* Invoke the COBOL program `ADDPARTC` using the `rest/channel/addPart` URI. See the [`ADDPARTC.cbl`](src/Cobol/ADDPARTC.cbl) program which
may be used with this sample.

## Temporary storage queues

* Write an item to a TSQ using the `rest/tsq/write` URI.
* Update the first item in a TSQ using the `rest/tsq/update` URI.
* Delete a TSQ using the `rest/tsq/delete` URI.


## VSAM KSDS

* Write a new record to the file using the `rest/ksds/write` URI. This invokes the `VsamKsdsFileResource.writeNewRecord()` method.
* Delete the first record in the file using the `rest/ksds/delete` URI. This invokes the `VsamKsdsFileResource.deleteRecord()` method.
* Update the first record in the file using the `rest/ksds/update` URI. This invokes the `VsamKsdsFileResource.updateRecord()` method.

In all cases, the JSON returned will be the current contents of the file. Pressing refresh in the browser will repeat the GET request,
causing a record to be written, updated, or deleted accordingly.

{'fraction_non_alphanumeric': 0.11123227917121047, 'fraction_numerical': 0.0013631406761177754, 'mean_word_length': 4.542296072507553, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3254248', 'n_tokens_mistral': 1225, 'n_tokens_neox': 1199, 'n_words': 446}