Skip to content

Commit f1ab654

Browse files
committed
Updating README.rst ..
1 parent 4cf4c83 commit f1ab654

File tree

2 files changed

+20
-3
lines changed

2 files changed

+20
-3
lines changed

README.rst

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ The repository provides:
1313

1414
+ **dbdatareader** (https://pypi.org/project/dbdatareader/) - Data Reader for .NET `IDataReader <https://docs.microsoft.com/en-us/dotnet/api/system.data.idatareader>`_
1515
+ **simple-rest-call** (https://pypi.org/project/simple-rest-call/) - wraps `Requests <https://requests.readthedocs.io/>`__ into a simple call
16+
+ **task-grouping** (https://pypi.org/project/task-grouping/) - organizes a group of tasks with serial/parallel structure,
17+
carries the arguments for each task unit to run, and assembles all the results into the corresponding tree structure.
1618

1719
|
1820
@@ -81,7 +83,8 @@ Sample PyWebApi Server (for IIS)
8183
</handlers>
8284
</system.webServer>
8385
84-
.. _script-name:
86+
.. _script-name:
87+
8588
- Modify the ``SCRIPT_NAME`` entry in the <appSettings> section to the Virtual/Application directory (ApplicationPath) you installed in IIS,
8689
do NOT put a slash ``/`` at the end of the path here. However, if the web app is installed on the root of a website, this entry can be removed.
8790

@@ -95,7 +98,8 @@ Sample PyWebApi Server (for IIS)
9598
<add key="SERVER_DEBUG" value="IIS"/>
9699
</appSettings>
97100
98-
.. _user-script-root:
101+
.. _user-script-root:
102+
99103
- Modify the value of the ``USER_SCRIPT_ROOT`` entry to the container location where all user modules will be organized,
100104
it is a local file system path which can be an absolute path, or a relative path - relative to the root of the web application
101105
(where this ``web.config`` file is located).
@@ -224,6 +228,8 @@ Deploy User Modules/Scripts:
224228
Sample User Apps/Modules/Scripts
225229
--------------------------------
226230

231+
.. _mdx-reader:
232+
227233
* `MdxReader <https://github.com/DataBooster/PyWebApi/tree/master/Sample/UserApps/MdxReader>`_
228234

229235
This sample user app is a practical Python app that acts as an MDX query dispatcher:
@@ -392,3 +398,14 @@ Sample User Apps/Modules/Scripts
392398
----
393399

394400
|
401+
402+
.. _services-grouping:
403+
404+
* `Services Grouping <https://github.com/DataBooster/PyWebApi/tree/master/Sample/UserApps/ServicesGrouping>`_
405+
406+
In practice, it's useful to encapsulate multiple related services into a service group and present them externally as a new service
407+
in order to avoid spreading too much local complexity to the larger scope of the system. In the past we had to write/generate some code or
408+
at least some scripts for each new service. Let us put aside the development and maintenance costs of these new codes/scripts themselves.
409+
The new configuration files/tables and the new setup and deployment brought by the new services keep increasing the maintenance complexity of the entire system.
410+
From the perspective of each individual service, it seems that every configuration item is necessary; but from the perspective of the whole system,
411+
too many configuration items are repeated in different service nodes. The more redundant configuration, the more messy.

Utilities.PyPI/task_grouping.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
1313
- **ITaskLoader**
1414
15-
This is an abstract base class for implementing a concrete loader class to load a task tree from Dict/JSON to TaskContainer.
15+
This is an abstract base class for implementing a concrete loader class to load a task tree from Dict/JSON to ``TaskContainer``.
1616
1717
----
1818

0 commit comments

Comments
 (0)