---
# System prepended metadata

title: Nifi Informations

---

# Nifi Informations

## Ports
https://docs.google.com/spreadsheets/d/1BK7iNad-cpQjegKuuN63pOxZ6TAIs782V-sVw2sNR8Q/edit#gid=0

## Shared Folders

* **10.0.160.24/rip** 
    * /opt/nifi/nifi-current/rip
* **10.0.160.39/ProducaoPrinti** 
    * /opt/nifi/nifi-current/ProducaoPrinti-stg
* **192.168.10.39/ProducaoPrinti** 
    * /opt/nifi/nifi-current/ProducaoPrinti
* **10.0.160.25** 
    * /opt/nifi/nifi-current/EskoLargeFormat
* **stg.v1-omega.printi.com.br/data** 
    * /opt/nifi/nifi-current/stg-v1

Esko as only one server with all environment (prod, stg)

# Nifi ingest job
In this Module, Nifi manage all the jobs created by thirdparty softwares such as Esko, Promo Api and IMP.
Basic Nifi gets a XML from Omega V1 and start the process of upload files to S3, and after finish the uploads send a notification to Nifi Prepare Files.

## Json Model

```
{
    "layout": {
        "id": "Label_20200518_0848_1",
        "pooling_type": "label",
        "layout_part": [
            {
                "id": "3009173",
                "router": {
                    "cut": true,
                    "layout": true
                }
            }
        ]
    }
}
```

### id
id = layout id from Omega
    `"id": "Label_20200518_0848_1"`

### pooling_type
`"pooling_type"` is the type of line production
    ```
    "pooling_type" : {
        label, large_format, small_format, laser, uv
    }
    ```
    
### layout_part 
`layout_part ` is how we identify multiple layouts
```
"layout_part": [
            {
                "id": "3009173",
                "router": {
                    "cut": true,
                    "layout": true
                }
            }
        ]
```

### router

In progress...