Project

General

Profile

Story #2768

Toggle CN Rest service via node.properties

Added by Robert Waltz over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
d1_cn_service
Start date:
2012-05-16
Due date:
% Done:

100%

Story Points:
Sprint:

Description

Add in ability that will turn on and off the rest service


Subtasks

Task #2769: Add Property that will toggle running rest serviceClosedRob Nahf

Task #2770: Create a Filter that blocks cn-rest-serviceClosedRob Nahf

History

#1 Updated by Rob Nahf over 9 years ago

  • Status changed from New to In Progress
  • Assignee changed from Robert Waltz to Rob Nahf

#2 Updated by Rob Nahf over 9 years ago

In d1_cn_rest:
Implemented a blocking filter (short-circuits the filter-chain)
created unit test (makes use of the mock filter-chain set up for ResolveFilter)
added a property to node.properties that resides in src/test/resources
wired it into web.xml

still need to put the property into node.properties in cn-buildout ( cn-buildout/dataone-cn-os-core/etc/dataone )

#3 Updated by Rob Nahf over 9 years ago

  • Status changed from In Progress to Closed

all work done. unit tests passing.

the property name is cn.service.disable
the filter class name is CNServiceDisableFilter.

#4 Updated by Rob Nahf over 9 years ago

  • Target version changed from Sprint-2012.19-Block.3.2 to Sprint-2012.21-Block.3.3

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)