tt

The Template micro application will be used as the starting point for all of our new micro applications going forward.

This will be stored in the platform repository, and a copy will be taken and checked into the OnlineReferrals repository for each micro application that we create.
It will also act as the starting point for the UI Framework micro application
 
[AC]
  • The Template must require that an Oauth2 token is passed with every request to ensure that calls are made secure *Let me know if I have the terminology correct here.
  • The Template must include functionality to catch last chance exceptions (i.e. if an exception is thrown in a call that has no exception handling within it) and write this to an error log using Log4Net.
  • The Template must illustrate the mechanism by which a micro application's javascript will be made aware of the location of the Micro Services that it will need to call. My initial thoughts are that we will have a config file setting on the server, as we cannot rely on anything be present on the client. I would like SDC to come up with a mechanism for this.
  • The Template must include all of the necessary references that will be required when when create real micro applications, so Log4Net, and any others you can think of.
  • The Template must include a sample page, and demonstrate how calls are routed 
  • The Template should include a very simple 'Hello World' screen that is access from \HelloWorld
  • SDC must add in any other functionality they feel appropriate here *Please let me know, and add these in below as you see fit.
 
 
As well as acting as our starting point template, and therefore preventing the same code from being re-written multiple times, it will serve as a best practice guide and as a good way of demonstrating the manner in which we are writing micro applications.
As time goes on and we start to write our real micro applications, it is anticipated that useful code will be pushed back into this starting point template so that future micro applications get the benefit of common functionality.
 
The project should be called CSD.MicroApplication.Template

 

你可能感兴趣的:(T)