include resources/blocks/spice_MAN3.txt;

//******************************************

extend activity spice_MAN3BP1 {
    create minimalSPICE_scopeOfWorkDefinition;
}

extend activity spice_MAN3BP2 {
    create 
        minimalSPICE_projectLifeCycleDefinition, 
        minimalSPICE_lifecycle_topic;
    subactivities
        lifecycle_schedule,
        lifecycle_close;
}

extend activity spice_MAN3BP3 {
    create minimalSPICE_feasibility_topic;
    subactivities
        feasibility_schedule,
        feasibility_close;
}

artefact projectPlan {
    label "Project plan";
    brief "08-12 Project plan";
    contains 
        scopeOfWorkDefinition,
        projectLifeCycleDefinition;
    text 
        md/spice/ProjectPlan.md,
        md/spice/Plan.md,
        md/minimalSPICE/markdown.md;
}

folder projectReviews {
    label "project specific reviews";
    contains 
        lifecycle_topic,
        feasibility_topic;
}

namespace PM {
    include resources/blocks/baseline.txt(projectManager,projectManagementFolder,gitCM,"project management",spice_SUP8BP6);
}

folder projectManagementFolder {
    label "Project management";
    brief "Contains project management specific files.";
    contains 
        projectPlan,
        litData;
}

artefact scopeOfWorkDefinition {
    label "scope of work definition";
    brief "The scope of the work for the project is defined.";
}

activity projectManagement {
    label "Project management";
    brief "All the administrative work, which has to be done.";
    transform genproc_PV_resultArtefact;
    create projectPlan;
    subactivities
        projectSetup,
        projectPlanning;
}

activity projectSetup {
    label "Project setup";
    brief "all activities to setup the process (the startup activities).";
    subactivities
        PM_doBaseline,
        spice_MAN3BP1,
        spice_MAN3BP2,
        spice_MAN3BP3;
}

activity projectPlanning {
    label "Project planning";
    subactivities
        spice_MAN3BP4,
        spice_MAN3BP8,
        spice_MAN3BP9,
        spice_MAN3BP10;
}

tool lit {
    label "lit";
    brief "lit is an ope source planning tool for small projects";
    text md/lit.md;
}

artefact litData {
    label "Lit planning data";
    brief "the planning datea for all single working package";
}

extend activity spice_MAN3BP4 {
    tool lit;
    create litData;
}

artefact projectLifeCycleDefinition {
    label "project life cycle definition";
    brief "Define the life cycle for the project, which is appropriate to the scope, context, magnitude and complexity of the project.";
}

namespace lifecycle {
    include  resources/blocks/review.txt(
        minimalSPICE_projectManager,
        minimalSPICE_projectPlanViev,
        minimalSPICE_productManager,
        "project life cycle",
        minimalSPICE_PM_baseline);
}

namespace feasibility {
    include  resources/blocks/review.txt(
        minimalSPICE_projectManager,
        minimalSPICE_projectPlanViev,
        minimalSPICE_developer,
        "feasibility",
        minimalSPICE_PM_baseline);
}