Skip to content

Commit 1a5da00

Browse files
committed
Updated readme
1 parent d40d58d commit 1a5da00

File tree

1 file changed

+37
-14
lines changed

1 file changed

+37
-14
lines changed

README.md

Lines changed: 37 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,29 +3,31 @@
33

44
# utPLSQL v2 to v3 migration utility
55

6-
This project provides a migration utility to enrich utPLSQL v2 package specification with [utPLSQL v3 annotations](https://utplsql.github.io/utPLSQL/v3.0.0/userguide/annotations.html).
7-
8-
## Content
9-
10-
This utility contains the following components:
11-
12-
- Package `ut_v2_migration`
13-
- Modified version of `utassert` package from utPLSQL version 2.3.1
14-
- Modified version of `utassert2` package from utPLSQL version 2.3.1
6+
This project provides a migration utility to enrich utPLSQL v2 package specification with [utPLSQL v3](https://github.com/utPLSQL/utPLSQL) [annotations](https://utplsql.github.io/utPLSQL/v3.0.0/userguide/annotations.html)
157

168
## Download
179

18-
Download latest release from (TODO)
10+
Download latest release from this location:
11+
https://github.com/utPLSQL/utPLSQL/releases/latest
12+
1913

2014
## Requirements
2115

2216
- utPLSQL v2 needs to be installed
2317
- utPLSQL v3 needs to be installed
24-
- user executing the installation needs to have following privileges:
25-
- `create any procedure`
26-
- `create public synonym`
27-
- `grant any object privilege`
18+
- Installation needs to be done from a `SYS` account or as `SYSDBA` as utPLSQL v3 user needs to be granted execute privilege on `UTL_FILE`.
19+
This is required for installing utPLSQL v2 compatibility within utPLSQL v3.
20+
21+
22+
## Content
2823

24+
Migration utility contains the following components:
25+
26+
- Package `ut_v2_migration`
27+
- Modified version of `utassert` package from utPLSQL version 2.3.1
28+
- Modified version of `utassert2` package from utPLSQL version 2.3.1
29+
30+
All of above components are installed into utPLSQL v3 schema, have public synonyms created and are granted to public.
2931

3032
## Installation
3133

@@ -44,5 +46,26 @@ The install script does the following:
4446
- Creates public synonyms for `utassert` and `utassert2` in utPLSQL v3 schema
4547
- Grants execute on packages: `ut_v2_migration`, `utassert`, `utassert2` to PUBLIC
4648

49+
50+
# Migration process
51+
52+
## Requirements
53+
54+
The migration process scans utPLSQL v2 meta-data tables:
55+
- ut_package
56+
- ut_suite
57+
- ut_config
58+
59+
In order to be considered by migration process, Unit Test package needs to:
60+
- be registered in `ut_package` table - this can be done either by manually registering a package or by executing test package using utPLSQL v2 framework
61+
- be existing in the database
62+
- be valid
63+
64+
User executing the migration needs to:
65+
- be the owner of migrated packages
66+
- have `create any procedure` system privilege
67+
4768
## Executing migration
4869

70+
71+

0 commit comments

Comments
 (0)