diff --git a/diagrams/ClassDiagram.PNG b/diagrams/ClassDiagram.PNG deleted file mode 100644 index 0087a94..0000000 Binary files a/diagrams/ClassDiagram.PNG and /dev/null differ diff --git a/diagrams/ClassDiagram.json b/diagrams/ClassDiagram.json deleted file mode 100644 index c9dc4f8..0000000 --- a/diagrams/ClassDiagram.json +++ /dev/null @@ -1 +0,0 @@ -{"id":"a25ddaeb-99de-4a5b-8cf5-9a9008257d6c","title":"ClassDiagram","lastUpdate":"2022-06-03T12:39:03.909Z","diagramType":"SyntaxTree","model":{"version":"2.0.0","type":"ClassDiagram","size":{"width":2040,"height":1244},"interactive":{"elements":[],"relationships":[]},"elements":[{"id":"29eb4596-501c-4986-8067-75e789168c7d","name":"controller","type":"Package","owner":null,"bounds":{"x":1550,"y":662,"width":290,"height":340}},{"id":"a4b72657-ddd4-47b1-8524-f524bb9381a9","name":"ItemController","type":"Class","owner":"29eb4596-501c-4986-8067-75e789168c7d","bounds":{"x":1570,"y":712,"width":260,"height":252},"attributes":["d5a039ee-bbcb-435f-ba59-fabb739045ab"],"methods":["d5277b42-5116-4cff-8f1f-2aed0a9ce6ae","e47c5848-0d89-45b0-bc4e-d5fe801730f1","a2ebd6cb-c535-4a47-a0c9-834a9a55b278","81c6b19e-c62b-4f7d-9d0b-b28961d11f4b","fd686f65-4471-41e7-ad71-47ae031a80f1","b23ffd90-0903-4634-86a1-6ac8940ce1bb"]},{"id":"d5a039ee-bbcb-435f-ba59-fabb739045ab","name":"- itemService: ItemService","type":"ClassAttribute","owner":"a4b72657-ddd4-47b1-8524-f524bb9381a9","bounds":{"x":1570.5,"y":752.5,"width":259,"height":30}},{"id":"d5277b42-5116-4cff-8f1f-2aed0a9ce6ae","name":"+ getItem(String): Item","type":"ClassMethod","owner":"a4b72657-ddd4-47b1-8524-f524bb9381a9","bounds":{"x":1570.5,"y":783.5,"width":259,"height":30}},{"id":"e47c5848-0d89-45b0-bc4e-d5fe801730f1","name":"+ getItemList(): List","type":"ClassMethod","owner":"a4b72657-ddd4-47b1-8524-f524bb9381a9","bounds":{"x":1570.5,"y":813.5,"width":259,"height":30}},{"id":"a2ebd6cb-c535-4a47-a0c9-834a9a55b278","name":"+ getItem(long): Item","type":"ClassMethod","owner":"a4b72657-ddd4-47b1-8524-f524bb9381a9","bounds":{"x":1570.5,"y":843.5,"width":259,"height":30}},{"id":"81c6b19e-c62b-4f7d-9d0b-b28961d11f4b","name":"+ createItem(Item): Item","type":"ClassMethod","owner":"a4b72657-ddd4-47b1-8524-f524bb9381a9","bounds":{"x":1570.5,"y":873.5,"width":259,"height":30}},{"id":"fd686f65-4471-41e7-ad71-47ae031a80f1","name":"+ updateItem(long, Item): String","type":"ClassMethod","owner":"a4b72657-ddd4-47b1-8524-f524bb9381a9","bounds":{"x":1570.5,"y":903.5,"width":259,"height":30}},{"id":"b23ffd90-0903-4634-86a1-6ac8940ce1bb","name":"+ deleteItem(long): String","type":"ClassMethod","owner":"a4b72657-ddd4-47b1-8524-f524bb9381a9","bounds":{"x":1570.5,"y":933.5,"width":259,"height":30}},{"id":"06ba46de-51ac-4ab2-8619-2f0c89016fbc","name":"exception","type":"Package","owner":null,"bounds":{"x":50,"y":572,"width":420,"height":200}},{"id":"752a2d33-e3ad-46e0-88de-414635b6c4a4","name":"ItemNotFoundException","type":"Class","owner":"06ba46de-51ac-4ab2-8619-2f0c89016fbc","bounds":{"x":80,"y":622,"width":350,"height":132},"attributes":[],"methods":["30ec2924-1275-43ee-b2eb-4b3042a1b23c","aa9f3424-488b-42de-aab5-0983411a68c4","dc122696-bcf0-4d1c-86e7-27eccbce2f2b"]},{"id":"30ec2924-1275-43ee-b2eb-4b3042a1b23c","name":"+ ItemNotFoundException()","type":"ClassMethod","owner":"752a2d33-e3ad-46e0-88de-414635b6c4a4","bounds":{"x":80.5,"y":663.5,"width":349,"height":30}},{"id":"aa9f3424-488b-42de-aab5-0983411a68c4","name":"+ ItemNotFoundException(String)","type":"ClassMethod","owner":"752a2d33-e3ad-46e0-88de-414635b6c4a4","bounds":{"x":80.5,"y":693.5,"width":349,"height":30}},{"id":"dc122696-bcf0-4d1c-86e7-27eccbce2f2b","name":"+ ItemNotFoundException(String, Throwable)","type":"ClassMethod","owner":"752a2d33-e3ad-46e0-88de-414635b6c4a4","bounds":{"x":80.5,"y":723.5,"width":349,"height":30}},{"id":"71560e62-4e36-4198-958f-c348012ec862","name":"implementation","type":"Package","owner":null,"bounds":{"x":840,"y":322,"width":460,"height":300}},{"id":"dde6f90e-690a-4ec6-a10b-242887f393b0","name":"ItemServiceImpl","type":"Class","owner":"71560e62-4e36-4198-958f-c348012ec862","bounds":{"x":890,"y":372,"width":300,"height":222},"attributes":["afa56071-ec55-4074-bcef-a2cf095e9a8c"],"methods":["a4858dbe-5143-4865-91ad-6cd925f86473","0da4f6ee-a189-4bfa-91a1-0e74f36343f6","f03af6e7-7ba5-4b69-acbe-46b5ac86719f","a19f8dd8-1e4c-4779-bbba-53cc564e0559","9b2954c0-b7c7-4043-b28a-aa15062e2266"]},{"id":"afa56071-ec55-4074-bcef-a2cf095e9a8c","name":"- itemRepository: ItemRepository","type":"ClassAttribute","owner":"dde6f90e-690a-4ec6-a10b-242887f393b0","bounds":{"x":890.5,"y":412.5,"width":299,"height":30}},{"id":"a4858dbe-5143-4865-91ad-6cd925f86473","name":"+ save(Item): Item","type":"ClassMethod","owner":"dde6f90e-690a-4ec6-a10b-242887f393b0","bounds":{"x":890.5,"y":443.5,"width":299,"height":30}},{"id":"0da4f6ee-a189-4bfa-91a1-0e74f36343f6","name":"+ deleteById(long): void","type":"ClassMethod","owner":"dde6f90e-690a-4ec6-a10b-242887f393b0","bounds":{"x":890.5,"y":473.5,"width":299,"height":30}},{"id":"f03af6e7-7ba5-4b69-acbe-46b5ac86719f","name":"+ findById(long): Optional","type":"ClassMethod","owner":"dde6f90e-690a-4ec6-a10b-242887f393b0","bounds":{"x":890.5,"y":503.5,"width":299,"height":30}},{"id":"a19f8dd8-1e4c-4779-bbba-53cc564e0559","name":"+ findByName(String): Optional","type":"ClassMethod","owner":"dde6f90e-690a-4ec6-a10b-242887f393b0","bounds":{"x":890.5,"y":533.5,"width":299,"height":30}},{"id":"9b2954c0-b7c7-4043-b28a-aa15062e2266","name":"+ findAll(): List","type":"ClassMethod","owner":"dde6f90e-690a-4ec6-a10b-242887f393b0","bounds":{"x":890.5,"y":563.5,"width":299,"height":30}},{"id":"b0b1f911-9de5-474c-afe8-6fe2b650c15f","name":"models","type":"Package","owner":null,"bounds":{"x":810,"y":0,"width":520,"height":242}},{"id":"cda849da-8f40-48e4-afda-304683a99bdf","name":"Item","type":"Class","owner":"b0b1f911-9de5-474c-afe8-6fe2b650c15f","bounds":{"x":850,"y":60,"width":200,"height":162},"attributes":["a095b981-9eba-4db3-a8ca-5c4717da204d","1cd4c862-2ef6-464a-9c3d-52f2374b7396","85677544-eb54-4408-9fbc-24f08c3bcff7","7bceac7f-51b4-4233-8cef-c49f7eb17af4"],"methods":[]},{"id":"a095b981-9eba-4db3-a8ca-5c4717da204d","name":"- id: Long","type":"ClassAttribute","owner":"cda849da-8f40-48e4-afda-304683a99bdf","bounds":{"x":850.5,"y":100.5,"width":199,"height":30}},{"id":"1cd4c862-2ef6-464a-9c3d-52f2374b7396","name":"- name: String","type":"ClassAttribute","owner":"cda849da-8f40-48e4-afda-304683a99bdf","bounds":{"x":850.5,"y":130.5,"width":199,"height":30}},{"id":"85677544-eb54-4408-9fbc-24f08c3bcff7","name":"- unit: Unit","type":"ClassAttribute","owner":"cda849da-8f40-48e4-afda-304683a99bdf","bounds":{"x":850.5,"y":160.5,"width":199,"height":30}},{"id":"7bceac7f-51b4-4233-8cef-c49f7eb17af4","name":"- quantity: int","type":"ClassAttribute","owner":"cda849da-8f40-48e4-afda-304683a99bdf","bounds":{"x":850.5,"y":190.5,"width":199,"height":30}},{"id":"dc8ce340-366d-4377-a877-e06c30a433b2","name":"Unit","type":"Enumeration","owner":"b0b1f911-9de5-474c-afe8-6fe2b650c15f","bounds":{"x":1100,"y":80,"width":200,"height":112},"attributes":["fc20f530-6058-4989-8038-0317982939b7","9bedf512-e078-424b-b38d-9a1d44abe647"],"methods":[]},{"id":"fc20f530-6058-4989-8038-0317982939b7","name":"GRAMMS","type":"ClassAttribute","owner":"dc8ce340-366d-4377-a877-e06c30a433b2","bounds":{"x":1100.5,"y":130.5,"width":199,"height":30}},{"id":"9bedf512-e078-424b-b38d-9a1d44abe647","name":"MILLILETERS","type":"ClassAttribute","owner":"dc8ce340-366d-4377-a877-e06c30a433b2","bounds":{"x":1100.5,"y":160.5,"width":199,"height":30}},{"id":"ccf23e35-8172-4809-8e44-7b75760f573c","name":"repositories","type":"Package","owner":null,"bounds":{"x":850,"y":682,"width":380,"height":160}},{"id":"e4488346-6d4a-456c-a9b0-47ac4c28835b","name":"ItemRepository","type":"Interface","owner":"ccf23e35-8172-4809-8e44-7b75760f573c","bounds":{"x":880,"y":732,"width":300,"height":82},"attributes":[],"methods":["07635494-c483-4109-a3d4-13d9e0dafc30"]},{"id":"07635494-c483-4109-a3d4-13d9e0dafc30","name":"+ findByName(String): Optional","type":"ClassMethod","owner":"e4488346-6d4a-456c-a9b0-47ac4c28835b","bounds":{"x":880.5,"y":783.5,"width":299,"height":30}},{"id":"33071138-fac5-46d5-8fd2-547094b709b3","name":"services","type":"Package","owner":null,"bounds":{"x":1420,"y":332,"width":520,"height":280}},{"id":"14438ca3-0577-424d-a06e-0b75cfc9cd7d","name":"ItemService","type":"Interface","owner":"33071138-fac5-46d5-8fd2-547094b709b3","bounds":{"x":1450,"y":382,"width":470,"height":202},"attributes":[],"methods":["a369cc17-f691-4229-8218-e423ecf83b86","995ce6a8-33a4-4de6-94d3-725a265a269b","c6488114-0ade-40f3-94fd-ae71d27f2fe7","c1712248-9ddb-4ef8-95c9-ce00750577bb","0f7d0949-357b-41b0-83ce-10c2765f17e1"]},{"id":"a369cc17-f691-4229-8218-e423ecf83b86","name":"+ save(Item): Item","type":"ClassMethod","owner":"14438ca3-0577-424d-a06e-0b75cfc9cd7d","bounds":{"x":1450.5,"y":433.5,"width":469,"height":30}},{"id":"995ce6a8-33a4-4de6-94d3-725a265a269b","name":"+ deleteById(long): void","type":"ClassMethod","owner":"14438ca3-0577-424d-a06e-0b75cfc9cd7d","bounds":{"x":1450.5,"y":463.5,"width":469,"height":30}},{"id":"c6488114-0ade-40f3-94fd-ae71d27f2fe7","name":"+ findbyId(long): Optional","type":"ClassMethod","owner":"14438ca3-0577-424d-a06e-0b75cfc9cd7d","bounds":{"x":1450.5,"y":493.5,"width":469,"height":30}},{"id":"c1712248-9ddb-4ef8-95c9-ce00750577bb","name":"+ findByName(String): Optional","type":"ClassMethod","owner":"14438ca3-0577-424d-a06e-0b75cfc9cd7d","bounds":{"x":1450.5,"y":523.5,"width":469,"height":30}},{"id":"0f7d0949-357b-41b0-83ce-10c2765f17e1","name":"+ findAll(): List","type":"ClassMethod","owner":"14438ca3-0577-424d-a06e-0b75cfc9cd7d","bounds":{"x":1450.5,"y":553.5,"width":469,"height":30}},{"id":"3ed0a7bc-d86e-4244-9129-30bb0a045dad","name":"configs","type":"Package","owner":null,"bounds":{"x":0,"y":212,"width":680,"height":140}},{"id":"d2e72ca0-215f-42ea-b196-3e771a248fbd","name":"RepositoryConfig","type":"Class","owner":"3ed0a7bc-d86e-4244-9129-30bb0a045dad","bounds":{"x":10,"y":262,"width":660,"height":72},"attributes":[],"methods":["4df79ea6-2f84-43c1-a905-8a19a275e97b"]},{"id":"4df79ea6-2f84-43c1-a905-8a19a275e97b","name":"+ configureRepositoryRestConfiguration(RepositoryRestConfiguration, CorsRegistry): void","type":"ClassMethod","owner":"d2e72ca0-215f-42ea-b196-3e771a248fbd","bounds":{"x":10.5,"y":303.5,"width":659,"height":30}},{"id":"cce50bc8-f973-475a-a73b-5e99d03866b1","name":"Application","type":"Class","owner":null,"bounds":{"x":1500,"y":42,"width":430,"height":72},"attributes":[],"methods":["04e027c4-ea70-488c-baec-7bf9e9d93220"]},{"id":"04e027c4-ea70-488c-baec-7bf9e9d93220","name":"+ simpleCorsFilter(): FilterRegistrationBean","type":"ClassMethod","owner":"cce50bc8-f973-475a-a73b-5e99d03866b1","bounds":{"x":1500.5,"y":83.5,"width":429,"height":30}},{"id":"5fc54876-b11e-4d44-ae46-084511318038","name":"RepositoryRestConfigurer","type":"Interface","owner":null,"bounds":{"x":10,"y":32,"width":670,"height":82},"attributes":[],"methods":["aeac9ff8-a442-4f52-a9e1-8f8eefc84ed5"]},{"id":"aeac9ff8-a442-4f52-a9e1-8f8eefc84ed5","name":"+ configureRepositoryRestConfiguration(RepositoryRestConfiguration, CorsRegistry): void","type":"ClassMethod","owner":"5fc54876-b11e-4d44-ae46-084511318038","bounds":{"x":10.5,"y":83.5,"width":669,"height":30}},{"id":"d7c0f47f-13cc-4356-82ae-7d6fe812d87e","name":"RuntimeException","type":"Interface","owner":null,"bounds":{"x":220,"y":482,"width":200,"height":52},"attributes":[],"methods":[]},{"id":"73d86ec3-d4e0-442b-adce-db9e904e381e","name":"JpaRepository","type":"Interface","owner":null,"bounds":{"x":1300,"y":752,"width":200,"height":52},"attributes":[],"methods":[]}],"relationships":[{"id":"02e2ca50-a075-486b-9f65-cc2965823a07","name":"","type":"ClassDependency","owner":null,"bounds":{"x":335,"y":114,"width":10,"height":148},"path":[{"x":5,"y":148},{"x":5,"y":0}],"source":{"direction":"Up","element":"d2e72ca0-215f-42ea-b196-3e771a248fbd","multiplicity":"","role":""},"target":{"direction":"Down","element":"5fc54876-b11e-4d44-ae46-084511318038","multiplicity":"","role":""}},{"id":"c0218ec1-c082-4848-aeb6-78fccc0c5065","name":"","type":"ClassDependency","owner":null,"bounds":{"x":315,"y":534,"width":10,"height":88},"path":[{"x":5,"y":88},{"x":5,"y":0}],"source":{"direction":"Up","element":"752a2d33-e3ad-46e0-88de-414635b6c4a4","multiplicity":"","role":""},"target":{"direction":"Down","element":"d7c0f47f-13cc-4356-82ae-7d6fe812d87e","multiplicity":"","role":""}},{"id":"4ee05e4e-f53e-46b6-a1fb-a6f3240f09ce","name":"","type":"ClassAggregation","owner":null,"bounds":{"x":1050,"y":126,"width":50,"height":31},"path":[{"x":50,"y":10},{"x":0,"y":10}],"source":{"direction":"Left","element":"dc8ce340-366d-4377-a877-e06c30a433b2","multiplicity":"","role":""},"target":{"direction":"Right","element":"cda849da-8f40-48e4-afda-304683a99bdf","multiplicity":"","role":""}},{"id":"89475d1a-60a7-4576-bf58-d5087237632d","name":"","type":"ClassDependency","owner":null,"bounds":{"x":1180,"y":768,"width":120,"height":31},"path":[{"x":0,"y":10},{"x":120,"y":10}],"source":{"direction":"Right","element":"e4488346-6d4a-456c-a9b0-47ac4c28835b","multiplicity":"","role":""},"target":{"direction":"Left","element":"73d86ec3-d4e0-442b-adce-db9e904e381e","multiplicity":"","role":""}},{"id":"f251f8ce-7521-4d4c-b517-8406bc575aee","name":"","type":"ClassDependency","owner":null,"bounds":{"x":1190,"y":473,"width":260,"height":31},"path":[{"x":0,"y":10},{"x":260,"y":10}],"source":{"direction":"Right","element":"dde6f90e-690a-4ec6-a10b-242887f393b0","multiplicity":"","role":""},"target":{"direction":"Left","element":"14438ca3-0577-424d-a06e-0b75cfc9cd7d","multiplicity":"","role":""}},{"id":"45f7c7c2-e93f-4f55-ae45-14d2e93e0cc1","name":"","type":"ClassAggregation","owner":null,"bounds":{"x":1695,"y":584,"width":10,"height":128},"path":[{"x":5,"y":128},{"x":5,"y":0}],"source":{"direction":"Up","element":"a4b72657-ddd4-47b1-8524-f524bb9381a9","multiplicity":"","role":""},"target":{"direction":"Down","element":"14438ca3-0577-424d-a06e-0b75cfc9cd7d","multiplicity":"","role":""}},{"id":"085c6f22-3199-4aa7-836e-3963616500aa","name":"","type":"ClassAggregation","owner":null,"bounds":{"x":1030,"y":594,"width":10,"height":138},"path":[{"x":5,"y":138},{"x":5,"y":0}],"source":{"direction":"Up","element":"e4488346-6d4a-456c-a9b0-47ac4c28835b","multiplicity":"","role":""},"target":{"direction":"Down","element":"dde6f90e-690a-4ec6-a10b-242887f393b0","multiplicity":"","role":""}}],"assessments":[]}} \ No newline at end of file diff --git a/diagrams/CommunicationDiagram.json b/diagrams/CommunicationDiagram.json deleted file mode 100644 index 8087f56..0000000 --- a/diagrams/CommunicationDiagram.json +++ /dev/null @@ -1 +0,0 @@ -{"id":"d471c222-fd94-45bc-9c5d-cbd077927974","title":"CommunicationDiagram","lastUpdate":"2022-06-03T23:11:17.190Z","diagramType":"CommunicationDiagram","model":{"version":"2.0.0","type":"CommunicationDiagram","size":{"width":1162.033332824707,"height":540},"interactive":{"elements":[],"relationships":[]},"elements":[{"id":"78dc4f67-83e0-4811-90a0-9bf6457a1999","name":"ServiceOne:ItemServiceImpl","type":"ObjectName","owner":null,"bounds":{"x":0,"y":250,"width":250,"height":222},"attributes":["44d8e2b7-e7ad-4c56-be07-5bb5de6c4b13"],"methods":["ef35ab35-bdf4-4792-9dfd-4a2ad97d0dbb","047bf9c5-0b3a-4035-a8cf-c57e1e60c212","c78e2d78-5198-427b-9103-0107e05ef570","a74d539f-a39c-4e96-ac1e-f4a67084dade","47f3fece-f1df-449e-9f5c-79ea88256cba"]},{"id":"44d8e2b7-e7ad-4c56-be07-5bb5de6c4b13","name":"itemRepository","type":"ObjectAttribute","owner":"78dc4f67-83e0-4811-90a0-9bf6457a1999","bounds":{"x":0.5,"y":290.5,"width":249,"height":30}},{"id":"ef35ab35-bdf4-4792-9dfd-4a2ad97d0dbb","name":"save(Item)","type":"ObjectMethod","owner":"78dc4f67-83e0-4811-90a0-9bf6457a1999","bounds":{"x":0.5,"y":321.5,"width":249,"height":30}},{"id":"047bf9c5-0b3a-4035-a8cf-c57e1e60c212","name":"deleteById(long)","type":"ObjectMethod","owner":"78dc4f67-83e0-4811-90a0-9bf6457a1999","bounds":{"x":0.5,"y":351.5,"width":249,"height":30}},{"id":"c78e2d78-5198-427b-9103-0107e05ef570","name":"findById(long)","type":"ObjectMethod","owner":"78dc4f67-83e0-4811-90a0-9bf6457a1999","bounds":{"x":0.5,"y":381.5,"width":249,"height":30}},{"id":"a74d539f-a39c-4e96-ac1e-f4a67084dade","name":"findByName(String)","type":"ObjectMethod","owner":"78dc4f67-83e0-4811-90a0-9bf6457a1999","bounds":{"x":0.5,"y":411.5,"width":249,"height":30}},{"id":"47f3fece-f1df-449e-9f5c-79ea88256cba","name":"findAll()","type":"ObjectMethod","owner":"78dc4f67-83e0-4811-90a0-9bf6457a1999","bounds":{"x":0.5,"y":441.5,"width":249,"height":30}},{"id":"aec1a0e3-b270-42fc-9392-2ce32ccb448c","name":"Rice:Item","type":"ObjectName","owner":null,"bounds":{"x":270,"y":0,"width":200,"height":162},"attributes":["76083d48-1efd-4015-b642-4381b8e3fd62","be10ccc4-96e5-493f-8504-c2d86f02bf67","d85f9235-8d25-4a37-afde-7fd635839e7e","0ad04c53-afe5-4489-8e92-b9e54aa07641"],"methods":[]},{"id":"76083d48-1efd-4015-b642-4381b8e3fd62","name":"id","type":"ObjectAttribute","owner":"aec1a0e3-b270-42fc-9392-2ce32ccb448c","bounds":{"x":270.5,"y":40.5,"width":199,"height":30}},{"id":"be10ccc4-96e5-493f-8504-c2d86f02bf67","name":"name","type":"ObjectAttribute","owner":"aec1a0e3-b270-42fc-9392-2ce32ccb448c","bounds":{"x":270.5,"y":70.5,"width":199,"height":30}},{"id":"d85f9235-8d25-4a37-afde-7fd635839e7e","name":"unit","type":"ObjectAttribute","owner":"aec1a0e3-b270-42fc-9392-2ce32ccb448c","bounds":{"x":270.5,"y":100.5,"width":199,"height":30}},{"id":"0ad04c53-afe5-4489-8e92-b9e54aa07641","name":"quantity","type":"ObjectAttribute","owner":"aec1a0e3-b270-42fc-9392-2ce32ccb448c","bounds":{"x":270.5,"y":130.5,"width":199,"height":30}},{"id":"a78c1d05-930c-4e7d-90ed-9b42e8c6892f","name":"ControllerOne:ItemController","type":"ObjectName","owner":null,"bounds":{"x":490,"y":240,"width":250,"height":252},"attributes":["1acf47f1-34c2-4aba-be87-b2da31b73470"],"methods":["7320a53b-024b-4f4a-a8f4-551866217f07","78bdea5b-1c66-4166-9d85-eaf78dd48404","1fb43fbc-2c53-44fc-ae52-b26cd7005162","a94a452c-2b42-4e8d-b339-7177e8ea7af8","c4250d75-d15d-4131-a72a-6f5d785bd9f8","2e119348-d2f0-4fcb-a6d1-4a077b08b5a8"]},{"id":"1acf47f1-34c2-4aba-be87-b2da31b73470","name":"itemService","type":"ObjectAttribute","owner":"a78c1d05-930c-4e7d-90ed-9b42e8c6892f","bounds":{"x":490.5,"y":280.5,"width":249,"height":30}},{"id":"7320a53b-024b-4f4a-a8f4-551866217f07","name":"getItem(String)","type":"ObjectMethod","owner":"a78c1d05-930c-4e7d-90ed-9b42e8c6892f","bounds":{"x":490.5,"y":311.5,"width":249,"height":30}},{"id":"78bdea5b-1c66-4166-9d85-eaf78dd48404","name":"getItemList()","type":"ObjectMethod","owner":"a78c1d05-930c-4e7d-90ed-9b42e8c6892f","bounds":{"x":490.5,"y":341.5,"width":249,"height":30}},{"id":"1fb43fbc-2c53-44fc-ae52-b26cd7005162","name":"getItem(long)","type":"ObjectMethod","owner":"a78c1d05-930c-4e7d-90ed-9b42e8c6892f","bounds":{"x":490.5,"y":371.5,"width":249,"height":30}},{"id":"a94a452c-2b42-4e8d-b339-7177e8ea7af8","name":"createItem(Item)","type":"ObjectMethod","owner":"a78c1d05-930c-4e7d-90ed-9b42e8c6892f","bounds":{"x":490.5,"y":401.5,"width":249,"height":30}},{"id":"c4250d75-d15d-4131-a72a-6f5d785bd9f8","name":"updateItem(long, Item)","type":"ObjectMethod","owner":"a78c1d05-930c-4e7d-90ed-9b42e8c6892f","bounds":{"x":490.5,"y":431.5,"width":249,"height":30}},{"id":"2e119348-d2f0-4fcb-a6d1-4a077b08b5a8","name":"deleteItem(long)","type":"ObjectMethod","owner":"a78c1d05-930c-4e7d-90ed-9b42e8c6892f","bounds":{"x":490.5,"y":461.5,"width":249,"height":30}}],"relationships":[{"id":"853f4c18-5a13-4029-a4c5-c1f3a730e293","name":"","type":"CommunicationLink","owner":null,"bounds":{"x":250,"y":316,"width":240,"height":46},"path":[{"x":0,"y":45},{"x":240,"y":45}],"source":{"direction":"Right","element":"78dc4f67-83e0-4811-90a0-9bf6457a1999"},"target":{"direction":"Left","element":"a78c1d05-930c-4e7d-90ed-9b42e8c6892f"},"messages":[{"id":"20651811-5159-4390-b8b1-3425480942e2","name":"2:createItem(Rice)","bounds":{"x":51.875,"y":18.75,"width":136.25,"height":18.75},"owner":null,"resizeFrom":"bottomRight","direction":"source","type":"CommunicationLinkMessage"},{"id":"08de3b60-e3ea-4012-ac94-2c3ab1034a4f","name":"4:deleteItem(id)","bounds":{"x":62.5,"y":0,"width":115,"height":18.75},"owner":null,"resizeFrom":"bottomRight","direction":"source","type":"CommunicationLinkMessage"}]},{"id":"9daa8449-0d95-41d6-bfac-f2bc80d04c2e","name":"","type":"CommunicationLink","owner":null,"bounds":{"x":615,"y":200,"width":316.0166664123535,"height":166},"path":[{"x":0,"y":40},{"x":0,"y":0},{"x":165,"y":0},{"x":165,"y":166},{"x":125,"y":166}],"source":{"direction":"Up","element":"a78c1d05-930c-4e7d-90ed-9b42e8c6892f"},"target":{"direction":"Right","element":"a78c1d05-930c-4e7d-90ed-9b42e8c6892f"},"messages":[{"id":"1746ca1f-5bed-49ee-ad3f-d2e62eb62a55","name":"1:findAll()","bounds":{"x":192.26666641235352,"y":0.5,"width":71.25,"height":18.75},"owner":null,"resizeFrom":"bottomRight","direction":"source","type":"CommunicationLinkMessage"},{"id":"5c616c3d-1c06-4cf3-a6ab-905175bf2299","name":"3:saveItem(Rice)","bounds":{"x":192.26666641235352,"y":19.25,"width":123.75,"height":18.75},"owner":null,"resizeFrom":"bottomRight","direction":"source","type":"CommunicationLinkMessage"}]}],"assessments":[]}} \ No newline at end of file diff --git a/diagrams/CommunicationDiagram.png b/diagrams/CommunicationDiagram.png deleted file mode 100644 index 6e1edeb..0000000 Binary files a/diagrams/CommunicationDiagram.png and /dev/null differ diff --git a/diagrams/UseCaseDiagram.json b/diagrams/UseCaseDiagram.json deleted file mode 100644 index 5849e5f..0000000 --- a/diagrams/UseCaseDiagram.json +++ /dev/null @@ -1 +0,0 @@ -{"id":"c09249cb-f5ff-4158-869d-595d7193bf90","title":"UseCaseDiagram","lastUpdate":"2022-06-04T07:15:04.008Z","diagramType":"UseCaseDiagram","model":{"version":"2.0.0","type":"UseCaseDiagram","size":{"width":1420,"height":900},"interactive":{"elements":[],"relationships":[]},"elements":[{"id":"265207df-b024-4537-b05d-ae2bcd4304f6","name":"User","type":"UseCaseActor","owner":null,"bounds":{"x":0,"y":300,"width":90,"height":140}},{"id":"c1660237-4f72-49a5-8e28-39a882e19e32","name":"WhatToCook","type":"UseCaseSystem","owner":null,"bounds":{"x":160,"y":0,"width":1110,"height":660}},{"id":"82b06ee8-645b-4015-8323-bdcbfba06e00","name":"Delete Item","type":"UseCase","owner":"c1660237-4f72-49a5-8e28-39a882e19e32","bounds":{"x":850,"y":510,"width":200,"height":100}},{"id":"7dcb2094-7dbe-4ac8-b10f-e61eaab62b78","name":"View Items","type":"UseCase","owner":"c1660237-4f72-49a5-8e28-39a882e19e32","bounds":{"x":510,"y":510,"width":200,"height":100}},{"id":"6933e639-051a-44e7-bc17-b4d805902ff6","name":"Create Item","type":"UseCase","owner":"c1660237-4f72-49a5-8e28-39a882e19e32","bounds":{"x":500,"y":320,"width":200,"height":100}},{"id":"a9d47cd9-cfd2-41d3-a6e7-78e8c4d658a5","name":"Start Application","type":"UseCase","owner":"c1660237-4f72-49a5-8e28-39a882e19e32","bounds":{"x":190,"y":320,"width":200,"height":100}},{"id":"799c4d99-4ec1-4c78-90bb-ecf13980a951","name":"Save Item","type":"UseCase","owner":"c1660237-4f72-49a5-8e28-39a882e19e32","bounds":{"x":840,"y":320,"width":200,"height":100}},{"id":"2539166f-f9b6-4379-9a37-89d22e520960","name":"Search for a Item","type":"UseCase","owner":"c1660237-4f72-49a5-8e28-39a882e19e32","bounds":{"x":510,"y":100,"width":200,"height":100}},{"id":"99a890ec-f7cc-4beb-bc41-282a030b10a0","name":"Search by Name","type":"UseCase","owner":"c1660237-4f72-49a5-8e28-39a882e19e32","bounds":{"x":830,"y":30,"width":200,"height":100}},{"id":"cb48fa09-4858-4580-84c7-58001f8d8a4f","name":"Search by Id","type":"UseCase","owner":"c1660237-4f72-49a5-8e28-39a882e19e32","bounds":{"x":830,"y":150,"width":200,"height":100}}],"relationships":[{"id":"7b5e8013-c2cf-4ecc-967f-9ce713894f9d","name":"","type":"UseCaseAssociation","owner":null,"bounds":{"x":90,"y":370,"width":100,"height":1},"path":[{"x":0,"y":0},{"x":100,"y":0}],"source":{"direction":"Right","element":"265207df-b024-4537-b05d-ae2bcd4304f6"},"target":{"direction":"Left","element":"a9d47cd9-cfd2-41d3-a6e7-78e8c4d658a5"}},{"id":"e860f1ac-1a42-4134-86b3-dd6f24a3953d","name":"","type":"UseCaseInclude","owner":null,"bounds":{"x":390,"y":370,"width":120,"height":190},"path":[{"x":0,"y":0},{"x":120,"y":190}],"source":{"direction":"Right","element":"a9d47cd9-cfd2-41d3-a6e7-78e8c4d658a5"},"target":{"direction":"Left","element":"7dcb2094-7dbe-4ac8-b10f-e61eaab62b78"}},{"id":"9300498a-9640-4b81-82af-3ca472b15bd9","name":"","type":"UseCaseInclude","owner":null,"bounds":{"x":710,"y":560,"width":140,"height":1},"path":[{"x":0,"y":0},{"x":140,"y":0}],"source":{"direction":"Right","element":"7dcb2094-7dbe-4ac8-b10f-e61eaab62b78"},"target":{"direction":"Left","element":"82b06ee8-645b-4015-8323-bdcbfba06e00"}},{"id":"85a89157-45e6-4071-89a0-c2ce601eaebe","name":"","type":"UseCaseInclude","owner":null,"bounds":{"x":390,"y":370,"width":110,"height":1},"path":[{"x":0,"y":0},{"x":110,"y":0}],"source":{"direction":"Right","element":"a9d47cd9-cfd2-41d3-a6e7-78e8c4d658a5"},"target":{"direction":"Left","element":"6933e639-051a-44e7-bc17-b4d805902ff6"}},{"id":"231ecf23-f685-4607-a9af-d9bb46b6cb7e","name":"","type":"UseCaseInclude","owner":null,"bounds":{"x":700,"y":370,"width":140,"height":1},"path":[{"x":0,"y":0},{"x":140,"y":0}],"source":{"direction":"Right","element":"6933e639-051a-44e7-bc17-b4d805902ff6"},"target":{"direction":"Left","element":"799c4d99-4ec1-4c78-90bb-ecf13980a951"}},{"id":"f369d212-ecb9-4d18-9c11-91b403432b10","name":"","type":"UseCaseInclude","owner":null,"bounds":{"x":390,"y":150,"width":120,"height":220},"path":[{"x":0,"y":220},{"x":120,"y":0}],"source":{"direction":"Right","element":"a9d47cd9-cfd2-41d3-a6e7-78e8c4d658a5"},"target":{"direction":"Left","element":"2539166f-f9b6-4379-9a37-89d22e520960"}},{"id":"d7605707-4ce0-4628-b409-c27642753313","name":"","type":"UseCaseInclude","owner":null,"bounds":{"x":710,"y":80,"width":120,"height":70},"path":[{"x":0,"y":70},{"x":120,"y":0}],"source":{"direction":"Right","element":"2539166f-f9b6-4379-9a37-89d22e520960"},"target":{"direction":"Left","element":"99a890ec-f7cc-4beb-bc41-282a030b10a0"}},{"id":"aa1ae48c-e650-457c-8713-287c352e7acd","name":"","type":"UseCaseInclude","owner":null,"bounds":{"x":710,"y":150,"width":120,"height":50},"path":[{"x":0,"y":0},{"x":120,"y":50}],"source":{"direction":"Right","element":"2539166f-f9b6-4379-9a37-89d22e520960"},"target":{"direction":"Left","element":"cb48fa09-4858-4580-84c7-58001f8d8a4f"}}],"assessments":[]}} \ No newline at end of file diff --git a/diagrams/UseCaseDiagram.png b/diagrams/UseCaseDiagram.png deleted file mode 100644 index 6a8c86d..0000000 Binary files a/diagrams/UseCaseDiagram.png and /dev/null differ diff --git a/documentation/ClassDiagram.json b/documentation/ClassDiagram.json new file mode 100644 index 0000000..12dfd04 --- /dev/null +++ b/documentation/ClassDiagram.json @@ -0,0 +1 @@ +{"id":"5a2eee96-071f-4c0d-8117-68ff72f73072","title":"ClassDiagram","lastUpdate":"2022-06-03T12:39:03.909Z","diagramType":"ClassDiagram","model":{"version":"2.0.0","type":"ClassDiagram","size":{"width":2580,"height":4644},"interactive":{"elements":[],"relationships":[]},"elements":[{"id":"29eb4596-501c-4986-8067-75e789168c7d","name":"controller","type":"Package","owner":null,"bounds":{"x":1620,"y":672,"width":830,"height":280}},{"id":"8a3ec562-651f-4e63-89b5-4ea6d670a61a","name":"IngredientController","type":"Class","owner":"29eb4596-501c-4986-8067-75e789168c7d","bounds":{"x":2080,"y":730,"width":330,"height":102},"attributes":["a6e19717-42e9-4dd8-9f6c-542e834a8fa3"],"methods":["71b3f168-8ebd-42f4-a243-b20288a8640d"]},{"id":"a6e19717-42e9-4dd8-9f6c-542e834a8fa3","name":"+ itemService: ItemService","type":"ClassAttribute","owner":"8a3ec562-651f-4e63-89b5-4ea6d670a61a","bounds":{"x":2080.5,"y":770.5,"width":329,"height":30}},{"id":"71b3f168-8ebd-42f4-a243-b20288a8640d","name":"+ removeRecipeIngredients(int): List","type":"ClassMethod","owner":"8a3ec562-651f-4e63-89b5-4ea6d670a61a","bounds":{"x":2080.5,"y":801.5,"width":329,"height":30}},{"id":"81725551-1e91-4a82-be19-c42985ce78ee","name":"RecipeSearchController","type":"Class","owner":"29eb4596-501c-4986-8067-75e789168c7d","bounds":{"x":1650,"y":720,"width":410,"height":192},"attributes":["857ac57b-b494-40b2-9324-7a1a311f7630","09c566f3-de70-4ef3-abe0-0fce497e826b"],"methods":["c4505c62-a950-4a6c-952d-391748e8c159","7880c2ce-232a-4841-bbad-9846e2ce993a","1abfa608-d036-480f-b47c-848126e88a25"]},{"id":"857ac57b-b494-40b2-9324-7a1a311f7630","name":"+ nextRecipes: int","type":"ClassAttribute","owner":"81725551-1e91-4a82-be19-c42985ce78ee","bounds":{"x":1650.5,"y":760.5,"width":409,"height":30}},{"id":"09c566f3-de70-4ef3-abe0-0fce497e826b","name":"+ nextRecipesForOneRandom: int","type":"ClassAttribute","owner":"81725551-1e91-4a82-be19-c42985ce78ee","bounds":{"x":1650.5,"y":790.5,"width":409,"height":30}},{"id":"c4505c62-a950-4a6c-952d-391748e8c159","name":"+ getForFridge(): List","type":"ClassMethod","owner":"81725551-1e91-4a82-be19-c42985ce78ee","bounds":{"x":1650.5,"y":821.5,"width":409,"height":30}},{"id":"7880c2ce-232a-4841-bbad-9846e2ce993a","name":"+ getRandom(): List","type":"ClassMethod","owner":"81725551-1e91-4a82-be19-c42985ce78ee","bounds":{"x":1650.5,"y":851.5,"width":409,"height":30}},{"id":"1abfa608-d036-480f-b47c-848126e88a25","name":"+ getOneFridge(): ExtendesRecipeByIngredient","type":"ClassMethod","owner":"81725551-1e91-4a82-be19-c42985ce78ee","bounds":{"x":1650.5,"y":881.5,"width":409,"height":30}},{"id":"06ba46de-51ac-4ab2-8619-2f0c89016fbc","name":"exception","type":"Package","owner":null,"bounds":{"x":350,"y":572,"width":420,"height":200}},{"id":"752a2d33-e3ad-46e0-88de-414635b6c4a4","name":"ItemNotFoundException","type":"Class","owner":"06ba46de-51ac-4ab2-8619-2f0c89016fbc","bounds":{"x":380,"y":622,"width":350,"height":132},"attributes":[],"methods":["30ec2924-1275-43ee-b2eb-4b3042a1b23c","aa9f3424-488b-42de-aab5-0983411a68c4","dc122696-bcf0-4d1c-86e7-27eccbce2f2b"]},{"id":"30ec2924-1275-43ee-b2eb-4b3042a1b23c","name":"+ ItemNotFoundException()","type":"ClassMethod","owner":"752a2d33-e3ad-46e0-88de-414635b6c4a4","bounds":{"x":380.5,"y":663.5,"width":349,"height":30}},{"id":"aa9f3424-488b-42de-aab5-0983411a68c4","name":"+ ItemNotFoundException(String)","type":"ClassMethod","owner":"752a2d33-e3ad-46e0-88de-414635b6c4a4","bounds":{"x":380.5,"y":693.5,"width":349,"height":30}},{"id":"dc122696-bcf0-4d1c-86e7-27eccbce2f2b","name":"+ ItemNotFoundException(String, Throwable)","type":"ClassMethod","owner":"752a2d33-e3ad-46e0-88de-414635b6c4a4","bounds":{"x":380.5,"y":723.5,"width":349,"height":30}},{"id":"71560e62-4e36-4198-958f-c348012ec862","name":"implementation","type":"Package","owner":null,"bounds":{"x":990,"y":322,"width":490,"height":312}},{"id":"dde6f90e-690a-4ec6-a10b-242887f393b0","name":"ItemServiceImpl","type":"Class","owner":"71560e62-4e36-4198-958f-c348012ec862","bounds":{"x":1020,"y":372,"width":460,"height":252},"attributes":["afa56071-ec55-4074-bcef-a2cf095e9a8c"],"methods":["a4858dbe-5143-4865-91ad-6cd925f86473","0da4f6ee-a189-4bfa-91a1-0e74f36343f6","f03af6e7-7ba5-4b69-acbe-46b5ac86719f","a19f8dd8-1e4c-4779-bbba-53cc564e0559","9b2954c0-b7c7-4043-b28a-aa15062e2266","9fb3524f-a0a2-4106-b335-0b9c2eda3bb9"]},{"id":"afa56071-ec55-4074-bcef-a2cf095e9a8c","name":"- itemRepository: ItemRepository","type":"ClassAttribute","owner":"dde6f90e-690a-4ec6-a10b-242887f393b0","bounds":{"x":1020.5,"y":412.5,"width":459,"height":30}},{"id":"a4858dbe-5143-4865-91ad-6cd925f86473","name":"+ save(Item): Item","type":"ClassMethod","owner":"dde6f90e-690a-4ec6-a10b-242887f393b0","bounds":{"x":1020.5,"y":443.5,"width":459,"height":30}},{"id":"0da4f6ee-a189-4bfa-91a1-0e74f36343f6","name":"+ deleteById(long): void","type":"ClassMethod","owner":"dde6f90e-690a-4ec6-a10b-242887f393b0","bounds":{"x":1020.5,"y":473.5,"width":459,"height":30}},{"id":"f03af6e7-7ba5-4b69-acbe-46b5ac86719f","name":"+ findById(long): Optional","type":"ClassMethod","owner":"dde6f90e-690a-4ec6-a10b-242887f393b0","bounds":{"x":1020.5,"y":503.5,"width":459,"height":30}},{"id":"a19f8dd8-1e4c-4779-bbba-53cc564e0559","name":"+ findByName(String): Optional","type":"ClassMethod","owner":"dde6f90e-690a-4ec6-a10b-242887f393b0","bounds":{"x":1020.5,"y":533.5,"width":459,"height":30}},{"id":"9b2954c0-b7c7-4043-b28a-aa15062e2266","name":"+ findAll(): List","type":"ClassMethod","owner":"dde6f90e-690a-4ec6-a10b-242887f393b0","bounds":{"x":1020.5,"y":563.5,"width":459,"height":30}},{"id":"9fb3524f-a0a2-4106-b335-0b9c2eda3bb9","name":"+ findByNameIgnoreCaseContaining(String): Optional","type":"ClassMethod","owner":"dde6f90e-690a-4ec6-a10b-242887f393b0","bounds":{"x":1020.5,"y":593.5,"width":459,"height":30}},{"id":"b0b1f911-9de5-474c-afe8-6fe2b650c15f","name":"models","type":"Package","owner":null,"bounds":{"x":1110,"y":0,"width":520,"height":242}},{"id":"cda849da-8f40-48e4-afda-304683a99bdf","name":"Item","type":"Class","owner":"b0b1f911-9de5-474c-afe8-6fe2b650c15f","bounds":{"x":1150,"y":60,"width":200,"height":162},"attributes":["a095b981-9eba-4db3-a8ca-5c4717da204d","1cd4c862-2ef6-464a-9c3d-52f2374b7396","85677544-eb54-4408-9fbc-24f08c3bcff7","7bceac7f-51b4-4233-8cef-c49f7eb17af4"],"methods":[]},{"id":"a095b981-9eba-4db3-a8ca-5c4717da204d","name":"- id: Long","type":"ClassAttribute","owner":"cda849da-8f40-48e4-afda-304683a99bdf","bounds":{"x":1150.5,"y":100.5,"width":199,"height":30}},{"id":"1cd4c862-2ef6-464a-9c3d-52f2374b7396","name":"- name: String","type":"ClassAttribute","owner":"cda849da-8f40-48e4-afda-304683a99bdf","bounds":{"x":1150.5,"y":130.5,"width":199,"height":30}},{"id":"85677544-eb54-4408-9fbc-24f08c3bcff7","name":"- unit: Unit","type":"ClassAttribute","owner":"cda849da-8f40-48e4-afda-304683a99bdf","bounds":{"x":1150.5,"y":160.5,"width":199,"height":30}},{"id":"7bceac7f-51b4-4233-8cef-c49f7eb17af4","name":"- quantity: int","type":"ClassAttribute","owner":"cda849da-8f40-48e4-afda-304683a99bdf","bounds":{"x":1150.5,"y":190.5,"width":199,"height":30}},{"id":"dc8ce340-366d-4377-a877-e06c30a433b2","name":"Unit","type":"Enumeration","owner":"b0b1f911-9de5-474c-afe8-6fe2b650c15f","bounds":{"x":1400,"y":80,"width":200,"height":112},"attributes":["fc20f530-6058-4989-8038-0317982939b7","9bedf512-e078-424b-b38d-9a1d44abe647"],"methods":[]},{"id":"fc20f530-6058-4989-8038-0317982939b7","name":"GRAMMS","type":"ClassAttribute","owner":"dc8ce340-366d-4377-a877-e06c30a433b2","bounds":{"x":1400.5,"y":130.5,"width":199,"height":30}},{"id":"9bedf512-e078-424b-b38d-9a1d44abe647","name":"MILLILETERS","type":"ClassAttribute","owner":"dc8ce340-366d-4377-a877-e06c30a433b2","bounds":{"x":1400.5,"y":160.5,"width":199,"height":30}},{"id":"ccf23e35-8172-4809-8e44-7b75760f573c","name":"repositories","type":"Package","owner":null,"bounds":{"x":820,"y":722,"width":510,"height":160}},{"id":"e4488346-6d4a-456c-a9b0-47ac4c28835b","name":"ItemRepository","type":"Interface","owner":"ccf23e35-8172-4809-8e44-7b75760f573c","bounds":{"x":850,"y":762,"width":460,"height":112},"attributes":[],"methods":["07635494-c483-4109-a3d4-13d9e0dafc30","7a3f6d5e-123e-4418-8c11-76a11b19945e"]},{"id":"07635494-c483-4109-a3d4-13d9e0dafc30","name":"+ findByName(String): Optional","type":"ClassMethod","owner":"e4488346-6d4a-456c-a9b0-47ac4c28835b","bounds":{"x":850.5,"y":813.5,"width":459,"height":30}},{"id":"7a3f6d5e-123e-4418-8c11-76a11b19945e","name":"+ findByNameIgnoreCaseContaining(String): Optional","type":"ClassMethod","owner":"e4488346-6d4a-456c-a9b0-47ac4c28835b","bounds":{"x":850.5,"y":843.5,"width":459,"height":30}},{"id":"33071138-fac5-46d5-8fd2-547094b709b3","name":"services","type":"Package","owner":null,"bounds":{"x":1640,"y":332,"width":520,"height":282}},{"id":"14438ca3-0577-424d-a06e-0b75cfc9cd7d","name":"ItemService","type":"Interface","owner":"33071138-fac5-46d5-8fd2-547094b709b3","bounds":{"x":1670,"y":362,"width":470,"height":232},"attributes":[],"methods":["a369cc17-f691-4229-8218-e423ecf83b86","995ce6a8-33a4-4de6-94d3-725a265a269b","c6488114-0ade-40f3-94fd-ae71d27f2fe7","c1712248-9ddb-4ef8-95c9-ce00750577bb","0f7d0949-357b-41b0-83ce-10c2765f17e1","ba4cbd28-7b01-4ed3-ba34-3e3d0037fcbb"]},{"id":"a369cc17-f691-4229-8218-e423ecf83b86","name":"+ save(Item): Item","type":"ClassMethod","owner":"14438ca3-0577-424d-a06e-0b75cfc9cd7d","bounds":{"x":1670.5,"y":413.5,"width":469,"height":30}},{"id":"995ce6a8-33a4-4de6-94d3-725a265a269b","name":"+ deleteById(long): void","type":"ClassMethod","owner":"14438ca3-0577-424d-a06e-0b75cfc9cd7d","bounds":{"x":1670.5,"y":443.5,"width":469,"height":30}},{"id":"c6488114-0ade-40f3-94fd-ae71d27f2fe7","name":"+ findbyId(long): Optional","type":"ClassMethod","owner":"14438ca3-0577-424d-a06e-0b75cfc9cd7d","bounds":{"x":1670.5,"y":473.5,"width":469,"height":30}},{"id":"c1712248-9ddb-4ef8-95c9-ce00750577bb","name":"+ findByName(String): Optional","type":"ClassMethod","owner":"14438ca3-0577-424d-a06e-0b75cfc9cd7d","bounds":{"x":1670.5,"y":503.5,"width":469,"height":30}},{"id":"0f7d0949-357b-41b0-83ce-10c2765f17e1","name":"+ findAll(): List","type":"ClassMethod","owner":"14438ca3-0577-424d-a06e-0b75cfc9cd7d","bounds":{"x":1670.5,"y":533.5,"width":469,"height":30}},{"id":"ba4cbd28-7b01-4ed3-ba34-3e3d0037fcbb","name":"+ findByNameIgnoreCaseContaining(String): Optional","type":"ClassMethod","owner":"14438ca3-0577-424d-a06e-0b75cfc9cd7d","bounds":{"x":1670.5,"y":563.5,"width":469,"height":30}},{"id":"3ed0a7bc-d86e-4244-9129-30bb0a045dad","name":"configs","type":"Package","owner":null,"bounds":{"x":300,"y":212,"width":680,"height":140}},{"id":"d2e72ca0-215f-42ea-b196-3e771a248fbd","name":"RepositoryConfig","type":"Class","owner":"3ed0a7bc-d86e-4244-9129-30bb0a045dad","bounds":{"x":310,"y":262,"width":660,"height":72},"attributes":[],"methods":["4df79ea6-2f84-43c1-a905-8a19a275e97b"]},{"id":"4df79ea6-2f84-43c1-a905-8a19a275e97b","name":"+ configureRepositoryRestConfiguration(RepositoryRestConfiguration, CorsRegistry): void","type":"ClassMethod","owner":"d2e72ca0-215f-42ea-b196-3e771a248fbd","bounds":{"x":310.5,"y":303.5,"width":659,"height":30}},{"id":"cce50bc8-f973-475a-a73b-5e99d03866b1","name":"Application","type":"Class","owner":null,"bounds":{"x":1800,"y":42,"width":430,"height":72},"attributes":[],"methods":["04e027c4-ea70-488c-baec-7bf9e9d93220"]},{"id":"04e027c4-ea70-488c-baec-7bf9e9d93220","name":"+ simpleCorsFilter(): FilterRegistrationBean","type":"ClassMethod","owner":"cce50bc8-f973-475a-a73b-5e99d03866b1","bounds":{"x":1800.5,"y":83.5,"width":429,"height":30}},{"id":"5fc54876-b11e-4d44-ae46-084511318038","name":"RepositoryRestConfigurer","type":"Interface","owner":null,"bounds":{"x":310,"y":32,"width":670,"height":82},"attributes":[],"methods":["aeac9ff8-a442-4f52-a9e1-8f8eefc84ed5"]},{"id":"aeac9ff8-a442-4f52-a9e1-8f8eefc84ed5","name":"+ configureRepositoryRestConfiguration(RepositoryRestConfiguration, CorsRegistry): void","type":"ClassMethod","owner":"5fc54876-b11e-4d44-ae46-084511318038","bounds":{"x":310.5,"y":83.5,"width":669,"height":30}},{"id":"d7c0f47f-13cc-4356-82ae-7d6fe812d87e","name":"RuntimeException","type":"Interface","owner":null,"bounds":{"x":520,"y":482,"width":200,"height":52},"attributes":[],"methods":[]},{"id":"73d86ec3-d4e0-442b-adce-db9e904e381e","name":"JpaRepository","type":"Interface","owner":null,"bounds":{"x":1390,"y":802,"width":200,"height":52},"attributes":[],"methods":[]},{"id":"5f3712b3-b8c5-4b85-9f7e-fabec51249f8","name":"Package","type":"Package","owner":null,"bounds":{"x":0,"y":1130,"width":2500,"height":1342}},{"id":"5d7086cb-0899-4d3c-b4e9-90a5003a96d4","name":"amount_conversion","type":"Package","owner":"5f3712b3-b8c5-4b85-9f7e-fabec51249f8","bounds":{"x":40,"y":1210,"width":420,"height":340}},{"id":"3ae382ec-5863-4755-ae5c-1fc9a2886c7c","name":"ConvertedAmount","type":"Class","owner":"5d7086cb-0899-4d3c-b4e9-90a5003a96d4","bounds":{"x":70,"y":1270,"width":340,"height":252},"attributes":["d85cbcdd-759f-4610-86ef-0ed252ee8cf9","43fd37cc-c080-4e20-b591-0f53716d8cc4","f26c8c90-1d6a-4e50-b67f-9ebbc84d7a18","4017a114-e3ca-472f-b268-9600d935bba6","c935afe1-3d83-4835-92e8-eb31d37756e3","6bf0c468-a3c5-498e-8311-ab81af5f559d","8514f55f-f40a-47a6-a351-a575adb56be3"],"methods":[]},{"id":"d85cbcdd-759f-4610-86ef-0ed252ee8cf9","name":"- sourceAmount: Double","type":"ClassAttribute","owner":"3ae382ec-5863-4755-ae5c-1fc9a2886c7c","bounds":{"x":70.5,"y":1310.5,"width":339,"height":30}},{"id":"43fd37cc-c080-4e20-b591-0f53716d8cc4","name":"- sourceUnit: String","type":"ClassAttribute","owner":"3ae382ec-5863-4755-ae5c-1fc9a2886c7c","bounds":{"x":70.5,"y":1340.5,"width":339,"height":30}},{"id":"f26c8c90-1d6a-4e50-b67f-9ebbc84d7a18","name":"- targetAmount: Double","type":"ClassAttribute","owner":"3ae382ec-5863-4755-ae5c-1fc9a2886c7c","bounds":{"x":70.5,"y":1370.5,"width":339,"height":30}},{"id":"4017a114-e3ca-472f-b268-9600d935bba6","name":"- targetUnit: String","type":"ClassAttribute","owner":"3ae382ec-5863-4755-ae5c-1fc9a2886c7c","bounds":{"x":70.5,"y":1400.5,"width":339,"height":30}},{"id":"c935afe1-3d83-4835-92e8-eb31d37756e3","name":"- answer: String","type":"ClassAttribute","owner":"3ae382ec-5863-4755-ae5c-1fc9a2886c7c","bounds":{"x":70.5,"y":1430.5,"width":339,"height":30}},{"id":"6bf0c468-a3c5-498e-8311-ab81af5f559d","name":"- type: String","type":"ClassAttribute","owner":"3ae382ec-5863-4755-ae5c-1fc9a2886c7c","bounds":{"x":70.5,"y":1460.5,"width":339,"height":30}},{"id":"8514f55f-f40a-47a6-a351-a575adb56be3","name":"- additionalProperties: Map","type":"ClassAttribute","owner":"3ae382ec-5863-4755-ae5c-1fc9a2886c7c","bounds":{"x":70.5,"y":1490.5,"width":339,"height":30}},{"id":"2f277632-9315-4b48-833a-7890bbf5022f","name":"IngredientsById","type":"Package","owner":"5f3712b3-b8c5-4b85-9f7e-fabec51249f8","bounds":{"x":520,"y":1200,"width":930,"height":540}},{"id":"0d2e84a4-e0f2-4d73-8b2d-5706eff912c7","name":"Amount","type":"Class","owner":"2f277632-9315-4b48-833a-7890bbf5022f","bounds":{"x":600,"y":1270,"width":340,"height":132},"attributes":["94aef07d-cec5-4bd5-b268-cbbc4cccfaa1","8d21e2f7-6d8c-4cae-b4b9-01aa4e9a6a1c","c9ff1ae4-fc5e-43ff-9ac5-62452a5c0daa"],"methods":[]},{"id":"94aef07d-cec5-4bd5-b268-cbbc4cccfaa1","name":"- metric: Metric","type":"ClassAttribute","owner":"0d2e84a4-e0f2-4d73-8b2d-5706eff912c7","bounds":{"x":600.5,"y":1310.5,"width":339,"height":30}},{"id":"8d21e2f7-6d8c-4cae-b4b9-01aa4e9a6a1c","name":"- us: Us","type":"ClassAttribute","owner":"0d2e84a4-e0f2-4d73-8b2d-5706eff912c7","bounds":{"x":600.5,"y":1340.5,"width":339,"height":30}},{"id":"c9ff1ae4-fc5e-43ff-9ac5-62452a5c0daa","name":"- additionalProperties: Map","type":"ClassAttribute","owner":"0d2e84a4-e0f2-4d73-8b2d-5706eff912c7","bounds":{"x":600.5,"y":1370.5,"width":339,"height":30}},{"id":"6283bfd5-2cbd-4135-9f0b-a3e10ce43439","name":"Ingredient","type":"Class","owner":"2f277632-9315-4b48-833a-7890bbf5022f","bounds":{"x":1030,"y":1270,"width":340,"height":162},"attributes":["a3c04246-b8f4-46ba-8d5b-b93528cb84dd","9ea74595-3052-4bb5-9002-05bafcce68b2","9cd87e0e-3c04-444a-a116-187a5520c856","baf02a74-2a86-454e-ab58-6b303ab01cc6"],"methods":[]},{"id":"a3c04246-b8f4-46ba-8d5b-b93528cb84dd","name":"- name: String","type":"ClassAttribute","owner":"6283bfd5-2cbd-4135-9f0b-a3e10ce43439","bounds":{"x":1030.5,"y":1310.5,"width":339,"height":30}},{"id":"9ea74595-3052-4bb5-9002-05bafcce68b2","name":"- image: String","type":"ClassAttribute","owner":"6283bfd5-2cbd-4135-9f0b-a3e10ce43439","bounds":{"x":1030.5,"y":1340.5,"width":339,"height":30}},{"id":"9cd87e0e-3c04-444a-a116-187a5520c856","name":"- amount: Amount","type":"ClassAttribute","owner":"6283bfd5-2cbd-4135-9f0b-a3e10ce43439","bounds":{"x":1030.5,"y":1370.5,"width":339,"height":30}},{"id":"baf02a74-2a86-454e-ab58-6b303ab01cc6","name":"- additionalProperties: Map","type":"ClassAttribute","owner":"6283bfd5-2cbd-4135-9f0b-a3e10ce43439","bounds":{"x":1030.5,"y":1400.5,"width":339,"height":30}},{"id":"3bb229ab-185a-44f7-97dc-d99c551be619","name":"Metric","type":"Class","owner":"2f277632-9315-4b48-833a-7890bbf5022f","bounds":{"x":540,"y":1580,"width":340,"height":132},"attributes":["2a951dab-d8e8-4e7d-9110-1462cd0ebf9d","5842f4a7-4b55-4f17-8496-18bc465064ac","710dd7b7-8232-4c6c-ba95-873df6be0b46"],"methods":[]},{"id":"2a951dab-d8e8-4e7d-9110-1462cd0ebf9d","name":"- value: Double","type":"ClassAttribute","owner":"3bb229ab-185a-44f7-97dc-d99c551be619","bounds":{"x":540.5,"y":1620.5,"width":339,"height":30}},{"id":"5842f4a7-4b55-4f17-8496-18bc465064ac","name":"- unit: String","type":"ClassAttribute","owner":"3bb229ab-185a-44f7-97dc-d99c551be619","bounds":{"x":540.5,"y":1650.5,"width":339,"height":30}},{"id":"710dd7b7-8232-4c6c-ba95-873df6be0b46","name":"- additionalProperties: Map","type":"ClassAttribute","owner":"3bb229ab-185a-44f7-97dc-d99c551be619","bounds":{"x":540.5,"y":1680.5,"width":339,"height":30}},{"id":"9a690c0d-8c88-4fb0-b8df-9994283bb989","name":"Us","type":"Class","owner":"2f277632-9315-4b48-833a-7890bbf5022f","bounds":{"x":1070,"y":1480,"width":340,"height":162},"attributes":["0cb08fde-9b3c-43e2-9a59-850b2b104c63","34dc4878-c641-4ea8-8092-de68889c9ed1","98a95a70-ca8d-4573-90eb-31b0b817afe9"],"methods":["e9b3f0a9-eea0-46a5-9d59-88d276b404d9"]},{"id":"0cb08fde-9b3c-43e2-9a59-850b2b104c63","name":"- value: Double","type":"ClassAttribute","owner":"9a690c0d-8c88-4fb0-b8df-9994283bb989","bounds":{"x":1070.5,"y":1520.5,"width":339,"height":30}},{"id":"34dc4878-c641-4ea8-8092-de68889c9ed1","name":"- unit: String","type":"ClassAttribute","owner":"9a690c0d-8c88-4fb0-b8df-9994283bb989","bounds":{"x":1070.5,"y":1550.5,"width":339,"height":30}},{"id":"98a95a70-ca8d-4573-90eb-31b0b817afe9","name":"- additionalProperties: Map","type":"ClassAttribute","owner":"9a690c0d-8c88-4fb0-b8df-9994283bb989","bounds":{"x":1070.5,"y":1580.5,"width":339,"height":30}},{"id":"e9b3f0a9-eea0-46a5-9d59-88d276b404d9","name":"+ method()","type":"ClassMethod","owner":"9a690c0d-8c88-4fb0-b8df-9994283bb989","bounds":{"x":1070.5,"y":1611.5,"width":339,"height":30}},{"id":"e6c4bfe7-72ae-45a9-ada3-4d91fc016c2b","name":"recipe_by_ingredient","type":"Package","owner":"5f3712b3-b8c5-4b85-9f7e-fabec51249f8","bounds":{"x":1500,"y":1220,"width":860,"height":502}},{"id":"a80c5db7-e767-4a7f-8cef-cda68fb01877","name":"MissedIngredient","type":"Class","owner":"e6c4bfe7-72ae-45a9-ada3-4d91fc016c2b","bounds":{"x":1620,"y":1320,"width":200,"height":72},"attributes":["cfa5f956-16c5-4f70-9c50-2d4b27786c14"],"methods":[]},{"id":"cfa5f956-16c5-4f70-9c50-2d4b27786c14","name":"- name: String","type":"ClassAttribute","owner":"a80c5db7-e767-4a7f-8cef-cda68fb01877","bounds":{"x":1620.5,"y":1360.5,"width":199,"height":30}},{"id":"d042c042-f3e8-4900-b9ef-7396c91e51d6","name":"RecipeByIngredient","type":"Class","owner":"e6c4bfe7-72ae-45a9-ada3-4d91fc016c2b","bounds":{"x":1980,"y":1270,"width":330,"height":252},"attributes":["faeee6c2-9b80-4761-9dd6-38bc878d222c","cbaf0df7-9863-409c-96c1-23c5a5c9acbd","e8fa7aae-778d-4a26-94c1-ec8e1300535e","ac70b984-a775-4ed8-94b6-b296f0cd58b6","5b81d91d-c200-4258-80d3-e06be1f9022a","a234f0e9-2b42-462c-bf76-ff720ea75ae6","472fa5ef-3fee-48d7-a284-e7c3a1bfdb52"],"methods":[]},{"id":"faeee6c2-9b80-4761-9dd6-38bc878d222c","name":"- id: Integer","type":"ClassAttribute","owner":"d042c042-f3e8-4900-b9ef-7396c91e51d6","bounds":{"x":1980.5,"y":1310.5,"width":329,"height":30}},{"id":"cbaf0df7-9863-409c-96c1-23c5a5c9acbd","name":"- title: String","type":"ClassAttribute","owner":"d042c042-f3e8-4900-b9ef-7396c91e51d6","bounds":{"x":1980.5,"y":1340.5,"width":329,"height":30}},{"id":"e8fa7aae-778d-4a26-94c1-ec8e1300535e","name":"- image: String","type":"ClassAttribute","owner":"d042c042-f3e8-4900-b9ef-7396c91e51d6","bounds":{"x":1980.5,"y":1370.5,"width":329,"height":30}},{"id":"ac70b984-a775-4ed8-94b6-b296f0cd58b6","name":"- usedIngredientCount: Integer","type":"ClassAttribute","owner":"d042c042-f3e8-4900-b9ef-7396c91e51d6","bounds":{"x":1980.5,"y":1400.5,"width":329,"height":30}},{"id":"5b81d91d-c200-4258-80d3-e06be1f9022a","name":"- missedIngredientCount: Integer","type":"ClassAttribute","owner":"d042c042-f3e8-4900-b9ef-7396c91e51d6","bounds":{"x":1980.5,"y":1430.5,"width":329,"height":30}},{"id":"a234f0e9-2b42-462c-bf76-ff720ea75ae6","name":"- missedIngredients: List","type":"ClassAttribute","owner":"d042c042-f3e8-4900-b9ef-7396c91e51d6","bounds":{"x":1980.5,"y":1460.5,"width":329,"height":30}},{"id":"472fa5ef-3fee-48d7-a284-e7c3a1bfdb52","name":"- usedIngredients: List","type":"ClassAttribute","owner":"d042c042-f3e8-4900-b9ef-7396c91e51d6","bounds":{"x":1980.5,"y":1490.5,"width":329,"height":30}},{"id":"4f986199-eacb-439e-a842-5051b5225d6a","name":"UsedIngredient","type":"Class","owner":"e6c4bfe7-72ae-45a9-ada3-4d91fc016c2b","bounds":{"x":1990,"y":1590,"width":200,"height":72},"attributes":["04d16e1e-2f13-438d-8895-15652ac2102b"],"methods":[]},{"id":"04d16e1e-2f13-438d-8895-15652ac2102b","name":"- name: String","type":"ClassAttribute","owner":"4f986199-eacb-439e-a842-5051b5225d6a","bounds":{"x":1990.5,"y":1630.5,"width":199,"height":30}},{"id":"469dd8a7-4a38-416d-9ba6-37dfc1fe6267","name":"ExtendedRecipeByIngredient","type":"Class","owner":"e6c4bfe7-72ae-45a9-ada3-4d91fc016c2b","bounds":{"x":1540,"y":1450,"width":370,"height":162},"attributes":["b4d0799b-dc00-44b6-9ce8-41bfa7cd722e","fc8e1a19-08d7-4045-809d-e3b3bf7aab25","56e7dc5d-f9bb-4cc2-962f-a973b0a46587","ebf2f49d-b05c-4fd1-97bd-f1d44c867bbc"],"methods":[]},{"id":"b4d0799b-dc00-44b6-9ce8-41bfa7cd722e","name":"- usedIngredientCount: Integer","type":"ClassAttribute","owner":"469dd8a7-4a38-416d-9ba6-37dfc1fe6267","bounds":{"x":1540.5,"y":1490.5,"width":369,"height":30}},{"id":"fc8e1a19-08d7-4045-809d-e3b3bf7aab25","name":"- missedIngredientCount: Integer","type":"ClassAttribute","owner":"469dd8a7-4a38-416d-9ba6-37dfc1fe6267","bounds":{"x":1540.5,"y":1520.5,"width":369,"height":30}},{"id":"56e7dc5d-f9bb-4cc2-962f-a973b0a46587","name":"- missedIngredients: List","type":"ClassAttribute","owner":"469dd8a7-4a38-416d-9ba6-37dfc1fe6267","bounds":{"x":1540.5,"y":1550.5,"width":369,"height":30}},{"id":"ebf2f49d-b05c-4fd1-97bd-f1d44c867bbc","name":"- usedIngredients: List","type":"ClassAttribute","owner":"469dd8a7-4a38-416d-9ba6-37dfc1fe6267","bounds":{"x":1540.5,"y":1580.5,"width":369,"height":30}},{"id":"9bf7c1fa-720d-4846-babb-b2c1aa17b4c2","name":"recipe_information","type":"Package","owner":"5f3712b3-b8c5-4b85-9f7e-fabec51249f8","bounds":{"x":1350,"y":1830,"width":1060,"height":620}},{"id":"53e6a78c-2b2a-409f-9e5c-2298e8f77d31","name":"ExtendedIngredient","type":"Class","owner":"9bf7c1fa-720d-4846-babb-b2c1aa17b4c2","bounds":{"x":1490,"y":2310,"width":200,"height":102},"attributes":["3c37c145-c7a5-4c3e-aa52-49e7e5610e92","fe5e9144-deb8-4408-b35d-8cde2ef1308a"],"methods":[]},{"id":"3c37c145-c7a5-4c3e-aa52-49e7e5610e92","name":"- name: String","type":"ClassAttribute","owner":"53e6a78c-2b2a-409f-9e5c-2298e8f77d31","bounds":{"x":1490.5,"y":2350.5,"width":199,"height":30}},{"id":"fe5e9144-deb8-4408-b35d-8cde2ef1308a","name":"- measures: Measures","type":"ClassAttribute","owner":"53e6a78c-2b2a-409f-9e5c-2298e8f77d31","bounds":{"x":1490.5,"y":2380.5,"width":199,"height":30}},{"id":"fa963af8-2623-4bb2-b652-314ad96c5688","name":"Measures","type":"Class","owner":"9bf7c1fa-720d-4846-babb-b2c1aa17b4c2","bounds":{"x":2120,"y":2110,"width":200,"height":72},"attributes":["892b9766-0deb-4809-b6fd-f415d9bf815b"],"methods":[]},{"id":"892b9766-0deb-4809-b6fd-f415d9bf815b","name":"- metric: Metric","type":"ClassAttribute","owner":"fa963af8-2623-4bb2-b652-314ad96c5688","bounds":{"x":2120.5,"y":2150.5,"width":199,"height":30}},{"id":"413faa11-b575-41b4-aff4-8f701c22749d","name":"Metric","type":"Class","owner":"9bf7c1fa-720d-4846-babb-b2c1aa17b4c2","bounds":{"x":2110,"y":2300,"width":200,"height":102},"attributes":["2751acad-57e0-4b46-9036-52fc681e0104","dbee391b-2b22-4eff-b8a1-4865e54a2e80"],"methods":[]},{"id":"2751acad-57e0-4b46-9036-52fc681e0104","name":"- amount: Double","type":"ClassAttribute","owner":"413faa11-b575-41b4-aff4-8f701c22749d","bounds":{"x":2110.5,"y":2340.5,"width":199,"height":30}},{"id":"dbee391b-2b22-4eff-b8a1-4865e54a2e80","name":"- unitShort: String","type":"ClassAttribute","owner":"413faa11-b575-41b4-aff4-8f701c22749d","bounds":{"x":2110.5,"y":2370.5,"width":199,"height":30}},{"id":"49ba9c7b-886f-41bb-a56b-75a4746489bf","name":"Recipes","type":"Class","owner":"9bf7c1fa-720d-4846-babb-b2c1aa17b4c2","bounds":{"x":1400,"y":1860,"width":370,"height":402},"attributes":["7c511752-e235-42e9-9b64-2bb689b87765","a60f5d7f-d8a1-4090-bed4-508ea7fd577a","79195ec1-66b8-4091-b336-b9a54d37eaa2","1a3786c0-d67d-452b-bd7d-165109b98050","2aa05120-b7c5-42cf-9508-5f5797716209","3afb9ecb-10e8-416f-bb59-327528cfbd22","84148982-db9f-4d68-b7fd-397d24ea6535","14ec526d-0826-47c6-87ad-ce1f1bfd9ebd","80bd6df5-0bff-404a-976c-38f2c7825ce2","e56cc94d-bf51-43be-b973-44b287e38bca","d90feedf-6d29-4cfb-b02c-1e4341129f77","9742353f-0514-44d6-8fe9-244243667f69"],"methods":[]},{"id":"7c511752-e235-42e9-9b64-2bb689b87765","name":"- vegetarian: Boolean","type":"ClassAttribute","owner":"49ba9c7b-886f-41bb-a56b-75a4746489bf","bounds":{"x":1400.5,"y":1900.5,"width":369,"height":30}},{"id":"a60f5d7f-d8a1-4090-bed4-508ea7fd577a","name":"- vegan: Boolean","type":"ClassAttribute","owner":"49ba9c7b-886f-41bb-a56b-75a4746489bf","bounds":{"x":1400.5,"y":1930.5,"width":369,"height":30}},{"id":"79195ec1-66b8-4091-b336-b9a54d37eaa2","name":"- glutenFree: Boolean","type":"ClassAttribute","owner":"49ba9c7b-886f-41bb-a56b-75a4746489bf","bounds":{"x":1400.5,"y":1960.5,"width":369,"height":30}},{"id":"1a3786c0-d67d-452b-bd7d-165109b98050","name":"- diaryFree: Boolean","type":"ClassAttribute","owner":"49ba9c7b-886f-41bb-a56b-75a4746489bf","bounds":{"x":1400.5,"y":1990.5,"width":369,"height":30}},{"id":"2aa05120-b7c5-42cf-9508-5f5797716209","name":"- extendedIngredients: List","type":"ClassAttribute","owner":"49ba9c7b-886f-41bb-a56b-75a4746489bf","bounds":{"x":1400.5,"y":2020.5,"width":369,"height":30}},{"id":"3afb9ecb-10e8-416f-bb59-327528cfbd22","name":"- id: Integer","type":"ClassAttribute","owner":"49ba9c7b-886f-41bb-a56b-75a4746489bf","bounds":{"x":1400.5,"y":2050.5,"width":369,"height":30}},{"id":"84148982-db9f-4d68-b7fd-397d24ea6535","name":"- title: String","type":"ClassAttribute","owner":"49ba9c7b-886f-41bb-a56b-75a4746489bf","bounds":{"x":1400.5,"y":2080.5,"width":369,"height":30}},{"id":"14ec526d-0826-47c6-87ad-ce1f1bfd9ebd","name":"- readyInMinutes: Integer","type":"ClassAttribute","owner":"49ba9c7b-886f-41bb-a56b-75a4746489bf","bounds":{"x":1400.5,"y":2110.5,"width":369,"height":30}},{"id":"80bd6df5-0bff-404a-976c-38f2c7825ce2","name":"- servings: Integer","type":"ClassAttribute","owner":"49ba9c7b-886f-41bb-a56b-75a4746489bf","bounds":{"x":1400.5,"y":2140.5,"width":369,"height":30}},{"id":"e56cc94d-bf51-43be-b973-44b287e38bca","name":"- image: String","type":"ClassAttribute","owner":"49ba9c7b-886f-41bb-a56b-75a4746489bf","bounds":{"x":1400.5,"y":2170.5,"width":369,"height":30}},{"id":"d90feedf-6d29-4cfb-b02c-1e4341129f77","name":"- sourceUrl: String","type":"ClassAttribute","owner":"49ba9c7b-886f-41bb-a56b-75a4746489bf","bounds":{"x":1400.5,"y":2200.5,"width":369,"height":30}},{"id":"9742353f-0514-44d6-8fe9-244243667f69","name":"- spoonacularSourceUrl: String","type":"ClassAttribute","owner":"49ba9c7b-886f-41bb-a56b-75a4746489bf","bounds":{"x":1400.5,"y":2230.5,"width":369,"height":30}},{"id":"b362c820-55f8-4e01-a15f-8a2096db376e","name":"APIAuthentication","type":"Class","owner":"5f3712b3-b8c5-4b85-9f7e-fabec51249f8","bounds":{"x":30,"y":1660,"width":390,"height":72},"attributes":[],"methods":["5ba87b85-495e-4b5c-bb25-3a6955963485"]},{"id":"5ba87b85-495e-4b5c-bb25-3a6955963485","name":"+ addAuthHeaders(Request.Builder): Request.Builder","type":"ClassMethod","owner":"b362c820-55f8-4e01-a15f-8a2096db376e","bounds":{"x":30.5,"y":1701.5,"width":389,"height":30}},{"id":"d2352d40-bca1-42f7-bba4-51c17ffd2db5","name":"AmountConversion","type":"Class","owner":"5f3712b3-b8c5-4b85-9f7e-fabec51249f8","bounds":{"x":850,"y":1810,"width":410,"height":72},"attributes":[],"methods":["14e59366-8689-4f17-8fd6-d21ad4ec72a5"]},{"id":"14e59366-8689-4f17-8fd6-d21ad4ec72a5","name":"+ convertAmount(String, String, String, Request): double","type":"ClassMethod","owner":"d2352d40-bca1-42f7-bba4-51c17ffd2db5","bounds":{"x":850.5,"y":1851.5,"width":409,"height":30}},{"id":"bec53c04-37da-42d2-bedb-e53e1a2c3ae2","name":"RecipeInformation","type":"Class","owner":"5f3712b3-b8c5-4b85-9f7e-fabec51249f8","bounds":{"x":40,"y":1840,"width":710,"height":252},"attributes":["059762b2-d4af-484f-9b50-f6f2d11d4019","6707f521-65a0-4e2c-9a65-6ba8642e1569"],"methods":["6f05f990-2b1b-45d3-9675-a46a3055860a","47bfff45-7b92-42f6-9528-4f14a9c33d05","e8083c76-3854-49e4-b57c-95a8418bf600","827940ea-9968-4c3b-8842-6d907bdb6b05","a8a31811-6216-4114-8175-b11e847bb44e"]},{"id":"059762b2-d4af-484f-9b50-f6f2d11d4019","name":"- dotenv: Dotenv","type":"ClassAttribute","owner":"bec53c04-37da-42d2-bedb-e53e1a2c3ae2","bounds":{"x":40.5,"y":1880.5,"width":709,"height":30}},{"id":"6707f521-65a0-4e2c-9a65-6ba8642e1569","name":"- client: OkHttpClient","type":"ClassAttribute","owner":"bec53c04-37da-42d2-bedb-e53e1a2c3ae2","bounds":{"x":40.5,"y":1910.5,"width":709,"height":30}},{"id":"6f05f990-2b1b-45d3-9675-a46a3055860a","name":"+ getRecipeFromIds(List): List): List","type":"ClassMethod","owner":"bec53c04-37da-42d2-bedb-e53e1a2c3ae2","bounds":{"x":40.5,"y":1971.5,"width":709,"height":30}},{"id":"e8083c76-3854-49e4-b57c-95a8418bf600","name":"+ getIngredientList(int): List ","type":"ClassMethod","owner":"bec53c04-37da-42d2-bedb-e53e1a2c3ae2","bounds":{"x":40.5,"y":2001.5,"width":709,"height":30}},{"id":"827940ea-9968-4c3b-8842-6d907bdb6b05","name":"+ queryInformationBulk(String): Response","type":"ClassMethod","owner":"bec53c04-37da-42d2-bedb-e53e1a2c3ae2","bounds":{"x":40.5,"y":2031.5,"width":709,"height":30}},{"id":"a8a31811-6216-4114-8175-b11e847bb44e","name":"+ getRecepieByIngredientsExtended(List): List","type":"ClassMethod","owner":"bec53c04-37da-42d2-bedb-e53e1a2c3ae2","bounds":{"x":40.5,"y":2061.5,"width":709,"height":30}},{"id":"7f9bce94-1491-4e70-ba93-868f496e2c04","name":"RecipeSearch","type":"Class","owner":"5f3712b3-b8c5-4b85-9f7e-fabec51249f8","bounds":{"x":50,"y":2160,"width":530,"height":222},"attributes":["809571e4-3b8d-4a82-8176-86e6c6c0200f","1c85837c-dec9-401b-a462-268c9f5921b9","f025c511-9061-4fe7-87e6-9ede72108629"],"methods":["55e64ab7-faf7-41b4-af6d-4e49cc23ce31","e3956a41-dc60-4459-996b-9ef3a184ef98","fdbd1788-ef92-4201-b895-b50d97ed054b"]},{"id":"809571e4-3b8d-4a82-8176-86e6c6c0200f","name":"- IGNOREPANTRY: boolean","type":"ClassAttribute","owner":"7f9bce94-1491-4e70-ba93-868f496e2c04","bounds":{"x":50.5,"y":2200.5,"width":529,"height":30}},{"id":"1c85837c-dec9-401b-a462-268c9f5921b9","name":"- rnd: Random","type":"ClassAttribute","owner":"7f9bce94-1491-4e70-ba93-868f496e2c04","bounds":{"x":50.5,"y":2230.5,"width":529,"height":30}},{"id":"f025c511-9061-4fe7-87e6-9ede72108629","name":"- client: OkHttpClient","type":"ClassAttribute","owner":"7f9bce94-1491-4e70-ba93-868f496e2c04","bounds":{"x":50.5,"y":2260.5,"width":529,"height":30}},{"id":"55e64ab7-faf7-41b4-af6d-4e49cc23ce31","name":"+ getForIngridients(Iterable, int): List","type":"ClassMethod","owner":"7f9bce94-1491-4e70-ba93-868f496e2c04","bounds":{"x":50.5,"y":2291.5,"width":529,"height":30}},{"id":"e3956a41-dc60-4459-996b-9ef3a184ef98","name":"+ getOneForIngridients(Iterable, int): ExtendedRecipeByIngredient","type":"ClassMethod","owner":"7f9bce94-1491-4e70-ba93-868f496e2c04","bounds":{"x":50.5,"y":2321.5,"width":529,"height":30}},{"id":"fdbd1788-ef92-4201-b895-b50d97ed054b","name":"+ getRandom(List, int): List","type":"ClassMethod","owner":"7f9bce94-1491-4e70-ba93-868f496e2c04","bounds":{"x":50.5,"y":2351.5,"width":529,"height":30}},{"id":"bfd44b11-ec9b-47ee-888a-b3c5ff2fd675","name":"Class","type":"Class","owner":null,"bounds":{"x":790,"y":2710,"width":200,"height":102},"attributes":["4c879dca-bd90-422b-a8d4-a44087ef670a"],"methods":["6a055ee8-5bd5-41a8-8745-2e89f9d7507c"]},{"id":"4c879dca-bd90-422b-a8d4-a44087ef670a","name":"+ attribute: Type","type":"ClassAttribute","owner":"bfd44b11-ec9b-47ee-888a-b3c5ff2fd675","bounds":{"x":790.5,"y":2750.5,"width":199,"height":30}},{"id":"6a055ee8-5bd5-41a8-8745-2e89f9d7507c","name":"+ method()","type":"ClassMethod","owner":"bfd44b11-ec9b-47ee-888a-b3c5ff2fd675","bounds":{"x":790.5,"y":2781.5,"width":199,"height":30}}],"relationships":[{"id":"02e2ca50-a075-486b-9f65-cc2965823a07","name":"","type":"ClassDependency","owner":null,"bounds":{"x":635,"y":114,"width":10,"height":148},"path":[{"x":5,"y":148},{"x":5,"y":0}],"source":{"direction":"Up","element":"d2e72ca0-215f-42ea-b196-3e771a248fbd","multiplicity":"","role":""},"target":{"direction":"Down","element":"5fc54876-b11e-4d44-ae46-084511318038","multiplicity":"","role":""}},{"id":"c0218ec1-c082-4848-aeb6-78fccc0c5065","name":"","type":"ClassDependency","owner":null,"bounds":{"x":615,"y":534,"width":10,"height":88},"path":[{"x":5,"y":88},{"x":5,"y":0}],"source":{"direction":"Up","element":"752a2d33-e3ad-46e0-88de-414635b6c4a4","multiplicity":"","role":""},"target":{"direction":"Down","element":"d7c0f47f-13cc-4356-82ae-7d6fe812d87e","multiplicity":"","role":""}},{"id":"4ee05e4e-f53e-46b6-a1fb-a6f3240f09ce","name":"","type":"ClassAggregation","owner":null,"bounds":{"x":1350,"y":126,"width":50,"height":31},"path":[{"x":50,"y":10},{"x":0,"y":10}],"source":{"direction":"Left","element":"dc8ce340-366d-4377-a877-e06c30a433b2","multiplicity":"","role":""},"target":{"direction":"Right","element":"cda849da-8f40-48e4-afda-304683a99bdf","multiplicity":"","role":""}},{"id":"89475d1a-60a7-4576-bf58-d5087237632d","name":"","type":"ClassDependency","owner":null,"bounds":{"x":1310,"y":818,"width":80,"height":31},"path":[{"x":0,"y":10},{"x":80,"y":10}],"source":{"direction":"Right","element":"e4488346-6d4a-456c-a9b0-47ac4c28835b","multiplicity":"","role":""},"target":{"direction":"Left","element":"73d86ec3-d4e0-442b-adce-db9e904e381e","multiplicity":"","role":""}},{"id":"f251f8ce-7521-4d4c-b517-8406bc575aee","name":"","type":"ClassDependency","owner":null,"bounds":{"x":1480,"y":473,"width":190,"height":31},"path":[{"x":0,"y":10},{"x":190,"y":10}],"source":{"direction":"Right","element":"dde6f90e-690a-4ec6-a10b-242887f393b0","multiplicity":"","role":""},"target":{"direction":"Left","element":"14438ca3-0577-424d-a06e-0b75cfc9cd7d","multiplicity":"","role":""}},{"id":"085c6f22-3199-4aa7-836e-3963616500aa","name":"","type":"ClassAggregation","owner":null,"bounds":{"x":1160,"y":624,"width":10,"height":138},"path":[{"x":5,"y":138},{"x":5,"y":0}],"source":{"direction":"Up","element":"e4488346-6d4a-456c-a9b0-47ac4c28835b","multiplicity":"","role":""},"target":{"direction":"Down","element":"dde6f90e-690a-4ec6-a10b-242887f393b0","multiplicity":"","role":""}},{"id":"11b01805-7f4a-4883-b103-a1a163bd1ea8","name":"","type":"ClassAggregation","owner":null,"bounds":{"x":2105,"y":594,"width":10,"height":136},"path":[{"x":5,"y":136},{"x":5,"y":0}],"source":{"direction":"Up","element":"8a3ec562-651f-4e63-89b5-4ea6d670a61a","multiplicity":"","role":""},"target":{"direction":"Down","element":"14438ca3-0577-424d-a06e-0b75cfc9cd7d","multiplicity":"","role":""}},{"id":"034e24d5-7cf6-4043-9553-198fe81e06cf","name":"","type":"ClassAggregation","owner":null,"bounds":{"x":1860,"y":594,"width":10,"height":126},"path":[{"x":5,"y":126},{"x":5,"y":0}],"source":{"direction":"Up","element":"81725551-1e91-4a82-be19-c42985ce78ee","multiplicity":"","role":""},"target":{"direction":"Down","element":"14438ca3-0577-424d-a06e-0b75cfc9cd7d","multiplicity":"","role":""}},{"id":"814f455e-aee7-4b99-97cf-d5cb008699d4","name":"","type":"ClassAggregation","owner":null,"bounds":{"x":940,"y":1326,"width":90,"height":48.20000076293945},"path":[{"x":0,"y":10},{"x":90,"y":10}],"source":{"direction":"Right","element":"0d2e84a4-e0f2-4d73-8b2d-5706eff912c7","multiplicity":"1","role":""},"target":{"direction":"Left","element":"6283bfd5-2cbd-4135-9f0b-a3e10ce43439","multiplicity":"","role":""}},{"id":"a651bd91-11cd-4b40-94a2-e9e6b78fd655","name":"","type":"ClassAggregation","owner":null,"bounds":{"x":735,"y":1402,"width":22.899999618530273,"height":187.20000076293945},"path":[{"x":5,"y":178},{"x":5,"y":0}],"source":{"direction":"Up","element":"3bb229ab-185a-44f7-97dc-d99c551be619","multiplicity":"1","role":""},"target":{"direction":"Down","element":"0d2e84a4-e0f2-4d73-8b2d-5706eff912c7","multiplicity":"","role":""}},{"id":"19c94965-0488-48b4-aba7-e7885449cc9c","name":"","type":"ClassAggregation","owner":null,"bounds":{"x":765,"y":1402,"width":305,"height":197.20000076293945},"path":[{"x":305,"y":159},{"x":5,"y":159},{"x":5,"y":0}],"source":{"direction":"Left","element":"9a690c0d-8c88-4fb0-b8df-9994283bb989","multiplicity":"1","role":""},"target":{"direction":"Down","element":"0d2e84a4-e0f2-4d73-8b2d-5706eff912c7","multiplicity":"","role":""}},{"id":"e22ca011-9e5f-424c-829e-8437e0201719","name":"","type":"ClassAggregation","owner":null,"bounds":{"x":2210,"y":2182,"width":22.899999618530273,"height":127.20000076293945},"path":[{"x":5,"y":118},{"x":5,"y":0}],"source":{"direction":"Up","element":"413faa11-b575-41b4-aff4-8f701c22749d","multiplicity":"1","role":""},"target":{"direction":"Down","element":"fa963af8-2623-4bb2-b652-314ad96c5688","multiplicity":"","role":""}},{"id":"b465b0b0-ff1f-4474-83df-70d508ca9205","name":"","type":"ClassAggregation","owner":null,"bounds":{"x":1690,"y":2136,"width":430,"height":246},"path":[{"x":430,"y":10},{"x":215,"y":10},{"x":215,"y":225},{"x":0,"y":225}],"source":{"direction":"Left","element":"fa963af8-2623-4bb2-b652-314ad96c5688","multiplicity":"1","role":""},"target":{"direction":"Right","element":"53e6a78c-2b2a-409f-9e5c-2298e8f77d31","multiplicity":"","role":""}},{"id":"c2ffda5e-bcf0-4938-9a8b-47251c63a9d7","name":"","type":"ClassInheritance","owner":null,"bounds":{"x":1650,"y":1612,"width":10,"height":248},"path":[{"x":5,"y":0},{"x":5,"y":248}],"source":{"direction":"Down","element":"469dd8a7-4a38-416d-9ba6-37dfc1fe6267","multiplicity":"","role":""},"target":{"direction":"Up","element":"49ba9c7b-886f-41bb-a56b-75a4746489bf","multiplicity":"","role":""}},{"id":"d0bf0e7a-6f56-430d-b4d2-6bbe4a6b6640","name":"","type":"ClassBidirectional","owner":null,"bounds":{"x":1585,"y":2262,"width":20.033333778381348,"height":57.20000076293945},"path":[{"x":5,"y":0},{"x":5,"y":48}],"source":{"direction":"Down","element":"49ba9c7b-886f-41bb-a56b-75a4746489bf","multiplicity":"","role":""},"target":{"direction":"Up","element":"53e6a78c-2b2a-409f-9e5c-2298e8f77d31","multiplicity":"*","role":""}},{"id":"7f5bed74-c7bf-4214-9cf3-3cdbe644b10e","name":"","type":"ClassBidirectional","owner":null,"bounds":{"x":1820,"y":1346,"width":160,"height":48.20000076293945},"path":[{"x":160,"y":10},{"x":0,"y":10}],"source":{"direction":"Left","element":"d042c042-f3e8-4900-b9ef-7396c91e51d6","multiplicity":"","role":""},"target":{"direction":"Right","element":"a80c5db7-e767-4a7f-8cef-cda68fb01877","multiplicity":"*","role":""}}],"assessments":[]}} \ No newline at end of file diff --git a/documentation/ClassDiagram.pdf b/documentation/ClassDiagram.pdf new file mode 100644 index 0000000..d0ab37e Binary files /dev/null and b/documentation/ClassDiagram.pdf differ diff --git a/documentation/CommunicationCase1.json b/documentation/CommunicationCase1.json new file mode 100644 index 0000000..bc24446 --- /dev/null +++ b/documentation/CommunicationCase1.json @@ -0,0 +1 @@ +{"id":"d86cde6d-66f8-448a-8cf9-92d843d47d72","title":"CommunicationDiagram","lastUpdate":"2022-06-03T23:11:17.190Z","diagramType":"CommunicationDiagram","model":{"version":"2.0.0","type":"CommunicationDiagram","size":{"width":1350.2666702270508,"height":964},"interactive":{"elements":[],"relationships":[]},"elements":[{"id":"aec1a0e3-b270-42fc-9392-2ce32ccb448c","name":"Rice:Item","type":"ObjectName","owner":null,"bounds":{"x":995.1333351135254,"y":0,"width":200,"height":162},"attributes":["76083d48-1efd-4015-b642-4381b8e3fd62","be10ccc4-96e5-493f-8504-c2d86f02bf67","d85f9235-8d25-4a37-afde-7fd635839e7e","0ad04c53-afe5-4489-8e92-b9e54aa07641"],"methods":[]},{"id":"76083d48-1efd-4015-b642-4381b8e3fd62","name":"id","type":"ObjectAttribute","owner":"aec1a0e3-b270-42fc-9392-2ce32ccb448c","bounds":{"x":995.6333351135254,"y":40.5,"width":199,"height":30}},{"id":"be10ccc4-96e5-493f-8504-c2d86f02bf67","name":"name","type":"ObjectAttribute","owner":"aec1a0e3-b270-42fc-9392-2ce32ccb448c","bounds":{"x":995.6333351135254,"y":70.5,"width":199,"height":30}},{"id":"d85f9235-8d25-4a37-afde-7fd635839e7e","name":"unit","type":"ObjectAttribute","owner":"aec1a0e3-b270-42fc-9392-2ce32ccb448c","bounds":{"x":995.6333351135254,"y":100.5,"width":199,"height":30}},{"id":"0ad04c53-afe5-4489-8e92-b9e54aa07641","name":"quantity","type":"ObjectAttribute","owner":"aec1a0e3-b270-42fc-9392-2ce32ccb448c","bounds":{"x":995.6333351135254,"y":130.5,"width":199,"height":30}},{"id":"a78c1d05-930c-4e7d-90ed-9b42e8c6892f","name":"ControllerOne:ItemController","type":"ObjectName","owner":null,"bounds":{"x":605.1333351135254,"y":80,"width":260,"height":192},"attributes":["1acf47f1-34c2-4aba-be87-b2da31b73470"],"methods":["78bdea5b-1c66-4166-9d85-eaf78dd48404","a94a452c-2b42-4e8d-b339-7177e8ea7af8","c4250d75-d15d-4131-a72a-6f5d785bd9f8","2e119348-d2f0-4fcb-a6d1-4a077b08b5a8"]},{"id":"1acf47f1-34c2-4aba-be87-b2da31b73470","name":"itemService","type":"ObjectAttribute","owner":"a78c1d05-930c-4e7d-90ed-9b42e8c6892f","bounds":{"x":605.6333351135254,"y":120.5,"width":259,"height":30}},{"id":"78bdea5b-1c66-4166-9d85-eaf78dd48404","name":"getItemList()","type":"ObjectMethod","owner":"a78c1d05-930c-4e7d-90ed-9b42e8c6892f","bounds":{"x":605.6333351135254,"y":151.5,"width":259,"height":30}},{"id":"a94a452c-2b42-4e8d-b339-7177e8ea7af8","name":"createItem(Item)","type":"ObjectMethod","owner":"a78c1d05-930c-4e7d-90ed-9b42e8c6892f","bounds":{"x":605.6333351135254,"y":181.5,"width":259,"height":30}},{"id":"c4250d75-d15d-4131-a72a-6f5d785bd9f8","name":"updateItem(long, Item)","type":"ObjectMethod","owner":"a78c1d05-930c-4e7d-90ed-9b42e8c6892f","bounds":{"x":605.6333351135254,"y":211.5,"width":259,"height":30}},{"id":"2e119348-d2f0-4fcb-a6d1-4a077b08b5a8","name":"deleteItem(long)","type":"ObjectMethod","owner":"a78c1d05-930c-4e7d-90ed-9b42e8c6892f","bounds":{"x":605.6333351135254,"y":241.5,"width":259,"height":30}},{"id":"acccaaae-fceb-4afd-b93e-cba758659070","name":"ItemRepository1:ItemRepository","type":"ObjectName","owner":null,"bounds":{"x":595.1333351135254,"y":490,"width":300,"height":102},"attributes":[],"methods":["8a8add98-0df8-4c03-96fd-690d190a29aa","432842a4-8799-441d-8434-c1724ee678f4"]},{"id":"8a8add98-0df8-4c03-96fd-690d190a29aa","name":"save(Item)","type":"ObjectMethod","owner":"acccaaae-fceb-4afd-b93e-cba758659070","bounds":{"x":595.6333351135254,"y":531.5,"width":299,"height":30}},{"id":"432842a4-8799-441d-8434-c1724ee678f4","name":"findAll()","type":"ObjectMethod","owner":"acccaaae-fceb-4afd-b93e-cba758659070","bounds":{"x":595.6333351135254,"y":561.5,"width":299,"height":30}},{"id":"577d9b20-029b-496f-b894-7d3e58c86800","name":"Controller:RecipeSearchController","type":"ObjectName","owner":null,"bounds":{"x":105.13333511352539,"y":530,"width":300,"height":42},"attributes":[],"methods":[]},{"id":"707e4431-4efa-4d56-9249-90d6d8f284e0","name":"Potato:Item","type":"ObjectName","owner":null,"bounds":{"x":995.1333351135254,"y":220,"width":200,"height":162},"attributes":["8af43770-0a14-4678-8c86-c9d7dba3f133","e57518df-f9e3-40f4-bb15-d6e8f0cf69d8","e6918a5a-ebe4-4d27-9122-8ddf0a0b3233","8685f5ac-d5fd-4ba2-a244-052d5e25978d"],"methods":[]},{"id":"8af43770-0a14-4678-8c86-c9d7dba3f133","name":"id","type":"ObjectAttribute","owner":"707e4431-4efa-4d56-9249-90d6d8f284e0","bounds":{"x":995.6333351135254,"y":260.5,"width":199,"height":30}},{"id":"e57518df-f9e3-40f4-bb15-d6e8f0cf69d8","name":"name","type":"ObjectAttribute","owner":"707e4431-4efa-4d56-9249-90d6d8f284e0","bounds":{"x":995.6333351135254,"y":290.5,"width":199,"height":30}},{"id":"e6918a5a-ebe4-4d27-9122-8ddf0a0b3233","name":"unit","type":"ObjectAttribute","owner":"707e4431-4efa-4d56-9249-90d6d8f284e0","bounds":{"x":995.6333351135254,"y":320.5,"width":199,"height":30}},{"id":"8685f5ac-d5fd-4ba2-a244-052d5e25978d","name":"quantity","type":"ObjectAttribute","owner":"707e4431-4efa-4d56-9249-90d6d8f284e0","bounds":{"x":995.6333351135254,"y":350.5,"width":199,"height":30}},{"id":"dff082c0-d5f9-469b-b493-1433ba68615c","name":"Tomato:Item","type":"ObjectName","owner":null,"bounds":{"x":995.1333351135254,"y":430,"width":200,"height":162},"attributes":["41fc0ebd-6b0a-4157-8dec-91570a48c34c","1e0be3c3-d690-4cad-87a8-6dd4c4d77678","0667854d-846b-4557-99dd-766c90594786","f10e28b7-5a86-4047-8872-4b80b69bcd8c"],"methods":[]},{"id":"41fc0ebd-6b0a-4157-8dec-91570a48c34c","name":"id","type":"ObjectAttribute","owner":"dff082c0-d5f9-469b-b493-1433ba68615c","bounds":{"x":995.6333351135254,"y":470.5,"width":199,"height":30}},{"id":"1e0be3c3-d690-4cad-87a8-6dd4c4d77678","name":"name","type":"ObjectAttribute","owner":"dff082c0-d5f9-469b-b493-1433ba68615c","bounds":{"x":995.6333351135254,"y":500.5,"width":199,"height":30}},{"id":"0667854d-846b-4557-99dd-766c90594786","name":"unit","type":"ObjectAttribute","owner":"dff082c0-d5f9-469b-b493-1433ba68615c","bounds":{"x":995.6333351135254,"y":530.5,"width":199,"height":30}},{"id":"f10e28b7-5a86-4047-8872-4b80b69bcd8c","name":"quantity","type":"ObjectAttribute","owner":"dff082c0-d5f9-469b-b493-1433ba68615c","bounds":{"x":995.6333351135254,"y":560.5,"width":199,"height":30}},{"id":"c1d9fdac-29d9-4dd3-ad60-1e71da7a3765","name":"RecipeSearch1:RecipeSearch","type":"ObjectName","owner":null,"bounds":{"x":115.13333511352539,"y":360,"width":260,"height":72},"attributes":[],"methods":["ae10c514-4997-41c1-ab0c-b2aa4b9af93d"]},{"id":"ae10c514-4997-41c1-ab0c-b2aa4b9af93d","name":"getForIngredients(Items,int)","type":"ObjectMethod","owner":"c1d9fdac-29d9-4dd3-ad60-1e71da7a3765","bounds":{"x":115.63333511352539,"y":401.5,"width":259,"height":30}},{"id":"3eab9f31-6d5c-4e84-8e5a-c7d8ab6d09c5","name":"RecipeController1:RecipeController","type":"ObjectName","owner":null,"bounds":{"x":95.13333511352539,"y":220,"width":300,"height":72},"attributes":[],"methods":["e143f0d7-e405-4f52-b622-98ee281810b7"]},{"id":"e143f0d7-e405-4f52-b622-98ee281810b7","name":"saveRecipe(Recipe)","type":"ObjectMethod","owner":"3eab9f31-6d5c-4e84-8e5a-c7d8ab6d09c5","bounds":{"x":95.63333511352539,"y":261.5,"width":299,"height":30}},{"id":"50ca5e78-89c8-4bb2-9cc3-62d4c5564e90","name":"RecipeRepository1:RecipeRepository","type":"ObjectName","owner":null,"bounds":{"x":85.13333511352539,"y":20,"width":320,"height":102},"attributes":[],"methods":["24dd21f3-9de9-4c7a-8bba-e8105524c882","7b1cc3ca-d733-4262-ad57-3d7378d3df26"]},{"id":"24dd21f3-9de9-4c7a-8bba-e8105524c882","name":"save(Recipe)","type":"ObjectMethod","owner":"50ca5e78-89c8-4bb2-9cc3-62d4c5564e90","bounds":{"x":85.63333511352539,"y":61.5,"width":319,"height":30}},{"id":"7b1cc3ca-d733-4262-ad57-3d7378d3df26","name":"findAll()","type":"ObjectMethod","owner":"50ca5e78-89c8-4bb2-9cc3-62d4c5564e90","bounds":{"x":85.63333511352539,"y":91.5,"width":319,"height":30}}],"relationships":[{"id":"ac8b7681-c376-486c-adff-97360f656808","name":"","type":"CommunicationLink","owner":null,"bounds":{"x":735.1333351135254,"y":272,"width":151.9666633605957,"height":218},"path":[{"x":0,"y":0},{"x":0,"y":218}],"source":{"direction":"Down","element":"a78c1d05-930c-4e7d-90ed-9b42e8c6892f"},"target":{"direction":"Up","element":"acccaaae-fceb-4afd-b93e-cba758659070"},"messages":[{"id":"8d9da574-e79c-4ca6-a1ce-74965629a706","name":"1.1:save(Rice)","bounds":{"x":27.266666412353516,"y":109,"width":106.06666564941406,"height":17.200000762939453},"owner":null,"resizeFrom":"bottomRight","direction":"source","type":"CommunicationLinkMessage"},{"id":"cd7449bd-81d8-444f-aa41-8c727d8f3498","name":"1.2:save(Potato)","bounds":{"x":27.266666412353516,"y":126.20000076293945,"width":118.96666717529297,"height":17.200000762939453},"owner":null,"resizeFrom":"bottomRight","direction":"source","type":"CommunicationLinkMessage"},{"id":"04f91527-f2fc-4838-a17a-074e741c360c","name":"1.3:save(Tomato)","bounds":{"x":27.266666412353516,"y":143.4000015258789,"width":124.69999694824219,"height":17.200000762939453},"owner":null,"resizeFrom":"bottomRight","direction":"source","type":"CommunicationLinkMessage"},{"id":"7c60484f-7726-4401-a3ec-9e988fee6805","name":"1.4...","bounds":{"x":27.266666412353516,"y":160.60000228881836,"width":38.70000076293945,"height":17.200000762939453},"owner":null,"resizeFrom":"bottomRight","direction":"source","type":"CommunicationLinkMessage"}]},{"id":"df08e502-332d-4a28-baab-37e9cca028fc","name":"","type":"CommunicationLink","owner":null,"bounds":{"x":405.1333351135254,"y":526.6333332061768,"width":190,"height":25.366666793823242},"path":[{"x":0,"y":24.366666793823242},{"x":190,"y":24.366666793823242}],"source":{"direction":"Right","element":"577d9b20-029b-496f-b894-7d3e58c86800"},"target":{"direction":"Left","element":"acccaaae-fceb-4afd-b93e-cba758659070"},"messages":[{"id":"371ec378-e71b-474c-b713-32a7e5ccfcbe","name":"2.1:findAll()","bounds":{"x":52.71666717529297,"y":0,"width":84.56666564941406,"height":17.200000762939453},"owner":null,"resizeFrom":"bottomRight","direction":"source","type":"CommunicationLinkMessage"}]},{"id":"8afe22e0-90c0-4f96-b928-16adf3c2718f","name":"","type":"CommunicationLink","owner":null,"bounds":{"x":0,"y":432,"width":246.1333351135254,"height":98},"path":[{"x":245.1333351135254,"y":98},{"x":245.1333351135254,"y":0}],"source":{"direction":"Up","element":"577d9b20-029b-496f-b894-7d3e58c86800"},"target":{"direction":"Down","element":"c1d9fdac-29d9-4dd3-ad60-1e71da7a3765"},"messages":[{"id":"223e1a69-8889-45fa-b354-31c3d34b8075","name":"2.2:getForIngredients(Items,int)","bounds":{"x":0,"y":49,"width":217.86666870117188,"height":17.200000762939453},"owner":null,"resizeFrom":"bottomRight","direction":"source","type":"CommunicationLinkMessage"}]},{"id":"6ab6a519-1055-49f1-8eb9-5deb943a1c12","name":"","type":"CommunicationLink","owner":null,"bounds":{"x":107.5,"y":122,"width":138.6333351135254,"height":98},"path":[{"x":137.6333351135254,"y":0},{"x":137.6333351135254,"y":98}],"source":{"direction":"Down","element":"50ca5e78-89c8-4bb2-9cc3-62d4c5564e90"},"target":{"direction":"Up","element":"3eab9f31-6d5c-4e84-8e5a-c7d8ab6d09c5"},"messages":[{"id":"7663c1ff-3a46-4d78-8b39-51df6d5b99a8","name":"3:save(Recipe)","bounds":{"x":0,"y":49,"width":110.36666870117188,"height":17.200000762939453},"owner":null,"resizeFrom":"bottomRight","direction":"target","type":"CommunicationLinkMessage"}]}],"assessments":[]}} \ No newline at end of file diff --git a/documentation/CommunicationCase2.json b/documentation/CommunicationCase2.json new file mode 100644 index 0000000..f7a6dac --- /dev/null +++ b/documentation/CommunicationCase2.json @@ -0,0 +1 @@ +{"id":"d86cde6d-66f8-448a-8cf9-92d843d47d72","title":"CommunicationDiagram","lastUpdate":"2022-06-03T23:11:17.190Z","diagramType":"CommunicationDiagram","model":{"version":"2.0.0","type":"CommunicationDiagram","size":{"width":1264.2666702270508,"height":924},"interactive":{"elements":[],"relationships":[]},"elements":[{"id":"577d9b20-029b-496f-b894-7d3e58c86800","name":"Controller:RecipeSearchController","type":"ObjectName","owner":null,"bounds":{"x":62.13333511352539,"y":510,"width":300,"height":42},"attributes":[],"methods":[]},{"id":"c1d9fdac-29d9-4dd3-ad60-1e71da7a3765","name":"RecipeSearch1:RecipeSearch","type":"ObjectName","owner":null,"bounds":{"x":72.13333511352539,"y":340,"width":260,"height":102},"attributes":[],"methods":["ae10c514-4997-41c1-ab0c-b2aa4b9af93d","1da3c2de-1bb3-4e11-8f9c-96840b209d4c"]},{"id":"ae10c514-4997-41c1-ab0c-b2aa4b9af93d","name":"getForIngredients(Items,int)","type":"ObjectMethod","owner":"c1d9fdac-29d9-4dd3-ad60-1e71da7a3765","bounds":{"x":72.63333511352539,"y":381.5,"width":259,"height":30}},{"id":"1da3c2de-1bb3-4e11-8f9c-96840b209d4c","name":"getRandom(Strings, int)","type":"ObjectMethod","owner":"c1d9fdac-29d9-4dd3-ad60-1e71da7a3765","bounds":{"x":72.63333511352539,"y":411.5,"width":259,"height":30}},{"id":"3eab9f31-6d5c-4e84-8e5a-c7d8ab6d09c5","name":"RecipeController1:RecipeController","type":"ObjectName","owner":null,"bounds":{"x":52.13333511352539,"y":200,"width":300,"height":72},"attributes":[],"methods":["e143f0d7-e405-4f52-b622-98ee281810b7"]},{"id":"e143f0d7-e405-4f52-b622-98ee281810b7","name":"saveRecipe(Recipe)","type":"ObjectMethod","owner":"3eab9f31-6d5c-4e84-8e5a-c7d8ab6d09c5","bounds":{"x":52.63333511352539,"y":241.5,"width":299,"height":30}},{"id":"50ca5e78-89c8-4bb2-9cc3-62d4c5564e90","name":"RecipeRepository1:RecipeRepository","type":"ObjectName","owner":null,"bounds":{"x":42.13333511352539,"y":0,"width":320,"height":102},"attributes":[],"methods":["24dd21f3-9de9-4c7a-8bba-e8105524c882","7b1cc3ca-d733-4262-ad57-3d7378d3df26"]},{"id":"24dd21f3-9de9-4c7a-8bba-e8105524c882","name":"save(Recipe)","type":"ObjectMethod","owner":"50ca5e78-89c8-4bb2-9cc3-62d4c5564e90","bounds":{"x":42.63333511352539,"y":41.5,"width":319,"height":30}},{"id":"7b1cc3ca-d733-4262-ad57-3d7378d3df26","name":"findAll()","type":"ObjectMethod","owner":"50ca5e78-89c8-4bb2-9cc3-62d4c5564e90","bounds":{"x":42.63333511352539,"y":71.5,"width":319,"height":30}}],"relationships":[{"id":"8afe22e0-90c0-4f96-b928-16adf3c2718f","name":"","type":"CommunicationLink","owner":null,"bounds":{"x":0,"y":442,"width":203.1333351135254,"height":68},"path":[{"x":202.1333351135254,"y":68},{"x":202.1333351135254,"y":0}],"source":{"direction":"Up","element":"577d9b20-029b-496f-b894-7d3e58c86800"},"target":{"direction":"Down","element":"c1d9fdac-29d9-4dd3-ad60-1e71da7a3765"},"messages":[{"id":"223e1a69-8889-45fa-b354-31c3d34b8075","name":"1:getRandom(Strings,int)","bounds":{"x":0,"y":34,"width":174.86666870117188,"height":17.200000762939453},"owner":null,"resizeFrom":"bottomRight","direction":"source","type":"CommunicationLinkMessage"}]},{"id":"6ab6a519-1055-49f1-8eb9-5deb943a1c12","name":"","type":"CommunicationLink","owner":null,"bounds":{"x":64.5,"y":102,"width":138.6333351135254,"height":98},"path":[{"x":137.6333351135254,"y":0},{"x":137.6333351135254,"y":98}],"source":{"direction":"Down","element":"50ca5e78-89c8-4bb2-9cc3-62d4c5564e90"},"target":{"direction":"Up","element":"3eab9f31-6d5c-4e84-8e5a-c7d8ab6d09c5"},"messages":[{"id":"7663c1ff-3a46-4d78-8b39-51df6d5b99a8","name":"2:save(Recipe)","bounds":{"x":0,"y":49,"width":110.36666870117188,"height":17.200000762939453},"owner":null,"resizeFrom":"bottomRight","direction":"target","type":"CommunicationLinkMessage"}]}],"assessments":[]}} \ No newline at end of file diff --git a/documentation/CommunicationDiagramCase1.PNG b/documentation/CommunicationDiagramCase1.PNG new file mode 100644 index 0000000..50a51f4 Binary files /dev/null and b/documentation/CommunicationDiagramCase1.PNG differ diff --git a/documentation/CommunicationDiagramCase2.PNG b/documentation/CommunicationDiagramCase2.PNG new file mode 100644 index 0000000..972d854 Binary files /dev/null and b/documentation/CommunicationDiagramCase2.PNG differ diff --git a/documentation/RAD WhatToCook.docx b/documentation/RAD WhatToCook.docx new file mode 100644 index 0000000..27f27f1 Binary files /dev/null and b/documentation/RAD WhatToCook.docx differ diff --git a/documentation/SDD WhatToCook.docx b/documentation/SDD WhatToCook.docx new file mode 100644 index 0000000..314dae2 Binary files /dev/null and b/documentation/SDD WhatToCook.docx differ diff --git a/documentation/SubsystemDecomposition.json b/documentation/SubsystemDecomposition.json new file mode 100644 index 0000000..109e294 --- /dev/null +++ b/documentation/SubsystemDecomposition.json @@ -0,0 +1 @@ +{"id":"7f1ac51d-ed3a-4e84-a0f9-00ff72a13dd7","title":"ComponentDiagram","lastUpdate":"2022-07-21T22:04:36.118Z","diagramType":"CommunicationDiagram","model":{"version":"2.0.0","type":"ComponentDiagram","size":{"width":2060,"height":1960},"interactive":{"elements":[],"relationships":[]},"elements":[{"id":"5c9b4ecb-a1cd-42b5-a61f-55079bc7497f","name":"ServerWhatToCook","type":"Component","owner":null,"bounds":{"x":590,"y":220,"width":1100,"height":1320}},{"id":"f71c17f1-f0d4-4965-a139-8cc823939466","name":"ItemService","type":"ComponentInterface","owner":"5c9b4ecb-a1cd-42b5-a61f-55079bc7497f","bounds":{"x":1490,"y":1260,"width":20,"height":20}},{"id":"a08a032f-cf6b-4ca4-b78d-c5e8cd7e8f8c","name":"ItemRepository","type":"Component","owner":"5c9b4ecb-a1cd-42b5-a61f-55079bc7497f","bounds":{"x":880,"y":1050,"width":480,"height":180}},{"id":"14db257c-57dc-4d3c-9979-348370e7bacc","name":"Items","type":"Component","owner":"a08a032f-cf6b-4ca4-b78d-c5e8cd7e8f8c","bounds":{"x":1020,"y":1100,"width":200,"height":100}},{"id":"359ac2c7-c543-4861-965a-cbbd27c82fd8","name":"Storage","type":"Component","owner":"5c9b4ecb-a1cd-42b5-a61f-55079bc7497f","bounds":{"x":880,"y":1290,"width":460,"height":220}},{"id":"2d2a4ebd-4a50-46d3-b733-91f2861912e5","name":"ItemStorage","type":"Component","owner":"359ac2c7-c543-4861-965a-cbbd27c82fd8","bounds":{"x":1120,"y":1370,"width":200,"height":100}},{"id":"713907da-7818-4649-b380-b4abae118bb2","name":"ItemServer","type":"Component","owner":"359ac2c7-c543-4861-965a-cbbd27c82fd8","bounds":{"x":900,"y":1370,"width":200,"height":100}},{"id":"f412c818-f6db-4a65-8114-94cc5138f5fd","name":"Spoonaccular","type":"Component","owner":"5c9b4ecb-a1cd-42b5-a61f-55079bc7497f","bounds":{"x":680,"y":370,"width":900,"height":610}},{"id":"e7d86a68-74e7-4680-9fc5-20a43de6b26a","name":"RecipeRepository","type":"Component","owner":"f412c818-f6db-4a65-8114-94cc5138f5fd","bounds":{"x":710,"y":500,"width":510,"height":260}},{"id":"d0f9fe9a-3f0b-4106-886e-6aa02c4bf448","name":"ExtendedRecipeByIngredient","type":"Component","owner":"e7d86a68-74e7-4680-9fc5-20a43de6b26a","bounds":{"x":720,"y":580,"width":260,"height":100}},{"id":"a7b29826-334f-425e-a8ed-47c51991a85e","name":"Recipe","type":"Component","owner":"e7d86a68-74e7-4680-9fc5-20a43de6b26a","bounds":{"x":1010,"y":580,"width":200,"height":100}},{"id":"4d403309-3246-4ada-824f-0354bffda6d3","name":"RecipeIngredientRepository","type":"Component","owner":"f412c818-f6db-4a65-8114-94cc5138f5fd","bounds":{"x":1170,"y":770,"width":340,"height":190}},{"id":"f304dec4-3331-4208-9ae0-32996dafb11a","name":"Ingredient","type":"Component","owner":"4d403309-3246-4ada-824f-0354bffda6d3","bounds":{"x":1260,"y":820,"width":200,"height":100}},{"id":"d100d895-f3f4-412c-bedc-dbecd13f7ff9","name":"QueryRecipeIngredientService","type":"ComponentInterface","owner":"5c9b4ecb-a1cd-42b5-a61f-55079bc7497f","bounds":{"x":1330,"y":310,"width":20,"height":20}},{"id":"1c2a06df-6f3a-44c4-96c1-c07d3fb1ef57","name":"QueryRecipeService","type":"ComponentInterface","owner":"5c9b4ecb-a1cd-42b5-a61f-55079bc7497f","bounds":{"x":960,"y":310,"width":20,"height":20}},{"id":"e8d66967-1ae3-4567-90b5-e9ed78a3efeb","name":"ClientWhatToCook","type":"Component","owner":null,"bounds":{"x":0,"y":310,"width":270,"height":530}},{"id":"43614a42-e37b-4125-9746-41769aedb067","name":"RecipePage","type":"Component","owner":"e8d66967-1ae3-4567-90b5-e9ed78a3efeb","bounds":{"x":30,"y":540,"width":200,"height":100}},{"id":"e442e600-9d5c-4292-8c3f-39ee69e68ae2","name":"LoginPage","type":"Component","owner":"e8d66967-1ae3-4567-90b5-e9ed78a3efeb","bounds":{"x":30,"y":400,"width":200,"height":100}},{"id":"0fe6ae74-f820-4aa0-b447-cc69783b6cb5","name":"StoragePage","type":"Component","owner":"e8d66967-1ae3-4567-90b5-e9ed78a3efeb","bounds":{"x":40,"y":680,"width":200,"height":100}},{"id":"821d53a7-fe63-4063-988d-5e162ea47d7d","name":"StorageService","type":"ComponentInterface","owner":null,"bounds":{"x":230,"y":1390,"width":20,"height":20}},{"id":"47ca9875-3612-4881-a606-c0118bc93cf6","name":"SpoonaccularServer","type":"Component","owner":null,"bounds":{"x":950,"y":0,"width":420,"height":200}},{"id":"b6c96222-117a-4f08-84bf-248b7669e454","name":"RecipeStorage","type":"Component","owner":"47ca9875-3612-4881-a606-c0118bc93cf6","bounds":{"x":1070,"y":60,"width":200,"height":100}},{"id":"78359e43-9272-4f12-9a6b-065a23d9f7e8","name":"RecipeService","type":"ComponentInterface","owner":null,"bounds":{"x":400,"y":620,"width":20,"height":20}},{"id":"16ef0f45-206a-472c-a1a9-7bcffd6a1205","name":"RecipeIngredientService","type":"ComponentInterface","owner":null,"bounds":{"x":410,"y":850,"width":20,"height":20}}],"relationships":[{"id":"7f0a5f13-41d6-49ad-957f-73331eaf0fd2","name":"","type":"ComponentInterfaceProvided","owner":null,"bounds":{"x":250,"y":1400,"width":630,"height":1},"path":[{"x":630,"y":0},{"x":0,"y":0}],"source":{"direction":"Left","element":"359ac2c7-c543-4861-965a-cbbd27c82fd8"},"target":{"direction":"Right","element":"821d53a7-fe63-4063-988d-5e162ea47d7d"}},{"id":"f1830128-b5de-452b-ac4c-ec255ccb6dee","name":"","type":"ComponentInterfaceRequired","owner":null,"bounds":{"x":140,"y":780,"width":104,"height":634},"path":[{"x":0,"y":0},{"x":0,"y":620},{"x":90,"y":620}],"source":{"direction":"Down","element":"0fe6ae74-f820-4aa0-b447-cc69783b6cb5"},"target":{"direction":"Left","element":"821d53a7-fe63-4063-988d-5e162ea47d7d"}},{"id":"3da57e97-7ecf-4fe3-8628-2b898d7a2dca","name":"","type":"ComponentInterfaceRequired","owner":null,"bounds":{"x":957,"y":110,"width":113,"height":214},"path":[{"x":113,"y":0},{"x":13,"y":0},{"x":13,"y":200}],"source":{"direction":"Left","element":"b6c96222-117a-4f08-84bf-248b7669e454"},"target":{"direction":"Up","element":"1c2a06df-6f3a-44c4-96c1-c07d3fb1ef57"}},{"id":"7e703c51-a7ce-4640-b581-b502050d4f64","name":"","type":"ComponentInterfaceProvided","owner":null,"bounds":{"x":965,"y":330,"width":5,"height":170},"path":[{"x":0,"y":170},{"x":0,"y":85},{"x":5,"y":85},{"x":5,"y":0}],"source":{"direction":"Up","element":"e7d86a68-74e7-4680-9fc5-20a43de6b26a"},"target":{"direction":"Down","element":"1c2a06df-6f3a-44c4-96c1-c07d3fb1ef57"}},{"id":"7bae116b-6e52-43da-b3f2-d45983e9cad3","name":"","type":"ComponentInterfaceRequired","owner":null,"bounds":{"x":1270,"y":110,"width":84,"height":214},"path":[{"x":0,"y":0},{"x":70,"y":0},{"x":70,"y":200}],"source":{"direction":"Right","element":"b6c96222-117a-4f08-84bf-248b7669e454"},"target":{"direction":"Up","element":"d100d895-f3f4-412c-bedc-dbecd13f7ff9"}},{"id":"8b9e30cd-c4a3-45d6-b41e-3c8b37e63c65","name":"","type":"ComponentInterfaceProvided","owner":null,"bounds":{"x":1340,"y":330,"width":1,"height":440},"path":[{"x":0,"y":0},{"x":0,"y":440}],"source":{"direction":"Down","element":"d100d895-f3f4-412c-bedc-dbecd13f7ff9"},"target":{"direction":"Up","element":"4d403309-3246-4ada-824f-0354bffda6d3"}},{"id":"9ebe6928-de0d-4f23-8a6b-e5eca1766247","name":"","type":"ComponentInterfaceRequired","owner":null,"bounds":{"x":1497,"y":865,"width":53,"height":419},"path":[{"x":13,"y":0},{"x":53,"y":0},{"x":53,"y":405},{"x":13,"y":405}],"source":{"direction":"Right","element":"4d403309-3246-4ada-824f-0354bffda6d3"},"target":{"direction":"Right","element":"f71c17f1-f0d4-4965-a139-8cc823939466"}},{"id":"ba226b97-df5d-435d-b553-391f8dc51daf","name":"","type":"ComponentInterfaceRequired","owner":null,"bounds":{"x":230,"y":590,"width":184,"height":54},"path":[{"x":0,"y":0},{"x":85,"y":0},{"x":85,"y":40},{"x":170,"y":40}],"source":{"direction":"Right","element":"43614a42-e37b-4125-9746-41769aedb067"},"target":{"direction":"Left","element":"78359e43-9272-4f12-9a6b-065a23d9f7e8"}},{"id":"eab1e221-c751-4595-b4be-fa3ca804a134","name":"","type":"ComponentInterfaceProvided","owner":null,"bounds":{"x":420,"y":630,"width":290,"height":1},"path":[{"x":0,"y":0},{"x":290,"y":0}],"source":{"direction":"Right","element":"78359e43-9272-4f12-9a6b-065a23d9f7e8"},"target":{"direction":"Left","element":"e7d86a68-74e7-4680-9fc5-20a43de6b26a"}},{"id":"23062509-8823-4770-96c5-a71f9ae5dc32","name":"","type":"ComponentInterfaceRequired","owner":null,"bounds":{"x":1320,"y":1267,"width":194,"height":153},"path":[{"x":0,"y":153},{"x":180,"y":153},{"x":180,"y":13}],"source":{"direction":"Right","element":"2d2a4ebd-4a50-46d3-b733-91f2861912e5"},"target":{"direction":"Down","element":"f71c17f1-f0d4-4965-a139-8cc823939466"}},{"id":"d7145f7e-dbcf-4caf-9d3e-d6c59c3b92ed","name":"","type":"ComponentInterfaceRequired","owner":null,"bounds":{"x":1000,"y":1257,"width":504,"height":113},"path":[{"x":0,"y":113},{"x":0,"y":13},{"x":490,"y":13}],"source":{"direction":"Up","element":"713907da-7818-4649-b380-b4abae118bb2"},"target":{"direction":"Left","element":"f71c17f1-f0d4-4965-a139-8cc823939466"}},{"id":"30f5e5a0-f13f-425e-806e-78af893b52c6","name":"","type":"ComponentInterfaceRequired","owner":null,"bounds":{"x":230,"y":590,"width":194,"height":284},"path":[{"x":0,"y":0},{"x":90,"y":0},{"x":90,"y":270},{"x":180,"y":270}],"source":{"direction":"Right","element":"43614a42-e37b-4125-9746-41769aedb067"},"target":{"direction":"Left","element":"16ef0f45-206a-472c-a1a9-7bcffd6a1205"}},{"id":"36968c17-d30f-47f0-a9c8-ff7d45c380e3","name":"","type":"ComponentInterfaceProvided","owner":null,"bounds":{"x":430,"y":860,"width":740,"height":5},"path":[{"x":0,"y":0},{"x":370,"y":0},{"x":370,"y":5},{"x":740,"y":5}],"source":{"direction":"Right","element":"16ef0f45-206a-472c-a1a9-7bcffd6a1205"},"target":{"direction":"Left","element":"4d403309-3246-4ada-824f-0354bffda6d3"}},{"id":"d43e39c8-b82c-432f-b186-fa36d26d9dd7","name":"","type":"ComponentInterfaceProvided","owner":null,"bounds":{"x":1360,"y":1140,"width":140,"height":120},"path":[{"x":0,"y":0},{"x":140,"y":0},{"x":140,"y":120}],"source":{"direction":"Right","element":"a08a032f-cf6b-4ca4-b78d-c5e8cd7e8f8c"},"target":{"direction":"Up","element":"f71c17f1-f0d4-4965-a139-8cc823939466"}}],"assessments":[]}} \ No newline at end of file diff --git a/documentation/SubsystemDecomposition.pdf b/documentation/SubsystemDecomposition.pdf new file mode 100644 index 0000000..a82e01d Binary files /dev/null and b/documentation/SubsystemDecomposition.pdf differ diff --git a/documentation/UseCaseDiagram.json b/documentation/UseCaseDiagram.json new file mode 100644 index 0000000..88dcd4e --- /dev/null +++ b/documentation/UseCaseDiagram.json @@ -0,0 +1 @@ +{"id":"eb95893e-c135-4e28-b907-e425937f112d","title":"UseCaseDiagram","lastUpdate":"2022-06-04T07:15:04.008Z","diagramType":"UseCaseDiagram","model":{"version":"2.0.0","type":"UseCaseDiagram","size":{"width":1320,"height":700},"interactive":{"elements":[],"relationships":[]},"elements":[{"id":"265207df-b024-4537-b05d-ae2bcd4304f6","name":"User","type":"UseCaseActor","owner":null,"bounds":{"x":0,"y":300,"width":90,"height":140}},{"id":"c1660237-4f72-49a5-8e28-39a882e19e32","name":"WhatToCook","type":"UseCaseSystem","owner":null,"bounds":{"x":160,"y":0,"width":1110,"height":660}},{"id":"82b06ee8-645b-4015-8323-bdcbfba06e00","name":"Delete Item","type":"UseCase","owner":"c1660237-4f72-49a5-8e28-39a882e19e32","bounds":{"x":850,"y":510,"width":200,"height":100}},{"id":"7dcb2094-7dbe-4ac8-b10f-e61eaab62b78","name":"View Items","type":"UseCase","owner":"c1660237-4f72-49a5-8e28-39a882e19e32","bounds":{"x":510,"y":510,"width":200,"height":100}},{"id":"6933e639-051a-44e7-bc17-b4d805902ff6","name":"Create Item","type":"UseCase","owner":"c1660237-4f72-49a5-8e28-39a882e19e32","bounds":{"x":500,"y":320,"width":200,"height":100}},{"id":"a9d47cd9-cfd2-41d3-a6e7-78e8c4d658a5","name":"Start Application","type":"UseCase","owner":"c1660237-4f72-49a5-8e28-39a882e19e32","bounds":{"x":190,"y":320,"width":200,"height":100}},{"id":"799c4d99-4ec1-4c78-90bb-ecf13980a951","name":"Save Item","type":"UseCase","owner":"c1660237-4f72-49a5-8e28-39a882e19e32","bounds":{"x":840,"y":320,"width":200,"height":100}},{"id":"8433e559-0b11-411b-818f-61242ec06db6","name":"Get Recipe","type":"UseCase","owner":"c1660237-4f72-49a5-8e28-39a882e19e32","bounds":{"x":510,"y":120,"width":200,"height":100}},{"id":"9c161d73-363b-4fce-bf55-c8557386c30f","name":"Save Recipe","type":"UseCase","owner":"c1660237-4f72-49a5-8e28-39a882e19e32","bounds":{"x":840,"y":120,"width":200,"height":100}}],"relationships":[{"id":"7b5e8013-c2cf-4ecc-967f-9ce713894f9d","name":"","type":"UseCaseAssociation","owner":null,"bounds":{"x":90,"y":370,"width":100,"height":1},"path":[{"x":0,"y":0},{"x":100,"y":0}],"source":{"direction":"Right","element":"265207df-b024-4537-b05d-ae2bcd4304f6"},"target":{"direction":"Left","element":"a9d47cd9-cfd2-41d3-a6e7-78e8c4d658a5"}},{"id":"9300498a-9640-4b81-82af-3ca472b15bd9","name":"","type":"UseCaseInclude","owner":null,"bounds":{"x":710,"y":560,"width":140,"height":1},"path":[{"x":0,"y":0},{"x":140,"y":0}],"source":{"direction":"Right","element":"7dcb2094-7dbe-4ac8-b10f-e61eaab62b78"},"target":{"direction":"Left","element":"82b06ee8-645b-4015-8323-bdcbfba06e00"}},{"id":"231ecf23-f685-4607-a9af-d9bb46b6cb7e","name":"","type":"UseCaseInclude","owner":null,"bounds":{"x":700,"y":370,"width":140,"height":1},"path":[{"x":0,"y":0},{"x":140,"y":0}],"source":{"direction":"Right","element":"6933e639-051a-44e7-bc17-b4d805902ff6"},"target":{"direction":"Left","element":"799c4d99-4ec1-4c78-90bb-ecf13980a951"}},{"id":"ce8a4b16-80e2-4afc-81c4-fa2f6321e24c","name":"","type":"UseCaseAssociation","owner":null,"bounds":{"x":390,"y":370,"width":110,"height":1},"path":[{"x":0,"y":0},{"x":110,"y":0}],"source":{"direction":"Right","element":"a9d47cd9-cfd2-41d3-a6e7-78e8c4d658a5"},"target":{"direction":"Left","element":"6933e639-051a-44e7-bc17-b4d805902ff6"}},{"id":"3968e231-5cfa-4e8b-b192-ebe6f2e9474c","name":"","type":"UseCaseAssociation","owner":null,"bounds":{"x":390,"y":370,"width":120,"height":190},"path":[{"x":0,"y":0},{"x":120,"y":190}],"source":{"direction":"Right","element":"a9d47cd9-cfd2-41d3-a6e7-78e8c4d658a5"},"target":{"direction":"Left","element":"7dcb2094-7dbe-4ac8-b10f-e61eaab62b78"}},{"id":"608f5e56-f0af-4e3b-8300-1a7d7396ea72","name":"","type":"UseCaseAssociation","owner":null,"bounds":{"x":390,"y":170,"width":120,"height":200},"path":[{"x":120,"y":0},{"x":0,"y":200}],"source":{"direction":"Left","element":"8433e559-0b11-411b-818f-61242ec06db6"},"target":{"direction":"Right","element":"a9d47cd9-cfd2-41d3-a6e7-78e8c4d658a5"}},{"id":"3ff9d786-8a37-4112-80ca-2e32a875b73a","name":"","type":"UseCaseInclude","owner":null,"bounds":{"x":710,"y":170,"width":130,"height":1},"path":[{"x":0,"y":0},{"x":130,"y":0}],"source":{"direction":"Right","element":"8433e559-0b11-411b-818f-61242ec06db6"},"target":{"direction":"Left","element":"9c161d73-363b-4fce-bf55-c8557386c30f"}}],"assessments":[]}} \ No newline at end of file diff --git a/documentation/UseCaseDiagramNew.PNG b/documentation/UseCaseDiagramNew.PNG new file mode 100644 index 0000000..b64dc67 Binary files /dev/null and b/documentation/UseCaseDiagramNew.PNG differ diff --git a/documentation/UseCaseDiagramNew.pdf b/documentation/UseCaseDiagramNew.pdf new file mode 100644 index 0000000..a21f19a Binary files /dev/null and b/documentation/UseCaseDiagramNew.pdf differ