Skip to content

Commit 270a6c3

Browse files
dbulahovstbischof
authored andcommitted
update tutorials formatting
Signed-off-by: dbulahov <[email protected]>
1 parent a28deb4 commit 270a6c3

File tree

128 files changed

+486
-484
lines changed

Some content is hidden

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

128 files changed

+486
-484
lines changed

docs/cubeserver/tutorial/complex.school.md

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

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

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ number: 2.4.4
88

99
This tutorial discusses roles with CatalogGrant.
1010

11-
`roleAll` role : use CatalogGrant access `all`; (access `cube1`)<br />
12-
`roleNone` role : use CatalogGrant access `none`; (no access `cube1`)<br />
13-
`roleAllDimWithCubeGrand` role : use CatalogGrant access `all_dimensions`; CubeGrant `cube1` access all; `cube2` access none (access `cube1`)<br />
14-
`roleAllDimWithoutCubeGrand` role: use CatalogGrant access `all_dimensions` without cube grant (As result is 'no access'. For access need CubeGrant with `custom` or `all`)<br />;
11+
- `roleAll` role : use CatalogGrant access `all`; (access `cube1`)
12+
- `roleNone` role : use CatalogGrant access `none`; (no access `cube1`)
13+
- `roleAllDimWithCubeGrand` role : use CatalogGrant access `all_dimensions`; CubeGrant `cube1` access all; `cube2` access none (access `cube1`)
14+
- `roleAllDimWithoutCubeGrand` role: use CatalogGrant access `all_dimensions` without cube grant (As result is 'no access'. For access need CubeGrant with `custom` or `all`)
1515

1616

1717
## Database Schema
@@ -163,22 +163,22 @@ This files represent the complete definition of the catalog.
163163
<measures xsi:type="roma:SumMeasure" id="_measure_sum" name="Measure1" column="_column_fact_value"/>
164164
</measureGroups>
165165
</roma:PhysicalCube>
166-
<roma:AccessRole id="_accessRole_none" name="roleNone">
167-
<accessCatalogGrants/>
166+
<roma:AccessRole id="_accessRole_allDimWithCubeGrand" name="roleAllDimWithCubeGrand">
167+
<accessCatalogGrants catalogAccess="all_dimensions">
168+
<cubeGrants cubeAccess="all" cube="_cube_main"/>
169+
</accessCatalogGrants>
168170
</roma:AccessRole>
169171
<roma:AccessRole id="_accessRole_all" name="roleAll">
170172
<accessCatalogGrants catalogAccess="all"/>
171173
</roma:AccessRole>
174+
<roma:AccessRole id="_accessRole_none" name="roleNone">
175+
<accessCatalogGrants/>
176+
</roma:AccessRole>
172177
<roma:AccessRole id="_accessRole_allDimWithoutCubeGrand" name="roleAllDimWithoutCubeGrand">
173178
<accessCatalogGrants catalogAccess="all_dimensions">
174179
<databaseSchemaGrants databaseSchemaAccess="all" databaseSchema="_databaseSchema_CatalogGrand"/>
175180
</accessCatalogGrants>
176181
</roma:AccessRole>
177-
<roma:AccessRole id="_accessRole_allDimWithCubeGrand" name="roleAllDimWithCubeGrand">
178-
<accessCatalogGrants catalogAccess="all_dimensions">
179-
<cubeGrants cubeAccess="all" cube="_cube_main"/>
180-
</accessCatalogGrants>
181-
</roma:AccessRole>
182182
</xmi:XMI>
183183

