Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Not a complete list


We need some discovery mechanism for Test flags & sync templates with Go. 


Project - represents Project

...

    - Includes EdgeNode[]   

    - Includes Asserts[]

   

       WaitforAsserts( timeout) - w8 for some time. Fail on single AssertFail or all AssertSuccess

...

   - SetNetwork - creates a Network for AppInstance  


State - global state

observe() - starts monitoring

getState() 


State - something that we get from metric/Info and update

EdgeNode1.getState.lastreboot 

reboot - do polling of State


Struct - look into Proto.info - ZinfoMessage - UNION of Records that we save in memory 

StreamProcessor - reads stream from Info/Log/Metrics

CreateProcessor(func) 

   func - processes single log. Returns true if found something. false if not found

.Success

.Fail

Fail or Succcess  - rely on Go infrastructure


/* Asserts - used for getting status - waiting for some action and return 

createAssertSuccess (AssertType, ObjectName,  AssertFunction)  -creates Assert for Success. 

...

createAssertFail(Checkreboot(EdgeNode1, 5, controller))


*/