Summary of Google Summer of Code with Project PANOPTES
Main goals for three month period of work:
- Inject the last principle of the SOLID principles - Dependency-Inversion-Principle into main class that consist of the small other classes. Observatory class is the main class which consists from
mount
,dome
,scheduler
andcameras
. My task was to make the main class to be independent from other classes that he depends on.
What was done before me:
- Creation of
camera
class was moved outside of Observatory class, and proper method to add cameras into the main class was created.
What was done by me:
-
Creation of
mount
class was moved outside of Observatory class, and proper method to add mount into the main class (add_mount
) was created. -
Creation of
scheduler
class was moved outside of Observatory class, and proper method to add scheduler into the main class (add_scheduler
) was created. -
Creation of
dome
class was moved outside of Observatory class, and proper method to add dome into the main class (add_dome
) was created. -
For each modification of code, I had to change and add new unit-tests to make them work properly without errors because of the new modifications.
-
Everysingle changes above were merged.
What was left to do:
- Mr. Wilfred (one of my mentors) doing a big pull request to move everything into docker. My changes also required to modify file called
pocs_shell
. However, this file can be tested using hardware which I didn’t have. Also, he already modified this file in his pull request which will move everything into docker.