Difference between revisions of "JSON Integration Adapter"

From CDOT Wiki
Jump to: navigation, search
m (Project Phases)
m (Project Phases)
Line 27: Line 27:
 
Phase I. Research
 
Phase I. Research
  
# 1. Complete Fundamentals of NexJ Studio tutorial
+
# Complete Fundamentals of NexJ Studio tutorial
# 2. Complete NexJ Integration tutorial
+
# Complete NexJ Integration tutorial
# 3. Install NexJ Studio Express from source
+
# Install NexJ Studio Express from source
  
 
Phase II. Planning and Approval
 
Phase II. Planning and Approval
  
# 1. Receive general approval for project
+
# Receive general approval for project
# 2. Receive approval for JSON encoding options
+
# Receive approval for JSON encoding options
# 3. Receive approval for JSON formatting options
+
# Receive approval for JSON formatting options
  
 
Phase III. Message Formatter
 
Phase III. Message Formatter
  
# 1. Add JSON to .XSD base types
+
# Add JSON to .XSD base types
# 2. Create sample JSON .message  
+
# Create sample JSON .message  
# 3. Parse sample JSON .message with JUnit Test
+
#       Parse sample JSON .message with JUnit Test
# 4. Create first set of unit tests for Message Formatter
+
# Create first set of unit tests for Message Formatter
# 5. Code Message Formatter first draft
+
# Code Message Formatter first draft
# 6. Resolve issues with first set of unit tests
+
# Resolve issues with first set of unit tests
# 7. Create second set of unit tests
+
#       Create second set of unit tests
# 8. Resolve issues with second set of unit tests
+
# Resolve issues with second set of unit tests
# 9. Refactor and code message formatter  
+
# Refactor and code message formatter  
 
 
 
Phase IV. Message Parser First Draft
 
Phase IV. Message Parser First Draft
  
# 1. Discover how to connect JSON RPC parser with Message Parser
+
# Discover how to connect JSON RPC parser with Message Parser
# 2. Create first set of trivial unit tests for Message Parser
+
# Create first set of trivial unit tests for Message Parser
#       3. Code Message Parser skeleton
+
#       Code Message Parser skeleton
#       4. Pass first set of trivial unit tests
+
#       Pass first set of trivial unit tests
#       5. Create second set of unit tests (non-trivial) for Message Parser
+
#       Create second set of unit tests (non-trivial) for Message Parser
#       6. Code Message Formatter first draft
+
#       Code Message Formatter first draft
#       7. Resolve issues with second set of unit tests
+
#       Resolve issues with second set of unit tests
#       8. Refactor
+
#       Refactor
  
 
Phase V. Integration and Stress Tests
 
Phase V. Integration and Stress Tests
  
#       1. Test Message Formatter and Message Parser with integration and stress tests
+
#       Test Message Formatter and Message Parser with integration and stress tests
#       2. Test through NexJ Studio Express GUI (manual testing)
+
#       Test through NexJ Studio Express GUI (manual testing)
  
 
Phase VI. Internal Code Review
 
Phase VI. Internal Code Review
  
# 1. Internally review code at CDOT
+
# Internally review code at CDOT
  
 
Phase VII. Optimization
 
Phase VII. Optimization
  
#       1. Find more code optimizations relevant to Enterprise environments
+
#       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
+
# Date TBA
  
 
Phase IX. Code Rewrite
 
Phase IX. Code Rewrite
  
# 1. Rewrite code to conform with NexJ suggestions and  
+
# 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
+
# Date TBA
  
 
Phase XI. Project Completion
 
Phase XI. Project Completion

Revision as of 14:00, 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