- Jun 01, 2022
-
-
Lars Johansson authored
-
Lars Johansson authored
-
- May 05, 2022
-
-
Lars Johansson authored
Assignments should not be redundant Collection sizes and array length comparisons should make sense Conditionally executed code should be reachable Empty arrays and collections should be returned instead of null Local variables should not shadow class fields Null pointers should not be dereferenced Pattern Matching for "instanceof" operator should be used instead of simple "instanceof" + cast Return of boolean expressions should not be wrapped into an "if-then-else" statement Sections of code should not be commented out "switch" statements should have at least 3 "case" clauses Two branches in a conditional structure should not have exactly the same implementation
-
Lars Johansson authored
Declarations should use Java collection interfaces such as "List" rather than specific implementation classes such as "LinkedList" Empty statements should be removed JUnit assertTrue/assertFalse should be simplified to the corresponding dedicated assertion JUnit5 test classes and methods should have default package visibility Methods and field names should not be the same or differ only by capitalization Nested "enum"s should not be declared static
-
- May 04, 2022
-
-
Lars Johansson authored
-
Lars Johansson authored
Update REST API with response codes for endpoints. Set http status codes corresponding to exceptions.
-
Lars Johansson authored
Handle exceptions in service and controller layers. Translate exceptions to http status codes in global exception handler.
-
- May 03, 2022
-
-
Lars Johansson authored
-
Lars Johansson authored
-
- May 02, 2022
-
-
Lars Johansson authored
Status code 201 Created.
-
- Apr 29, 2022
-
-
Lars Johansson authored
-
- Apr 28, 2022
-
-
Lars Johansson authored
Update spring framework boot version to 2.6.7. Update springdoc version to 1.6.8.
-
- Apr 21, 2022
-
-
Lars Johansson authored
-
Lars Johansson authored
Rename package for beans. Remove unused beans.
-
Lars Johansson authored
-
- Apr 19, 2022
-
-
Lars Johansson authored
-
Lars Johansson authored
-
Lars Johansson authored
-
Lars Johansson authored
Update and add tests-
-
Lars Johansson authored
-
Lars Johansson authored
-
- Apr 08, 2022
-
-
Lars Johansson authored
-
- Apr 05, 2022
-
-
Lars Johansson authored
-
Lars Johansson authored
-
Lars Johansson authored
Purpose of Naming to (default) show valid entries. Therefore exclude some values unless history requested. Make sure to not exclude present and future values.
-
- Apr 01, 2022
-
-
Lars Johansson authored
-
- Mar 31, 2022
-
-
Lars Johansson authored
Change functions for mnemonic path for system, subsystem. Change and add to docker integration tests.
-
Lars Johansson authored
Change mnemonic path for structure elements to system group, system, system + subsystem
-
Lars Johansson authored
Change name element to refer to parentsystemstructure and parentdevicestructure (uuid) instead of system group, system, subsystem, device type (uuid). For system structure, change 3 fields to 1 field (system group, system, subsystem to parent system structure). For device structure, change 1 field to 1 field (device type to parent device structure).
-
Lars Johansson authored
To package org.openepics.names.rest.beans.response From package org.openepics.names.util.response
-
Lars Johansson authored
-
Lars Johansson authored
Purpose to improve clarity and prepare for easier testing of REST API.
-
Lars Johansson authored
Allow one pending entry for uuid, mnemonic, mnemonic equivalence. Update validation to consider status together with mnemonic, mnemonic validation. Multiple pending entries per uuid no longer allowed. Update docker integration tests accordingly.
-
Lars Johansson authored
Correct docker integration tests for structures for delete approve. Refactor docker integration tests.
-
Lars Johansson authored
-
Lars Johansson authored
-
- Mar 08, 2022
-
-
Anders Harrisson authored
-
- Mar 03, 2022
-
-
Anders Harrisson authored
JIRA INFRA-4886
-
Lars Johansson authored
-
Lars Johansson authored
-