Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Documentation
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Rachael Hu
Documentation
Commits
7f66aefd
Commit
7f66aefd
authored
Jun 07, 2016
by
Tom Laudeman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ToC to schema doc, proposed workflow in the workflow spec
parent
5c3a7aa6
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
63 additions
and
17 deletions
+63
-17
Schema SQL.md
Specifications/Schema SQL.md
+16
-17
Workflow Engine.md
Specifications/Workflow Engine.md
+47
-0
No files found.
Specifications/Schema SQL.md
View file @
7f66aefd
...
@@ -8,23 +8,22 @@ There is an interactive schema web site: [Schema web site](http://shannonvm.vill
...
@@ -8,23 +8,22 @@ There is an interactive schema web site: [Schema web site](http://shannonvm.vill
### Table of contents
### Table of contents
[
Multiple names, alternate names, components
](
#multiple-names-alternate-names-components
)
*
[
Constellations that are SNAC institutions
](
#constellations-that-are-snac-institutions
)
*
[
Multiple names, alternate names, components
](
#multiple-names-alternate-names-components
)
[
How dates are stored
](
#how-dates-are-stored
)
*
[
How dates are stored
](
#how-dates-are-stored
)
*
[
How versioning works
](
#how-versioning-works
)
[
How versioning works
](
#how-versioning-works
)
*
[
Foreign key related records
](
#foreign-key-related-records
)
*
[
Vocabulary table history and rationale
](
#vocabulary-table-history-and-rationale
)
[
Foreign key related records
](
#foreign-key-related-records
)
*
[
Vocabulary separate SQL file
](
#vocabulary-separate-sql-file
)
*
[
Common fields and their meaning
](
#common-fields-and-their-meaning
)
[
Vocabulary table history and rationale
](
#vocabulary-table-history-and-rationale
)
*
[
Identical text tables
](
#identical-text-tables
)
*
[
Geographic authority
](
#geographic-authority
)
[
Vocabulary separate SQL file
](
#vocabulary-separate-sql-file
)
[
Common fields and their meaning
](
#common-fields-and-their-meaning
)
### Constellations that are SNAC institutions
[
Identical text tables
](
#identical-text-tables
)
We need to add a new table snac_institutions which is a linking table identifying which constellations are
SNAC institutions. This is used by the user admin code to show/search institutional affiliation.
[
Geographic authority
](
#geographic-authority
)
### Multiple names, alternate names, components
### Multiple names, alternate names, components
...
...
Specifications/Workflow Engine.md
View file @
7f66aefd
...
@@ -132,6 +132,53 @@ several states, and will require relevant tests.
...
@@ -132,6 +132,53 @@ several states, and will require relevant tests.
| done | | exit | |
| done | | exit | |
### Possible server workflow
This is a slight expansion of the current server workflow. This moves authentication from a hard-coded
function into the WFE. Next we add a new function that updates this users notifications by calling into the
yet-to-be-created notification system. It ping pending tasks, and updates notices that show up on the
dashboard. Having gotting these initial tasks out of the way, commands can be processed.
This shows a more detailed view of publishing. Anyone watching this SNAC record gets an update. We also
notifiy the manager of this user. Finally we publish.
Unlocking also has more detailed steps. Start by unlocking, and immediately re-locking to the reviewer. Notify
the reviewer, and update notifications for the user.
| state | test | worker | next-state |
|---------------+-------------------------------+-----------------------+---------------|
| start | confirm-authentication | | init |
| start | | authentication-error | done |
| init | | update-notification | docmd |
| | | | |
| docmd | command-vocabulary | search-vocabulary | done |
| docmd | command-reconcile | reconcile | done |
| docmd | command-start-session | start-session | done |
| docmd | command-end-session | end-session | done |
| docmd | command-user-info | user-info | done |
| docmd | command-insert-constellation | insert-constellation | done |
| docmd | command-update-constellation | update-constellation | done |
| docmd | command-unlock-constellation | | unlock-tasks |
| docmd | command-publish-constellation | | publish-tasks |
| docmd | command-recently-published | recently-published | done |
| docmd | command-read | read-constellation | done |
| docmd | command-edit | edit-constellation | done |
| docmd | | unknown-command | done |
| | | | |
| publish-tasks | | notify-watchers | pt2 |
| pt2 | | notify-manager | pt3 |
| pt3 | | publish-constellation | done |
| | | | |
| unlock-tasks | | unlock-constellation | unlock2 |
| unlock2 | | lock-to-reviewer | unlock3 |
| unlock3 | | notify-reviewer | unlock4 |
| unlock4 | | update-notification | done |
| | | | |
| done | | exit | |
### WebUI workflow
### WebUI workflow
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment