Skip to content

Commit 333bec1

Browse files
SoftlySplinterGitHub Enterprise
authored andcommitted
Update README.md
1 parent d54d221 commit 333bec1

File tree

1 file changed

+35
-1
lines changed

1 file changed

+35
-1
lines changed

README.md

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,36 @@
1-
# cics-java-osgids
1+
# cics-java-osgi-ds
22
Demonstration of Declarative Services (DS) in OSGi JVM servers
3+
4+
## Supporting Files
5+
* com.ibm.cicsdev.osgi.ds_1.0.0 - OSGi interfaces
6+
* com.ibm.cicsdev.osgi.ds.bundle_1.0.0 - CICS Bundle for the OSGi interfaces
7+
* com.ibm.cicsdev.osgi.ds.app_1.0.0 - CICS application entry point
8+
* com.ibm.cicsdev.osgi.ds.app.bundle_1.0.0 - CICS Bundle containing the application, program and transaction.
9+
* com.ibm.cicsdev.osgi.ds.tsq_1.0.0 - Base TSQ implementation
10+
* com.ibm.cicsdev.osgi.ds.tsq.bundle_1.0.0 - CICS Bundle for the base TSQ implementation
11+
* com.ibm.cicsdev.osgi.ds.tsq_1.0.1 - Improved TSQ implementation
12+
* com.ibm.cicsdev.osgi.ds.tsq.bundle_1.0.1 - CICS Bundle for the improved TSQ implementation
13+
14+
## Usage
15+
1. Deploy all found bundle projects to z/FS
16+
2. Create an OSGi JVM server with the name `DFHOSGI`.
17+
3. Define CICS bundles for these bundle projects. [Table 1](#Table_1) shows the mapping of bundle to bundle name used.
18+
4. Install `DS `, `DS.APP ` and `DS.TSQ10`.
19+
5. Run the transaction `DSTS PUT TEST`, this should display the message `Created entry 1`
20+
6. Run the transaction `DSTS GET 1`, this should display the message `TEST`, which confirms the data was stored correctly.
21+
7. Install the bundle `DS.TSQ11`.
22+
8. Disable the bundle `DS.TSQ10`.
23+
9. Run the transaction `DSTS PUT TEST2`, this should display the message: `Created entry 2`.
24+
10. Run the transaction `DSTS GET 2`, this should display the message `TEST2`, which confirms the data was stored correctly by the new implementation.
25+
11. The standard out (STDOUT) file for the JVM server should display messages which indicate that the uncached service (version 1.0.0) was first bound. Then later unbound when the bundle was disabled. Then that the cached service (1.0.1) was bound in it's place.
26+
27+
28+
### Table 1
29+
30+
| CICS Bundle Name | Bundle Project |
31+
| ---------------- | ---------------------------------------- |
32+
| `DS ` | com.ibm.cicsdev.osgi.ds.bundle_1.0.0 |
33+
| `DS.APP ` | com.ibm.cicsdev.osgi.ds.app.bundle_1.0.0 |
34+
| `DS.TSQ10` | com.ibm.cicsdev.osgi.ds.tsq.bundle_1.0.0 |
35+
| `DS.TSQ11` | com.ibm.cicsdev.osgi.ds.tsq.bundle_1.0.1 |
36+

0 commit comments

Comments
 (0)