[ { "method": "POST", "path": "/api/v1/projects/import-source-project", "status": 201, "etag": "\"p-70aac325-7baf-4c74-a317-cddd3057eba0-r1\"", "location": "/api/v1/projects/70aac325-7baf-4c74-a317-cddd3057eba0", "seconds": 2.0888063999991573, "body": { "elements": 4, "migration": null, "model_id": "d64f066e-ccf3-4c6d-a95e-c76d7b47c9e0", "name": "Distress response", "relations": 3, "resource_id": "70aac325-7baf-4c74-a317-cddd3057eba0", "revision": 1, "schema_version": 7 } }, { "method": "GET", "path": "/api/v1/projects/70aac325-7baf-4c74-a317-cddd3057eba0/source-project", "status": 200, "etag": "\"p-70aac325-7baf-4c74-a317-cddd3057eba0-r1\"", "location": null, "seconds": 0.002310800000486779, "body": { "entry": "project.arcadia", "files": { "project.arcadia": "arcadia 7;\nproject distress \"Distress response\" id \"d64f066e-ccf3-4c6d-a95e-c76d7b47c9e0\" {\n oa_actor vessel \"Vessel in distress\" id \"cb442f05-8ee5-46a5-aa6a-4a4c024a6911\" {}\n oa_entity rescue \"Rescue coordination\" id \"07d99082-023d-49fb-ba08-23031fed5256\" {}\n oa_activity report \"Report distress\" id \"54c4dded-0e11-4162-8b26-180ca533466b\" {}\n oa_activity assess \"Assess incident\" id \"287779b1-50a2-454b-b8c0-8e7a815f6f66\" {}\n allocation vessel_reports \"Crew reports\" id \"5ca61660-cde4-41fb-9078-378d07c1a116\" { source @vessel; target @report; }\n allocation rescue_assesses \"Team assesses\" id \"65c4d3c4-0c85-4470-ba73-401f04e3f6b4\" { source @rescue; target @assess; }\n interaction distress_report \"Distress report\" id \"c343da78-0685-43b8-815c-e5326f2ac594\" { source @report; target @assess; }\n}\n" } } }, { "method": "GET", "path": "/api/v1/projects/70aac325-7baf-4c74-a317-cddd3057eba0/model", "status": 200, "etag": "\"p-70aac325-7baf-4c74-a317-cddd3057eba0-r1\"", "location": null, "seconds": 0.005676400000083959, "body": { "schema_version": 7, "id": "d64f066e-ccf3-4c6d-a95e-c76d7b47c9e0", "alias": "distress", "name": "Distress response", "description": "", "elements": { "07d99082-023d-49fb-ba08-23031fed5256": { "id": "07d99082-023d-49fb-ba08-23031fed5256", "alias": "rescue", "name": "Rescue coordination", "description": "", "parent": null, "body": { "Oa": "Entity" } }, "287779b1-50a2-454b-b8c0-8e7a815f6f66": { "id": "287779b1-50a2-454b-b8c0-8e7a815f6f66", "alias": "assess", "name": "Assess incident", "description": "", "parent": null, "body": { "Oa": "Activity" } }, "54c4dded-0e11-4162-8b26-180ca533466b": { "id": "54c4dded-0e11-4162-8b26-180ca533466b", "alias": "report", "name": "Report distress", "description": "", "parent": null, "body": { "Oa": "Activity" } }, "cb442f05-8ee5-46a5-aa6a-4a4c024a6911": { "id": "cb442f05-8ee5-46a5-aa6a-4a4c024a6911", "alias": "vessel", "name": "Vessel in distress", "description": "", "parent": null, "body": { "Oa": "Actor" } } }, "relations": { "5ca61660-cde4-41fb-9078-378d07c1a116": { "id": "5ca61660-cde4-41fb-9078-378d07c1a116", "alias": "vessel_reports", "name": "Crew reports", "description": "", "body": { "Allocation": { "source": "cb442f05-8ee5-46a5-aa6a-4a4c024a6911", "target": "54c4dded-0e11-4162-8b26-180ca533466b" } } }, "65c4d3c4-0c85-4470-ba73-401f04e3f6b4": { "id": "65c4d3c4-0c85-4470-ba73-401f04e3f6b4", "alias": "rescue_assesses", "name": "Team assesses", "description": "", "body": { "Allocation": { "source": "07d99082-023d-49fb-ba08-23031fed5256", "target": "287779b1-50a2-454b-b8c0-8e7a815f6f66" } } }, "c343da78-0685-43b8-815c-e5326f2ac594": { "id": "c343da78-0685-43b8-815c-e5326f2ac594", "alias": "distress_report", "name": "Distress report", "description": "", "body": { "Interaction": { "source": "54c4dded-0e11-4162-8b26-180ca533466b", "target": "287779b1-50a2-454b-b8c0-8e7a815f6f66", "items": [] } } } }, "diagrams": {}, "artifact_links": {}, "traces": {} } }, { "method": "PUT", "path": "/api/v1/projects/70aac325-7baf-4c74-a317-cddd3057eba0/source-project", "status": 200, "etag": "\"p-70aac325-7baf-4c74-a317-cddd3057eba0-r1\"", "location": null, "seconds": 0.016113300000142772, "body": { "changed": false, "issues": [ { "code": "work_without_behavior_context", "column": 5, "line": 6, "message": "Include this leaf activity/function in a process/chain or scenario through a work action or exchange occurrence.", "object_id": "287779b1-50a2-454b-b8c0-8e7a815f6f66", "path": "project.arcadia", "severity": "warning", "span": { "end": 437, "start": 356 } }, { "code": "work_without_behavior_context", "column": 5, "line": 5, "message": "Include this leaf activity/function in a process/chain or scenario through a work action or exchange occurrence.", "object_id": "54c4dded-0e11-4162-8b26-180ca533466b", "path": "project.arcadia", "severity": "warning", "span": { "end": 351, "start": 270 } }, { "code": "exchange_without_behavior_context", "column": 5, "line": 9, "message": "Use this exchange in a process/chain or scenario.", "object_id": "c343da78-0685-43b8-815c-e5326f2ac594", "path": "project.arcadia", "severity": "warning", "span": { "end": 813, "start": 690 } } ], "migration": null, "revision": 1, "source_project": { "entry": "project.arcadia", "files": { "project.arcadia": "arcadia 7;\nproject distress \"Distress response\" id \"d64f066e-ccf3-4c6d-a95e-c76d7b47c9e0\" {\n oa_actor vessel \"Vessel in distress\" id \"cb442f05-8ee5-46a5-aa6a-4a4c024a6911\" {}\n oa_entity rescue \"Rescue coordination\" id \"07d99082-023d-49fb-ba08-23031fed5256\" {}\n oa_activity report \"Report distress\" id \"54c4dded-0e11-4162-8b26-180ca533466b\" {}\n oa_activity assess \"Assess incident\" id \"287779b1-50a2-454b-b8c0-8e7a815f6f66\" {}\n allocation vessel_reports \"Crew reports\" id \"5ca61660-cde4-41fb-9078-378d07c1a116\" { source @vessel; target @report; }\n allocation rescue_assesses \"Team assesses\" id \"65c4d3c4-0c85-4470-ba73-401f04e3f6b4\" { source @rescue; target @assess; }\n interaction distress_report \"Distress report\" id \"c343da78-0685-43b8-815c-e5326f2ac594\" { source @report; target @assess; }\n}\n" } } } }, { "method": "PUT", "path": "/api/v1/projects/70aac325-7baf-4c74-a317-cddd3057eba0/source-project", "status": 200, "etag": "\"p-70aac325-7baf-4c74-a317-cddd3057eba0-r2\"", "location": null, "seconds": 0.023813899999368005, "body": { "changed": true, "issues": [ { "code": "work_without_behavior_context", "column": 5, "line": 6, "message": "Include this leaf activity/function in a process/chain or scenario through a work action or exchange occurrence.", "object_id": "287779b1-50a2-454b-b8c0-8e7a815f6f66", "path": "project.arcadia", "severity": "warning", "span": { "end": 447, "start": 356 } }, { "code": "work_without_behavior_context", "column": 5, "line": 5, "message": "Include this leaf activity/function in a process/chain or scenario through a work action or exchange occurrence.", "object_id": "54c4dded-0e11-4162-8b26-180ca533466b", "path": "project.arcadia", "severity": "warning", "span": { "end": 351, "start": 270 } }, { "code": "exchange_without_behavior_context", "column": 5, "line": 9, "message": "Use this exchange in a process/chain or scenario.", "object_id": "c343da78-0685-43b8-815c-e5326f2ac594", "path": "project.arcadia", "severity": "warning", "span": { "end": 823, "start": 700 } } ], "migration": null, "revision": 2, "source_project": { "entry": "project.arcadia", "files": { "project.arcadia": "arcadia 7;\nproject distress \"Distress response\" id \"d64f066e-ccf3-4c6d-a95e-c76d7b47c9e0\" {\n oa_actor vessel \"Vessel in distress\" id \"cb442f05-8ee5-46a5-aa6a-4a4c024a6911\" {}\n oa_entity rescue \"Rescue coordination\" id \"07d99082-023d-49fb-ba08-23031fed5256\" {}\n oa_activity report \"Report distress\" id \"54c4dded-0e11-4162-8b26-180ca533466b\" {}\n oa_activity assess \"Assess incident carefully\" id \"287779b1-50a2-454b-b8c0-8e7a815f6f66\" {}\n allocation vessel_reports \"Crew reports\" id \"5ca61660-cde4-41fb-9078-378d07c1a116\" { source @vessel; target @report; }\n allocation rescue_assesses \"Team assesses\" id \"65c4d3c4-0c85-4470-ba73-401f04e3f6b4\" { source @rescue; target @assess; }\n interaction distress_report \"Distress report\" id \"c343da78-0685-43b8-815c-e5326f2ac594\" { source @report; target @assess; }\n}\n" } } } }, { "method": "GET", "path": "/api/v1/projects/70aac325-7baf-4c74-a317-cddd3057eba0/model", "status": 200, "etag": "\"p-70aac325-7baf-4c74-a317-cddd3057eba0-r2\"", "location": null, "seconds": 0.005347199999960139, "body": { "schema_version": 7, "id": "d64f066e-ccf3-4c6d-a95e-c76d7b47c9e0", "alias": "distress", "name": "Distress response", "description": "", "elements": { "07d99082-023d-49fb-ba08-23031fed5256": { "id": "07d99082-023d-49fb-ba08-23031fed5256", "alias": "rescue", "name": "Rescue coordination", "description": "", "parent": null, "body": { "Oa": "Entity" } }, "287779b1-50a2-454b-b8c0-8e7a815f6f66": { "id": "287779b1-50a2-454b-b8c0-8e7a815f6f66", "alias": "assess", "name": "Assess incident carefully", "description": "", "parent": null, "body": { "Oa": "Activity" } }, "54c4dded-0e11-4162-8b26-180ca533466b": { "id": "54c4dded-0e11-4162-8b26-180ca533466b", "alias": "report", "name": "Report distress", "description": "", "parent": null, "body": { "Oa": "Activity" } }, "cb442f05-8ee5-46a5-aa6a-4a4c024a6911": { "id": "cb442f05-8ee5-46a5-aa6a-4a4c024a6911", "alias": "vessel", "name": "Vessel in distress", "description": "", "parent": null, "body": { "Oa": "Actor" } } }, "relations": { "5ca61660-cde4-41fb-9078-378d07c1a116": { "id": "5ca61660-cde4-41fb-9078-378d07c1a116", "alias": "vessel_reports", "name": "Crew reports", "description": "", "body": { "Allocation": { "source": "cb442f05-8ee5-46a5-aa6a-4a4c024a6911", "target": "54c4dded-0e11-4162-8b26-180ca533466b" } } }, "65c4d3c4-0c85-4470-ba73-401f04e3f6b4": { "id": "65c4d3c4-0c85-4470-ba73-401f04e3f6b4", "alias": "rescue_assesses", "name": "Team assesses", "description": "", "body": { "Allocation": { "source": "07d99082-023d-49fb-ba08-23031fed5256", "target": "287779b1-50a2-454b-b8c0-8e7a815f6f66" } } }, "c343da78-0685-43b8-815c-e5326f2ac594": { "id": "c343da78-0685-43b8-815c-e5326f2ac594", "alias": "distress_report", "name": "Distress report", "description": "", "body": { "Interaction": { "source": "54c4dded-0e11-4162-8b26-180ca533466b", "target": "287779b1-50a2-454b-b8c0-8e7a815f6f66", "items": [] } } } }, "diagrams": {}, "artifact_links": {}, "traces": {} } }, { "method": "PUT", "path": "/api/v1/projects/70aac325-7baf-4c74-a317-cddd3057eba0/source-project", "status": 412, "etag": null, "location": null, "seconds": 0.013102300001264666, "body": { "type": "urn:arcadia:problem:revision_conflict", "title": "Precondition Failed", "status": 412, "code": "revision_conflict", "detail": "Project changed. Reload and review the current model before retrying.", "current_revision": 2 } }, { "method": "GET", "path": "/api/v1/projects/70aac325-7baf-4c74-a317-cddd3057eba0/source-project", "status": 200, "etag": "\"p-70aac325-7baf-4c74-a317-cddd3057eba0-r2\"", "location": null, "seconds": 0.002053700000033132, "body": { "entry": "project.arcadia", "files": { "project.arcadia": "arcadia 7;\nproject distress \"Distress response\" id \"d64f066e-ccf3-4c6d-a95e-c76d7b47c9e0\" {\n oa_actor vessel \"Vessel in distress\" id \"cb442f05-8ee5-46a5-aa6a-4a4c024a6911\" {}\n oa_entity rescue \"Rescue coordination\" id \"07d99082-023d-49fb-ba08-23031fed5256\" {}\n oa_activity report \"Report distress\" id \"54c4dded-0e11-4162-8b26-180ca533466b\" {}\n oa_activity assess \"Assess incident carefully\" id \"287779b1-50a2-454b-b8c0-8e7a815f6f66\" {}\n allocation vessel_reports \"Crew reports\" id \"5ca61660-cde4-41fb-9078-378d07c1a116\" { source @vessel; target @report; }\n allocation rescue_assesses \"Team assesses\" id \"65c4d3c4-0c85-4470-ba73-401f04e3f6b4\" { source @rescue; target @assess; }\n interaction distress_report \"Distress report\" id \"c343da78-0685-43b8-815c-e5326f2ac594\" { source @report; target @assess; }\n}\n" } } }, { "method": "PUT", "path": "/api/v1/projects/70aac325-7baf-4c74-a317-cddd3057eba0/source-project", "status": 422, "etag": null, "location": null, "seconds": 0.012539299999843934, "body": { "type": "urn:arcadia:problem:invalid_source_project", "title": "Unprocessable Entity", "status": 422, "code": "invalid_source_project", "detail": "Source project could not be applied.", "issues": [ { "severity": "error", "code": "invalid_source", "message": "Unexpected content after the project closing brace.", "line": 12, "column": 1, "path": "project.arcadia", "span": { "start": 827, "end": 828 } } ] } }, { "method": "GET", "path": "/api/v1/projects/70aac325-7baf-4c74-a317-cddd3057eba0/source-project", "status": 200, "etag": "\"p-70aac325-7baf-4c74-a317-cddd3057eba0-r2\"", "location": null, "seconds": 0.0015880999999353662, "body": { "entry": "project.arcadia", "files": { "project.arcadia": "arcadia 7;\nproject distress \"Distress response\" id \"d64f066e-ccf3-4c6d-a95e-c76d7b47c9e0\" {\n oa_actor vessel \"Vessel in distress\" id \"cb442f05-8ee5-46a5-aa6a-4a4c024a6911\" {}\n oa_entity rescue \"Rescue coordination\" id \"07d99082-023d-49fb-ba08-23031fed5256\" {}\n oa_activity report \"Report distress\" id \"54c4dded-0e11-4162-8b26-180ca533466b\" {}\n oa_activity assess \"Assess incident carefully\" id \"287779b1-50a2-454b-b8c0-8e7a815f6f66\" {}\n allocation vessel_reports \"Crew reports\" id \"5ca61660-cde4-41fb-9078-378d07c1a116\" { source @vessel; target @report; }\n allocation rescue_assesses \"Team assesses\" id \"65c4d3c4-0c85-4470-ba73-401f04e3f6b4\" { source @rescue; target @assess; }\n interaction distress_report \"Distress report\" id \"c343da78-0685-43b8-815c-e5326f2ac594\" { source @report; target @assess; }\n}\n" } } }, { "method": "GET", "path": "/api/v1/projects/70aac325-7baf-4c74-a317-cddd3057eba0/model", "status": 200, "etag": "\"p-70aac325-7baf-4c74-a317-cddd3057eba0-r2\"", "location": null, "seconds": 0.0021672000002581626, "body": { "schema_version": 7, "id": "d64f066e-ccf3-4c6d-a95e-c76d7b47c9e0", "alias": "distress", "name": "Distress response", "description": "", "elements": { "07d99082-023d-49fb-ba08-23031fed5256": { "id": "07d99082-023d-49fb-ba08-23031fed5256", "alias": "rescue", "name": "Rescue coordination", "description": "", "parent": null, "body": { "Oa": "Entity" } }, "287779b1-50a2-454b-b8c0-8e7a815f6f66": { "id": "287779b1-50a2-454b-b8c0-8e7a815f6f66", "alias": "assess", "name": "Assess incident carefully", "description": "", "parent": null, "body": { "Oa": "Activity" } }, "54c4dded-0e11-4162-8b26-180ca533466b": { "id": "54c4dded-0e11-4162-8b26-180ca533466b", "alias": "report", "name": "Report distress", "description": "", "parent": null, "body": { "Oa": "Activity" } }, "cb442f05-8ee5-46a5-aa6a-4a4c024a6911": { "id": "cb442f05-8ee5-46a5-aa6a-4a4c024a6911", "alias": "vessel", "name": "Vessel in distress", "description": "", "parent": null, "body": { "Oa": "Actor" } } }, "relations": { "5ca61660-cde4-41fb-9078-378d07c1a116": { "id": "5ca61660-cde4-41fb-9078-378d07c1a116", "alias": "vessel_reports", "name": "Crew reports", "description": "", "body": { "Allocation": { "source": "cb442f05-8ee5-46a5-aa6a-4a4c024a6911", "target": "54c4dded-0e11-4162-8b26-180ca533466b" } } }, "65c4d3c4-0c85-4470-ba73-401f04e3f6b4": { "id": "65c4d3c4-0c85-4470-ba73-401f04e3f6b4", "alias": "rescue_assesses", "name": "Team assesses", "description": "", "body": { "Allocation": { "source": "07d99082-023d-49fb-ba08-23031fed5256", "target": "287779b1-50a2-454b-b8c0-8e7a815f6f66" } } }, "c343da78-0685-43b8-815c-e5326f2ac594": { "id": "c343da78-0685-43b8-815c-e5326f2ac594", "alias": "distress_report", "name": "Distress report", "description": "", "body": { "Interaction": { "source": "54c4dded-0e11-4162-8b26-180ca533466b", "target": "287779b1-50a2-454b-b8c0-8e7a815f6f66", "items": [] } } } }, "diagrams": {}, "artifact_links": {}, "traces": {} } }, { "method": "POST", "path": "/api/v1/projects/import-source-project", "status": 201, "etag": "\"p-6733e0e7-0a94-48ef-84ff-b3970a4b84b4-r1\"", "location": "/api/v1/projects/6733e0e7-0a94-48ef-84ff-b3970a4b84b4", "seconds": 0.004914300001473748, "body": { "elements": 1, "migration": null, "model_id": "585d2e53-49a0-41ab-9aa1-f60d8194276b", "name": "Distress response", "relations": 0, "resource_id": "6733e0e7-0a94-48ef-84ff-b3970a4b84b4", "revision": 1, "schema_version": 7 } }, { "method": "GET", "path": "/api/v1/projects/6733e0e7-0a94-48ef-84ff-b3970a4b84b4/source-project", "status": 200, "etag": "\"p-6733e0e7-0a94-48ef-84ff-b3970a4b84b4-r1\"", "location": null, "seconds": 0.0016458999998576473, "body": { "entry": "project.arcadia", "files": { "project.arcadia": "arcadia 7;\nproject response \"Distress response\" id \"585d2e53-49a0-41ab-9aa1-f60d8194276b\" {\n oa_scenario assessment \"Assess the distress report\" id \"6adbebae-5d8e-41da-a6d5-90f75926bcf8\" {\n viewpoint OperationalActivity;\n }\n}\n" } } }, { "method": "GET", "path": "/api/v1/projects/6733e0e7-0a94-48ef-84ff-b3970a4b84b4/model", "status": 200, "etag": "\"p-6733e0e7-0a94-48ef-84ff-b3970a4b84b4-r1\"", "location": null, "seconds": 0.004791299999851617, "body": { "schema_version": 7, "id": "585d2e53-49a0-41ab-9aa1-f60d8194276b", "alias": "response", "name": "Distress response", "description": "", "elements": { "6adbebae-5d8e-41da-a6d5-90f75926bcf8": { "id": "6adbebae-5d8e-41da-a6d5-90f75926bcf8", "alias": "assessment", "name": "Assess the distress report", "description": "", "parent": null, "body": { "Oa": { "Shared": { "Scenario": { "viewpoint": "OperationalActivity", "context": null, "precondition": "", "postcondition": "", "steps": [] } } } } } }, "relations": {}, "diagrams": {}, "artifact_links": {}, "traces": {} } } ]