Skip to content

Commit

Permalink
Merge branch 'development'
Browse files Browse the repository at this point in the history
  • Loading branch information
jannikbuschke committed Sep 12, 2017
2 parents 8261e3f + 744e4d0 commit ced53fc
Show file tree
Hide file tree
Showing 54 changed files with 981 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Changelog.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Changelog
==============================

.. csv-table::
:header: "Version","TicketId","Product","Description"
:widths: 10, 10, 15,70

"0.1.0", "None", "OPS", "alpha version"

94 changes: 94 additions & 0 deletions DatabaseSetup.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
==============
Database Setup
==============

.. contents:: `In this article:`
:depth: 2
:local:


--------
ops-auth
--------

The module requires an MS SQL Server and database that provides the mapping between Windows domain roles and OPS roles. The connection to the database can be specified in the modules Web.config DefaultConnectionString node. The connection strings property "integrated security" SHOULD have the value "true", the "provider name" property SHOULD have the value "System.Data.EntityClient".
Under the node appSettings the value of "DomainName" MUST have the name of the windows domain.

example Web.config

.. code-block:: xml
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<appSettings>
<add key="DomainName" value="phatconsulting.group" />
</appSettings>
<connectionStrings>
<add name="DefaultConnectionString" connectionString="data source=simsrv042;initial catalog=SIM_OPS_R042;integrated security=True;MultipleActiveResultSets=True;" providerName="System.Data.EntityClient" />
</connectionStrings>
<system.web>
<authentication mode="Windows" />
<compilation targetFramework="4.6.1">
<assemblies>
<add assembly="System.Security, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
<add assembly="System.DirectoryServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
<add assembly="System.DirectoryServices.AccountManagement, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
</assemblies>
</compilation>
<httpRuntime targetFramework="4.5.2" />
</system.web>
</configuration>
<!--ProjectGuid: b03c2d11-e5ac-4242-a5c2-862a3787e00a-->
The auth module expects a Table named "Role_Group" with columns "RoleId" (uniqueidentifier, not null) and "GroupName" (varchar, not null) in the given database. The Groupname is the name of a windows domain group. The RoleId is the id of a SIM/OPS role. The corresponding Role table is not used by the auth module and therefore CAN be absent.


-------
ops-api
-------




The ops-api module expects following tables and relationships:


**Role** table:

====== ===============================
Column Type
====== ===============================
Id PK, uniqueidentifier, not null
Name Name, varchar(1000), not null
====== ===============================


any number of **Item** tables: (name can be chosen arbitrarily)

======== ===============================
Column Type
======== ===============================
Id PK, uniqueidentifier, not null
ItemType varchar(15), not null
======== ===============================


foreach **Item** table there MUST be exactly one corresponding **Item_Role** table (name can be chosen arbitrarily), that defines a many-to-many relationship between the corresponding **Item** table and the **Role** table:

======== ===========================================
Column Type
======== ===========================================
RoleId FK Role(Id), uniqueidentifier, not null
ItemId FK **Item**(Id), uniqueidentifier, not null
======== ===========================================
.. note:: database conventions
SIM (usually) uses

- singular for table names (for example "Application" instead of "Applications")
- "Id" as the name for the PRIMARY KEY
- The GUID/uniqueidentifier type for the PRIMARY KEY column
- The names of the involved tables seperated by an underscore in a many to many relationship (for example "Computer_Role")
- Tablename + "Id" for FOREIGN KEYS (for example "RoleId")
73 changes: 73 additions & 0 deletions Installation.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
=============
Installation
=============

.. contents:: `In this article:`
:depth: 2
:local:


--------
ops-auth
--------


The module needs to be installed as an IIS application for a website. The websites url needs to be known by SIM before compiling the application.

+-----------------------------------------+-------------------------------------------------+
| Applicationname | auth |
+-----------------+-----------------------+-------------------------------------------------+
| | .NET CLR Version | v4.0.30319 |
| +-----------------------+-------------------------------------------------+
| Applicationpool | Managed pipeline mode | Integrated |
| +-----------------------+-------------------------------------------------+
| | Identity | Custom account with read access to the database |
+-----------------+-----------------------+-------------------------------------------------+
| Authentication | Only anonymous authentication enabled |
+-----------------------------------------+-------------------------------------------------+


