...
Code Block |
---|
language | yml |
---|
title | Feed + Dr_pubs Input via Values.yaml |
---|
|
Data Router Feed, Publisher, Subscriber creation input details.
Old approach-
------------------------------------------
feedConfig:
owner: dcaecm
feedVersion: 0.0
feedName: bulk_pm_feed
asprClassification: unclassified
feedDescription: DFC Feed Creation
pubs:
- username: dcaepub
userpwd: tpJN3gjaAzPAiAa4
dcaeLocationName: loc00
|
Code Block |
---|
|
Feed Input:
{
"feedName":"
------------------------------------------
New approach-
------------------------------------------
# DataRouter Feed Configuration
drFeedConfig:
- feedName: bulk_pm_feed",
"feedVersion":"0.0", owner: dcaecm
"feedDescription":"No description provided",
feedVersion: 0.0
"asprClassification":" unclassified",
"owner":"dcaecm"
}
dr_pubs Input :
{
"feedId":"1", >>> Need to be updated based on response from Feed creation.
"dcaeLocationName":"loc00",
"username":"H6hSBrdD",
"userpwd":"tpJN3gjaAzPAiAa4"
}
|
Code Block |
---|
language | xml |
---|
title | Response Body on POST request to create feed |
---|
|
{
"type":"feed",
"lastMod":"2021-05-18T17:38:48.214Z",
"status":"VALID",
"asprClassification":"unclassified",
"feedDescription":"DFC Feed Creation",
"feedId":"2",
"feedName":"bulk_pm_feed",
"feedVersion":"1",
"logURL":"https://dmaap-dr-prov/feedlog/2",
"owner":"dcaecm",
"publishURL":"https://dmaap-dr-prov/publish/2",
"pubs":[
{
"lastMod":"2021-05-18T17:38:48.204Z",
"status":"VALID",
"dcaeLocationName":"loc00",
"feedId":"2",
"pubId":"2.h2a6w",
"username":"dcaepub",
"userpwd":"tpJN3gjaAzPAiAa4"
}
],
"subs":[
],
"subscribeURL":"https://dmaap-dr-prov/subscribe/2",
"suspended":false
} feedDescription: DFC Feed Creation
# DataRouter Publisher Configuration
drPubConfig:
- feedName: bulk_pm_feed
dcaeLocationName: loc00
# DataRouter Subscriber Configuration
drSubConfig:
- feedName: bulk_pm_feed
dcaeLocationName: loc00
decompress: True
privilegedSubscriber: True
deliveryURL: https://dcae-pm-mapper:8443/delivery
------------------------------------------
ConfigMap Configuration for Feed, Dr_Publisher
------------------------------------------
volumes:
- name: feeds-config
path: /opt/app/config/feeds/
- name: drpub-config
path: /opt/app/config/dr_pubs/
- name: drsub-config
path: /opt/app/config/dr_subs/ |
**Further analysis is on going will be updating this wiki as we move along.
...