Skip to content

Commit 192f908

Browse files
Add 'content/relational-migrator/' from commit '65a9ebfdfd4c8164503082f0f24785dad9f78381'
git-subtree-dir: content/relational-migrator git-subtree-mainline: 7e01892 git-subtree-split: 65a9ebf
2 parents 7e01892 + 65a9ebf commit 192f908

File tree

328 files changed

+20580
-0
lines changed

Some content is hidden

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

328 files changed

+20580
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
## DESCRIPTION
2+
3+
4+
## STAGING
5+
6+
7+
## JIRA
8+
9+
10+
## BUILD LOG
11+
12+
13+
## Self-Review Checklist
14+
15+
- [ ] Is this free of any warnings or errors in the RST?
16+
- [ ] Is this free of spelling errors?
17+
- [ ] Is this free of grammatical errors?
18+
- [ ] Is this free of staging / rendering issues?
19+
- [ ] Are all the links working?
20+
21+
## External Review Requirements
22+
23+
[What's expected of an external reviewer?](https://wiki.corp.mongodb.com/display/DE/Reviewing+Guidelines+for+the+MongoDB+Server+Documentation)
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
name: Check & deploy API documentation
2+
3+
on:
4+
# For deployments
5+
workflow_dispatch: # Allow manual trigger in case of quick fix
6+
push:
7+
branches:
8+
- master
9+
paths:
10+
- 'source/rm-openapi-latest.json'
11+
12+
# For previews
13+
pull_request:
14+
branches:
15+
- master
16+
paths:
17+
- 'source/rm-openapi-latest.json'
18+
19+
permissions:
20+
contents: read
21+
22+
jobs:
23+
deploy-doc:
24+
if: ${{ github.event_name == 'push' || github.event_name == 'workflow_dispatch' }}
25+
name: Deploy API documentation on Bump.sh
26+
runs-on: ubuntu-latest
27+
steps:
28+
- name: Checkout
29+
uses: actions/checkout@v4
30+
- name: Deploy API documentation
31+
uses: bump-sh/github-action@59eaae922e81ac8d127bd2b2ac6dc4804bda8a4c
32+
with:
33+
doc: ${{vars.RM_DOC_ID}}
34+
token: ${{secrets.BUMP_TOKEN}}
35+
file: source/rm-openapi-latest.json
36+
branch: main
37+
38+
api-preview:
39+
if: ${{ github.event_name == 'pull_request' }}
40+
name: Create API preview on Bump.sh
41+
runs-on: ubuntu-latest
42+
steps:
43+
- name: Checkout
44+
uses: actions/checkout@v4
45+
- name: Create API preview
46+
uses: bump-sh/github-action@59eaae922e81ac8d127bd2b2ac6dc4804bda8a4c
47+
with:
48+
doc: ${{vars.RM_DOC_ID}}
49+
token: ${{secrets.BUMP_TOKEN}}
50+
file: source/rm-openapi-latest.json
51+
branch: main
52+
command: preview
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: vale-checks
2+
on:
3+
pull_request:
4+
paths:
5+
- "source/**"
6+
7+
jobs:
8+
vale:
9+
name: TDBX Vale rules
10+
runs-on: ubuntu-latest
11+
permissions:
12+
contents: read
13+
pull-requests: write
14+
steps:
15+
- name: checkout
16+
uses: actions/checkout@master
17+
18+
- name: Install docutils
19+
run: sudo apt-get install -y docutils
20+
21+
- id: files
22+
uses: masesgroup/retrieve-changed-files@v2
23+
with:
24+
format: 'csv'
25+
26+
- name: checkout-latest-rules
27+
uses: actions/checkout@master
28+
with:
29+
repository: mongodb/mongodb-vale-action
30+
path: './tdbx-vale-rules'
31+
token: ${{secrets.GITHUB_TOKEN}}
32+
33+
- name: move-files-for-vale-action
34+
run: |
35+
cp tdbx-vale-rules/.vale.ini .vale.ini
36+
mkdir -p .github/styles/
37+
cp -rf tdbx-vale-rules/.github/styles/ .github/
38+
39+
- name: run-vale
40+
uses: errata-ai/vale-action@reviewdog
41+
with:
42+
reporter: github-pr-check
43+
files: ${{steps.files.outputs.added_modified}}
44+
fail_on_error: true
45+
token: ${{secrets.GITHUB_TOKEN}}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.DS_Store
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"esbonio.sphinx.confDir": ""
3+
}