-------
ops-api
-------

The module needs to be installed as an IIS application for a website. The websites url needs to be known by SIM before compiling the application.


+---------------------------------------+-----------------------------------------------+
|Applicationname |ops-api |
+----------------+----------------------+-----------------------------------------------+
| |.NET CLR Version |No Managed Code |
| +----------------------+-----------------------------------------------+
|Applicationpool |Managed pipeline mode |Integrated |
| +----------------------+-----------------------------------------------+
| |Identity |Custom account with read access to the database|
+----------------+----------------------+-----------------------------------------------+
|Authentication |Only anonymous authentication enabled |
+---------------------------------------+-----------------------------------------------+


IIS Modules
^^^^^^^^^^^

The AspNetCoreModule module needs to be activated for this application.


--------------------
ops-webapp / ops-web
--------------------

The ops-webapp can be hosted in any webserver.
If it is hosted in IIS the following settings apply:

+---------------------------------------+-----------------------------------------------+
|Applicationname |ops or ops-web or ops-webapp |
+----------------+----------------------+-----------------------------------------------+
| |.NET CLR Version |v4.0.30319 |
| +----------------------+-----------------------------------------------+
|Applicationpool |Managed pipeline mode |Integrated |
| +----------------------+-----------------------------------------------+
| |Identity |Applicationpool Identity |
+----------------+----------------------+-----------------------------------------------+
|Authentication |Only anonymous authentication enabled |
+---------------------------------------+-----------------------------------------------+
46 changes: 46 additions & 0 deletions Introduction.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
============
Introduction
============

.. contents:: `In this article:`
:depth: 2
:local:



OPS Module overview
===================

The OPS (Operations) Module enables users to view the current state of different domain entities (such as Computers, Applications, Users etc.) and allows to invoke actions (such as WakeOnLan, Install Application etc.) on these entities.

Access to OPS is controled by the SIM access control system (domain groups are mapped to SIM roles).


The OPS Module consists of three seperate applications: ops-auth, ops-api and ops-webapp. The end-user will only deal with ops-webapp (the frontend), whereas administrators also need to configure ops-auth and ops-api (the backend).
The OPS Module actions that can be invoked for the domain entities are delegated to v5/v6 Forms. Therefore the OPS Module has a dependency on v5/v6.



ops-auth
--------

The ops-auth module (or simpler just auth module) is a service to retrieve OPS user roles (not Windows or Azure AD roles).

.. warning:: Note.
The ops-auth module will be replaced in the near future



ops-api
-------

The ops-api module is a service that provides access to one or more sql tables as well as defines the views and actions that will be shown in its clients (for example the ops-webapp).
Access to the data, the views and actions is determined by SIM roles.



ops-webapp / ops-web
--------------------

ops-webapp is the frontend that end-users will use to view entities and invoke actions on them. The views and actions that are available are configured in ops-api.

26 changes: 26 additions & 0 deletions Requirements.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
============
Requirements
============



Serverside
^^^^^^^^^^

+----------+---------------------------+--------------------------------------------+----------------------+------------------------+
|Name | Technologie | Operating System | Webserver | .NET Framework |
+==========+===========================+============================================+======================+========================+
| ops-api | ASP.NET | Windows 7, Windows Server 2012 (or higher) | IIS 8 (or higher) | 4.5.2 (or higher) |
+----------+---------------------------+--------------------------------------------+----------------------+------------------------+
| ops-auth | ASP.NET Core | Windows 7, Windows Server 2012 (or higher) | IIS 8 (or higher) | 4.5.2 (or higher) |
+----------+---------------------------+--------------------------------------------+----------------------+------------------------+
| ops-web | static webpage (HTML5/JS) | any modern OS | any modern webserver | not required | +----------+---------------------------+--------------------------------------------+----------------------+------------------------+


Clientside
^^^^^^^^^^

any modern browser SHOULD work.


.. improtant:: this chapter needs more details
11 changes: 11 additions & 0 deletions Support.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Support
=======

If you have further questions regarding our products or the documentation contact us:

* Tel. : +49 40 - 226 383 160
* E-Mail : Support@SilverMonkey.net

