Commit Graph

43 Commits

Author SHA1 Message Date
917df1a7d6 fontend: examples: .env for testing
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
2020-06-27 22:18:55 +02:00
c2b38e7772 frontend: example: csv-import helper update
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
2020-06-26 23:25:34 +02:00
f435f214d9 .gitignore: update new patterns
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
2020-06-26 23:05:36 +02:00
53e6180055 frontend: Node.toml
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
2020-06-26 23:05:04 +02:00
2b4af02db6 frontend: example: csv-import helper
* cli to import a given csv configured text file

Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
2020-06-26 23:01:51 +02:00
60e9d307bb frontend: Cargo.toml: new dependencies
* commandline parsing: clap, viperus
* csv file handling
* envirenment variable: dotenv, envy
* i18n: locales
* serde json support
* tracing: tracing, tracing-subscriber

Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
2020-06-26 22:55:12 +02:00
9e593ae609 policylist: wip: view and state handling updates
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
2020-06-22 18:41:08 +02:00
672f7c6eac policydata: wip: view and state handling updates
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
2020-06-22 18:41:08 +02:00
d6b5552122 policycheck: wip: view and state handling updates
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
2020-06-22 18:41:08 +02:00
0c69ca176a main_view: wip updates
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
2020-06-22 18:41:07 +02:00
d9cfa4dcaf main: update stylesheet reference, basic geometry
* new module 'policycheck_menu'
* reference the project stylesheet
* update a default geometry

Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
2020-06-22 18:41:07 +02:00
2d5416ce4c keys: update Classes, DCES entities, component values
* the elements are available as public advertised string values

Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
2020-06-22 18:41:07 +02:00
259d424f1e base: update 'PROP_POLICY_LISTS'
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
2020-06-22 18:41:04 +02:00
11342e92cf data: define Allianz export structure for csv files
* data need to be transfered as a csv-file attachment via email
* each row takes a semicolon separeted list of string fields
* this structure is defined as rust 'struct CSVExport'
* the struct CSVExport will reference to its child stuctures.

Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
2020-06-22 14:15:22 +02:00
477f89eb0c Cargo.toml: reference to orbtk's local repository
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
2020-06-22 14:13:37 +02:00
3c8ac0ef7e frontend: resources: assets/resources used inside the frontend
* images: referenced image files
* fonts: rendering elements
* stylesheets: theme definition using CSS subsystem

Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
2020-06-19 17:53:22 +02:00
86059ccebd frontend: base_state: global methods implemented as a trait
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
2020-06-19 17:51:21 +02:00
4ae06a3db0 frontend: keys: static variables used in themes
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
2020-06-19 17:49:31 +02:00
a4b2028cb1 delete me!
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
2020-06-19 17:46:19 +02:00
410bdfb537 database: update
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
2020-06-19 17:44:47 +02:00
81fbd7ec08 frontend: data: update
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
2020-06-19 17:44:47 +02:00
bf7349b9dc frontend: lib: just a dummy to satify the compiler/IDE
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
2020-06-19 17:44:47 +02:00
071b61d82d frontend: policylists: component to manage the policy code lists
* policylist_view: GUI the user will interact with (orbtk Widget)
  will act on policy lists, that combines the policy data elements.
* policydata_state: rust code with helper methods

Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
2020-06-19 17:44:47 +02:00
f3157e5989 frontend: policydata: component to manage the policy data elements
* policydata_view: GUI the user will interact with (orbtk Widget)
  will act on policy element lists, that itself will combine
  policy data (e.g. a vector of policy_code elements, metadata elements)
* policydata_state: rust code with helper methods

Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
2020-06-19 17:44:47 +02:00
c4b992f41a frontend: policycheck: component to check the validity of a given policy code
* policycheck_view: user GUI to interact with (orbtk Widget)
* policycheck_state: rust code with helper methods

Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
2020-06-19 17:44:47 +02:00
e69e4c082c frontend: data: definition of the used strutures within the frontend
* structure 'PolicyCheck': used in policycheck_view
  The widget offering users to test for validity of a given 'policy_code'.
* structure 'PolicyList': used in policylist_view
  imported lists of policy data collections
* structure 'PolicyData': used in policydata_view
  PolicyData is a structure of 'PolicyElemnts'.
  The latter will store the basic datatype elements (field: 'policy_code'),
  as a dynamic growable vector.

Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
2020-06-19 17:44:47 +02:00
158d25b76e frontend: main_view: GUI compontent implementing the base widget
* will reference and include its child widgets from independent source files

Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
2020-06-19 17:44:47 +02:00
e02f8b338b frontend: main: the advotracker frontend entry function
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
2020-06-19 17:44:47 +02:00
f8051c86b8 frontend: Cargo.toml: update dependencies to build the frontend
* serde: included to support Serialization/Deserialization
* chrono: included make use of a ISO 8601 complient time library

Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
2020-06-19 17:44:47 +02:00
4e97327c02 rustfmt.toml: ensure compliance with edition "2018"
* using rustc >= v1.31.0 enables the edition the edition system
* parse the rust code to be complient with edition "2018"

Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
2020-06-19 17:44:47 +02:00
10674170d6 frontend: example: introduce new 'policyholder_check'
* helper function to test validity of given policynumber
  - use a hashmap as a reference store with valid policynumbers
  - check the given policynumber against the reference

Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
2020-06-19 17:44:47 +02:00
9d4c38351b frontend: Cargo.toml: bump dependency versions
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>

* frontend/Cargo.toml (serde_derive):
2020-06-19 17:44:47 +02:00
d5f48dfed7 frontend: update example widgets and linked in resources
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
2020-06-19 17:44:47 +02:00
43257dee99 resources: image files
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
2020-06-19 17:44:47 +02:00
d93dbd282b advotracker: the backend library
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
2020-06-19 17:44:35 +02:00
f41589263b advotracker_qml: advotracker variant with Qt/Qml GUI
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
2020-06-19 17:44:02 +02:00
06cbce5c69 backend: advotracker QML
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
2020-06-19 17:43:35 +02:00
51b73d0978 frontend: the advoware GUI
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
2020-06-12 16:39:45 +02:00
3837183199 database: handle data storage via RDBM
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
2020-06-12 16:38:05 +02:00
105eaec7b7 .gitignore: git hints
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
2020-06-12 16:35:46 +02:00
d24f5a16b6 README.md: project abstract
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
2020-06-12 16:35:20 +02:00
c9b6d18a9f Projekt licenses and copyright statement
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
2020-06-12 16:34:18 +02:00
0a0b8c0921 Cargo.toml: new crate definition
- introduce workbenches:
  backend -> advowared
  frontend -> advoware
  advoware_qml -> advoware Qt variant using Qml

Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
2020-06-12 16:30:11 +02:00