Subversion Usage

List of features

svn list http://halsvn01/svn/hal/branches/features/ | grep -i searchforme

How to create a release candidate

svn copy http://halsvn01/svn/hal/trunk http://halsvn01/svn/hal/tags/yy.ww-RC## -m "Tagging current RC branch to yy.ww-RC##"

How to delete a branch

svn delete http://halsvn01/svn/hal/branches/features/branch-to-delete -m "Feature merged to trunk and migrated to prod, deleting for cleanup"

Create a feature branch

svn copy http://halsvn01/svn/hal/trunk http://halsvn01/svn/hal/branches/features/webss-9999-your-feature-here -m "Your description here. Fix WEBSS-XXXX"

Checking differences
svn diff

Checking differences and ignore white space
svn diff -x -w

Getting ready to merge into Release Candidate RC

Add files to your feature
svn add /your-path/your-filename.extension

Merge trunk into your current feature to avoid collisions
svn merge http://halsvn01/svn/hal/trunk
svn commit -m "Your description of what is being done"

Create a Patch and Apply It

### Create a patch file and put it on your Desktop
svn diff > ~/Desktop/barclays-diff-patch.txt

### Apply the patch to a feature
patch -p0 -i ~/Desktop/barclays-diff-patch.txt

Use wget to download an entire site

wget --recursive --domains 3dentertainmentnow.com --html-extension --convert-links --restrict-file-names=windows http://www.the-site.com

the --restrict-file-names=windows make sure the files will work on a Windows box too

Using Fiddler with an iPad

You can monitor an iPad's traffic with Fiddler 2 and a PC

Fiddler 2 Setup

1. Install Fiddler http://www.fiddler2.com/fiddler2/version.asp

2. Tools > Fiddler Options > HTTPS and ticking the Decrypt HTTPS Traffic box

Monitoring iPad traffic with Fiddler 2

1. Tools > Fiddler Options > Allow remote computers to connect

2. Accept generic SSL certficate and restart fiddler

3. Make sure Fiddler is set to capture traffic

Install Certifcate Maker
To resolve the incompatibility, you may replace Fiddler's default certificate generator. Download and install the new Certificate Maker and restart Fiddler.

1. FiddlerCertMaker.exe

2. When initially doing this had installed certificate without using FiddlerCertMaker.exe

3. How to uncheck and delete installed cert, closed Fiddler, ran FiddlerCertMaker.exe, started Fiddler

4. After all that re-added the certificate again

Setup iPad to use Proxy

1. Click on your Wifi Setup

2. DHCP, Manual

3. Enter the IP of your computer and Port 8888

Save session as:
httpArchive v1.2
and Fiddler Session Archive

Changes to OLCI tables

You will need to update the following items when making changes to OLCI.
See sample script.

-- CHECKIN_PASSENGER TABLE
ALTER TABLE WEB_OWNER.CHECKIN_PASSENGER

-- CHECKIN_PASSENGER_DELETED TABLE
ALTER TABLE WEB_OWNER.CHECKIN_PASSENGER_DELETED

-- CHECKIN_PASSENGER_ARC TABLE
ALTER TABLE  WEB_ARCHIVE.CHECKIN_PASSENGER_ARC

-- CHECKIN_PASSENGER_DELETED_ARC TABLE
ALTER TABLE WEB_ARCHIVE.CHECKIN_PASSENGER_DELETED_ARC

-- CHECKIN_DELETE_TRG TRIGGER
TRIGGER "WEB_OWNER"."CHECKIN_DELETE_TRG"
ALTER TRIGGER "WEB_OWNER"."CHECKIN_DELETE_TRG" ENABLE;

-- CHECKIN_ARCHIVE_PROCESS
PACKAGE BODY CHECKIN_ARCHIVE_PROCESS is

UTF-8 Encoding

Trying to diagnose problem with UTF-8 encoding on the batch jobs, previous notes from WebSphere are as follows:

From: Ruckman, Maurice (HAL)
Sent: Tuesday, March 27, 2012 4:55 PM
To: jlindesm@redhat.com
Cc: 'Guillaume Radde'; Thompson, Sonya (HAL); Bojja, Sridhar (HAL Contractor); Phatak, Sheetal (HAL); Fillman, Eric (HAL)
Subject: JBboss encoding for UTF-8

In WebSphere we did this to make sure the application used UTF-8 encoding by default

CONFIGURING APPLICATION SERVERS FOR UCS TRANSFORMATION FORMAT, TO SUPPORT UTF-8 ENCODING

1. Click Servers, "Application servers"
1a. Click "server1" link
1b. Configuration tab, "Java and Process Management", "Process Definition"
1c. "Java Virtual Machine"

2. In section "Generic JVM arguments", enter the following parameter
"-Dclient.encoding.override=UTF-8 -Ddefault.client.encoding=UTF-8"

Thanks,

Maurice Ruckman
Voice: (206) 626-7497 x67497
Cellular: (206) 650-7576

Adding Test Email Boxes to Outlook

In Outlook choose the menu option
Tools, Email Accounts

Select the radio button "View or change existing e-mail accounts"
Click Next

Click "Change..." button

Click "More Settings..." button

Choose "Advanced" tab

Click the "Add" button to "Add mailbox:"
hal webdev email
Click OK

Click the "Add" button to "Add mailbox:"
hal webtest email
Click OK

Click the "Add" button to "Add mailbox:"
hal webstage email
Click OK

Click OK to finish entering Advanced settings

Click Next for E-mail Accounts "Exchange Server Settings"

Click Finish