184184
```

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ number: 2.4.3
88

99
This tutorial discusses roles with ColumnGrant.
1010

11-
roleAll role: use TableGrant access all; (access all database all tables all columns)<br />
12-
roleNone role: use TableGrant access none; (no access to database columns)<br />
11+
- `roleAll` role: use TableGrant access `all`; (access all database all tables all columns)
12+
- `roleNone` role: use TableGrant access `none`; (no access to database columns)
1313

1414

1515
## Database Schema
@@ -111,23 +111,23 @@ This files represent the complete definition of the catalog.
111111
<measures xsi:type="roma:SumMeasure" id="_measure_sum" name="Measure1" column="_column_fact_value"/>
112112
</measureGroups>
113113
</roma:PhysicalCube>
114-
<roma:AccessRole id="_accessRole_all" name="roleAll">
114+
<roma:AccessRole id="_accessRole_none" name="roleNone">
115115
<accessCatalogGrants catalogAccess="all">
116116
<cubeGrants cubeAccess="all" cube="_cube_main"/>
117117
<databaseSchemaGrants databaseSchemaAccess="custom" databaseSchema="_databaseSchema_ColumnGrand">
118118
<tableGrants tableAccess="custom" table="_table_fact">
119-
<columnGrants columnAccess="all" column="_column_fact_value"/>
120-
<columnGrants columnAccess="all" column="_column_fact_key"/>
119+
<columnGrants column="_column_fact_value"/>
121120
</tableGrants>
122121
</databaseSchemaGrants>
123122
</accessCatalogGrants>
124123
</roma:AccessRole>
125-
<roma:AccessRole id="_accessRole_none" name="roleNone">
124+
<roma:AccessRole id="_accessRole_all" name="roleAll">
126125
<accessCatalogGrants catalogAccess="all">
127126
<cubeGrants cubeAccess="all" cube="_cube_main"/>
128127
<databaseSchemaGrants databaseSchemaAccess="custom" databaseSchema="_databaseSchema_ColumnGrand">
129128
<tableGrants tableAccess="custom" table="_table_fact">
130-
<columnGrants column="_column_fact_value"/>
129+
<columnGrants columnAccess="all" column="_column_fact_value"/>
130+
<columnGrants columnAccess="all" column="_column_fact_key"/>
131131
</tableGrants>
132132
</databaseSchemaGrants>
133133
</accessCatalogGrants>

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

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ number: 2.4.5
88

99
This tutorial discusses roles with with CubeGrant.
1010

11-
role1 role: use CubeGrant cube1 access all; cube2 access none (access cube1)
11+
- `role1` role: use CubeGrant cube1 access `all`; cube2 access `none` (access `cube1`)
1212

1313

1414

1515
## Database Schema
1616

17-
The Database Schema contains the Fact table with two columns: KEY and VALUE. The KEY column is used as the discriminator in the the Level and Hierarchy definitions.
17+
The Database Schema contains the `Fact` table with two columns: `KEY` and `VALUE`. The `KEY` column is used as the discriminator in the the Level and Hierarchy definitions.
1818

1919

2020
```xml
@@ -29,7 +29,7 @@ The Database Schema contains the Fact table with two columns: KEY and VALUE. The
2929
*<small>Note: This is only a symbolic example. For the exact definition, see the [Definition](#definition) section.</small>*
3030
## Query
3131

32-
The Query is a simple TableQuery that selects all columns from the Fact table to use in in the hierarchy and in the cube for the measures.
32+
The Query is a simple TableQuery that selects all columns from the `Fact` table to use in in the hierarchy and in the cube for the measures.
3333

3434

3535
```xml
@@ -39,7 +39,7 @@ The Query is a simple TableQuery that selects all columns from the Fact table to
3939
*<small>Note: This is only a symbolic example. For the exact definition, see the [Definition](#definition) section.</small>*
4040
## Level1
4141

42-
This Example uses one simple Level1 bases on the KEY column.
42+
This Example uses one simple Level1 bases on the `KEY` column.
4343

4444

4545
```xml
@@ -69,7 +69,7 @@ The dimension1 is defined with the one hierarchy1.
6969
*<small>Note: This is only a symbolic example. For the exact definition, see the [Definition](#definition) section.</small>*
7070
## Cube1 with access all
7171

72-
The cube1 is defines by the DimensionConnector1 and the DimensionConnector2 and the MeasureGroup with measure with aggregation sum.
72+
The `cube1` is defines by the DimensionConnector1 and the DimensionConnector2 and the MeasureGroup with measure with aggregation sum.
7373

7474

7575
```xml
@@ -85,7 +85,7 @@ The cube1 is defines by the DimensionConnector1 and the DimensionConnector2 and
8585
*<small>Note: This is only a symbolic example. For the exact definition, see the [Definition](#definition) section.</small>*
8686
## Cube2 with access none
8787

88-
The cube2 is defines by the DimensionConnector1 and the MeasureGroup with measure with aggregation sum.
88+
The `cube2` is defines by the DimensionConnector1 and the MeasureGroup with measure with aggregation sum.
8989

9090

9191
```xml
@@ -98,7 +98,7 @@ The cube2 is defines by the DimensionConnector1 and the MeasureGroup with measur
9898
*<small>Note: This is only a symbolic example. For the exact definition, see the [Definition](#definition) section.</small>*
9999
## Role1
100100

101-
The role1 use CatalogGrant access all_dimensions; CubeGrant cube1 access all; cube2 access none (access cube1)
101+
The `role1` use CatalogGrant access all_dimensions; CubeGrant `cube1` access `all`; cube2 access `none` (access cube1)
102102

103103

104104
```xml
@@ -131,17 +131,17 @@ This files represent the complete definition of the catalog.
131131
<roma:TableQuery id="_query_factQuery" table="_table_fact"/>
132132
<roma:Level id="_level_Level1" name="Level1" column="_column_fact_key"/>
133133
<roma:StandardDimension id="_dimension_Dimension1" name="Dimension1" hierarchies="_hierarchy_Hierarchy1"/>
134-
<roma:PhysicalCube id="_cube_Cube2" name="Cube2" query="_query_factQuery">
135-
<dimensionConnectors foreignKey="_column_fact_key" dimension="_dimension_Dimension1" overrideDimensionName="Dimension1" id="_dimensionConnector_dimension1"/>
136-
<measureGroups/>
137-
</roma:PhysicalCube>
138134
<roma:PhysicalCube id="_cube_Cube1" name="Cube1" query="_query_factQuery">
139135
<dimensionConnectors foreignKey="_column_fact_key" dimension="_dimension_Dimension1" overrideDimensionName="Dimension1" id="_dimensionConnector_dimension11"/>
140136
<dimensionConnectors foreignKey="_column_fact_key" dimension="_dimension_Dimension1" overrideDimensionName="Dimension2" id="_dimensionConnector_dimension12"/>
141137
<measureGroups>
142138
<measures xsi:type="roma:SumMeasure" id="_measure_Measure1" name="Measure1" column="_column_fact_value"/>
143139
</measureGroups>
144140
</roma:PhysicalCube>
141+
<roma:PhysicalCube id="_cube_Cube2" name="Cube2" query="_query_factQuery">
142+
<dimensionConnectors foreignKey="_column_fact_key" dimension="_dimension_Dimension1" overrideDimensionName="Dimension1" id="_dimensionConnector_dimension1"/>
143+
<measureGroups/>
144+
</roma:PhysicalCube>
145145
<roma:AccessRole id="_accessRole_role1" name="role1">
146146
<accessCatalogGrants catalogAccess="all_dimensions">
147147
<cubeGrants cubeAccess="all" cube="_cube_Cube1"/>

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ number: 2.4.1
88

99
This tutorial discusses roles with with DatabaseSchemaGrant.
1010

11-
`roleAll` role : use DatabaseSchemaGrant access `all`; (access all database)<br />
12-
`roleNone` role: use CatalogGrant access `none`; (no access to database)<br />
11+
- `roleAll` role : use DatabaseSchemaGrant access `all`; (access all database)
12+
- `roleNone` role: use CatalogGrant access `none`; (no access to database)
1313

1414

1515
## Database Schema

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ number: 2.4.6
88

99
This tutorial discusses roles with DimensionGrant.
1010

11-
`role1` role: use DimensionGrant access to `Dimension1` and not access to `Dimension2` of `cube1`
11+
- `role1` role: use DimensionGrant access to `Dimension1` and not access to `Dimension2` of `cube1`
1212

1313

1414

1515
## Database Schema
1616

17-
The Database Schema contains the `Fact` table with two columns: KEY and VALUE. The KEY column is used as the discriminator in the the Level and Hierarchy definitions.
17+
The Database Schema contains the `Fact` table with two columns: `KEY` and `VALUE`. The `KEY` column is used as the discriminator in the the Level and Hierarchy definitions.
1818

1919

2020
```xml
@@ -39,7 +39,7 @@ The Query is a simple TableQuery that selects all columns from the `Fact` table
3939
*<small>Note: This is only a symbolic example. For the exact definition, see the [Definition](#definition) section.</small>*
4040
## Level1
4141

42-
This Example uses one simple Level1 bases on the KEY column.
42+
This Example uses one simple Level1 bases on the `KEY` column.
4343

4444

4545
```xml
@@ -49,7 +49,7 @@ This Example uses one simple Level1 bases on the KEY column.
4949
*<small>Note: This is only a symbolic example. For the exact definition, see the [Definition](#definition) section.</small>*
5050
## Hierarchy1 without hasAll Level1
5151

52-
The Hierarchy1 is defined with the hasAll property set to false and the one level1.
52+
The Hierarchy1 is defined with the hasAll property set to false and the one `level1`.
5353

5454

5555
```xml
@@ -59,7 +59,7 @@ The Hierarchy1 is defined with the hasAll property set to false and the one leve
5959
*<small>Note: This is only a symbolic example. For the exact definition, see the [Definition](#definition) section.</small>*
6060
## Dimension1
6161

62-
The dimension1 is defined with the one hierarchy1.
62+
The `dimension1` is defined with the one `hierarchy1`.
6363

6464

6565
```xml
@@ -69,7 +69,7 @@ The dimension1 is defined with the one hierarchy1.
6969
*<small>Note: This is only a symbolic example. For the exact definition, see the [Definition](#definition) section.</small>*
7070
## Cube1 with access all
7171

72-
The cube1 is defines by the DimensionConnector1 and the DimensionConnector2 and the MeasureGroup with measure with aggregation sum.
72+
The `cube1` is defines by the DimensionConnector1 and the DimensionConnector2 and the MeasureGroup with measure with aggregation sum.
7373

7474

7575
```xml
@@ -85,7 +85,7 @@ The cube1 is defines by the DimensionConnector1 and the DimensionConnector2 and
8585
*<small>Note: This is only a symbolic example. For the exact definition, see the [Definition](#definition) section.</small>*
8686
## Role1
8787

88-
The `role1` use CatalogGrant access `all_dimensions`; CubeGrant cube1 access `all`; cube2 access `none` (access cube1)
88+
The `role1` use CatalogGrant access `all_dimensions`; CubeGrant `cube1` access `all`; `cube2` access `none` (access `cube1`)
8989

9090

9191
```xml

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ number: 2.4.7
88

99
This tutorial discusses role with HierarchyGrant
1010

11-
`role1` role: use HierarchyGrant hierarchy1 access `all` hierarchy2 access `none`;
11+
- `role1` role: use HierarchyGrant hierarchy1 access `all` hierarchy2 access `none`;
1212

1313

1414
## Database Schema

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ number: 2.4.8
99
This tutorial discusses role with MemberGrant
1010

1111
role1 role: with member grants <br />
12-
[Dimension1].[A] -all,<br />
13-
[Dimension1].[B] -none,<br />
14-
[Dimension1].[C] -none;<br />
12+
- [Dimension1].[A] -all;
13+
- [Dimension1].[B] -none;
14+
- [Dimension1].[C] -none;
1515
(Cube1 - access to 'A' only)
1616

1717
Rollup policy: (Full. Partial. Hidden.)<br />
18-
Full. The total for that member includes all children. This is the default policy if you don't specify the rollupPolicy attribute.<br />
19-
Partial. The total for that member includes only accessible children.<br />
20-
Hidden. If any of the children are inaccessible, the total is hidden.<br />
18+
- Full. The total for that member includes all children. This is the default policy if you don't specify the rollupPolicy attribute.
19+
- Partial. The total for that member includes only accessible children.
20+
- Hidden. If any of the children are inaccessible, the total is hidden.
2121

2222

2323
## Database Schema

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ number: 2.4.2
88

99
This tutorial discusses roles with TableGrant.
1010

11-
`roleAll` role: use TableGrant access `all`; (access all database all tables)<br />
12-
`roleNone` role: use TableGrant access `none`; (no access to database tables)<br />
13-
`roleCustom` role: use TableGrant access `custom`; (access to database table Fact)<br />
11+
- `roleAll` role: use TableGrant access `all`; (access all database all tables)<br />
12+
- `roleNone` role: use TableGrant access `none`; (no access to database tables)<br />
13+
- `roleCustom` role: use TableGrant access `custom`; (access to database table Fact)<br />
1414

1515

1616
## Database Schema

0 commit comments

Comments
 (0)