If you need general Information about our Products visit:
http://www.SilverMonkey.net

Binary file added _static/design/Fonts/2D63AC_0_0.eot
Binary file not shown.
Binary file added _static/design/Fonts/2D63AC_0_0.ttf
Binary file not shown.
Binary file added _static/design/Fonts/2D63AC_0_0.woff
Binary file not shown.
Binary file added _static/design/Fonts/2D63AC_0_0.woff2
Binary file not shown.
Binary file added _static/design/Fonts/2D63AC_1_0.eot
Binary file not shown.
Binary file added _static/design/Fonts/2D63AC_1_0.ttf
Binary file not shown.
Binary file added _static/design/Fonts/2D63AC_1_0.woff
Binary file not shown.
Binary file added _static/design/Fonts/2D63AC_1_0.woff2
Binary file not shown.
Binary file added _static/design/Fonts/2D63AC_2_0.eot
Binary file not shown.
Binary file added _static/design/Fonts/2D63AC_2_0.ttf
Binary file not shown.
Binary file added _static/design/Fonts/2D63AC_2_0.woff
Binary file not shown.
Binary file added _static/design/Fonts/2D63AC_2_0.woff2
Binary file not shown.
Binary file added _static/design/Fonts/2D63AC_3_0.eot
Binary file not shown.
Binary file added _static/design/Fonts/2D63AC_3_0.ttf
Binary file not shown.
Binary file added _static/design/Fonts/2D63AC_3_0.woff
Binary file not shown.
Binary file added _static/design/Fonts/2D63AC_3_0.woff2
Binary file not shown.
Binary file added _static/design/Fonts/2D63AC_4_0.eot
Binary file not shown.
Binary file added _static/design/Fonts/2D63AC_4_0.ttf
Binary file not shown.
Binary file added _static/design/Fonts/2D63AC_4_0.woff
Binary file not shown.
Binary file added _static/design/Fonts/2D63AC_4_0.woff2
Binary file not shown.
Binary file added _static/design/FontsNoHinting/2D63AB_0_0.eot
Binary file not shown.
Binary file added _static/design/FontsNoHinting/2D63AB_0_0.ttf
Binary file not shown.
Binary file added _static/design/FontsNoHinting/2D63AB_0_0.woff
Binary file not shown.
Binary file added _static/design/FontsNoHinting/2D63AB_0_0.woff2
Binary file not shown.
Binary file added _static/design/FontsNoHinting/2D63AB_1_0.eot
Binary file not shown.
Binary file added _static/design/FontsNoHinting/2D63AB_1_0.ttf
Binary file not shown.
Binary file added _static/design/FontsNoHinting/2D63AB_1_0.woff
Binary file not shown.
Binary file added _static/design/FontsNoHinting/2D63AB_1_0.woff2
Binary file not shown.
Binary file added _static/design/FontsNoHinting/2D63AB_2_0.eot
Binary file not shown.
Binary file added _static/design/FontsNoHinting/2D63AB_2_0.ttf
Binary file not shown.
Binary file added _static/design/FontsNoHinting/2D63AB_2_0.woff
Binary file not shown.
Binary file added _static/design/FontsNoHinting/2D63AB_2_0.woff2
Binary file not shown.
Binary file added _static/design/FontsNoHinting/2D63AB_3_0.eot
Binary file not shown.
Binary file added _static/design/FontsNoHinting/2D63AB_3_0.ttf
Binary file not shown.
Binary file added _static/design/FontsNoHinting/2D63AB_3_0.woff
Binary file not shown.
Binary file added _static/design/FontsNoHinting/2D63AB_3_0.woff2
Binary file not shown.
Binary file added _static/design/FontsNoHinting/2D63AB_4_0.eot
Binary file not shown.
Binary file added _static/design/FontsNoHinting/2D63AB_4_0.ttf
Binary file not shown.
Binary file added _static/design/FontsNoHinting/2D63AB_4_0.woff
Binary file not shown.
Binary file added _static/design/FontsNoHinting/2D63AB_4_0.woff2
Binary file not shown.
35 changes: 35 additions & 0 deletions _static/design/Logo.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit ced53fc

Please sign in to comment.