Skip to content
This repository was archived by the owner on Nov 3, 2022. It is now read-only.

Release 0.2.1 #104

Merged
merged 209 commits into from
Feb 17, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
209 commits
Select commit Hold shift + click to select a range
028742b
hexmap wip
Sep 26, 2019
9c759d9
Merge branch 'develop' into hexmap
Oct 2, 2019
2421e1f
demo landscape config fix
Oct 3, 2019
bade53b
react app to render hex
Oct 3, 2019
c494ab9
react app to render hex (wip)
Oct 4, 2019
d02a082
react app to render hex (wip)
Oct 4, 2019
58a24fd
[#1] added hal support (spring hateos 1.0.0 did not work)
Oct 6, 2019
b811866
[#1] extended hal links
Oct 6, 2019
360f505
[#14] supported formats are detected at runtime using Spring services
Nov 10, 2019
1bde432
[#46] started reading rancher 1.6 API
Nov 10, 2019
d0e4ccd
updated git ignore
Nov 10, 2019
d075149
small graph rendering fix
Nov 11, 2019
09e44c3
[#46] relations between services via "linkedServices"
Nov 11, 2019
e9854be
[#46] reading labels
Nov 11, 2019
564acfb
[#46] improved label processing (support for collections)
bonndan Nov 13, 2019
2052f0c
[#46] added docs
bonndan Nov 14, 2019
d9e6469
[#46] cleanup
bonndan Nov 14, 2019
ae9e804
updated gitignore
bonndan Nov 14, 2019
98777e1
Merge pull request #47 from bonndan/rancher_api
bonndan Nov 14, 2019
edb7e3e
[#27] unknown providers and relation targets are added on the fly
bonndan Nov 19, 2019
c727788
[#27] improved code
bonndan Nov 19, 2019
78a9fa3
[#27] integrated instant item resolver into indexer
bonndan Nov 19, 2019
c7beddf
Merge pull request #48 from bonndan/27_greediness
bonndan Nov 21, 2019
d3e90d1
[#50] quick fix for windows file names (colon to underscore)
bonndan Nov 24, 2019
8638115
[#49] attempt to handle windows file locations in SEED
bonndan Nov 24, 2019
3e417d1
removed accidental port change
bonndan Nov 24, 2019
8a59535
fix for group showing as "null" in report [#52] and wrong group color…
bonndan Nov 24, 2019
058d781
changed travis config
bonndan Nov 24, 2019
db72948
[#53] fixed infinite recursion
bonndan Nov 24, 2019
a702297
[#59] only create docker images on master, develop and tag pushes
bonndan Nov 24, 2019
4454b12
[#59] only create docker images on master, develop and tag pushes
bonndan Nov 24, 2019
f17fd85
small fix for testing without IconService
bonndan Nov 25, 2019
a6482bf
[#57] replaced mx fast organic layout with custom layout without rand…
bonndan Nov 27, 2019
e9f581f
[#51] blacklisting of groups
bonndan Nov 28, 2019
19b1c06
[#51] cleanup, extended docs
bonndan Nov 29, 2019
d27a538
Merge pull request #64 from bonndan/stack_blacklist
bonndan Nov 29, 2019
cc55a2c
upgrade to spring boot 2.2
bonndan Dec 1, 2019
487e34d
ignoring labels which might contain secrets
bonndan Dec 6, 2019
b2c650d
[#41] finding relations using special labels
bonndan Dec 8, 2019
43f2edf
[#41] refactored item querying
bonndan Dec 9, 2019
ced0b28
[#41] cleanup
bonndan Dec 12, 2019
400f7a9
[#41] refactored label relations
bonndan Dec 12, 2019
e02bdc5
[#41] improved docs
bonndan Dec 12, 2019
15012b4
rancher api walker also reads service environment variables (important!)
bonndan Dec 13, 2019
f4f79b9
Merge pull request #70 from bonndan/env_vars
bonndan Dec 14, 2019
f6e4509
hexmap wip
Sep 26, 2019
72987db
react app to render hex
Oct 3, 2019
a231d9c
react app to render hex (wip)
Oct 4, 2019
55af130
react app to render hex (wip)
Oct 4, 2019
ac898be
Merge branch 'hexmap' of github.com:bonndan/nivio into hexmap
bonndan Dec 16, 2019
da0f989
fixes to get hexmap running
bonndan Dec 16, 2019
9befc8c
label processor npe fix
bonndan Dec 16, 2019
59f3492
rancher api walker improvements
bonndan Dec 16, 2019
acd9a0f
fix for magic label relations not linking same service with itself
bonndan Dec 16, 2019
bee203b
extended report
bonndan Dec 16, 2019
c38054b
fixed server port, removed accidentally reintroduced jpa stuff
bonndan Dec 17, 2019
1a56b0c
api improvements
bonndan Dec 17, 2019
e8a5eff
fqi improvement
bonndan Dec 17, 2019
bd76734
[#58] new processor to separate label extraction for label interpreta…
bonndan Dec 17, 2019
3ab77c0
Merge branch 'develop' into hexmap
bonndan Dec 18, 2019
a63623a
indexer refactoring
bonndan Dec 18, 2019
ba1e48c
[#72] refactored items class for use with LandscapeImpl
bonndan Dec 19, 2019
cf0b66a
[#72] refactored items class for use with ItemDescriptions (input)
bonndan Dec 21, 2019
5b453cb
cleanup
bonndan Dec 21, 2019
c330adf
new method to get group color
bonndan Dec 26, 2019
4ceec30
preparation to unify rendered output
bonndan Dec 26, 2019
f114dab
20px grid on final graph
bonndan Dec 26, 2019
c3b2779
simplifying mapping json
bonndan Dec 28, 2019
be71f8a
hexmap min max
bonndan Dec 29, 2019
7bc8a34
react hexmap pathfinder wip
bonndan Dec 30, 2019
ed6db8c
fastest path chosen
bonndan Dec 30, 2019
5e0e70b
mapitem with identifier as name fallback
bonndan Dec 30, 2019
f0952f2
rounded curves
bonndan Dec 30, 2019
6ce6503
tilepath fix
bonndan Dec 30, 2019
7c47bbf
fix to provide icon urls to map items
bonndan Dec 30, 2019
44455a3
showing images in map
bonndan Dec 30, 2019
a8e9f20
cleanup
bonndan Dec 31, 2019
f36195b
map group items have hex start/end coords
bonndan Dec 31, 2019
560a317
showing group and labels
bonndan Jan 1, 2020
d5c2d3c
pan and zoom svg
bonndan Jan 2, 2020
13dbc56
mvn dependency-analyzer for java 11 (workaround)
bonndan Jan 2, 2020
5069459
link to app/map in landscape hateoas, map moved to subdirectory
bonndan Jan 4, 2020
c5591ba
showing details under labels on click
bonndan Jan 5, 2020
f16f557
more details
bonndan Jan 6, 2020
1acd3d1
showing group names and landscape name
bonndan Jan 6, 2020
f52f96a
Merge pull request #73 from bonndan/landscape_items_refactoring
bonndan Jan 7, 2020
3c2f7f1
Merge branch 'develop' into hexmap
bonndan Jan 8, 2020
06ddc85
[#76] removed graphstream, jgrapht, sqlite from cqengine
bonndan Jan 8, 2020
16aea1a
bumping nivio version
bonndan Jan 8, 2020
8411552
cleanup
bonndan Jan 8, 2020
64459d9
Merge pull request #77 from bonndan/76_diet
bonndan Jan 8, 2020
e9dfdfc
[#33] using an absolute url without host
bonndan Jan 8, 2020
97fb7ba
cleanup
bonndan Jan 9, 2020
dde3ccb
[#79] removed hex stuff calculation from java, now done in react
bonndan Jan 9, 2020
0c36860
Merge branch 'develop' into hexmap
bonndan Jan 9, 2020
10b01e0
[#75] extracted method
bonndan Jan 10, 2020
51d7dd3
Merge remote-tracking branch 'origin/hexmap' into hexmap
bonndan Jan 10, 2020
b388e1c
[#75] cleanup
bonndan Jan 10, 2020
bc504fc
Merge pull request #75 from bonndan/hexmap
bonndan Jan 10, 2020
495a132
[#80] dataflow indicated by markers instead of line
bonndan Jan 13, 2020
e1d94c2
[#82] inline css
bonndan Jan 13, 2020
2aec5bc
updated hexmap preview
bonndan Jan 13, 2020
ec87279
cleanup
bonndan Jan 14, 2020
8da8757
npe fix
bonndan Jan 14, 2020
9a16bbf
better demo landscape layout
bonndan Jan 14, 2020
f58968f
fqi based anchors in report
bonndan Jan 14, 2020
20fc50a
updated test artifact
bonndan Jan 14, 2020
4aeb784
fix for incoming/outgoing relations in report
bonndan Jan 14, 2020
5fcd07f
cleanup
bonndan Jan 15, 2020
4eff28f
[#81] add status color to label
bonndan Jan 15, 2020
f461357
cleanup
bonndan Jan 15, 2020
060ac06
removed hardcoded server name in map generation, passing map data url…
bonndan Jan 15, 2020
e21407d
[#83] csv reader in item description factory
bonndan Jan 15, 2020
12deadf
[#83] added csv in input / output graph
bonndan Jan 15, 2020
4731489
label to field processor can handle links
bonndan Jan 16, 2020
c879980
[#83] added test
bonndan Jan 16, 2020
7c4c119
[#83] integration test and fixes
bonndan Jan 16, 2020
fc4aa30
[#83] documented csv as input source
bonndan Jan 16, 2020
e889de0
[#83] updated documentation
bonndan Jan 16, 2020
aa6f2c7
svg rendered in java backend
bonndan Jan 19, 2020
5ccc385
preliminary svg width and height
bonndan Jan 21, 2020
502c6ee
api controller responding under "/api"
bonndan Jan 21, 2020
0c0cb7d
removed foreignObject from svg as it breaks react svg loading
bonndan Jan 21, 2020
2505a1a
linked svg map in hateoas
bonndan Jan 21, 2020
d596684
fix
bonndan Jan 21, 2020
ccbb5a8
readding groups in processlog json
bonndan Jan 21, 2020
e3dd47b
[#85] changed app to arwes
bonndan Jan 21, 2020
9b9f811
[#85] partially removed hardcoded urls
bonndan Jan 21, 2020
456f8e4
[#85] cleanup
bonndan Jan 21, 2020
38e780b
[#85] added docs
bonndan Jan 21, 2020
f855954
[#85] extracted Router tag for programmatic navigation via pseudo ter…
bonndan Jan 21, 2020
0ca8bc1
Merge branch 'develop' into 83_csv_import
bonndan Jan 21, 2020
5d637ce
[#84] fixes, wording
bonndan Jan 21, 2020
3cc759c
[#84] test fix
bonndan Jan 21, 2020
8181963
removed arwes gui, author says current version is deprecated
bonndan Jan 22, 2020
6c1feed
showing screenshot in readme
bonndan Jan 22, 2020
18ed60a
url fix
bonndan Jan 22, 2020
e6ce4ac
bumped retrofit version, remote unused hexworks dependency
bonndan Jan 22, 2020
e346198
removed wrong annotation
bonndan Jan 22, 2020
1630fa9
fixed js build
bonndan Jan 22, 2020
832dcc8
item mapitem npe fix
bonndan Jan 24, 2020
79965ed
added note on context path handling.
bonndan Jan 24, 2020
2042ae6
generating rst-based docs in package phase, serving docs along with n…
bonndan Jan 24, 2020
03a1e27
item in svg map has id based on item's fully qualified identifier
bonndan Jan 24, 2020
0c1e749
StatusItem::highestOf
bonndan Jan 24, 2020
8a75eea
changed rst builder
bonndan Jan 24, 2020
8d20519
[#85] loading manual into gui
bonndan Jan 24, 2020
77e1f9d
[#87] landscape.description
bonndan Jan 24, 2020
f74336f
removed unused dependency
bonndan Jan 25, 2020
79fc2a8
[#87] more landscape info
bonndan Jan 25, 2020
fb771d8
[#87] css update
bonndan Jan 25, 2020
25ccadb
[#87] updated docs
bonndan Jan 25, 2020
7cc2f24
Merge branch 'develop' into 83_csv_import
bonndan Jan 25, 2020
f274734
Merge branch '83_csv_import' into develop
bonndan Jan 25, 2020
3675249
[#85] added inout landscape in DEMO mode
bonndan Jan 25, 2020
f6ed374
[#87] render single landscape items to html for ajax inclusion
bonndan Jan 25, 2020
51741a4
fix var name
bonndan Jan 25, 2020
4892a2d
[#90] fix svg generation
bonndan Jan 26, 2020
98a402f
[#87] last update
bonndan Jan 26, 2020
bc6d564
[#90] added test (disabled) to render large svg
bonndan Jan 26, 2020
158e779
fix for flickering test
bonndan Jan 26, 2020
3323237
fix for baseUrl detection and development hostname
bonndan Jan 27, 2020
d483ee0
FinalGraph logger output less verbose
bonndan Jan 27, 2020
ed884e2
temp fix for svg having too small width (added text label width)
bonndan Jan 27, 2020
135be07
svg label uses fqi as id
bonndan Jan 27, 2020
3174415
[#54] attempt to fix color of bullet
bonndan Jan 27, 2020
b65e243
item report provides complete html file
bonndan Jan 27, 2020
5fd7302
[#85] load item info from server
bonndan Jan 27, 2020
a3d4445
reset localhost port
bonndan Jan 27, 2020
8d1f53b
[#85] gui improvement
bonndan Jan 27, 2020
402f796
[#91] improved log message
bonndan Jan 27, 2020
59bd8ed
removed debugger
bonndan Jan 27, 2020
b3540fc
closeable man / modal
bonndan Jan 27, 2020
00a0a3c
removed modal focus
bonndan Jan 27, 2020
953b3cb
added docs
bonndan Jan 27, 2020
a21bd62
item lifecycle shown in html doc
bonndan Jan 27, 2020
b9a50c9
landscape report linked
bonndan Jan 27, 2020
2774fb3
landscape stats teams unique
bonndan Jan 27, 2020
40da6fe
showing landscape log
bonndan Jan 27, 2020
94ba4d8
updated docs
bonndan Jan 27, 2020
1b3eaac
npe fix
bonndan Jan 28, 2020
8d58d8e
gui improvements
bonndan Jan 28, 2020
1d30dcd
simulate live updates
bonndan Jan 28, 2020
beccaea
[#56] showing scale in rendered graph
bonndan Jan 28, 2020
1b65f9f
more infos on relations
bonndan Jan 28, 2020
dcdfc34
gui improvements
bonndan Jan 29, 2020
b316438
[#93] improved pathfinding
bonndan Jan 29, 2020
35f43de
[#91] improved magic label relations
bonndan Feb 3, 2020
1db481a
[#91] preventing false positive magic relations via blacklist
bonndan Feb 3, 2020
b6641b1
cleanup
bonndan Feb 4, 2020
c8a3799
test fix
bonndan Feb 4, 2020
8c6ef28
trying to avoid stack overflow by using for loop instead of stream
bonndan Feb 6, 2020
1b122a8
showing svg in report
bonndan Feb 7, 2020
c18740f
less verbose IconsController
bonndan Feb 7, 2020
8a298ee
attempt to fix pathfinding stack overflow
bonndan Feb 7, 2020
ae585ac
npe fixes
bonndan Feb 7, 2020
0a6be09
[#91] fix label relations blacklist case sensitivity
bonndan Feb 13, 2020
71ac05e
reduced possible target in magic label relations
bonndan Feb 13, 2020
48afb15
[#54] improved report
bonndan Feb 13, 2020
7ae969c
[#93] A* path finding algorithm
bonndan Feb 13, 2020
1d89f83
[#93] svg optimisation and cleanup
bonndan Feb 14, 2020
c590166
Bump yarn from 1.21.1 to 1.22.0 in /src/main/app
dependabot[bot] Feb 15, 2020
a9df426
[#93] rendering map to png using batik, jgraphx now deprecated
bonndan Feb 15, 2020
4c082f5
Merge pull request #102 from dedica-team/dependabot/npm_and_yarn/src/…
bonndan Feb 15, 2020
d71adb6
[#81] planned relations as dotted line
bonndan Feb 15, 2020
f72ea24
[#81] planned items in map
bonndan Feb 15, 2020
fba4c13
Merge remote-tracking branch 'origin/develop' into develop
bonndan Feb 15, 2020
e199413
[#105] fixed marker direction
bonndan Feb 17, 2020
f0954ec
[#106] attempt to reduce large map size (lesser repulsion of groups)
bonndan Feb 17, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
name: Java CI

on: [push]
on:
push:
tags:
- '*'
branches:
- master
- develop

jobs:
build:
Expand All @@ -18,6 +24,6 @@ jobs:
- name: Build and Publish Docker
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: bonndan/nivo
name: bonndan/nivio
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@
target
docs/build
_static
_templates
_templates
/.env
*.iml
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
language: java

jdk:
- openjdk10
- openjdk12

cache:
directories:
Expand Down
Binary file modified docs/graph.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/hexmap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/inout.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 4 additions & 3 deletions docs/source/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,15 @@ The API is not final and may change in the future.
JSON Endpoints
--------------

* /landscape/{landscape.identifier}
* /landscape/{landscape.identifier}/items
* /landscape/{landscape.identifier}/items/{fully qualified item identifier} DELETE
* /api/landscape/{landscape.identifier}
* /api/landscape/{landscape.identifier}/items
* /api/landscape/{landscape.identifier}/items/{fully qualified item identifier} DELETE

Document Endpoints
------------------

* /render/{landscape.identifier}/graph.png returns the landscape as rendered graph
* /render/{landscape.identifier}/map.svg returns the landscape as rendered graph
* /docs/{landscape.identifier}/report.html returns a formatted html summary of the landscape
* /docs/{landscape.identifier}/owners.html returns a formatted html summary of the item owners

37 changes: 37 additions & 0 deletions docs/source/extra.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,40 @@ Vendor icons are work in progress.
items:
- identifier: bar
icon: vendor://redis


Graph Layout Tweaking
=====================

In rare cases the layout needs some manual improvements. Internally nivio uses mxGraph (for Java), which can be influences
by tweaking some parameters (see https://jgraph.github.io/mxgraph/java/docs/com/mxgraph/layout/mxOrganicLayout.html).

.. code-block:: yaml
:linenos:

identifier: nivio:example
name: Landscape example
sources:
- url: "./items/dashboard.yml"
format: nivio

# landscape configuration
config:
jgraphx:
triesPerCell: 8
edgeLengthCostFactor: 0.0001
nodeDistributionCostFactor: 900000.0
borderLineCostFactor: 7.0

#
# for group alignment
#

# the higher, the longer the edges between groups
forceConstantFactor: 2.8

# higher value is cpu intensive, but can lead to better layouts
maxIterations: 1000

# can also influence edge length and layout
minDistanceLimitFactor: 3.05
15 changes: 0 additions & 15 deletions docs/source/features.rst

This file was deleted.

17 changes: 16 additions & 1 deletion docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,28 @@ Nivio is a tool for application landscape management targeted at teams (develope
approach, i.e. there is no interface for manual data maintenance. Instead, nivio pulls all its information from data
sources like files or web apis (e.g. monitoring items) or allows pushing information via its API.


.. image:: https://raw.githubusercontent.com/dedica-team/nivio/master/docs/graph.png
:width: 100%
:alt: Rendered graph

* **It is easy to install and to maintain.** Runs dockerized on a single server with moderate to low hardware requirements. It store the items, so it can be discarded at any time and be refilled with the next start.
* **No-op usage** Besides its initial configuration it is designed to gather the application landscape information from configurable items, preferably code repos.
* **Renders the landscapes as a graph** see above
* **Multiple configuration sources** while nivio has its proprietary format, you can also use docker-compose files or use them as basis and enrich them using further files
* **PULL: Single seed** basic indexing of landscapes driven by a configuration file
* **PUSH: incremental data aggregation** send configuration files and other formats to build a landscape
* **Aggregation of item state** using sources like Prometheus and marking items accordingly


.. toctree::
:maxdepth: 2
:caption: Contents:

features
install
input
model
magic
api
extra
references
Expand Down
49 changes: 49 additions & 0 deletions docs/source/input.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
Input Sources
=============


Kubernetes cluster inspection
-----------------------------

Kubernetes clusters are inspected using Fabric8.io's Java client. See https://github.com/fabric8io/kubernetes-client#configuring-the-client
for configuration. Parsing can be configured via an URL, i.e. the examined namespace can be given (otherwise all namespaces
are scanned) and a label for building groups can be named. Both parameters and even the whole URL are optional.

.. code-block:: yaml
:linenos:

identifier: k8s:example
name: Kubernetes example
sources:
- url: http://192.168.99.100?namespace=mynamespace&groupLabel=labelToUseForGrouping
format: kubernetes



Rancher 1 Cluster Inspection
----------------------------

Rancher clusters can be indexed one project (aka environment in the GUI speak) at a time. Access credentials can be read
from environment variables. To exclude internal stacks (like those responsible for internal networking), blacklist them.

.. code-block:: yaml
:linenos:

identifier: rancher:example
name: Rancher 1.6 API example
config:
groupBlacklist: [".*infra.*"]

sources:
- url: "http://rancher-server/v2-beta/"
projectName: Default
apiAccessKey: ${API_ACCESS_KEY}
apiSecretKey: ${API_SECRET_KEY}
format: rancher1



Nivio proprietary format
------------------------

Nivio provided an own format, which allows to set all model properties manually (see Model and Syntax section)
48 changes: 19 additions & 29 deletions docs/source/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ The Docker image is about 350MB and can be started with:

.. code-block:: bash

docker run -e DEMO=1 bonndan/nivio
docker run -e DEMO=1 dedica-team/nivio

Set SERVER_CONTEXT_PATH env var to the path if nivio won't be runner under "/".

Demo mode
---------
Expand Down Expand Up @@ -61,6 +63,7 @@ For jgraphx output, some force directed graph params can be set. More configurat
identifier: nivio:example
name: Landscape example
contact: [email protected]
description: This is an example landscape.
sources:
- "./items/wordpress.yml"
- url: "./items/dashboard.yml"
Expand All @@ -73,47 +76,34 @@ For jgraphx output, some force directed graph params can be set. More configurat
- url: xxx
format: kubernetes

# landscape configuration
config:
groups:
content:
color: "24a0ed"

# https://jgraph.github.io/mxgraph/java/docs/com/mxgraph/layout/mxOrganicLayout.html
jgraphx:
triesPerCell: 8
edgeLengthCostFactor: 0.0001
nodeDistributionCostFactor: 900000.0
borderLineCostFactor: 7.0

#
# for group alignment
#

# the higher, the longer the edges between groups
forceConstantFactor: 2.8

# higher value is cpu intensive, but can lead to better layouts
maxIterations: 1000

# can also influence edge length and layout
minDistanceLimitFactor: 3.05

Kubernetes cluster inspection
Reading from csv
-----------------------------

Kubernetes clusters are inspected using Fabric8.io's Java client. See https://github.com/fabric8io/kubernetes-client#configuring-the-client
for configuration. Parsing can be configured via an URL, i.e. the examined namespace can be given (otherwise all namespaces
are scanned) and a label for building groups can be named. Both parameters and even the whole URL are optional.
Nivio can parse csv files regarding one row as landscape item. The order of the columns in the file is important, since
headers are ignored and not mapping automatically. Instead, each column number (starting at zero) can be assigned to an
item property in the "mapping" configuration. Additionally, the csv separator char and the number of lines to
skip (usually 1 for the header row) can be set.

.. code-block:: yaml
:linenos:

identifier: k8s:example
name: Kubernetes example
sources:
- url: http://192.168.99.100?namespace=mynamespace&groupLabel=labelToUseForGrouping
format: kubernetes
- url: "./services/test.csv"
format: csv
mapping:
identifier: 1
name: 0
description: 2
providedBy: 3
separator: ";"
skipLines: 1


Deleting items
-----------------
Expand Down
Loading