From 4b39baefdb2301018b56895cfeeaf95300421cb9 Mon Sep 17 00:00:00 2001 From: fukachan Date: Sun, 18 Feb 2001 05:58:35 +0000 Subject: update / merge todo list define DBMS configurations prototype --- fml/etc/default_config.cf.ja | 41 ++++++++++++++++++++++++++++++++++++++++ fml/etc/defaults/Configurations | 1 + fml/etc/defaults/dbms.cf.ja | 40 +++++++++++++++++++++++++++++++++++++++ fml/lib/FML/Ticket/00_DESIGN.txt | 23 ++++++++++++++++++++++ 4 files changed, 105 insertions(+) create mode 100644 fml/etc/defaults/dbms.cf.ja (limited to 'fml') diff --git a/fml/etc/default_config.cf.ja b/fml/etc/default_config.cf.ja index 467c1725..8c9d0fd1 100644 --- a/fml/etc/default_config.cf.ja +++ b/fml/etc/default_config.cf.ja @@ -211,6 +211,47 @@ ticket_sequence_file = $ml_home_dir/ticket.seq # top directory ticket_db_dir = $shared_db_dir/ticket +=head1 データベースとの連携 + +use_database = no + +# value: mysql postgresql ldap +database_method = mysql + +database_model = toymodel + +# うー? +# DATABASE_CACHE_FILE_SUFFIX: + +=head2 SQL の場合 + +sql_servers = + +# +# sql_port = + +sql_user = fml + +sql_use_password = + +sql_database_name = fml + + + +=head2 LDAP の場合 + +ldap_servers = + +# ldap_port = + +ldap_server_password = + +ldap_search_base = + +ldap_server_bind = + +ldap_query_filter = + =head1 プログラムのパス名 # diff --git a/fml/etc/defaults/Configurations b/fml/etc/defaults/Configurations index 183591f4..b0e446e9 100644 --- a/fml/etc/defaults/Configurations +++ b/fml/etc/defaults/Configurations @@ -8,6 +8,7 @@ log.cf spool.cf command.cf tickets.cf +dbms.cf paths.cf system_dependence.cf __end__.cf diff --git a/fml/etc/defaults/dbms.cf.ja b/fml/etc/defaults/dbms.cf.ja new file mode 100644 index 00000000..a3632f3b --- /dev/null +++ b/fml/etc/defaults/dbms.cf.ja @@ -0,0 +1,40 @@ +=head1 データベースとの連携 + +use_database = no + +# value: mysql postgresql ldap +database_method = mysql + +database_model = toymodel + +# うー? +# DATABASE_CACHE_FILE_SUFFIX: + +=head2 SQL の場合 + +sql_servers = + +# +# sql_port = + +sql_user = fml + +sql_use_password = + +sql_database_name = fml + + + +=head2 LDAP の場合 + +ldap_servers = + +# ldap_port = + +ldap_server_password = + +ldap_search_base = + +ldap_server_bind = + +ldap_query_filter = diff --git a/fml/lib/FML/Ticket/00_DESIGN.txt b/fml/lib/FML/Ticket/00_DESIGN.txt index 415de9e3..e7af69ef 100644 --- a/fml/lib/FML/Ticket/00_DESIGN.txt +++ b/fml/lib/FML/Ticket/00_DESIGN.txt @@ -15,3 +15,26 @@ Ticket::Model::toymol Ticket::Model::toymol2 ....... $ticket = new Ticket::Model::toymodel; $ticket->asign($curproc, $args); $ticket->update_cache($curproc, $args); + + +=head1 REFERENCE + +=head2 ticket status ("RT" case) + +A Request will always be in one of the following four states: + + Open -- the Request is expecting imminent action a/o updates + Stalled -- the Request needs a specific action or piece of + information before it can proceed +Resolved -- the Request has either been answered or successfully + taken care of, and no longer needs action + Dead -- the request should not have been in the ticketing system to begin + with and has been completely purged. + +=head2 "REQ" case + + Another somewhat hardcoded features is the "status" field. + We're not exactly sure how to use this yet, but normally + use "stalled" to indicate that this request isn't one can + make any progress at the moment, thus isn't worth picking + from the queue to work on. -- cgit v1.2.1