You should now see three new mail boxes at the bottom navigation pane.

New Hire Setup

Items to Consider

  1. Emails will get auto-archived after 30 days

From: Mitchell, Ian (HAL)
Sent: Wednesday, August 29, 2012 1:24 PM
To: Ruckman, Maurice (HAL)
Subject: Setup Notes

Maurice,

Here is what I recorded / remembered having to do in order to get up and running. They’re ranked in the order I accomplished them in.

  1. Receive Desktop, get hooked up to power and network
  2. Get Login information (RSA was received here as well, but never needed it)
  3. Get Outlook setup with email information
  4. Get Admin rights for my machine, so I could install applications
  5. Install Lync for communication purposes
  6. Get Jira access, and get a brief introduction on how to use it
  7. Get Tealeaf access
  8. Get Payroll Access (ADP)
  9. Create an SVN Account
  10. Create a VM
  11. Install XManager
  12. Configure JBoss
  13. Eclipse Debugger configuration
  14. Network Drive Access (never got this working)
  15. Install Tealeaf
  16. Access DB permissions
  17. Outlook Meeting / Stand up invites from Anila
  18. Connect to Printers

I wrote my VM had issues with the dev server, but I don’t remember the details of what occurred there.

Ian Mitchell

POLAR Training

LINK - Back to back bookings
DSSV - Display Special Service

Making a Booking

AVAL
Agency test phone number: 1115555555
AAA Agency phone number: 6307559911

Home/Air/Gatwy
SEA N  (Gateway, Want Air?)
Date: 10Nov12
Category Type: I (just put I, it will return everything)
Occupancy: 2 (keeping it simple)

Bonus: Type is "Yes" for mariner number to look up guest information

This was enough but you can continue:

Trade: A  (F1 to get the list of trade codes)
Tour: (Only used for Alaska Cruise Tour)

Availability by Voyage

1st line is dining

Voyage code, where first character is the ship code

CBOK (Dark blue means that it is not available)
18Bitn - to see packages
18Pkg to add new packages

Cancel Booking

Rebook: S (Shows what the cancellation fees will be)
Cancel Code: R (normally R)

Activate: A to get the booking back, but it will only come back as a Guarantee

Rebook

Use "F" to give them better fares

Notes

You can filter "ME" in history section

DINV - Display Inventory
This is done in beds

Category Pricing

Has two columns if there is a group on the agency

When making a booking use TWID: NEW, you may want to write down the twid code in case it falls off accidentally

Back to Back

Start with LINK instead of AVAL to start the process

Keep adding together and then finish with "e" to say you are ending your vacation and cruise, it will keep pricing but keep separating by different bookings.

CHIP Notes from Eric

From: Fillman, Eric (HAL)
Sent: Sunday, July 22, 2012 4:36 PM
To: Guillaume Radde
Cc: Thompson, Sonya (HAL); Ruckman, Maurice (HAL); Augustine, Anila (HAL)
Subject: RE: Chip

Please see below.

Thanks.

-----Original Message-----
From: Guillaume Radde [mailto:guillaume.radde@redhat.com]
Sent: Sunday, July 22, 2012 4:14 PM
To: Fillman, Eric (HAL)
Cc: Thompson, Sonya (HAL); Ruckman, Maurice (HAL); Augustine, Anila (HAL)
Subject: Chip

Eric,

I'm digging into the com.hollandamerica.chip package, and looking at the JiBX mappings. This is part of the modularization work, trying to move the chip related code into a separate module.
Could you confirm that the following statements are correct? Unfortunately, it looks like a lot of this code was written by Jay, but I'm hoping you can help me make sure I understand it correctly:

1) Chip is an XML api for Polar only
In theory, yes.  But the word "chip" has incorrectly been translated to be any XML type service processed through WebMethods.  But Chip should only be messages to POLAR.

2) All XML messages sent to Polar through chip are buit from the CruiseLineXmlRequest Java object.
They're supposed to be.

3) The following Java classes wrap XML messages to/from Barclays, not Polar, and do not use Chip:
-CCPRequestDTO (Credit Card Process)
-ICRequestDTO   (Instant Credit Request)
-PSOfferCaptureRequestDTO  (Pre Screen Credit Card Offer)
-PSRequestDTO (Pre Screen a guest for credit card application)
I believe that's correct.  When you say "Do not use Chip", I assume you mean they don't go to POLAR through the ChipAPI.  But like I said, some people here misinterpret "chip" to be any XML going through WebMethods (like the CCPRequest and the Barclay's messages)

My initial goal was to extract the polar/chip DTOs into a separate chip-connector maven module. I might end up creating several modules at once (one per Third party system we are connecting to):
-chip-connector.jar
-barclays-connector.jar
-steiner-connector.jar
-RTD-connector.jar
OK.  Just so you know, when I was doing RTD and knew I'd have to go through WebMethods, I created a WebMethods service (com.hal.sf.service.WebMethodsService) to make the call, rather than using ChipDAO - mainly because I knew it wasn't really Chip.  However, the code that WebMethodsService uses is a lot of "chip" code (if you look at it you'll see what I mean).  I don't think it's actually uses chip, it's just that the word "chip" is in a lot of the classes and methods used in the WebMethodsService.  Unfortunately, I didn't have time to re-factor everything to be non-chip.  But if you're going to create separate modules, you might look at using that WebMethodsService and refactoring it to be non-chip.

Thanks!

-------------------------------------
Guillaume Radde
Senior Consultant, Red Hat Consulting
guillaume.radde@redhat.com
http://www.redhat.com
-------------------------------------