X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=pm-file-converter%2FREADME.md;h=93c19d8acea62907e81a0d3c401b1d918514e199;hb=08e640604edf8056bfe35155c04e88653e1872c4;hp=2b6d5422edcdbc1dee816ecb80f4c14a93e616bb;hpb=5a01ec4da9c004c8b74d2997ee7d3ffa77dfaf95;p=nonrtric%2Fplt%2Franpm.git diff --git a/pm-file-converter/README.md b/pm-file-converter/README.md index 2b6d542..93c19d8 100644 --- a/pm-file-converter/README.md +++ b/pm-file-converter/README.md @@ -1,9 +1,7 @@ +## PM Data Producer -## Producer - -Producer supporting data types for pm xml to json conversion and pm json filtering - +### Manual build, tag and push to image repo Build for docker or local kubernetes\ `./build.sh no-push` @@ -11,6 +9,38 @@ Build for docker or local kubernetes\ Build for remote kubernetes - an externally accessible image repo (e.g. docker hub) is needed \ `./build.sh ` +### Function + +Producer supporting data types for pm xml to json conversion, pm json filtering with output to kafka or influx db. + +### Configuration + +The app expects the following environment variables: + +- CREDS_GRANT_TYPE : Grant type (keycloak) +- CREDS_CLIENT_SECRET: Client secret (keycloak) +- CREDS_CLIENT_ID : Client id (keycloak) +- AUTH_SERVICE_URL : Url to keycloak for fetching tokens +- KAFKA_SERVER : Host and port to kafka bootstrap server +- ICS : Host and port to the Information Coordination Service +- SELF: Host and port of this app + +The following env vars are optional +FILES_VOLUME : Path to persistent file storage (optional) +FILESTORE_USER : Minio filestore user +FILESTORE_PWD : Minio filestore password +FILESTORE_SERVER: Host and port of the minio filestore +KP : Id of the app + +The app can be configured to read file from a mounted file system or from a filestore server (minio). + +Mounted files: +Configure ´FILES_VOLUME´ and leave var starting with FILESTORE empty. + +Filestore: +Configure env var starting with FILESTORE and leave ´FILES_VOLUME´empty. + + ## License