---
# System prepended metadata

title: Untitled

---

D02

- [x] create the SPN
- [x] create keyvaluts, add access policy (envspn and pollinate-infra client ID) and populate secrets
- [] create sql DB's
- [] cosmos DB's 
- [] Justbe data pipelines sql
- [] Kafka topics
- [] databricks cluster + gen token # init scripts todo
- [] create ADF
- [] datafactory (Pipeline stuff) Justbe data
- [] databricks (Pipeline stuff) Justbe data
- [x] create DNS zone + spn IAM + NS add request
- [] schemareg add stage in pipeline
- [] tyl-env add stage and relavent stuff
- [] storage accounts (inc iam role assignment)
- [] internal sftp (pod)
- [] hostalias in deployments for kafka workers
- [] Ingress for dev/tester access (manifests ready just need apply) <- we need to start adding this to code logic but need to look at splahing certs on and auto dns... can for now, do current manual way but just flagging it for furture simplification
- [] Keyvault have to populate secrets
- [] kubectl label nodes <node-name> <label-key>=<label-value>

Notes D02:


D03

- [x] create the SPN
- [x] create keyvaluts, add access policy (envspn and pollinate-infra client ID) and populate secrets
- [x] create sql DB's
- [x] cosmos DB's [DO LAST MINUTE TO SAVE COST + show adam]
  - [] Justbe data pipelines sql
- [x] Kafka topics [copy d2x but check confpage for topics]
  - [] databricks cluster + gen token # init scripts todo
  - [] create ADF
  - [] datafactory (Pipeline stuff) Justbe data
  - [] databricks (Pipeline stuff) Justbe data
- [x] create DNS zone + spn IAM + NS add request
- [x] schemareg add stage in pipeline (renamed d4x stage)
- [x] tyl-env add stage and relavent stuff [FRIDAY] <re-check - done -></re-check>
- [x] storage accounts (inc iam role assignment)
- [x] internal sftp (pod) (already in code)
- [x] hostalias in deployments for kafka workers (codify tuesday/wednesday/other) /keep checking and also scripts????
- [x] Ingress for dev/tester access (manifests ready just need apply) <- (codify tuesday/wednesday/other)
- [x] Keyvault have to populate secrets (mostly) <- stuff still to add [b2c example]
- [x] kubectl label nodes <node-name> <label-key>=<label-value>
- [x] - b2c (create new) note: add values to kv (code) <- done

Notes D03:
from Ovi [same DB structure and same Micro service versions as D2X environment]
 - also confirmming app list/branch with Ovi (he should be adding to jira ticket too)
 - check through commit post merge conflict before master merge (tyl-envs) <- to do - weds (will need further updates)
 
 notes II:
  - [x] [d03.topic.omass.secondretry] is/are not present and missingTopicsFatal is true
  - [x] nos ```Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2019-11-22 12:02:51 [main] ERROR o.s.boot.SpringApplication - Application run failed
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'merchantDataConsumer' defined in URL [jar:file:/app/notification-orchestration-service-3.1.2-RELEASE.jar!/BOOT-INF/classes!/com/jb/notification/orchestration/consumer/MerchantDataConsumer.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'processServiceImpl' defined in URL [jar:file:/app/notification-orchestration-service-3.1.2-RELEASE.jar!/BOOT-INF/classes!/com/jb/notification/orchestration/service/ProcessServiceImpl.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'tokenServiceImpl' defined in URL [jar:file:/app/notification-orchestration-service-3.1.2-RELEASE.jar!/BOOT-INF/classes!/com/jb/notification/orchestration/service/TokenServiceImpl.class]: Unsatisfied dependency expressed through constructor parameter 1; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert value of type 'java.lang.String' to required type 'long'; nested exception is java.lang.NumberFormatException: For input string: "" ```

  - [x] cufs ``` Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2019-11-22 12:02:11 [main] ERROR o.s.boot.SpringApplication - Application run failed
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'CUFSService': Unsatisfied dependency expressed through field 'userService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userService': Invocation of init method failed; nested exception is java.lang.RuntimeException: java.util.concurrent.ExecutionException: com.microsoft.aad.adal4j.AuthenticationException: {"error_description":"AADSTS700016: Application with identifier 'value' was not found in the directory '42b6f34a-5007-424f-b8a0-11d07bc460d4'. This can happen if the application has not been installed by the administrator of the tenant or consented to by any user in the tenant. You may have sent your authentication request to the wrong tenant.\r\nTrace ID: 2c9117fe-690d-44a0-98a5-caf83a590301\r\nCorrelation ID: 7a56697e-8ed6-4503-87e8-e2ebb939e63f\r\nTimestamp: 2019-11-22 12:02:06Z","error":"unauthorized_client","error_uri":"https:\/\/login.windows.net\/error?code=700016"} ```

   - [x] obapi ``` com.microsoft.aad.adal4j.AuthenticationException: {"error_description":"AADSTS700016: Application with identifier 'value' was not found in the directory '42b6f34a-5007-424f-b8a0-11d07bc460d4'. This can happen if the application has not been installed by the administrator of the tenant or consented to by any user in the tenant. You may have sent your authentication request to the wrong tenant.\r\nTrace ID: f227bb9a-466b-41f0-8cbe-b6001e076f00\r\nCorrelation ID: 35a94c84-235a-4746-b7c6-1194aa642248\r\nTimestamp: 2019-11-22 12:05:09Z","error":"unauthorized_client","error_uri":"https:\/\/login.windows.net\/error?code=700016"} ```
   
   NOTES: make sure authappkey, tokenpub, tokensecret keys have values and versions set correctly!!!!!
   NOTES: aadclientid/aadclientsecret are b2c aad/app reg > identifyframework (thingy)


DT01

- [x] create the SPN
- [x] create keyvaluts, add access policy (envspn and pollinate-infra client ID) and populate secrets
- [] create sql DB's
- [] cosmos DB's 
- [] Justbe data pipelines sql
- [] Kafka topics
- [] databricks cluster + gen token # init scripts todo
- [] create ADF
- [] datafactory (Pipeline stuff) Justbe data
- [] databricks (Pipeline stuff) Justbe data
- [xxxx] create DNS zone + spn IAM + NS add request
- [] schemareg add stage in pipeline
- [] tyl-env add stage and relavent stuff
- [] storage accounts (inc iam role assignment)
- [] internal sftp (pod)
- [] hostalias in deployments for kafka workers
- [] Ingress for dev/tester access (manifests ready just need apply) <- we need to start adding this to code logic but need to look at splahing certs on and auto dns... can for now, do current manual way but just flagging it for furture simplification
- [] Keyvault have to populate secrets 
- [] kubectl label nodes <node-name> <label-key>=<label-value>

Notes DT01: