Produced by Araxis Merge on 4/23/2019 12:14:46 PM Central Daylight Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | C:\AraxisMergeCompare\Pri_un\CCRS\CCRS-BUSRULES-v6.3\CCRS-BUSRULES-v6.3\brengine | README.md | Wed Mar 27 19:38:08 2019 UTC |
| 2 | C:\AraxisMergeCompare\Pri_re\CCRS\CCRS-BUSRULES-v6.3\CCRS-BUSRULES-v6.3\brengine | README.md | Wed Apr 17 18:00:43 2019 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 3 | 172 |
| Changed | 2 | 20 |
| Inserted | 0 | 0 |
| Removed | 0 | 0 |
| Whitespace | |
|---|---|
| Character case | Differences in character case are significant |
| Line endings | Differences in line endings (CR and LF characters) are ignored |
| CR/LF characters | Not shown in the comparison detail |
No regular expressions were active.
| 1 | # CCRS-BUS RULES | |
| 2 | CCRS Busin ess Rules Developmen t | |
| 3 | ||
| 4 | ## APIs | |
| 5 | - Start pr ocessing ( submit via a Kafka q ueue): /br engine/sub mitBatch?b atch_id=<b atch_id> | |
| 6 | - Process immediatel y, bypass the queue: /brengine /processBa tch?batch_ id=<batch_ id> | |
| 7 | - Look at the decisi ons: /bren gine/fetch Decisions? batch_id=< batch_id> | |
| 8 | - View cla ims: /clai ms | |
| 9 | - Metrics and beans: /metrics, /beans | |
| 10 | - Logs: /l ogs/ccrs-b rengine.lo g | |
| 11 | ||
| 12 | ## View Re sults in t he DB: | |
| 13 | ``` | |
| 14 | SELECT c.e tl_batch_i d, claim_i d, line_it em_control _number, d ecision, r ule_name, vf.validat ion_name, vf.message , vf.is_pa ssed | |
| 15 | FROM decis ion d | |
| 16 | JOIN f_ins titutional _medical_c laim_detai ls cl ON d .claim_key =cl.claim_ key AND d. claim_deta il_key=cl. claim_deta il_key | |
| 17 | JOIN dim_v a_claim c on cl.clai m_key=c.cl aim_key | |
| 18 | JOIN valid ation_fail ure vf ON d.decision _key=vf.de cision_key | |
| 19 | WHERE cl.e tl_batch_i d='CCN4_83 7I_2017103 1' | |
| 20 | AND cl.is_ current='Y ' | |
| 21 | ``` | |
| 22 | ||
| 23 | ## URLs | |
| 24 | - Local: h ttp://loca lhost: PORT | |
| 25 | - Check AP Is locally : http://l ocalhost: PORT /viewer/fe tchClaimDe tails?clai mType=INST ITUTIONAL& claimKey=1 | |
| 26 | - Local Au thServer: http://loc alhost: PORT | |
| 27 | - Local Ad minApp (un der nginx) : http://l ocalhost: PORT /brengine/ adminapp/s rc/index.h tml#/dashb oard | |
| 28 | - FTC Dev: http://192 .168.220.2 8: PORT | |
| 29 | - FTC QA: http://192 .168.220.2 8: PORT | |
| 30 | - FTC Dev SSL: https :// SERVER .favortech .local: PORT /brengine | |
| 31 | - FTC Dev admin app: http:// SERVER .favortech .local: PORT /brengine/ adminapp/s rc/index.h tml#/ | |
| 32 | - VA SQA: https:// SERVER . DOMAIN . EXT : PORT /brengine/ viewer/fet chClaimDet ails?claim Type=INSTI TUTIONAL&c laimKey= PORT | |
| 33 | ||
| 34 | You must i mport CCRS Dev CA ce rt for SSL to work. | |
| 35 | Follow [th ese steps] (https://g it.ftc-llc .com/CCRS/ CCRS-BUSRU LES/tree/m aster/ssl# make-your- browser-tr ust-the-in ternal-ca) | |
| 36 | ||
| 37 | ||
| 38 | Submit a b atch in ft cdev: | |
| 39 | https:// SERVER .favortech .local: PORT /brengine/ submitBatc h?batch_id =DL_837P_2 0180321_3 | |
| 40 | ||
| 41 | ## Buildin g/running | |
| 42 | - From com mand line: | |
| 43 | ```bash | |
| 44 | # full bui ld | |
| 45 | ./gradlew build | |
| 46 | ||
| 47 | # Local te sts | |
| 48 | ./gradlew test --tes ts "*Rules AndDaoTest Suite" | |
| 49 | ||
| 50 | # java doc | |
| 51 | ./gradlew javadoc | |
| 52 | ``` | |
| 53 | ||
| 54 | ```bash | |
| 55 | ./gradlew bootrun | |
| 56 | ``` | |
| 57 | ||
| 58 | ## Spring Applicatio n Profiles : | |
| 59 | There are multiple d evelopment environme nts. The S pring `app lication.p roperties` file is u sed to man age settin gs for eac h. To adju st the set tings, ope n the `app lication.p roperties` file and modify the `spring.p rofiles.ac tive` para meter with one of th e followin g: | |
| 60 | - `ut` H2 used for u nit testin g | |
| 61 | - `h2` Emb edded DB, used for r unning the web app l ocally | |
| 62 | - `softlay erdev` wil l point th e SQL Serv er to the IBM SoftLa yer CCRSDB database | |
| 63 | ||
| 64 | ||
| 65 | ## Eclipse : | |
| 66 | - Install Buildship (Gradle) a nd (option al) STS pl ugin | |
| 67 | - To edit gradle scr ipts, inst all Minima list Gradl e Editor p lugin, ass ociate it with .grad le extensi on | |
| 68 | - From com mand line/ BASH shell : | |
| 69 | Navigate to Project Root | |
| 70 | execute: `./gradlew clean ecl ipse` | |
| 71 | - Right cl ick on the project - > enable S pring natu re (If you have the STS plugin ) | |
| 72 | - Right cl ick on the project - > Gradle - > Refresh Gradle Pro ject | |
| 73 | ||
| 74 | ## Run as/ Spring boo t app | |
| 75 | ||
| 76 | `./gradlew bootrun - x check` | |
| 77 | ||
| 78 | >To run lo cally, fir st run H2W ebDbCreato r unit tes t | |
| 79 | ||
| 80 | - Run with a differe nt profile : | |
| 81 | `./gradlew bootrun - x check -D spring.pro files.acti ve=ftcdev` | |
| 82 | ||
| 83 | - Override a propert y on the c ommand lin e: | |
| 84 | `./gradlew bootrun - x check -D spring.pro files.acti ve=ftcdev -Dkafka.en able.consu mers=false ` | |
| 85 | ||
| 86 | - From Ecl ipse: | |
| 87 | Run Config urations - > **_selec t the boot run config uration_** -> Argume nts tab -> Under "Pr ogram Argu ments" add in `-x ch eck` | |
| 88 | - To refre sh classpa th after u pdating de pendencies : Right cl ick Gradle -> Refres h gradle p roject | |
| 89 | ||
| 90 | ## Helpful tasks | |
| 91 | ```bash | |
| 92 | ./gradlew tasks --al l | |
| 93 | ./gradlew help --tas k someTask | |
| 94 | ./gradlew dependenci es --confi guration c ompile | |
| 95 | ``` | |
| 96 |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.