content/relational-migrator/README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# docs-app-services
2+
3+
[Your words here].
4+
5+
## Report Issues
6+
7+
To file issues or requests regarding the documentation, go to the
8+
`Documentation Jira Project <https://jira.mongodb.org/browse/DOCS>`_.
9+
10+
## License
11+
12+
All documentation is available under the terms of a `Creative Commons
13+
License <https://creativecommons.org/licenses/by-nc-sa/3.0/>`_.
14+
15+
If you have any questions, please contact `[email protected]
16+
<mailto:[email protected]>`_.
17+
18+
-- The MongoDB Documentation Team

content/relational-migrator/build.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# ensures that we always use the latest version of the script
2+
if [ -f build-site.sh ]; then
3+
rm build-site.sh
4+
fi
5+
6+
curl https://raw.githubusercontent.com/mongodb/docs-worker-pool/netlify-poc/scripts/build-site.sh -o build-site.sh
7+
sh build-site.sh
Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
define: prefix docs/relational-migrator
2+
define: base https://www.mongodb.com/docs/relational-migrator
3+
define: versions master
4+
5+
# raw: <source file> -> ${base}/<destination>
6+
7+
# DOCSP-32370 - Field Customizations moved under new drawer page
8+
[*]: ${prefix}/mapping-rules/calculated-fields/calculated-fields -> ${base}/mapping-rules/fields/calculated-fields/calculated-fields/
9+
[*]: ${prefix}/mapping-rules/calculated-fields/calculated-fields/add-calculated-fields -> ${base}/mapping-rules/fields/calculated-fields/calculated-fields/add-calculated-fields
10+
[*]: ${prefix}/mapping-rules/calculated-fields/calculated-fields/view-calculated-fields -> ${base}/mapping-rules/fields/calculated-fields/calculated-fields/view-calculated-fields
11+
[*]: ${prefix}/mapping-rules/calculated-fields/calculated-fields/edit-calculated-fields -> ${base}/mapping-rules/fields/calculated-fields/calculated-fields/edit-calculated-fields
12+
[*]: ${prefix}/mapping-rules/calculated-fields/calculated-fields/delete-calculated-fields -> ${base}/mapping-rules/fields/calculated-fields/calculated-fields/delete-calculated-fields
13+
14+
# DOCSP-33055 - Prep Code Generation
15+
[*]: ${prefix}/code-generation/code-generation/ -> ${base}/code-generation/
16+
17+
# DOCS-16498 Getting Started page
18+
[*]: ${prefix}/migration-scenarios/ -> ${base}/getting-started/migration-scenarios/
19+
[*]: ${prefix}/supported-databases/ -> ${base}/getting-started/supported-databases/
20+
21+
# DOCSP-46660 repetitive paths
22+
[*]: ${prefix}/diagrams/diagrams/ -> ${base}/diagrams/
23+
[*]: ${prefix}/diagrams/navigate-diagrams/navigate-diagrams/ -> ${base}/diagrams/navigate-diagrams/
24+
[*]: ${prefix}/connection-strings/connection-strings/ -> ${base}/connection-strings/
25+
26+
# DOCSP-46661 repetitive paths
27+
[*]: ${prefix}/diagrams/navigate-diagrams/working-with-entities/working-with-entities/ -> ${base}/diagrams/navigate-diagrams/working-with-entities/
28+
[*]: ${prefix}/installation/install-on-a-local-machine/install-on-a-local-machine/ -> ${base}/installation/install-on-a-local-machine/
29+
30+
# DOCSP-46662 repetitive paths
31+
[*]: ${prefix}/installation/install-on-an-unattended-server/debian-server-installation/debian-server-installation/ -> ${base}/installation/install-on-an-unattended-server/debian-server-installation/
32+
[*]: ${prefix}/installation/install-on-an-unattended-server/install-on-an-unattended-server/ -> ${base}/installation/install-on-an-unattended-server/
33+
34+
# DOCSP-46663 repetitive paths
35+
[*]: ${prefix}/installation/install-on-an-unattended-server/rhel-centos-server-installation/rhel-centos-server-installation/ -> ${base}/installation/install-on-an-unattended-server/rhel-centos-server-installation/
36+
[*]: ${prefix}/installation/install-on-an-unattended-server/windows-server-installation/windows-server-installation/ -> ${base}/installation/install-on-an-unattended-server/windows-server-installation/
37+
38+
# DOCSP-46664 repetitive paths
39+
[*]: ${prefix}/jobs/data-verification/data-verification/ -> ${base}/jobs/data-verification/
40+
[*]: ${prefix}/mapping-rules/fields/calculated-fields/calculated-fields/ -> ${base}/mapping-rules/fields/calculated-fields/
41+
42+
# DOCSP-46665 repetitive paths
43+
[*]: ${prefix}/mapping-rules/mapping-rule-options/mapping-rule-options/ -> ${base}/mapping-rules/mapping-rule-options/introduction/
44+
[*]: ${prefix}/mapping-rules/mapping-rules/ -> ${base}/mapping-rules/introduction/
45+
46+
# DOCSP-46666 repetitive paths
47+
[*]: ${prefix}/projects/projects/ -> ${base}/projects/
48+
[*]: ${prefix}/table-filters/table-filters/ -> ${base}/table-filters/
49+
50+
# DOCSP-47252 redirect pre-requisites pages moved in PR#104
51+
[*]: ${prefix}/prerequisites/ -> ${base}/jobs/prerequisites/
52+
[*]: ${prefix}/prerequisites/my-sql/ -> ${base}/jobs/prerequisites/my-sql/
53+
[*]: ${prefix}/prerequisites/oracle/ -> ${base}/jobs/prerequisites/oracle/
54+
[*]: ${prefix}/prerequisites/postgres/ -> ${base}/jobs/prerequisites/postgres/
55+
[*]: ${prefix}/prerequisites/sql-server/ -> ${base}/jobs/prerequisites/sql-server/
56+
[*]: ${prefix}/prerequisites/sybase/ -> ${base}/jobs/prerequisites/sybase/
57+
58+
# DOCSP-47567 redirect files deleted in the docs uplift project
59+
## projects
60+
[*]: ${prefix}/projects/project-settings -> ${base}/installation/application-settings
61+
[*]: ${prefix}/projects/import-project -> ${base}/projects/manage-projects
62+
[*]: ${prefix}/projects/export-project -> ${base}/projects/manage-projects
63+
[*]: ${prefix}/projects/deleting-projects -> ${base}/projects/manage-projects
64+
[*]: ${prefix}/projects/renaming-project -> ${base}/projects/manage-projects
65+
## mapping rules
66+
[*]: ${prefix}/mapping-rules/new-rules-from-relational -> ${base}/mapping-rules/create-rules
67+
[*]: ${prefix}/mapping-rules/new-rules-to-mongodb -> ${base}/mapping-rules/create-rules
68+
## jobs
69+
[*]: ${prefix}/jobs/prerequisites -> ${base}/database-connections
70+
## installation
71+
[*]: ${prefix}/installation/deployment-considerations -> ${base}/installation
72+
[*]: ${prefix}/installation/install-on-an-unattended-server/debian-server-installation/debian-system-service -> ${base}/installation/install-on-an-unattended-server/debian-server-installation
73+
[*]: ${prefix}/installation/install-on-an-unattended-server/debian-server-installation/install-debian-server -> ${base}/installation/install-on-an-unattended-server/debian-server-installation
74+
[*]: ${prefix}/installation/install-on-an-unattended-server/rhel-centos-server-installation/install-rhel-server -> ${base}/installation/install-on-an-unattended-server/rhel-centos-server-installation
75+
[*]: ${prefix}/installation/install-on-an-unattended-server/rhel-centos-server-installation/rhel-system-service ->${base}/installation/install-on-an-unattended-server/rhel-centos-server-installation
76+
[*]: ${prefix}/installation/install-on-an-unattended-server/windows-server-installation/install-windows-server -> ${base}/installation/install-on-an-unattended-server/windows-server-installation
77+
[*]: ${prefix}/installation/install-on-an-unattended-server/windows-server-installation/windows-external-access -> ${base}/installation/install-on-an-unattended-server/windows-server-installation
78+
[*]: ${prefix}/installation/install-on-an-unattended-server/windows-server-installation/windows-system-service -> ${base}/installation/install-on-an-unattended-server/windows-server-installation
79+
## getting started
80+
[*]: ${prefix}/getting-started/migration-scenarios -> ${base}/getting-started
81+
[*]: ${prefix}/getting-started/supported-databases -> ${base}/getting-started
82+
## database connections
83+
[*]: ${prefix}/database-connections/save-mongodb-connection -> ${base}/database-connections
84+
[*]: ${prefix}/database-connections/save-relational-connection -> ${base}/database-connections
85+
## connection strings
86+
[*]: ${prefix}/connection-strings -> ${base}/database-connections
87+
[*]: ${prefix}/connection-strings/mongodb-database-connection-strings -> ${base}/database-connections
88+
[*]: ${prefix}/connection-strings/relational-database-connection-strings -> ${base}/database-connections
89+
90+
# DOCSP-48961 final review before merging docs-uplift into master
91+
[*]: ${prefix}/projects/create-project-sample-schema -> ${base}/database-connections/create-project-sample-schema
92+
[*]: ${prefix}/projects/create-project-loading-schema-files -> ${base}/database-connections/create-project-loading-schema-files
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
[[integrations]]
2+
name = "snooty-cache-plugin"
3+
4+
[build]
5+
publish = "snooty/public"
6+
command = ". ./build.sh"
7+
8+
# Redirect calculated fields to new drawer introduced in DOCSP-32370 - Field Customizations
9+
# Field Customization
10+
[[redirects]]
11+
from = "/mapping-rules/calculated-fields/*"
12+
to = "/mapping-rules/fields/calculated-fields/:splat"
13+
14+
# Redirect for previous Code Generation Page DOCSP-33055 - Prep Code Generation
15+
[[redirects]]
16+
from = "/code-generation/code-generation"
17+
to = "/code-generation"
18+
19+
# DOCS-16498 Getting Started Page Start
20+
[[redirects]]
21+
from = "/migration-scenarios"
22+
to = "/getting-started/migration-scenarios"
23+
24+
[[redirects]]
25+
from = "/supported-databases"
26+
to = "/getting-started/supported-databases"
27+
Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
name = "docs-relational-migrator"
2+
title = "Relational Migrator"
3+
4+
intersphinx = [ "https://www.mongodb.com/docs/manual/objects.inv",
5+
"https://www.mongodb.com/docs/atlas/objects.inv",
6+
"https://www.mongodb.com/docs/atlas/app-services/objects.inv"
7+
]
8+
9+
# toc_landing_pages = ["/paths/to/pages/that/have/nested/content"]
10+
11+
toc_landing_pages = [
12+
"supported-databases",
13+
"installation",
14+
"installation/install-on-a-local-machine",
15+
"installation/install-on-an-unattended-server",
16+
"installation/kafka-deployments/migrator-with-kafka",
17+
"database-connections",
18+
"app-analysis",
19+
"projects",
20+
"mapping-rules/introduction",
21+
"mapping-rules/mapping-rule-options/introduction",
22+
"mapping-rules/fields/calculated-fields",
23+
"mapping-rules/fields/field-customizations",
24+
"mapping-rules/synthetic-foreign-key/synthetic-foreign-keys",
25+
"table-filters",
26+
"diagrams",
27+
"diagrams/navigate-diagrams",
28+
"diagrams/navigate-diagrams/working-with-entities",
29+
"jobs/sync-jobs",
30+
"jobs/data-verification",
31+
"/connection-strings",
32+
"code-generation",
33+
"code-generation/generate-app-code",
34+
"code-generation/query-converter",
35+
"diagrams/manage-diagrams",
36+
"getting-started",
37+
"api-docs",
38+
"deployment-considerations",
39+
"code-generation/query-converter-test-queries",
40+
"code-generation/query-converter/query-management",
41+
"database-connections/db2",
42+
"database-connections/mongodb",
43+
"database-connections/mysql",
44+
"database-connections/oracle",
45+
"database-connections/postgres",
46+
"database-connections/sql-server",
47+
"database-connections/sybase",
48+
"database-connections/migrator-without-live-connection"
49+
]
50+
51+
[constants]
52+
connector-version = "2.7.0"
53+
ddl = ":abbr:`DDL (Data Definition Language)`"
54+
mdb-rel-mig = "MongoDB Relational Migrator"
55+
rel-mig = "Relational Migrator"
56+
migrator-api = "REST API Documentation"
57+
migrator-api-endpoints = "Endpoints"
58+
59+
[[banners]]
60+
targets = [
61+
"jobs/prerequisites/db2.txt",
62+
]
63+
variant = "warning"
64+
value = """\
65+
DB2 database support is currently in public preview. Users looking for production-grade migration assistance, please contact your account representative to engage in a guided evaluation.
66+
"""
67+
68+
[[banners]]
69+
targets = [
70+
"app-analysis.txt",
71+
]
72+
variant = "warning"
73+
value = """\
74+
Pre-Migration Analysis is new in Relational Migrator 1.13 and currently in public preview. Users looking for production-grade migration assistance, please contact your account representative to engage in a guided evaluation.
75+
"""
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
2+
=========================
3+
API & Developer Reference
4+
=========================
5+
6+
.. toctree::
7+
:titlesonly:
8+
9+
{+migrator-api+} <api-docs>
10+
File Locations <installation/file-location>

0 commit comments

Comments
 (0)