summaryrefslogtreecommitdiffstats
path: root/src/workflow
AgeCommit message (Collapse)AuthorFilesLines
2019-01-18Add Quick-Booking WorkflowSawyer Bergeron1-4/+4
Users can now quickly provision a single-host pod without having to configure unecessary networking. This is intended to be analogous to the workflow used during LaaS 1.0, and to speed up the process of creating a booking for users who do not need more than a single host (for virtual deployments) Change-Id: Ia19cea9a42bbb1df57aad05af8f8ea821395664d Signed-off-by: Sawyer Bergeron <sawyerbergeron@gmail.com>
2019-01-03Merge "Requires a Jumphost per POD"Parker Berberian1-0/+7
2019-01-03Merge "Implement Segmented Workflows"Parker Berberian7-199/+168
2019-01-03Requires a Jumphost per PODParker Berberian1-0/+7
It was assumed but never enforced that each pod configuration elects at least one host as the "jumphost". This commit makes that a requirement when creating a configuration. Change-Id: If55f1aa231b3cba8713f325f158796d85466b02a Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-01-03Implement Segmented WorkflowsSawyer Bergeron7-199/+168
A major source of bugs has been how we've approached inlining workflows. We no longer inline them as of this commit, and instead use a stack structure. This commits the result of workflows to the database before other workflows try to read them, so we don't have to maintain a code path for when something is or isn't committed to db. This patchset allows for workflows to pass limited information to preset selections Change-Id: I3d040c7f3024c7420017ae4ec66a23219303dcb6 Signed-off-by: Sawyer Bergeron <sawyerbergeron@gmail.com>
2019-01-02Quick fix for dictionary accessParker Berberian1-1/+1
the line .labs needed to be changed to ['labs'] Change-Id: I6d2aa2eca0413186ddf482aba7f01e4e53c0265b Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-01-02Merge "Renders Pod Destriptor File earlier"Parker Berberian1-0/+6
2019-01-02Renders Pod Destriptor File earlierParker Berberian1-0/+6
Currently, the PDF is rendered 'on-demand' every time you visit the booking detail page. This change renders the pdf once and saves it in the booking model. Advantages: - saves computation of re-rendering pdf constantly - fixes issue where pdf fails to render after booking expires Change-Id: I58d20fadce088d78ebd22f1d6f67cab371823542 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2018-12-19Merge "Force Lab Selection on POD Creation"Parker Berberian1-3/+6
2018-12-14Force Lab Selection on POD CreationParker Berberian1-3/+6
Currently, a user can leave the "Define Hardware" step without choosing which lab thier pod should be at. This causes errors later in the pod creation process. This commit forces one lab to be selected before they can leave the first step. Change-Id: I7315bc8781ebeb66bcd32fdba30535100b59a3ff Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2018-12-14Checks Sub Project LeadsParker Berberian1-8/+77
Fatih Pointed out to me the existence of ptl's of sub projects, which show up differently in the INFO.yaml files. This commit also adds support for gerrit.opnfv.org and git.opnfv.org links. I don't remember why we were only accepting github links, but that seems strange. Change-Id: Ica64c4ee7d5c0ce4fa6bfbcbabb1c4ca7cf06018 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2018-11-26Fixed Misc BugsParker Berberian2-2/+16
Some corner cases that cause issues recently came to our attention. Fixes issues in the booking workflow and the Notification system. Change-Id: Ie16118ba1bdbeff86bb41a16dc783337b921d527 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2018-11-26Fix all flake8 errorsParker Berberian13-238/+306
The flake8 command in test.sh finds no longer finds any errors. This may form a basis of a jenkins verify job as a sort of 'weak compile-time checks' The flake8 command will not complain about line length, and will not complain about django's manage.py file Change-Id: Ic47cb4fc7ada55e64485661ab6881aef475018ff Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2018-11-07Merge "Rewrite Notification subsystem"Trevor Bramwell1-3/+4
2018-11-07Rewrite Notification subsystemParker Berberian1-3/+4
In this commit: - delete a lot of really bad and / or unused code - redesign a much simpler Notification model - create and send notifications to the user's inbox on booking start & end - migrations - emails user when booking is ready and when it ends Not in this commit: - Creating notifications from lab messages - warning messages when a booking is about to end - creating "summary" notifications when e.g. a booking has been fulfilled by a lab Change-Id: I69b4dc36c3f2bce76d810106baadeef5a562cc7d Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2018-10-26Improved Collaborators UXParker Berberian1-2/+2
Some small improvements based on feedback from Trevor. - Changed lable from "users" to "collaborators" to try and be more clear - Do not show your own name in the dropdown by default - You cannot select yourself as a collaborator Change-Id: Ie2e9070232765ed9eabe6657924ed8addaa0165a Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2018-10-17Fix TypoParker Berberian1-1/+0
In one of the patchsets of LaaS 2.0 a typo was added. Change-Id: I02ff24bea345279df6643c0b1a4358ab2eff1d31 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2018-10-15Lab as a Service 2.0Parker Berberian17-0/+3199
See changes here: https://wiki.opnfv.org/display/INF/Pharos+Laas Change-Id: I59ada5f98e70a28d7f8c14eab3239597e236ca26 Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu> Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>