@@ -722,108 +722,109 @@ Methods
722722Auth
723723--------------------------------------------------------------------------------
724724
725- +--------------------------------------------------------------------------------
725+ +--------------------------------------------------------------------------------------------------------------+
726726| Method | URL | Meaning / Entity Body |
727727+==============+======================================+========================================================+
728728| **POST ** | ``/fireedge/api/auth `` | Authenticate user by credentials. |
729- +--------------------------------------------------------------------------------
729+ +--------------------------------------------------------------------------------------------------------------+
730730| **POST ** | ``/fireedge/api/tfa `` | Set the Two factor authentication (2FA). |
731- +--------------------------------------------------------------------------------
731+ +--------------------------------------------------------------------------------------------------------------+
732732| **GET ** | ``/fireedge/api/tfa `` | **Show ** the QR code resource. |
733- +--------------------------------------------------------------------------------
733+ +--------------------------------------------------------------------------------------------------------------+
734734| **DELETE ** | ``/fireedge/api/tfa `` | **Delete ** the QR code resource. |
735- +--------------------------------------------------------------------------------
735+ +--------------------------------------------------------------------------------------------------------------+
736+
736737
737738File
738739--------------------------------------------------------------------------------
739740
740- +--------------------------------------------------------------------------------
741+ +--------------------------------------------------------------------------------------------------------------+
741742| Method | URL | Meaning / Entity Body |
742743+==============+======================================+========================================================+
743744| **GET ** | ``/fireedge/api/files `` | **List ** the files collection. |
744- +--------------------------------------------------------------------------------
745+ +--------------------------------------------------------------------------------------------------------------+
745746| **GET ** | ``/fireedge/api/files/<id> `` | **Show ** the file identified by <id>. |
746- +--------------------------------------------------------------------------------
747+ +--------------------------------------------------------------------------------------------------------------+
747748| **POST ** | ``/fireedge/api/files `` | **Create ** a new file. |
748- +--------------------------------------------------------------------------------
749+ +--------------------------------------------------------------------------------------------------------------+
749750| **PUT ** | ``/fireedge/api/files/<id> `` | **Update ** the file identified by <id>. |
750- +--------------------------------------------------------------------------------
751+ +--------------------------------------------------------------------------------------------------------------+
751752| **DELETE ** | ``/fireedge/api/files/<id> `` | **Delete ** the file identified by <id>. |
752- +--------------------------------------------------------------------------------
753+ +--------------------------------------------------------------------------------------------------------------+
753754
754755OneFlow
755756--------------------------------------------------------------------------------
756757
757- +--------------------------------------------------------------------------------
758+ +-------------------------------------------------------------------------------------------------------------------------------------------------------+
758759| Method | URL | Meaning / Entity Body |
759760+==============+===============================================================+========================================================================+
760761| **GET ** | ``/fireedge/api/service_template `` | **List ** the service template collection. |
761- +--------------------------------------------------------------------------------
762+ +-------------------------------------------------------------------------------------------------------------------------------------------------------+
762763| **GET ** | ``/fireedge/api/service_template/<id> `` | **Show ** the service template identified by <id>. |
763- +--------------------------------------------------------------------------------
764+ +-------------------------------------------------------------------------------------------------------------------------------------------------------+
764765| **POST ** | ``/fireedge/api/service_template `` | **Create ** a new service template. |
765- +--------------------------------------------------------------------------------
766+ +-------------------------------------------------------------------------------------------------------------------------------------------------------+
766767| **PUT ** | ``/fireedge/api/service_template/<id> `` | **Update ** the service template identified by <id>. |
767- +--------------------------------------------------------------------------------
768+ +-------------------------------------------------------------------------------------------------------------------------------------------------------+
768769| **DELETE ** | ``/fireedge/api/service_template/<id> `` | **Delete ** the service template identified by <id>. |
769- +--------------------------------------------------------------------------------
770+ +-------------------------------------------------------------------------------------------------------------------------------------------------------+
770771
771- +--------------------------------------------------------------------------------
772+ +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
772773| Method | URL | Meaning / Entity Body |
773774+==============+===============================================================+=====================================================================================================+
774775| **GET ** | ``/fireedge/api/service `` | **List ** the service collection. |
775- +--------------------------------------------------------------------------------
776+ +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
776777| **GET ** | ``/fireedge/api/service/<id> `` | **Show ** the service identified by <id>. |
777- +--------------------------------------------------------------------------------
778+ +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
778779| **POST ** | ``/fireedge/api/service `` | **Create ** a new service. |
779- +--------------------------------------------------------------------------------
780+ +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
780781| **PUT ** | ``/fireedge/api/service/<id> `` | **Update ** the service identified by <id>. |
781- +--------------------------------------------------------------------------------
782+ +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
782783| **DELETE ** | ``/fireedge/api/service/<id> `` | **Delete ** the service identified by <id>. |
783- +--------------------------------------------------------------------------------
784+ +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
784785| **POST ** | ``/fireedge/api/service/action/<id> `` | **Perform ** an action on the service identified by <id>. |
785- +--------------------------------------------------------------------------------
786+ +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
786787| **POST ** | ``/fireedge/api/service/scale/<id> `` | **Perform ** an scale on the service identified by <id>. |
787- +--------------------------------------------------------------------------------
788+ +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
788789| **POST ** | ``/fireedge/api/service/role_action/<role_id>/<id> `` | **Perform ** an action on all the VMs belonging to the role to the service identified both by <id>. |
789- +--------------------------------------------------------------------------------
790+ +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
790791| **POST ** | ``/fireedge/api/service/sched_action/<id> `` | **Create ** a new schedule action on the service identified by <id>. |
791- +--------------------------------------------------------------------------------
792+ +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
792793| **PUT ** | ``/fireedge/api/service/sched_action/<sched_action_id>/<id> `` | **Update ** the schedule action on the service identified both by <id>. |
793- +--------------------------------------------------------------------------------
794+ +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
794795| **DELETE ** | ``/fireedge/api/service/sched_action/<sched_action_id>/<id> `` | **Delete ** the schedule action on the service identified both by <id>. |
795- +--------------------------------------------------------------------------------
796+ +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
796797
797798Sunstone
798799--------------------------------------------------------------------------------
799800
800- +--------------------------------------------------------------------------------
801+ +----------------------------------------------------------------------------------------------------------------+
801802| Method | URL | Meaning / Entity Body |
802803+==============+=======================================+=========================================================+
803804| **GET ** | ``/fireedge/api/sunstone/views `` | **Get ** the Sunstone view. |
804- +--------------------------------------------------------------------------------
805+ +----------------------------------------------------------------------------------------------------------------+
805806| **GET ** | ``/fireedge/api/sunstone/config `` | **Get ** the Sunstone config. |
806- +--------------------------------------------------------------------------------
807+ +----------------------------------------------------------------------------------------------------------------+
807808
808809
809810Zendesk
810811--------------------------------------------------------------------------------
811812
812- +--------------------------------------------------------------------------------
813+ +-----------------------------------------------------------------------------------------------------------------+
813814| Method | URL | Meaning / Entity Body |
814815+==============+=============================================+====================================================+
815816| **POST ** | ``/fireedge/api/zendesk/login `` | Authenticate user by credentials. |
816- +--------------------------------------------------------------------------------
817+ +-----------------------------------------------------------------------------------------------------------------+
817818| **GET ** | ``/fireedge/api/zendesk `` | **List ** the tickets collection. |
818- +--------------------------------------------------------------------------------
819+ +-----------------------------------------------------------------------------------------------------------------+
819820| **GET ** | ``/fireedge/api/zendesk/<id> `` | **Show ** the ticket identified by <id>. |
820- +--------------------------------------------------------------------------------
821+ +-----------------------------------------------------------------------------------------------------------------+
821822| **GET ** | ``/fireedge/api/zendesk/comments/<id> `` | **List ** the ticket's comments identified by <id>. |
822- +--------------------------------------------------------------------------------
823+ +-----------------------------------------------------------------------------------------------------------------+
823824| **POST ** | ``/fireedge/api/zendesk `` | **Create ** a new ticket. |
824- +--------------------------------------------------------------------------------
825+ +-----------------------------------------------------------------------------------------------------------------+
825826| **PUT ** | ``/fireedge/api/zendesk/<id> `` | **Update ** the ticket identified by <id>. |
826- +--------------------------------------------------------------------------------
827+ +-----------------------------------------------------------------------------------------------------------------+
827828
828829
829830Frontend Architecture
@@ -886,11 +887,11 @@ Using the view files as a starting point, the interface generates the available
886887
887888Through each tab in the sidebar you can control and manage OpenNebula resources. All tabs should have a folder in the containers directory ``src/client/containers `` and enabled the route in ``src/client/apps/sunstone/routesOne.js ``.
888889
889- +--------------------------------------------------------------------------------
890+ +---------------------------------------------------------------------------------------------------------------------------------------+
890891| Property | Description |
891892+====================================+==================================================================================================+
892893| ``resource_name `` | Reference to ``RESOURCE_NAMES `` in ``src/client/constants/index.js `` |
893- +--------------------------------------------------------------------------------
894+ +---------------------------------------------------------------------------------------------------------------------------------------+
894895
895896.. note ::
896897
0 commit comments