# BluePrint


AI infused application analytics and documentation. 

## Prerequisits You need to have IceBreak Enterprise installed and running and IBM i OS-7.3 
## Installation

Open ACS run SQL scripts, or VScode DB2 for i, or even STRSQL and paste the following script in. 
Perhaps you need to change the port, schema (library) and IceBreak installation 

The defaults are: 
1) Library: BLUEPRINT - The library containing the metadata graph.
2) Port: 7111 - The service endpoint and browser user interface 
3) IceBreak: ICEBREAK TheIceBreak environment library 


```sql
begin
    declare buf blob(2G);
    set buf = systools.httpgetblob (url => 'https://webfiles.system-method.com/download/Blueprint/bluePrint-latest.savf', httpheader => null);
    call qsys2.ifs_write_binary(path_name => '/tmp/bluePrint-install',line => buf, overwrite => 'REPLACE');
    call qcmdexc ('cpyfrmstmf fromstmf(''/tmp/bluePrint-install'') tombr(''/QSYS.lib/qtemp.lib/bluePrint.FILE'') mbropt(*replace) cvtdta(*none)');
    call qcmdexc ('rstlib savlib(INST.BP) dev(*savf) savf(qtemp/bluePrint)');
    call qcmdexc ('INST.BP/install  lib(bluePrint) ifspath(''/sitemule/bluePrint'') icebreak(icebreak) port(7111)');     
    call qcmdexc ('dltlib INST.BP');   
end
```


## Usage
After you have  installed **BluePrint** then ensure the IceBreak is actively running at the port you decide.

Then in the browser - type:
```
http://MY_IBM_I:60111 
````

In the upper right corner you will find a "burger menu", open that and fill in the form for the **settings** and presse save. 
Still in the "burger menu" select the dependency graph, and press **GO** 
You can now follow the progress in the "Exception Report" also found in the "burger menu".
When finished - you are ready to navigate around in the applications and data in your system. 
 