Bug 751253

Summary: 0.17.0 Release Tracker
Product: [Community] PressGang CCMS Reporter: Lee Newson <lnewson>
Component: CSProcessorAssignee: Lee Newson <lnewson>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.xCC: jwulf, topic-tool-list
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-03-20 01:50:05 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 749702, 749726, 751252, 752996    
Bug Blocks: 751254    

Description Lee Newson 2011-11-04 03:43:19 UTC

Comment 1 Lee Newson 2011-11-21 06:13:46 UTC
CSProcessor:

URL: http://turkinator.eng.bne.redhat.com/csprocessor-builds/csprocessor-build17.war

Changes:
- CSProcessor
        - Bug #749726 Added the Inline Injection attribute to be used when building. (see the bug for more details)
        - Bug #752996 Changed how the data is saved when processing a content specification.

- Web Service
        - Bug #749702 Added the search and list abilities to the web service. They can be accessed using /csprocessor/list/cs and /csprocessor/search/cs. The only query parameters that are compulsary is the apikey (and the query for searching).
        - Added different response types for getting data from the web service. It is now possible to get JSON and XML responses along with the old plain text responses. The old resource urls still exist and will return as plain text. These can be accesed via their previous paths but instead now follow the syntax /csprocessor/xml/ or /csprocessor/json/
        - Changed the URL paths for pushing content specifications they are now located at /csprocessor/push/cs/new instead of /csprocessor/push/new/cs. The same appiles for edited content specs.
        - Added the ability to get execution time for push and build operations.

- CSBuilder
        - Bug #752996 Changed the way the builder would build content specifications. It now will build from the post content specifcation instead of the database data.
        - Bug #749726 Added the ability to ignore injection using different server/client/content spec settings. (See the bug for more information)
        - Changed the way topics are saved to the zip file so that the filenames only contain a unique number after the topic id, if the topic is duplicated within a content specification.
        - Added the ability to hide the errors and warnings chapter.


Client:

URL: http://turkinator.eng.bne.redhat.com/client-build14/skynet.jar

Changes:
- Bug #749726 Added the ability to allow different injection options when building (Off, On or Strict).
- Bug #749702 Added the ability to pull a list of content specs from the server (limited to 50 results, but can be overriden ussing --force).
- Bug #749702 Added the ability to search for a content specification using a content specifications title, product or version.
- Added the --exec-time argument to build and push commands to display the severs execution time for the request.
- Added the --hide-errors argument for building to hide the Compiler Errors & Warnings chapter.


Note: Push's won't work with old versions of the client anymore due to the change listed above about the URL being changed.

Comment 2 Lee Newson 2011-11-21 06:13:59 UTC
Performance Smoke Tests:
(Note: All times are server processing time only)
(Note2: Tests were done by first running a validate command to initialise the
EntityManagerFactories, then running the push, followed by build commands)
(Note3: The server was set to use on mode for injection)

Push Local Database:
Test 1: 3058ms
Test 2: 2186ms 
Test 3: 2609ms
Test 4: 2507ms
Test 5: 2342ms

Avg: 2540.4ms

Build Local Database:
Test 1: 2294ms
Test 2: 2264ms
Test 3: 2219ms
Test 4: 2361ms
Test 5: 2320ms

Avg: 2291.6ms

Push Remote Database:
Test 1: 4794ms
Test 2: 4605ms
Test 3: 3630ms
Test 4: 3471ms
Test 5: 3573ms

Avg: 4014.6ms

Build Remote Database:
Test 1: 3196ms
Test 2: 3320ms
Test 3: 3325ms
Test 4: 3613ms
Test 5: 3416ms

Avg: 3374ms