Skip to content

Commit 3d0c537

Browse files
committed
update tutorials remove catalog documentation
Signed-off-by: Stefan Bischof <[email protected]>
1 parent 3a4b437 commit 3d0c537

File tree

152 files changed

+1120
-749
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

152 files changed

+1120
-749
lines changed

docs/cubeserver/tutorial/complex.school.md

Lines changed: 73 additions & 73 deletions
Large diffs are not rendered by default.

docs/cubeserver/tutorial/index.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,14 @@ A recommended reading order is provided below to help you build your understandi
129129

130130
[Access Member Grant](./tutorial.access.membergrand.md)
131131

132+
[Writeback Inline Table](./tutorial.writeback.inlinetable.md)
133+
134+
[Writeback Table](./tutorial.writeback.table.md)
135+
136+
[Writeback View](./tutorial.writeback.view.md)
137+
138+
[Writeback Without Dimension](./tutorial.writeback.withoutdimension.md)
139+
132140
[Member Identifier](./tutorial.member.identifier.md)
133141

134142
[KPI Intro](./tutorial.kpi.intro.md)
@@ -149,12 +157,4 @@ A recommended reading order is provided below to help you build your understandi
149157

150158
[Dimension Optimisation With Level Attribute](./tutorial.dimension.optimisationwithlevelattribute.md)
151159

152-
[Daanse Example - Schulwesen](./complex.school.md)
153-
154-
[Writeback_without_dimension](./tutorial.writebackwithoutdimension.md)
155-
156-
[tutorial_for_writeback_with_fact_view](./tutorial.writebackview.md)
157-
158-
[tutorial_for_writeback](./tutorial.writebacktable.md)
159-
160-
[tutorial_for_writeback_with_fact_InlineTable](./tutorial.writebackinlinetable.md)
160+
[Daanse Example - Schulwesen](./complex.school.md)

docs/cubeserver/tutorial/tutorial.access.cataloggrand.md

Lines changed: 8 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,7 @@ group: Access
44
kind: TUTORIAL
55
number: 2.4.4
66
---
7-
# Cube1
8-
9-
Cube with with CatalogGrant.
10-
roleAll role : use CatalogGrant access all; (access cube1)
11-
roleNone role : use CatalogGrant access none; (no access cube1)
12-
roleAllDimWithCubeGrand role : use CatalogGrant access all_dimensions; CubeGrant cube1 access all; cube2 access none (access cube1)
13-
roleAllDimWithoutCubeGrand role: use CatalogGrant access all_dimensions without cube grant (As result is 'no access'. For access need CubeGrant with custom or all);
14-
15-
16-
# Cube with roles access catalog
7+
# Daanse Tutorial - Access Catalog Grant
178

189
This tutorial discusses roles with CatalogGrant.
1910

@@ -172,20 +163,20 @@ This files represent the complete definition of the catalog.
172163
<measures xsi:type="roma:SumMeasure" id="_measure_sum" name="Measure1" column="_column_fact_value"/>
173164
</measureGroups>
174165
</roma:PhysicalCube>
166+
<roma:AccessRole id="_accessRole_all" name="roleAll">
167+
<accessCatalogGrants catalogAccess="all"/>
168+
</roma:AccessRole>
175169
<roma:AccessRole id="_accessRole_none" name="roleNone">
176170
<accessCatalogGrants/>
177171
</roma:AccessRole>
178-
<roma:AccessRole id="_accessRole_allDimWithCubeGrand" name="roleAllDimWithCubeGrand">
172+
<roma:AccessRole id="_accessRole_allDimWithoutCubeGrand" name="roleAllDimWithoutCubeGrand">
179173
<accessCatalogGrants catalogAccess="all_dimensions">
180-
<cubeGrants cubeAccess="all" cube="_cube_main"/>
174+
<databaseSchemaGrants databaseSchemaAccess="all" databaseSchema="_databaseSchema_CatalogGrand"/>
181175
</accessCatalogGrants>
182176
</roma:AccessRole>
183-
<roma:AccessRole id="_accessRole_all" name="roleAll">
184-
<accessCatalogGrants catalogAccess="all"/>
185-
</roma:AccessRole>
186-
<roma:AccessRole id="_accessRole_allDimWithoutCubeGrand" name="roleAllDimWithoutCubeGrand">
177+
<roma:AccessRole id="_accessRole_allDimWithCubeGrand" name="roleAllDimWithCubeGrand">
187178
<accessCatalogGrants catalogAccess="all_dimensions">
188-
<databaseSchemaGrants databaseSchemaAccess="all" databaseSchema="_databaseSchema_CatalogGrand"/>
179+
<cubeGrants cubeAccess="all" cube="_cube_main"/>
189180
</accessCatalogGrants>
190181
</roma:AccessRole>
191182
</xmi:XMI>

