Merge "[docs] Add Domain model implementation sub-section"
This commit is contained in:
commit
84e9d0b768
134
doc/source/domain_implementation.rst
Normal file
134
doc/source/domain_implementation.rst
Normal file
@ -0,0 +1,134 @@
|
|||||||
|
..
|
||||||
|
Copyright 2016 OpenStack Foundation
|
||||||
|
All Rights Reserved.
|
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||||
|
not use this file except in compliance with the License. You may obtain
|
||||||
|
a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||||
|
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||||
|
License for the specific language governing permissions and limitations
|
||||||
|
under the License.
|
||||||
|
|
||||||
|
==================================
|
||||||
|
Glance domain model implementation
|
||||||
|
==================================
|
||||||
|
|
||||||
|
Gateway and basic layers
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
The domain model contains the following layers:
|
||||||
|
|
||||||
|
#. :ref:`authorization`
|
||||||
|
#. :ref:`notifier`
|
||||||
|
#. :ref:`property`
|
||||||
|
#. :ref:`policy`
|
||||||
|
#. :ref:`quota`
|
||||||
|
#. :ref:`location`
|
||||||
|
#. :ref:`database`
|
||||||
|
|
||||||
|
The schema below shows a stack that contains the Image domain layers and
|
||||||
|
their locations:
|
||||||
|
|
||||||
|
.. figure:: /images/glance_layers.png
|
||||||
|
:figwidth: 100%
|
||||||
|
:align: center
|
||||||
|
:alt: Image domain layers
|
||||||
|
|
||||||
|
.. _authorization:
|
||||||
|
|
||||||
|
Authorization
|
||||||
|
-------------
|
||||||
|
|
||||||
|
The first layer of the domain model provides a verification of whether an
|
||||||
|
image itself or its property can be changed. An admin or image owner can
|
||||||
|
apply the changes. The information about a user is taken from the request
|
||||||
|
``context`` and is compared with the image ``owner``. If the user cannot
|
||||||
|
apply a change, a corresponding error message appears.
|
||||||
|
|
||||||
|
.. _property:
|
||||||
|
|
||||||
|
Property protection
|
||||||
|
-------------------
|
||||||
|
|
||||||
|
The second layer of the domain model is optional. It becomes available if you
|
||||||
|
set the ``property_protection_file`` parameter in the Glance configuration
|
||||||
|
file.
|
||||||
|
|
||||||
|
There are two types of image properties in Glance:
|
||||||
|
|
||||||
|
* *Core properties*, as specified in the image schema
|
||||||
|
* *Meta properties*, which are the arbitrary key/value pairs that can be added
|
||||||
|
to an image
|
||||||
|
|
||||||
|
The property protection layer manages access to the meta properties
|
||||||
|
through Glance’s public API calls. You can restrict the access in the
|
||||||
|
property protection configuration file.
|
||||||
|
|
||||||
|
.. _notifier:
|
||||||
|
|
||||||
|
Notifier
|
||||||
|
--------
|
||||||
|
|
||||||
|
On the third layer of the domain model, the following items are added to
|
||||||
|
the message queue:
|
||||||
|
|
||||||
|
#. Notifications about all of the image changes
|
||||||
|
#. All of the exceptions and warnings that occurred while using an image
|
||||||
|
|
||||||
|
.. _policy:
|
||||||
|
|
||||||
|
Policy
|
||||||
|
------
|
||||||
|
|
||||||
|
The fourth layer of the domain model is responsible for:
|
||||||
|
|
||||||
|
#. Defining access rules to perform actions with an image. The rules are
|
||||||
|
defined in the :file:`etc/policy.json` file.
|
||||||
|
#. Monitoring of the rules implementation.
|
||||||
|
|
||||||
|
.. _quota:
|
||||||
|
|
||||||
|
Quota
|
||||||
|
-----
|
||||||
|
|
||||||
|
On the fifth layer of the domain model, if a user has an admin-defined size
|
||||||
|
quota for all of his uploaded images, there is a check that verifies whether
|
||||||
|
this quota exceeds the limit during an image upload and save:
|
||||||
|
|
||||||
|
* If the quota does not exceed the limit, then the action to add an image
|
||||||
|
succeeds.
|
||||||
|
* If the quota exceeds the limit, then the action does not succeed and a
|
||||||
|
corresponding error message appears.
|
||||||
|
|
||||||
|
.. _location:
|
||||||
|
|
||||||
|
Location
|
||||||
|
--------
|
||||||
|
|
||||||
|
The sixth layer of the domain model is used for interaction with the store via
|
||||||
|
the ``glance_store`` library, like upload and download, and for managing an
|
||||||
|
image location. On this layer, an image is validated before the upload. If
|
||||||
|
the validation succeeds, an image is written to the ``glance_store`` library.
|
||||||
|
|
||||||
|
This sixth layer of the domain model is responsible for:
|
||||||
|
|
||||||
|
#. Checking whether a location URI is correct when a new location is added
|
||||||
|
#. Removing image data from the store when an image location is changed
|
||||||
|
#. Preventing image location duplicates
|
||||||
|
|
||||||
|
.. _database:
|
||||||
|
|
||||||
|
Database
|
||||||
|
--------
|
||||||
|
|
||||||
|
On the seventh layer of the domain model:
|
||||||
|
|
||||||
|
* The methods to interact with the database API are implemented.
|
||||||
|
* Images are converted to the corresponding format to be recorded in the
|
||||||
|
database. And the information received from the database is
|
||||||
|
converted to an Image object.
|
BIN
doc/source/images/glance_layers.png
Normal file
BIN
doc/source/images/glance_layers.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 32 KiB |
363
doc/source/images_src/glance_layers.graphml
Normal file
363
doc/source/images_src/glance_layers.graphml
Normal file
@ -0,0 +1,363 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<graphml xmlns="http://graphml.graphdrawing.org/xmlns" xmlns:java="http://www.yworks.com/xml/yfiles-common/1.0/java" xmlns:sys="http://www.yworks.com/xml/yfiles-common/markup/primitives/2.0" xmlns:x="http://www.yworks.com/xml/yfiles-common/markup/2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:y="http://www.yworks.com/xml/graphml" xmlns:yed="http://www.yworks.com/xml/yed/3" xsi:schemaLocation="http://graphml.graphdrawing.org/xmlns http://www.yworks.com/xml/schema/graphml/1.1/ygraphml.xsd">
|
||||||
|
<!--Created by yEd 3.14.4-->
|
||||||
|
<key attr.name="Description" attr.type="string" for="graph" id="d0"/>
|
||||||
|
<key for="port" id="d1" yfiles.type="portgraphics"/>
|
||||||
|
<key for="port" id="d2" yfiles.type="portgeometry"/>
|
||||||
|
<key for="port" id="d3" yfiles.type="portuserdata"/>
|
||||||
|
<key attr.name="url" attr.type="string" for="node" id="d4"/>
|
||||||
|
<key attr.name="description" attr.type="string" for="node" id="d5"/>
|
||||||
|
<key for="node" id="d6" yfiles.type="nodegraphics"/>
|
||||||
|
<key for="graphml" id="d7" yfiles.type="resources"/>
|
||||||
|
<key attr.name="url" attr.type="string" for="edge" id="d8"/>
|
||||||
|
<key attr.name="description" attr.type="string" for="edge" id="d9"/>
|
||||||
|
<key for="edge" id="d10" yfiles.type="edgegraphics"/>
|
||||||
|
<graph edgedefault="directed" id="G">
|
||||||
|
<data key="d0"/>
|
||||||
|
<node id="n0">
|
||||||
|
<data key="d6">
|
||||||
|
<y:ShapeNode>
|
||||||
|
<y:Geometry height="235.33536000000004" width="36.0" x="499.72000000000025" y="182.57088"/>
|
||||||
|
<y:Fill color="#FFFFFF" transparent="false"/>
|
||||||
|
<y:BorderStyle color="#000000" type="line" width="1.0"/>
|
||||||
|
<y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="17.96875" modelName="custom" rotationAngle="270.0" textColor="#000000" visible="true" width="50.564453125" x="9.015625" y="92.38545343750002">Domain<y:LabelModel>
|
||||||
|
<y:SmartNodeLabelModel distance="4.0"/>
|
||||||
|
</y:LabelModel>
|
||||||
|
<y:ModelParameter>
|
||||||
|
<y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/>
|
||||||
|
</y:ModelParameter>
|
||||||
|
</y:NodeLabel>
|
||||||
|
<y:Shape type="rectangle"/>
|
||||||
|
</y:ShapeNode>
|
||||||
|
</data>
|
||||||
|
</node>
|
||||||
|
<node id="n1">
|
||||||
|
<data key="d6">
|
||||||
|
<y:ShapeNode>
|
||||||
|
<y:Geometry height="250.95488000000014" width="21.0" x="490.22000000000025" y="172.08511999999996"/>
|
||||||
|
<y:Fill color="#FFFFFF" transparent="false"/>
|
||||||
|
<y:BorderStyle hasColor="false" type="line" width="1.0"/>
|
||||||
|
<y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" hasText="false" height="4.0" modelName="custom" textColor="#000000" visible="true" width="4.0" x="8.5" y="123.47744000000006">
|
||||||
|
<y:LabelModel>
|
||||||
|
<y:SmartNodeLabelModel distance="4.0"/>
|
||||||
|
</y:LabelModel>
|
||||||
|
<y:ModelParameter>
|
||||||
|
<y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/>
|
||||||
|
</y:ModelParameter>
|
||||||
|
</y:NodeLabel>
|
||||||
|
<y:Shape type="rectangle"/>
|
||||||
|
</y:ShapeNode>
|
||||||
|
</data>
|
||||||
|
</node>
|
||||||
|
<node id="n2">
|
||||||
|
<data key="d6">
|
||||||
|
<y:GenericNode configuration="BevelNode">
|
||||||
|
<y:Geometry height="36.48000000000002" width="149.80000000000018" x="313.52" y="110.71999999999997"/>
|
||||||
|
<y:Fill color="#99CCFF" transparent="false"/>
|
||||||
|
<y:BorderStyle hasColor="false" type="line" width="1.0"/>
|
||||||
|
<y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="31.9375" modelName="custom" textColor="#000000" visible="true" width="100.5625" x="24.61875000000009" y="2.271250000000009">Router
|
||||||
|
api/v2/router.py<y:LabelModel>
|
||||||
|
<y:SmartNodeLabelModel distance="4.0"/>
|
||||||
|
</y:LabelModel>
|
||||||
|
<y:ModelParameter>
|
||||||
|
<y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/>
|
||||||
|
</y:ModelParameter>
|
||||||
|
</y:NodeLabel>
|
||||||
|
<y:StyleProperties>
|
||||||
|
<y:Property class="java.lang.Boolean" name="ModernNodeShadow" value="true"/>
|
||||||
|
</y:StyleProperties>
|
||||||
|
</y:GenericNode>
|
||||||
|
</data>
|
||||||
|
</node>
|
||||||
|
<node id="n3">
|
||||||
|
<data key="d6">
|
||||||
|
<y:GenericNode configuration="BevelNode">
|
||||||
|
<y:Geometry height="36.48000000000002" width="164.0" x="305.72000000000025" y="145.2"/>
|
||||||
|
<y:Fill color="#99CCFF" transparent="false"/>
|
||||||
|
<y:BorderStyle hasColor="false" type="line" width="1.0"/>
|
||||||
|
<y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="31.9375" modelName="custom" textColor="#000000" visible="true" width="57.666015625" x="53.1669921875" y="2.271250000000009">REST API
|
||||||
|
api/v2/*<y:LabelModel>
|
||||||
|
<y:SmartNodeLabelModel distance="4.0"/>
|
||||||
|
</y:LabelModel>
|
||||||
|
<y:ModelParameter>
|
||||||
|
<y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/>
|
||||||
|
</y:ModelParameter>
|
||||||
|
</y:NodeLabel>
|
||||||
|
<y:StyleProperties>
|
||||||
|
<y:Property class="java.lang.Boolean" name="ModernNodeShadow" value="true"/>
|
||||||
|
</y:StyleProperties>
|
||||||
|
</y:GenericNode>
|
||||||
|
</data>
|
||||||
|
</node>
|
||||||
|
<node id="n4">
|
||||||
|
<data key="d6">
|
||||||
|
<y:GenericNode configuration="BevelNode">
|
||||||
|
<y:Geometry height="36.48000000000002" width="188.0" x="293.72000000000025" y="181.68"/>
|
||||||
|
<y:Fill color="#99CCFF" transparent="false"/>
|
||||||
|
<y:BorderStyle hasColor="false" type="line" width="1.0"/>
|
||||||
|
<y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="31.9375" modelName="custom" textColor="#000000" visible="true" width="124.3984375" x="31.80078125" y="2.271250000000009">Auth
|
||||||
|
api/authorization.py<y:LabelModel>
|
||||||
|
<y:SmartNodeLabelModel distance="4.0"/>
|
||||||
|
</y:LabelModel>
|
||||||
|
<y:ModelParameter>
|
||||||
|
<y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/>
|
||||||
|
</y:ModelParameter>
|
||||||
|
</y:NodeLabel>
|
||||||
|
<y:StyleProperties>
|
||||||
|
<y:Property class="java.lang.Boolean" name="ModernNodeShadow" value="true"/>
|
||||||
|
</y:StyleProperties>
|
||||||
|
</y:GenericNode>
|
||||||
|
</data>
|
||||||
|
</node>
|
||||||
|
<node id="n5">
|
||||||
|
<data key="d6">
|
||||||
|
<y:GenericNode configuration="BevelNode">
|
||||||
|
<y:Geometry height="36.48000000000002" width="188.0" x="293.72000000000025" y="248.64000000000004"/>
|
||||||
|
<y:Fill color="#99CCFF" transparent="false"/>
|
||||||
|
<y:BorderStyle hasColor="false" type="line" width="1.0"/>
|
||||||
|
<y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="31.9375" modelName="custom" textColor="#000000" visible="true" width="65.39453125" x="61.302734375" y="2.271250000000009">Notifier
|
||||||
|
notifier.py<y:LabelModel>
|
||||||
|
<y:SmartNodeLabelModel distance="4.0"/>
|
||||||
|
</y:LabelModel>
|
||||||
|
<y:ModelParameter>
|
||||||
|
<y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/>
|
||||||
|
</y:ModelParameter>
|
||||||
|
</y:NodeLabel>
|
||||||
|
<y:StyleProperties>
|
||||||
|
<y:Property class="java.lang.Boolean" name="ModernNodeShadow" value="true"/>
|
||||||
|
</y:StyleProperties>
|
||||||
|
</y:GenericNode>
|
||||||
|
</data>
|
||||||
|
</node>
|
||||||
|
<node id="n6">
|
||||||
|
<data key="d6">
|
||||||
|
<y:GenericNode configuration="BevelNode">
|
||||||
|
<y:Geometry height="36.48000000000002" width="188.0" x="293.72000000000025" y="283.12000000000006"/>
|
||||||
|
<y:Fill color="#99CCFF" transparent="false"/>
|
||||||
|
<y:BorderStyle hasColor="false" type="line" width="1.0"/>
|
||||||
|
<y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="31.9375" modelName="custom" textColor="#000000" visible="true" width="80.20703125" x="53.896484375" y="2.271250000000009">Policy
|
||||||
|
api/policy.py<y:LabelModel>
|
||||||
|
<y:SmartNodeLabelModel distance="4.0"/>
|
||||||
|
</y:LabelModel>
|
||||||
|
<y:ModelParameter>
|
||||||
|
<y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/>
|
||||||
|
</y:ModelParameter>
|
||||||
|
</y:NodeLabel>
|
||||||
|
<y:StyleProperties>
|
||||||
|
<y:Property class="java.lang.Boolean" name="ModernNodeShadow" value="true"/>
|
||||||
|
</y:StyleProperties>
|
||||||
|
</y:GenericNode>
|
||||||
|
</data>
|
||||||
|
</node>
|
||||||
|
<node id="n7">
|
||||||
|
<data key="d6">
|
||||||
|
<y:GenericNode configuration="BevelNode">
|
||||||
|
<y:Geometry height="36.48000000000002" width="188.0" x="293.72000000000025" y="317.6000000000001"/>
|
||||||
|
<y:Fill color="#99CCFF" transparent="false"/>
|
||||||
|
<y:BorderStyle hasColor="false" type="line" width="1.0"/>
|
||||||
|
<y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="31.9375" modelName="custom" textColor="#000000" visible="true" width="104.177734375" x="41.9111328125" y="2.271250000000009">Quota
|
||||||
|
quota/__init__.py<y:LabelModel>
|
||||||
|
<y:SmartNodeLabelModel distance="4.0"/>
|
||||||
|
</y:LabelModel>
|
||||||
|
<y:ModelParameter>
|
||||||
|
<y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/>
|
||||||
|
</y:ModelParameter>
|
||||||
|
</y:NodeLabel>
|
||||||
|
<y:StyleProperties>
|
||||||
|
<y:Property class="java.lang.Boolean" name="ModernNodeShadow" value="true"/>
|
||||||
|
</y:StyleProperties>
|
||||||
|
</y:GenericNode>
|
||||||
|
</data>
|
||||||
|
</node>
|
||||||
|
<node id="n8">
|
||||||
|
<data key="d6">
|
||||||
|
<y:GenericNode configuration="BevelNode">
|
||||||
|
<y:Geometry height="36.48000000000002" width="188.0" x="293.72000000000025" y="352.0800000000001"/>
|
||||||
|
<y:Fill color="#99CCFF" transparent="false"/>
|
||||||
|
<y:BorderStyle hasColor="false" type="line" width="1.0"/>
|
||||||
|
<y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="31.9375" modelName="custom" textColor="#000000" visible="true" width="70.146484375" x="58.9267578125" y="2.271250000000009">Location
|
||||||
|
location.py<y:LabelModel>
|
||||||
|
<y:SmartNodeLabelModel distance="4.0"/>
|
||||||
|
</y:LabelModel>
|
||||||
|
<y:ModelParameter>
|
||||||
|
<y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/>
|
||||||
|
</y:ModelParameter>
|
||||||
|
</y:NodeLabel>
|
||||||
|
<y:StyleProperties>
|
||||||
|
<y:Property class="java.lang.Boolean" name="ModernNodeShadow" value="true"/>
|
||||||
|
</y:StyleProperties>
|
||||||
|
</y:GenericNode>
|
||||||
|
</data>
|
||||||
|
</node>
|
||||||
|
<node id="n9">
|
||||||
|
<data key="d6">
|
||||||
|
<y:GenericNode configuration="BevelNode">
|
||||||
|
<y:Geometry height="36.48000000000002" width="188.0" x="293.72000000000025" y="386.5600000000001"/>
|
||||||
|
<y:Fill color="#99CCFF" transparent="false"/>
|
||||||
|
<y:BorderStyle hasColor="false" type="line" width="1.0"/>
|
||||||
|
<y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="31.9375" modelName="custom" textColor="#000000" visible="true" width="84.7890625" x="51.60546875" y="2.271250000000009">DB
|
||||||
|
db/__init__.py<y:LabelModel>
|
||||||
|
<y:SmartNodeLabelModel distance="4.0"/>
|
||||||
|
</y:LabelModel>
|
||||||
|
<y:ModelParameter>
|
||||||
|
<y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/>
|
||||||
|
</y:ModelParameter>
|
||||||
|
</y:NodeLabel>
|
||||||
|
<y:StyleProperties>
|
||||||
|
<y:Property class="java.lang.Boolean" name="ModernNodeShadow" value="true"/>
|
||||||
|
</y:StyleProperties>
|
||||||
|
</y:GenericNode>
|
||||||
|
</data>
|
||||||
|
</node>
|
||||||
|
<node id="n10">
|
||||||
|
<data key="d6">
|
||||||
|
<y:GenericNode configuration="BevelNode">
|
||||||
|
<y:Geometry height="36.48000000000002" width="209.0" x="282.96000000000026" y="421.04000000000013"/>
|
||||||
|
<y:Fill color="#99CCFF" transparent="false"/>
|
||||||
|
<y:BorderStyle color="#000000" type="dashed" width="1.0"/>
|
||||||
|
<y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="31.9375" modelName="custom" textColor="#000000" visible="true" width="115.474609375" x="46.7626953125" y="2.271250000000009">Registry (optional)
|
||||||
|
registry/v2/*<y:LabelModel>
|
||||||
|
<y:SmartNodeLabelModel distance="4.0"/>
|
||||||
|
</y:LabelModel>
|
||||||
|
<y:ModelParameter>
|
||||||
|
<y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/>
|
||||||
|
</y:ModelParameter>
|
||||||
|
</y:NodeLabel>
|
||||||
|
<y:StyleProperties>
|
||||||
|
<y:Property class="java.lang.Boolean" name="ModernNodeShadow" value="true"/>
|
||||||
|
</y:StyleProperties>
|
||||||
|
</y:GenericNode>
|
||||||
|
</data>
|
||||||
|
</node>
|
||||||
|
<node id="n11">
|
||||||
|
<data key="d6">
|
||||||
|
<y:GenericNode configuration="BevelNode">
|
||||||
|
<y:Geometry height="36.48000000000002" width="231.0" x="272.72000000000025" y="457.52000000000015"/>
|
||||||
|
<y:Fill color="#99CCFF" transparent="false"/>
|
||||||
|
<y:BorderStyle hasColor="false" type="line" width="1.0"/>
|
||||||
|
<y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="31.9375" modelName="custom" textColor="#000000" visible="true" width="132.42578125" x="49.287109375" y="2.271250000000009">Data Access
|
||||||
|
db/sqlalchemy/api.py<y:LabelModel>
|
||||||
|
<y:SmartNodeLabelModel distance="4.0"/>
|
||||||
|
</y:LabelModel>
|
||||||
|
<y:ModelParameter>
|
||||||
|
<y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/>
|
||||||
|
</y:ModelParameter>
|
||||||
|
</y:NodeLabel>
|
||||||
|
<y:StyleProperties>
|
||||||
|
<y:Property class="java.lang.Boolean" name="ModernNodeShadow" value="true"/>
|
||||||
|
</y:StyleProperties>
|
||||||
|
</y:GenericNode>
|
||||||
|
</data>
|
||||||
|
</node>
|
||||||
|
<node id="n12">
|
||||||
|
<data key="d6">
|
||||||
|
<y:GenericNode configuration="BevelNode">
|
||||||
|
<y:Geometry height="36.48000000000002" width="149.80000000000018" x="85.44000000000017" y="110.71999999999997"/>
|
||||||
|
<y:Fill color="#99CCFF" transparent="false"/>
|
||||||
|
<y:BorderStyle hasColor="false" type="line" width="1.0"/>
|
||||||
|
<y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="17.96875" modelName="custom" textColor="#000000" visible="true" width="50.763671875" x="49.51816406250009" y="9.255625000000009">A Client<y:LabelModel>
|
||||||
|
<y:SmartNodeLabelModel distance="4.0"/>
|
||||||
|
</y:LabelModel>
|
||||||
|
<y:ModelParameter>
|
||||||
|
<y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/>
|
||||||
|
</y:ModelParameter>
|
||||||
|
</y:NodeLabel>
|
||||||
|
<y:StyleProperties>
|
||||||
|
<y:Property class="java.lang.Boolean" name="ModernNodeShadow" value="true"/>
|
||||||
|
</y:StyleProperties>
|
||||||
|
</y:GenericNode>
|
||||||
|
</data>
|
||||||
|
</node>
|
||||||
|
<node id="n13">
|
||||||
|
<data key="d6">
|
||||||
|
<y:GenericNode configuration="BevelNode">
|
||||||
|
<y:Geometry height="36.48000000000002" width="149.80000000000018" x="85.44000000000017" y="352.08000000000004"/>
|
||||||
|
<y:Fill color="#99CCFF" transparent="false"/>
|
||||||
|
<y:BorderStyle hasColor="false" type="line" width="1.0"/>
|
||||||
|
<y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="17.96875" modelName="custom" textColor="#000000" visible="true" width="81.3671875" x="34.21640625000009" y="9.255625000000009">Glance Store<y:LabelModel>
|
||||||
|
<y:SmartNodeLabelModel distance="4.0"/>
|
||||||
|
</y:LabelModel>
|
||||||
|
<y:ModelParameter>
|
||||||
|
<y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/>
|
||||||
|
</y:ModelParameter>
|
||||||
|
</y:NodeLabel>
|
||||||
|
<y:StyleProperties>
|
||||||
|
<y:Property class="java.lang.Boolean" name="ModernNodeShadow" value="true"/>
|
||||||
|
</y:StyleProperties>
|
||||||
|
</y:GenericNode>
|
||||||
|
</data>
|
||||||
|
</node>
|
||||||
|
<node id="n14">
|
||||||
|
<data key="d6">
|
||||||
|
<y:GenericNode configuration="BevelNode">
|
||||||
|
<y:Geometry height="36.48000000000002" width="149.80000000000018" x="85.44000000000017" y="457.52000000000015"/>
|
||||||
|
<y:Fill color="#99CCFF" transparent="false"/>
|
||||||
|
<y:BorderStyle hasColor="false" type="line" width="1.0"/>
|
||||||
|
<y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="17.96875" modelName="custom" textColor="#000000" visible="true" width="39.443359375" x="55.17832031250009" y="9.255625000000009">DBMS<y:LabelModel>
|
||||||
|
<y:SmartNodeLabelModel distance="4.0"/>
|
||||||
|
</y:LabelModel>
|
||||||
|
<y:ModelParameter>
|
||||||
|
<y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/>
|
||||||
|
</y:ModelParameter>
|
||||||
|
</y:NodeLabel>
|
||||||
|
<y:StyleProperties>
|
||||||
|
<y:Property class="java.lang.Boolean" name="ModernNodeShadow" value="true"/>
|
||||||
|
</y:StyleProperties>
|
||||||
|
</y:GenericNode>
|
||||||
|
</data>
|
||||||
|
</node>
|
||||||
|
<node id="n15">
|
||||||
|
<data key="d6">
|
||||||
|
<y:GenericNode configuration="BevelNode">
|
||||||
|
<y:Geometry height="36.48000000000002" width="188.0" x="293.72000000000025" y="216.64000000000004"/>
|
||||||
|
<y:Fill color="#99CCFF" transparent="false"/>
|
||||||
|
<y:BorderStyle color="#000000" type="dashed" width="1.0"/>
|
||||||
|
<y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="31.9375" modelName="custom" textColor="#000000" visible="true" width="182.44140625" x="2.779296875" y="2.271250000000009">Property protection (optional)
|
||||||
|
api/property_protections.py<y:LabelModel>
|
||||||
|
<y:SmartNodeLabelModel distance="4.0"/>
|
||||||
|
</y:LabelModel>
|
||||||
|
<y:ModelParameter>
|
||||||
|
<y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/>
|
||||||
|
</y:ModelParameter>
|
||||||
|
</y:NodeLabel>
|
||||||
|
<y:StyleProperties>
|
||||||
|
<y:Property class="java.lang.Boolean" name="ModernNodeShadow" value="true"/>
|
||||||
|
</y:StyleProperties>
|
||||||
|
</y:GenericNode>
|
||||||
|
</data>
|
||||||
|
</node>
|
||||||
|
<edge id="e0" source="n11" target="n14">
|
||||||
|
<data key="d10">
|
||||||
|
<y:PolyLineEdge>
|
||||||
|
<y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0"/>
|
||||||
|
<y:LineStyle color="#000000" type="line" width="1.0"/>
|
||||||
|
<y:Arrows source="none" target="standard"/>
|
||||||
|
<y:BendStyle smoothed="false"/>
|
||||||
|
</y:PolyLineEdge>
|
||||||
|
</data>
|
||||||
|
</edge>
|
||||||
|
<edge id="e1" source="n8" target="n13">
|
||||||
|
<data key="d10">
|
||||||
|
<y:PolyLineEdge>
|
||||||
|
<y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0"/>
|
||||||
|
<y:LineStyle color="#000000" type="line" width="1.0"/>
|
||||||
|
<y:Arrows source="none" target="standard"/>
|
||||||
|
<y:BendStyle smoothed="false"/>
|
||||||
|
</y:PolyLineEdge>
|
||||||
|
</data>
|
||||||
|
</edge>
|
||||||
|
<edge id="e2" source="n12" target="n2">
|
||||||
|
<data key="d10">
|
||||||
|
<y:PolyLineEdge>
|
||||||
|
<y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0"/>
|
||||||
|
<y:LineStyle color="#000000" type="line" width="1.0"/>
|
||||||
|
<y:Arrows source="none" target="standard"/>
|
||||||
|
<y:BendStyle smoothed="false"/>
|
||||||
|
</y:PolyLineEdge>
|
||||||
|
</data>
|
||||||
|
</edge>
|
||||||
|
</graph>
|
||||||
|
<data key="d7">
|
||||||
|
<y:Resources/>
|
||||||
|
</data>
|
||||||
|
</graphml>
|
@ -53,6 +53,7 @@ Glance Background Concepts
|
|||||||
architecture
|
architecture
|
||||||
database_architecture
|
database_architecture
|
||||||
domain_model
|
domain_model
|
||||||
|
domain_implementation
|
||||||
identifiers
|
identifiers
|
||||||
statuses
|
statuses
|
||||||
tasks
|
tasks
|
||||||
|
Loading…
Reference in New Issue
Block a user