Difference between revisions of "JSON Integration Adapter"

From CDOT Wiki
Jump to: navigation, search
m (Project Phases)
Line 26: Line 26:
  
 
Phase I. Research
 
Phase I. Research
 +
 
1. Complete Fundamentals of NexJ Studio tutorial
 
1. Complete Fundamentals of NexJ Studio tutorial
 
2. Complete NexJ Integration tutorial
 
2. Complete NexJ Integration tutorial
Line 31: Line 32:
  
 
Phase II. Planning and Approval
 
Phase II. Planning and Approval
 +
 
1. Receive general approval for project
 
1. Receive general approval for project
 
2. Receive approval for JSON encoding options
 
2. Receive approval for JSON encoding options
Line 36: Line 38:
  
 
Phase III. Message Formatter
 
Phase III. Message Formatter
 +
 
1. Add JSON to .XSD base types
 
1. Add JSON to .XSD base types
 
2. Create sample JSON .message  
 
2. Create sample JSON .message  
Line 47: Line 50:
 
 
 
Phase IV. Message Parser First Draft
 
Phase IV. Message Parser First Draft
 +
 
1. Discover how to connect JSON RPC parser with Message Parser
 
1. Discover how to connect JSON RPC parser with Message Parser
 
2. Create first set of trivial unit tests for Message Parser
 
2. Create first set of trivial unit tests for Message Parser
Line 57: Line 61:
  
 
Phase V. Integration and Stress Tests
 
Phase V. Integration and Stress Tests
 +
 
         1. Test Message Formatter and Message Parser with integration and stress tests
 
         1. Test Message Formatter and Message Parser with integration and stress tests
 
         2. Test through NexJ Studio Express GUI (manual testing)
 
         2. Test through NexJ Studio Express GUI (manual testing)
  
 
Phase VI. Internal Code Review
 
Phase VI. Internal Code Review
 +
 
1. Internally review code at CDOT
 
1. Internally review code at CDOT
  
 
Phase VII. Optimization
 
Phase VII. Optimization
 +
 
         1. Find more code optimizations relevant to Enterprise environments
 
         1. Find more code optimizations relevant to Enterprise environments
  
 
Phase VIII. First Code Review at NexJ
 
Phase VIII. First Code Review at NexJ
 +
 
1. Date TBA
 
1. Date TBA
  
 
Phase IX. Code Rewrite
 
Phase IX. Code Rewrite
 +
 
1. Rewrite code to conform with NexJ suggestions and  
 
1. Rewrite code to conform with NexJ suggestions and  
  
 
Phase X. Second Code Review at NexJ
 
Phase X. Second Code Review at NexJ
 +
 
1. Date TBA
 
1. Date TBA
  

Revision as of 12:57, 16 June 2011


Project Repository

https://bitbucket.org/b_lim/nexj-express-json-integration-adapter/overview

Project Goal

To create an adapter for the NexJ Core similar in methodology and design of existing message adapters (XML, Fixed, CSV etc.) but using the JSON format

Contributors

Current Status

See https://bitbucket.org/b_lim/nexj-express-json-integration-adapter/changesets for changesets.

Forked NexJ code and created public repository for others to monitor progress and contribute.

Completed overview of NexJ Integration classes and coding method and class stubs. In process of creating unit tests.

Project Phases

JSON Integration Adapter Phases

Phase I. Research

1. Complete Fundamentals of NexJ Studio tutorial 2. Complete NexJ Integration tutorial 3. Install NexJ Studio Express from source

Phase II. Planning and Approval

1. Receive general approval for project 2. Receive approval for JSON encoding options 3. Receive approval for JSON formatting options

Phase III. Message Formatter

1. Add JSON to .XSD base types 2. Create sample JSON .message 3. Parse sample JSON .message with JUnit Test 4. Create first set of unit tests for Message Formatter 5. Code Message Formatter first draft 6. Resolve issues with first set of unit tests 7. Create second set of unit tests 8. Resolve issues with second set of unit tests 9. Refactor and code message formatter

Phase IV. Message Parser First Draft

1. Discover how to connect JSON RPC parser with Message Parser 2. Create first set of trivial unit tests for Message Parser

       3. Code Message Parser skeleton
       4. Pass first set of trivial unit tests
       5. Create second set of unit tests (non-trivial) for Message Parser
       6. Code Message Formatter first draft
       7. Resolve issues with second set of unit tests
       8. Refactor

Phase V. Integration and Stress Tests

       1. Test Message Formatter and Message Parser with integration and stress tests
       2. Test through NexJ Studio Express GUI (manual testing)

Phase VI. Internal Code Review

1. Internally review code at CDOT

Phase VII. Optimization

       1. Find more code optimizations relevant to Enterprise environments

Phase VIII. First Code Review at NexJ

1. Date TBA

Phase IX. Code Rewrite

1. Rewrite code to conform with NexJ suggestions and

Phase X. Second Code Review at NexJ

1. Date TBA

Phase XI. Project Completion

Project Repository

To be determined

Resources

NexJ Developer's Guide
NexJ Integration Fundamentals