docs/cubeserver/tutorial/tutorial.access.columngrand.md

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,7 @@ group: Access
44
kind: TUTORIAL
55
number: 2.4.3
66
---
7-
Cube with examples of roles with TableGrant
8-
roleAll role: use TableGrant access all; (access all database all tables)
9-
roleNone role: use TableGrant access none; (no access to database tables)
10-
roleCustom role: use TableGrant access custom; (access to database table Fact)
11-
12-
13-
# Cube with role access column
7+
# Daanse Tutorial - Access Column Grant
148

159
This tutorial discusses roles with ColumnGrant.
1610

@@ -117,23 +111,23 @@ This files represent the complete definition of the catalog.
117111
<measures xsi:type="roma:SumMeasure" id="_measure_sum" name="Measure1" column="_column_fact_value"/>
118112
</measureGroups>
119113
</roma:PhysicalCube>
120-
<roma:AccessRole id="_accessRole_all" name="roleAll">
114+
<roma:AccessRole id="_accessRole_none" name="roleNone">
121115
<accessCatalogGrants catalogAccess="all">
122116
<cubeGrants cubeAccess="all" cube="_cube_main"/>
123117
<databaseSchemaGrants databaseSchemaAccess="custom" databaseSchema="_databaseSchema_ColumnGrand">
124118
<tableGrants tableAccess="custom" table="_table_fact">
125-
<columnGrants columnAccess="all" column="_column_fact_value"/>
126-
<columnGrants columnAccess="all" column="_column_fact_key"/>
119+
<columnGrants column="_column_fact_value"/>
127120
</tableGrants>
128121
</databaseSchemaGrants>
129122
</accessCatalogGrants>
130123
</roma:AccessRole>
131-
<roma:AccessRole id="_accessRole_none" name="roleNone">
124+
<roma:AccessRole id="_accessRole_all" name="roleAll">
132125
<accessCatalogGrants catalogAccess="all">
133126
<cubeGrants cubeAccess="all" cube="_cube_main"/>
134127
<databaseSchemaGrants databaseSchemaAccess="custom" databaseSchema="_databaseSchema_ColumnGrand">
135128
<tableGrants tableAccess="custom" table="_table_fact">
136-
<columnGrants column="_column_fact_value"/>
129+
<columnGrants columnAccess="all" column="_column_fact_value"/>
130+
<columnGrants columnAccess="all" column="_column_fact_key"/>
137131
</tableGrants>
138132
</databaseSchemaGrants>
139133
</accessCatalogGrants>

docs/cubeserver/tutorial/tutorial.access.cubegrand.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,7 @@ group: Access
44
kind: TUTORIAL
55
number: 2.4.5
66
---
7-
Cube with examples of roles with SchemaGrant all_dimensions
8-
Cube1 - all access
9-
Cube2 - no access
10-
11-
12-
# Cube with role CubeGrant cube1 access only
7+
# Daanse Tutorial - Access Cube Grant
138

