Commit 5151e407 authored by M. Huang's avatar M. Huang
Browse files

pre-v1.0rc7 ClassID changed to _STID: Serialization Type ID. toString() improvements.

parent ce3f12d7
==========
Change Log
==========
BETA0
=====
1.0rc6 2020-11-23
-----------------
[DEV] [SERV]. monokaimod. quickstart and many other doc improvements
1.0rc5 2020-10-26
-----------------
Place info removed from URN.
1.0rc4 2020-10-10
-----------------
HTTP pool server an client integration.
1.0rc3 2020-09-23
-----------------
Lots of toString improvements. Tabulate-based array and table presentation.
1.0rc2 2020-09-10
-----------------
Document updates. Better presentation APIs. DOC as extras. Contex refctoring.
1.0rc1 2020-08-30
-----------------
Parameters support type, default, valid, typecode, and have a new type : DateParameter. YAML 1.1 have attrbutes accordingly, with correct default types. New ODict is serialisable.
1.0rc 2020-08-17
----------------
YAML v1.0 with datasets and metadata description unified and multiple inheriting. Revision of header keywords. and table sceme. Improvement of yaml2python and a custom moule loader. ProductInfo becomes a module object. Runs with FSC products.
0.20 2020-08-04
----------------
YAML v0.6 switch version and schema. multiple YAML files enabled by -y semantic change. remove version in serializableClassID.
0.19 2020-06-19
----------------
Product parammeter definition YAML schema v0.5 with valid format. v0.19
0.18c 2020-06-07
----------------
Names of lock directory and default pool have username to allow multi users to run fdi on the same machine.
0.18b 2020-06-05
---------------
Full classname in urn. Updated documentation.
0.18a 2020-06-04
---------------
remove duplicate 'description' key in YAML prod def (v0.4).
0.18 2020-06-04
---------------
Query. Parameter value comparison.
0.17 2020-05-10
---------------
Release to wider group of beta users, with a product-building package.
0.16 2020-05-10
---------------
pns uses user classes. config file relocates to ~/.config/pnslocal.py. 'fits_keyword'.
0.15 2020-05-01
---------------
Add Makefile to consolidate various commands, .readthdocs.yml for RTD. Sort out productInfo in Products.
0.14 2020-04-28
---------------
yaml2python configures product built-in meta attributes with YAML.
0.13 2020-04-21
---------------
refactor Product to have BaseProduct and info. Enforce configured types in Parameter. Enfore Parameter-only in metadata.
ALPHA1 SPDC
===========
0.12 2020-04-09
---------------
rename spdc to fdi
0.11 2020-04-04
---------------
parents for ProductRef, mempool, pal test improvements
0.10 2020-01-07
---------------
dataset is compatible with python 2.7
0.9 2019-12-25
--------------
Refactor to make spdc top-level package, instead of dataset, pal, pns
0.8 2019-09-15
--------------
Improved toString() for datasets. PAL refactoring.
0.7 2019-08-27
--------------
documentation with sphinx. vvpp docker works. release to FSC.
0.6 2019-08-17
--------------
listener, mem: URN, deserializable list
0.5 2019-08-11
--------------
Projects merged.
ALPHA0
======
dataset
0.1 2019-04-16
--------------
Prototype. Initial check-in.
0.2 2019-06-14
--------------
Supports pns v0.3
0.3 2019-07-04
--------------
ODict and refactoring
0.4 2019-07-24
--------------
Add Product Access Layer support
pns
Processing Node API Server Change Log
=======================================
0.1 2019-05-13
--------------
Prototype. Initial check-in.
0.2 2019-06-06
--------------
run by production web server
0.3 2019-06-14
--------------
run 'hello' shell script on server side with input and output
0.4 2019-06-27
--------------
REST compliance with PUT, new GET, DELETE. Improved serverside unit test.
pal
Change Log
=======================================
0.1 2019-07-24
--------------
Prototype. Initial check-in.
Change Log
==========
FDI
===
::
BETA0
=====
1.0rc5 2020-10-26
-----------------
Place info removed from URN. 1.0rc4 2020-10-10 —————– HTTP pool server
an client integration. 1.0rc3 2020-09-23 —————– Lots of toString
improvements. Tabulate-based array and table presentation. 1.0rc2
2020-09-10 —————– Document updates. Better presentation APIs. DOC as
extras. Contex refctoring. 1.0rc1 2020-08-30 —————– Parameters support
type, default, valid, typecode, and have a new type : DateParameter.
YAML 1.1 have attrbutes accordingly, with correct default types. New
ODict is serialisable. 1.0rc 2020-08-17 —————- YAML v1.0 with datasets
and metadata description unified and multiple inheriting. Revision of
header keywords. and table sceme. Improvement of yaml2python and a
custom moule loader. ProductInfo becomes a module object. Runs with FSC
products.
::
0.20 2020-08-04
----------------
YAML v0.6 switch version and schema. multiple YAML files enabled by -y
semantic change. remove version in serializableClassID.
::
0.19 2020-06-19
----------------
Product parammeter definition YAML schema v0.5 with valid format. v0.19
::
0.18c 2020-06-07
----------------
Names of lock directory and default pool have username to allow multi
users to run fdi on the same machine.
::
0.18b 2020-06-05
---------------
Full classname in urn. Updated documentation.
::
0.18a 2020-06-04
---------------
remove duplicate ‘description’ key in YAML prod def (v0.4).
::
0.18 2020-06-04
---------------
Query. Parameter value comparison.
::
0.17 2020-05-10
---------------
Release to wider group of beta users, with a product-building package.
::
0.16 2020-05-10
---------------
pns uses user classes. config file relocates to ~/.config/pnslocal.py.
‘fits_keyword’.
::
0.15 2020-05-01
---------------
Add Makefile to consolidate various commands, .readthdocs.yml for RTD.
Sort out productInfo in Products.
::
0.14 2020-04-28
---------------
yaml2python configures product built-in meta attributes with YAML.
::
0.13 2020-04-21
---------------
refactor Product to have BaseProduct and info. Enforce configured types
in Parameter. Enfore Parameter-only in metadata.
::
ALPHA1 SPDC
===========
0.12 2020-04-09
---------------
rename spdc to fdi
.. _section-1:
0.11 2020-04-04
---------------
parents for ProductRef, mempool, pal test improvements
.. _section-2:
0.10 2020-01-07
---------------
dataset is compatible with python 2.7
.. _section-3:
0.9 2019-12-25
--------------
Refactor to make spdc top-level package, instead of dataset, pal, pns
.. _section-4:
0.8 2019-09-15
--------------
Improved toString() for datasets. PAL refactoring.
.. _section-5:
0.7 2019-08-27
--------------
documentation with sphinx. vvpp docker works. release to FSC.
.. _section-6:
0.6 2019-08-17
--------------
listener, mem: URN, deserializable list
.. _section-7:
0.5 2019-08-11
--------------
Projects merged.
::
ALPHA0
======
dataset 0.1 2019-04-16 ————– Prototype. Initial check-in.
.. _section-8:
0.2 2019-06-14
--------------
Supports pns v0.3
.. _section-9:
0.3 2019-07-04
--------------
ODict and refactoring
.. _section-10:
0.4 2019-07-24
--------------
Add Product Access Layer support
::
pns
Processing Node API Server Change Log
=====================================
.. _section-11:
0.1 2019-05-13
--------------
Prototype. Initial check-in.
.. _section-12:
0.2 2019-06-06
--------------
run by production web server
.. _section-13:
0.3 2019-06-14
--------------
run ‘hello’ shell script on server side with input and output
.. _section-14:
0.4 2019-06-27
--------------
REST compliance with PUT, new GET, DELETE. Improved serverside unit
test.
::
pal
.. _change-log-1:
Change Log
==========
.. _section-15:
0.1 2019-07-24
--------------
Prototype. Initial check-in.
==========
Change Log
==========
BETA0
=====
1.0rc7 2020-11-30
-----------------
ClassID changed to _STID: Serialization Type ID. toString() improvements.
1.0rc6 2020-11-23
-----------------
[DEV] [SERV]. monokaimod. quickstart and many other doc improvements
1.0rc5 2020-10-26
-----------------
Place info removed from URN.
1.0rc4 2020-10-10
-----------------
HTTP pool server an client integration.
1.0rc3 2020-09-23
-----------------
Lots of toString improvements. Tabulate-based array and table presentation.
1.0rc2 2020-09-10
-----------------
Document updates. Better presentation APIs. DOC as extras. Contex refctoring.
1.0rc1 2020-08-30
-----------------
Parameters support type, default, valid, typecode, and have a new type : DateParameter. YAML 1.1 have attrbutes accordingly, with correct default types. New ODict is serialisable.
1.0rc 2020-08-17
----------------
YAML v1.0 with datasets and metadata description unified and multiple inheriting. Revision of header keywords. and table sceme. Improvement of yaml2python and a custom moule loader. ProductInfo becomes a module object. Runs with FSC products.
0.20 2020-08-04
----------------
YAML v0.6 switch version and schema. multiple YAML files enabled by -y semantic change. remove version in serializableClassID.
0.19 2020-06-19
----------------
Product parammeter definition YAML schema v0.5 with valid format. v0.19
0.18c 2020-06-07
----------------
Names of lock directory and default pool have username to allow multi users to run fdi on the same machine.
0.18b 2020-06-05
---------------
Full classname in urn. Updated documentation.
0.18a 2020-06-04
---------------
remove duplicate 'description' key in YAML prod def (v0.4).
0.18 2020-06-04
---------------
Query. Parameter value comparison.
0.17 2020-05-10
---------------
Release to wider group of beta users, with a product-building package.
0.16 2020-05-10
---------------
pns uses user classes. config file relocates to ~/.config/pnslocal.py. 'fits_keyword'.
0.15 2020-05-01
---------------
Add Makefile to consolidate various commands, .readthdocs.yml for RTD. Sort out productInfo in Products.
0.14 2020-04-28
---------------
yaml2python configures product built-in meta attributes with YAML.
0.13 2020-04-21
---------------
refactor Product to have BaseProduct and info. Enforce configured types in Parameter. Enfore Parameter-only in metadata.
ALPHA1 SPDC
===========
0.12 2020-04-09
---------------
rename spdc to fdi
0.11 2020-04-04
---------------
parents for ProductRef, mempool, pal test improvements
0.10 2020-01-07
---------------
dataset is compatible with python 2.7
0.9 2019-12-25
--------------
Refactor to make spdc top-level package, instead of dataset, pal, pns
0.8 2019-09-15
--------------
Improved toString() for datasets. PAL refactoring.
0.7 2019-08-27
--------------
documentation with sphinx. vvpp docker works. release to FSC.
0.6 2019-08-17
--------------
listener, mem: URN, deserializable list
0.5 2019-08-11
--------------
Projects merged.
*ALPHA0*
=======
dataset
=======
0.1 2019-04-16
--------------
Prototype. Initial check-in.
0.2 2019-06-14
--------------
Supports pns v0.3
0.3 2019-07-04
--------------
ODict and refactoring
0.4 2019-07-24
--------------
Add Product Access Layer support
===
pns
===
Processing Node API Server Change Log
=======================================
0.1 2019-05-13
--------------
Prototype. Initial check-in.
0.2 2019-06-06
--------------
run by production web server
0.3 2019-06-14
--------------
run 'hello' shell script on server side with input and output
0.4 2019-06-27
--------------
REST compliance with PUT, new GET, DELETE. Improved serverside unit test.
===
pal
===
Change Log
==========
0.1 2019-07-24
--------------
Prototype. Initial check-in.
__version_info__ = (1, 0, 'rc6')
__version_info__ = (1, 0, 'rc7')
__version__ = '.'.join(map(str, __version_info__))
......@@ -25,7 +25,7 @@ logger = logging.getLogger(__name__)
# @addMandatoryProductAttrs
class BaseProduct(AbstractComposite, Copyable, Serializable, EventSender):
class BaseProduct( AbstractComposite, Copyable, Serializable, EventSender):
""" A BaseProduct is a generic result that can be passed on between
(standalone) processes.
......@@ -49,17 +49,18 @@ class BaseProduct(AbstractComposite, Copyable, Serializable, EventSender):
p.meta['creator']=Parameter('bar')
assert p.meta['creator']==Parameter('bar')
BaseProduct class (level ALL) schema 1.2 inheriting [None]. Automatically generated from fdi/dataset/resources/BaseProduct.yml on 2020-11-27 23:31:00.525212.
BaseProduct class (level ALL) schema 1.2 inheriting [None]. Automatically generated from fdi/dataset/resources/BaseProduct.yml on 2020-11-30 17:32:07.938711.
"""
def __init__(self,
description='UNKNOWN',
type_='BaseProduct',
creator='UNKNOWN',
creationDate=FineTime(0),
rootCause='UNKNOWN',
version='0.7',
description = 'UNKNOWN',
type_ = 'BaseProduct',
creator = 'UNKNOWN',
creationDate = FineTime(0),
rootCause = 'UNKNOWN',
version = '0.7',
**kwds):
global ProductInfo
......@@ -241,28 +242,28 @@ def value2parameter(name, value, met):
met is pInfo('metadata'] or pInfo['dataset'][xxx]