Skip to content

Commit 4bc793a

Browse files
committed
Updated readme, added .gitattributes file.
1 parent 2787bd7 commit 4bc793a

File tree

3 files changed

+54
-3
lines changed

3 files changed

+54
-3
lines changed

.gitattributes

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
.travis export-ignore
2+
.gitignore export-ignore
3+
.gitattributes export-ignore
4+
.travis.yml export-ignore
5+
test export-ignore
6+
sonar-project.properties export-ignore

README.md

Lines changed: 48 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,48 @@
1-
# utPLSQL-v2-v3-bridge
2-
A migration and bridge utility that allows using utPLSQL v3 framework with utPLSQL v2 Unit Tests
1+
[![build](https://img.shields.io/travis/utPLSQL/utPLSQL-v2-v3-bridge/master.svg?label=master%20branch)](https://travis-ci.org/utPLSQL/utPLSQL-v2-v3-bridge)
2+
[![sonar](https://sonarqube.com/api/badges/gate?key=utPLSQL%3AutPLSQL%3master)](https://sonarqube.com/dashboard/index?id=utPLSQL%3AutPLSQL%3Adevelop)
3+
4+
# utPLSQL v2 to v3 migration utility
5+
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
15+
16+
## Download
17+
18+
Download latest release from (TODO)
19+
20+
## Requirements
21+
22+
- utPLSQL v2 needs to be installed
23+
- 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`
28+
29+
30+
## Installation
31+
32+
Execute `install.sql` script using `SQLPlus` or `sqlcl` as in the example below.
33+
34+
```bash
35+
sqlplus sys/oracle@xe as sysdba @install utp ut3
36+
```
37+
38+
The install script does the following:
39+
40+
- Checks if utPLSQL v2 is installed
41+
- Checks if utPLSQL v3 is installed
42+
- Drops public synonyms for `utassert` and `utassert2`
43+
- Installs packages: `ut_v2_migration`, `utassert`, `utassert2` into utPLSQL v3 schema
44+
- Creates public synonyms for `utassert` and `utassert2` in utPLSQL v3 schema
45+
- Grants execute on packages: `ut_v2_migration`, `utassert`, `utassert2` to PUBLIC
46+
47+
## Executing migration
48+

source/install.sql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ set verify off
66
set heading off
77
set linesize 1000
88
set pagesize 0
9-
set feedback off
109
set echo off
1110
set termout off
1211
set serveroutput on size unlimited format truncated

0 commit comments

Comments
 (0)