149
This tutorial discusses roles with with CubeGrant.
1510

docs/cubeserver/tutorial/tutorial.access.databaseschemagrand.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ group: Access
44
kind: TUTORIAL
55
number: 2.4.1
66
---
7+
# Daanse Tutorial - Access Database Schema Grant
8+
79
Cube with examples of roles with SchemaGrant all_dimensions
810
Cube1 - all access
911
Cube2 - no access

docs/cubeserver/tutorial/tutorial.access.dimensiongrand.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,7 @@ group: Access
44
kind: TUTORIAL
55
number: 2.4.6
66
---
7-
Cube with examples of roles with DimensionGrant
8-
Cube1 - Dimension1 all access
9-
Cube1 - Dimension2 no access
10-
11-
12-
# Cube with role with DimensionGtant
7+
# Daanse Tutorial - Access Dimension Grant
138

149
This tutorial discusses roles with DimensionGrant.
1510

@@ -114,8 +109,8 @@ This files represent the complete definition of the catalog.
114109
```xml
115110
<?xml version="1.0" encoding="UTF-8"?>
116111
<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:roma="https://www.daanse.org/spec/org.eclipse.daanse.rolap.mapping">
117-
<roma:ExplicitHierarchy id="_hierarchy_Hierarchy1" name="Hierarchy1" hasAll="false" primaryKey="_column_fact_key" query="_query_factQuery" levels="_level_Level1"/>
118112
<roma:ExplicitHierarchy id="_hierarchy_Hierarchy2" name="Hierarchy2" hasAll="false" primaryKey="_column_fact_key" query="_query_factQuery" levels="_level_Level2"/>
113+
<roma:ExplicitHierarchy id="_hierarchy_Hierarchy1" name="Hierarchy1" hasAll="false" primaryKey="_column_fact_key" query="_query_factQuery" levels="_level_Level1"/>
119114
<roma:Catalog description="Access control with dimension-level grants" name="Daanse Tutorial - Access Dimension Grant" cubes="_cube_Cube1" accessRoles="_accessRole_role1" dbschemas="_databaseSchema_DimensionGrand"/>
120115
<roma:DatabaseSchema id="_databaseSchema_DimensionGrand">
121116
<tables xsi:type="roma:PhysicalTable" id="_table_fact" name="Fact">

docs/cubeserver/tutorial/tutorial.access.hierarchygrand.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,7 @@ group: Access
44
kind: TUTORIAL
55
number: 2.4.7
66
---
7-
Cube with examples of role use HierarchyGrant hierarchy1 access all hierarchy2 access none;
8-
9-
10-
# Cube with HierarchyGrant
7+
# Daanse Tutorial - Access Hierarchy Grant
118

129
This tutorial discusses role with HierarchyGrant
1310

@@ -112,8 +109,8 @@ This files represent the complete definition of the catalog.
112109
```xml
113110
<?xml version="1.0" encoding="UTF-8"?>
114111
<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:roma="https://www.daanse.org/spec/org.eclipse.daanse.rolap.mapping">
115-
<roma:ExplicitHierarchy id="_hierarchy_Hierarchy2" name="Hierarchy1" hasAll="false" primaryKey="_column_fact_key" query="_query_factQuery" levels="_level_Level2"/>
116112
<roma:ExplicitHierarchy id="_hierarchy_Hierarchy1" name="Hierarchy1" hasAll="false" primaryKey="_column_fact_key" query="_query_factQuery" levels="_level_Level1"/>
113+
<roma:ExplicitHierarchy id="_hierarchy_Hierarchy2" name="Hierarchy1" hasAll="false" primaryKey="_column_fact_key" query="_query_factQuery" levels="_level_Level2"/>
117114
<roma:Catalog description="Access control with hierarchy-level grants" name="Daanse Tutorial - Access Hierarchy Grant" cubes="_cube_Cube1" accessRoles="_accessRole_role1" dbschemas="_databaseSchema_HierarchyGrand"/>
118115
<roma:DatabaseSchema id="_databaseSchema_HierarchyGrand">
119116
<tables xsi:type="roma:PhysicalTable" id="_table_fact" name="Fact">
@@ -122,8 +119,8 @@ This files represent the complete definition of the catalog.
122119
</tables>
123120
</roma:DatabaseSchema>
124121
<roma:TableQuery id="_query_factQuery" table="_table_fact"/>
125-
<roma:Level id="_level_Level2" name="Level2" column="_column_fact_key"/>
126122
<roma:Level id="_level_Level1" name="Level1" column="_column_fact_key"/>
123+
<roma:Level id="_level_Level2" name="Level2" column="_column_fact_key"/>
127124
<roma:StandardDimension id="_dimension_Dimension1" name="Dimension1" hierarchies="_hierarchy_Hierarchy1 _hierarchy_Hierarchy2"/>
128125
<roma:PhysicalCube id="_cube_Cube1" name="Cube1" query="_query_factQuery">
129126
<dimensionConnectors foreignKey="_column_fact_key" dimension="_dimension_Dimension1" overrideDimensionName="Dimension1" id="_dimensionConnector_dimension1"/>

