Versions Compared

Key

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

...

For milestone 1, the main goal is to make the access control and the validation flow into the API layer.

There are three files handling the API layer checks and validation: apiServet, apiServer and apiDispatcher.
apiSevlet checks the web access is valid;
If it passes, it goes to the apiServer;
apiServer parses the command annotation, and checks access to the adapter and check if cmd exists;
apiDispatcher has the flow logic to check the ACL access, the parameter valication, the DB access validation.

...