docs/cubeserver/tutorial/tutorial.access.membergrand.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,7 @@ group: Access
44
kind: TUTORIAL
55
number: 2.4.8
66
---
7-
Cube with examples of roles with MemberGrant
8-
Cube1 - access to 'A'
9-
10-
11-
# Cube with access MemberGrant
7+
# Daanse Tutorial - Access Member Grant
128

139
This tutorial discusses role with MemberGrant
1410

docs/cubeserver/tutorial/tutorial.access.tablegrand.md

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,7 @@ group: Access
44
kind: TUTORIAL
55
number: 2.4.2
66
---
7-
Cube with examples of roles with TableGrant
8-
roleAll role: use TableGrant access all; (access all database all tables)
9-
roleNone role: use TableGrant access none; (no access to database tables)
10-
roleCustom role: use TableGrant access custom; (access to database table Fact)
11-
12-
13-
# Cube with role access table
7+
# Daanse Tutorial - Access Table Grant
148

159
This tutorial discusses roles with TableGrant.
1610

@@ -113,19 +107,19 @@ This files represent the complete definition of the catalog.
113107
<measures xsi:type="roma:SumMeasure" id="_measure_Measure1" name="Measure1" column="_column_fact_value"/>
114108
</measureGroups>
115109
</roma:PhysicalCube>
116-
<roma:AccessRole id="_accessRole_roleNone" name="roleNone">
110+
<roma:AccessRole id="_accessRole_roleAll" name="roleAll">
117111
<accessCatalogGrants catalogAccess="all">
118112
<cubeGrants cubeAccess="all" cube="_cube_Cube1"/>
119113
<databaseSchemaGrants databaseSchemaAccess="custom" databaseSchema="_databaseSchema_TableGrand">
120-
<tableGrants table="_table_fact"/>
114+
<tableGrants tableAccess="all" table="_table_fact"/>
121115
</databaseSchemaGrants>
122116
</accessCatalogGrants>
123117
</roma:AccessRole>
124-
<roma:AccessRole id="_accessRole_roleAll" name="roleAll">
118+
<roma:AccessRole id="_accessRole_roleNone" name="roleNone">
125119
<accessCatalogGrants catalogAccess="all">
126120
<cubeGrants cubeAccess="all" cube="_cube_Cube1"/>
127121
<databaseSchemaGrants databaseSchemaAccess="custom" databaseSchema="_databaseSchema_TableGrand">
128-
<tableGrants tableAccess="all" table="_table_fact"/>
122+
<tableGrants table="_table_fact"/>
129123
</databaseSchemaGrants>
130124
</accessCatalogGrants>
131125
</roma:AccessRole>

0 commit comments

Comments
 (0)