@llm4ts/shell 0.16.2 → 0.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Cli.d.ts +4 -0
- package/dist/Cli.d.ts.map +1 -1
- package/dist/Cli.js +69 -8
- package/dist/Cli.js.map +1 -1
- package/dist/FlowCatalog.d.ts +10 -4
- package/dist/FlowCatalog.d.ts.map +1 -1
- package/dist/FlowCatalog.js +25 -14
- package/dist/FlowCatalog.js.map +1 -1
- package/flows/epic-stories.js +1 -8
- package/flows/hello.js +15 -0
- package/flows/implement.js +1 -8
- package/flows/issue-pr.js +1 -8
- package/flows/judge-suite.js +1 -4
- package/flows/lib/epic-stories.js +3 -4
- package/flows/local.js +2 -5
- package/flows/modernize-bench.js +3 -12
- package/flows/modernize-extract.js +8 -18
- package/flows/modernize-implement.js +4 -15
- package/flows/modernize-pack-check.js +159 -0
- package/flows/modernize-review.js +4 -13
- package/flows/modernize-seed.js +3 -11
- package/flows/modernize-survey.js +0 -0
- package/flows/modernize-verify.js +5 -13
- package/flows/sdd.js +2 -12
- package/kits/j2ee-nextjs/README.md +29 -0
- package/kits/j2ee-nextjs/fixtures/demo-bank/RUNBOOK.md +156 -0
- package/kits/j2ee-nextjs/fixtures/demo-bank/legacy-j2ee/PAGES.md +67 -0
- package/kits/j2ee-nextjs/fixtures/demo-bank/legacy-j2ee/pom.xml +49 -0
- package/kits/j2ee-nextjs/fixtures/demo-bank/legacy-j2ee/src/main/java/com/demobank/legacy/dto/AcctOvwDTO.java +58 -0
- package/kits/j2ee-nextjs/fixtures/demo-bank/legacy-j2ee/src/main/java/com/demobank/legacy/dto/BenfDTO.java +49 -0
- package/kits/j2ee-nextjs/fixtures/demo-bank/legacy-j2ee/src/main/java/com/demobank/legacy/dto/TrfDTO.java +70 -0
- package/kits/j2ee-nextjs/fixtures/demo-bank/legacy-j2ee/src/main/java/com/demobank/legacy/esb/EsbAcctListService.java +53 -0
- package/kits/j2ee-nextjs/fixtures/demo-bank/legacy-j2ee/src/main/java/com/demobank/legacy/esb/EsbBenfListService.java +58 -0
- package/kits/j2ee-nextjs/fixtures/demo-bank/legacy-j2ee/src/main/java/com/demobank/legacy/esb/EsbBenfMaintService.java +58 -0
- package/kits/j2ee-nextjs/fixtures/demo-bank/legacy-j2ee/src/main/java/com/demobank/legacy/esb/EsbException.java +21 -0
- package/kits/j2ee-nextjs/fixtures/demo-bank/legacy-j2ee/src/main/java/com/demobank/legacy/esb/EsbGateway.java +44 -0
- package/kits/j2ee-nextjs/fixtures/demo-bank/legacy-j2ee/src/main/java/com/demobank/legacy/esb/EsbTrfExecService.java +53 -0
- package/kits/j2ee-nextjs/fixtures/demo-bank/legacy-j2ee/src/main/java/com/demobank/legacy/esb/EsbTrfValidateService.java +45 -0
- package/kits/j2ee-nextjs/fixtures/demo-bank/legacy-j2ee/src/main/java/com/demobank/legacy/web/AccountOverviewServlet.java +90 -0
- package/kits/j2ee-nextjs/fixtures/demo-bank/legacy-j2ee/src/main/java/com/demobank/legacy/web/BeneficiaryServlet.java +195 -0
- package/kits/j2ee-nextjs/fixtures/demo-bank/legacy-j2ee/src/main/java/com/demobank/legacy/web/TransferDraft.java +62 -0
- package/kits/j2ee-nextjs/fixtures/demo-bank/legacy-j2ee/src/main/java/com/demobank/legacy/web/TransferServlet.java +223 -0
- package/kits/j2ee-nextjs/fixtures/demo-bank/legacy-j2ee/src/main/webapp/WEB-INF/web.xml +59 -0
- package/kits/j2ee-nextjs/fixtures/demo-bank/legacy-j2ee/src/main/webapp/accountOverview.jsp +65 -0
- package/kits/j2ee-nextjs/fixtures/demo-bank/legacy-j2ee/src/main/webapp/beneficiaryEdit.jsp +70 -0
- package/kits/j2ee-nextjs/fixtures/demo-bank/legacy-j2ee/src/main/webapp/beneficiaryList.jsp +43 -0
- package/kits/j2ee-nextjs/fixtures/demo-bank/legacy-j2ee/src/main/webapp/css/bank.css +132 -0
- package/kits/j2ee-nextjs/fixtures/demo-bank/legacy-j2ee/src/main/webapp/dashboard.jsp +28 -0
- package/kits/j2ee-nextjs/fixtures/demo-bank/legacy-j2ee/src/main/webapp/footer.jsp +8 -0
- package/kits/j2ee-nextjs/fixtures/demo-bank/legacy-j2ee/src/main/webapp/header.jsp +22 -0
- package/kits/j2ee-nextjs/fixtures/demo-bank/legacy-j2ee/src/main/webapp/help.jsp +32 -0
- package/kits/j2ee-nextjs/fixtures/demo-bank/legacy-j2ee/src/main/webapp/js/jquery-1.12.4.min.js +1 -0
- package/kits/j2ee-nextjs/fixtures/demo-bank/legacy-j2ee/src/main/webapp/js/validate.js +79 -0
- package/kits/j2ee-nextjs/fixtures/demo-bank/legacy-j2ee/src/main/webapp/login.jsp +29 -0
- package/kits/j2ee-nextjs/fixtures/demo-bank/legacy-j2ee/src/main/webapp/messages.jsp +34 -0
- package/kits/j2ee-nextjs/fixtures/demo-bank/legacy-j2ee/src/main/webapp/nav.jsp +14 -0
- package/kits/j2ee-nextjs/fixtures/demo-bank/legacy-j2ee/src/main/webapp/oldTransfer.jsp +34 -0
- package/kits/j2ee-nextjs/fixtures/demo-bank/legacy-j2ee/src/main/webapp/profile.jsp +26 -0
- package/kits/j2ee-nextjs/fixtures/demo-bank/legacy-j2ee/src/main/webapp/promoQ3.jsp +23 -0
- package/kits/j2ee-nextjs/fixtures/demo-bank/legacy-j2ee/src/main/webapp/settings.jsp +34 -0
- package/kits/j2ee-nextjs/fixtures/demo-bank/legacy-j2ee/src/main/webapp/testHarness.jsp +39 -0
- package/kits/j2ee-nextjs/fixtures/demo-bank/legacy-j2ee/src/main/webapp/transferConfirm.jsp +35 -0
- package/kits/j2ee-nextjs/fixtures/demo-bank/legacy-j2ee/src/main/webapp/transferStep1.jsp +73 -0
- package/kits/j2ee-nextjs/fixtures/demo-bank/legacy-j2ee/src/main/webapp/transferStep2.jsp +40 -0
- package/kits/j2ee-nextjs/fixtures/demo-bank/nextjs/CONTRIBUTING.md +76 -0
- package/kits/j2ee-nextjs/fixtures/demo-bank/nextjs/README.md +46 -0
- package/kits/j2ee-nextjs/fixtures/demo-bank/nextjs/contracts/cards.openapi.yaml +57 -0
- package/kits/j2ee-nextjs/fixtures/demo-bank/nextjs/contracts/profile.openapi.yaml +73 -0
- package/kits/j2ee-nextjs/fixtures/demo-bank/nextjs/eslint.config.mjs +24 -0
- package/kits/j2ee-nextjs/fixtures/demo-bank/nextjs/next-env.d.ts +5 -0
- package/kits/j2ee-nextjs/fixtures/demo-bank/nextjs/next.config.mjs +10 -0
- package/kits/j2ee-nextjs/fixtures/demo-bank/nextjs/package.json +29 -0
- package/kits/j2ee-nextjs/fixtures/demo-bank/nextjs/pnpm-lock.yaml +2895 -0
- package/kits/j2ee-nextjs/fixtures/demo-bank/nextjs/src/app/cards/page.tsx +62 -0
- package/kits/j2ee-nextjs/fixtures/demo-bank/nextjs/src/app/layout.tsx +41 -0
- package/kits/j2ee-nextjs/fixtures/demo-bank/nextjs/src/app/page.tsx +26 -0
- package/kits/j2ee-nextjs/fixtures/demo-bank/nextjs/src/app/profile/page.tsx +134 -0
- package/kits/j2ee-nextjs/fixtures/demo-bank/nextjs/src/app/signed-in-badge.tsx +9 -0
- package/kits/j2ee-nextjs/fixtures/demo-bank/nextjs/src/auth/AuthProvider.tsx +36 -0
- package/kits/j2ee-nextjs/fixtures/demo-bank/nextjs/src/components/Button.tsx +27 -0
- package/kits/j2ee-nextjs/fixtures/demo-bank/nextjs/src/components/Card.tsx +18 -0
- package/kits/j2ee-nextjs/fixtures/demo-bank/nextjs/src/components/DataTable.tsx +57 -0
- package/kits/j2ee-nextjs/fixtures/demo-bank/nextjs/src/components/Field.tsx +34 -0
- package/kits/j2ee-nextjs/fixtures/demo-bank/nextjs/src/components/Form.tsx +70 -0
- package/kits/j2ee-nextjs/fixtures/demo-bank/nextjs/src/components/PageLayout.tsx +39 -0
- package/kits/j2ee-nextjs/fixtures/demo-bank/nextjs/src/components/Stepper.tsx +29 -0
- package/kits/j2ee-nextjs/fixtures/demo-bank/nextjs/src/components/index.ts +19 -0
- package/kits/j2ee-nextjs/fixtures/demo-bank/nextjs/src/services/cards/mock.ts +47 -0
- package/kits/j2ee-nextjs/fixtures/demo-bank/nextjs/src/services/cards/port.ts +31 -0
- package/kits/j2ee-nextjs/fixtures/demo-bank/nextjs/src/services/profile/mock.ts +45 -0
- package/kits/j2ee-nextjs/fixtures/demo-bank/nextjs/src/services/profile/port.ts +24 -0
- package/kits/j2ee-nextjs/fixtures/demo-bank/nextjs/src/services/registry.ts +20 -0
- package/kits/j2ee-nextjs/fixtures/demo-bank/nextjs/src/theme/components.css +269 -0
- package/kits/j2ee-nextjs/fixtures/demo-bank/nextjs/src/theme/tokens.css +38 -0
- package/kits/j2ee-nextjs/fixtures/demo-bank/nextjs/tests/cards.page.test.tsx +81 -0
- package/kits/j2ee-nextjs/fixtures/demo-bank/nextjs/tests/profile.page.test.tsx +87 -0
- package/kits/j2ee-nextjs/fixtures/demo-bank/nextjs/tsconfig.json +54 -0
- package/kits/j2ee-nextjs/fixtures/demo-bank/nextjs/vitest.config.ts +17 -0
- package/kits/j2ee-nextjs/fixtures/demo-bank/preflight.mjs +45 -0
- package/kits/j2ee-nextjs/fixtures/demo-bank/reset-demo.mjs +40 -0
- package/kits/j2ee-nextjs/fixtures/demo-bank/seed-legacy-j2ee.mjs +71 -0
- package/kits/j2ee-nextjs/fixtures/demo-bank/seed-nextjs.mjs +111 -0
- package/kits/j2ee-nextjs/fixtures/demo-bank/smoke-legacy-j2ee.mjs +144 -0
- package/kits/j2ee-nextjs/fixtures/demo-bank/smoke-nextjs.mjs +118 -0
- package/{flows → kits/j2ee-nextjs/flows}/convert-all.js +1 -7
- package/{flows → kits/j2ee-nextjs/flows}/convert-page.js +2 -6
- package/{flows → kits/j2ee-nextjs/flows}/lib/convert.js +6 -16
- package/{flows → kits/j2ee-nextjs}/packs/j2ee-nextjs-spa/pack.md +1 -1
- package/{flows → kits/j2ee-nextjs}/packs/jsp-bff-nextjs/pack.md +1 -1
- package/{flows → kits/j2ee-nextjs}/packs/jsp-nextjs/pack.md +1 -1
- package/kits/mainframe-java/README.md +31 -0
- package/{flows → kits/mainframe-java}/packs/ace-integration/pack.md +1 -1
- package/{flows → kits/mainframe-java}/packs/ace-kafka/pack.md +1 -1
- package/{flows → kits/mainframe-java}/packs/cobol-kafka/pack.md +1 -1
- package/{flows → kits/mainframe-java}/packs/cobol-springboot/pack.md +1 -1
- package/package.json +6 -6
- package/src/Cli.ts +92 -9
- package/src/FlowCatalog.ts +29 -13
- /package/{flows → kits/j2ee-nextjs}/packs/j2ee-nextjs-spa/patterns/PAT-J2EE-001-jstl-table.md +0 -0
- /package/{flows → kits/j2ee-nextjs}/packs/j2ee-nextjs-spa/patterns/PAT-J2EE-002-jquery-validation.md +0 -0
- /package/{flows → kits/j2ee-nextjs}/packs/j2ee-nextjs-spa/patterns/PAT-J2EE-003-session-stepper.md +0 -0
- /package/{flows → kits/j2ee-nextjs}/packs/j2ee-nextjs-spa/patterns/PAT-J2EE-004-esb-port.md +0 -0
- /package/{flows → kits/j2ee-nextjs}/packs/j2ee-nextjs-spa/patterns/PAT-J2EE-005-include-shell.md +0 -0
- /package/{flows → kits/j2ee-nextjs}/packs/j2ee-nextjs-spa/prompts/analysis.md +0 -0
- /package/{flows → kits/j2ee-nextjs}/packs/j2ee-nextjs-spa/prompts/bdd.md +0 -0
- /package/{flows → kits/j2ee-nextjs}/packs/j2ee-nextjs-spa/prompts/implement.md +0 -0
- /package/{flows → kits/j2ee-nextjs}/packs/j2ee-nextjs-spa/prompts/plan.md +0 -0
- /package/{flows → kits/j2ee-nextjs}/packs/j2ee-nextjs-spa/prompts/review.md +0 -0
- /package/{flows → kits/j2ee-nextjs}/packs/j2ee-nextjs-spa/prompts/spec.md +0 -0
- /package/{flows → kits/j2ee-nextjs}/packs/j2ee-nextjs-spa/prompts/survey-refine.md +0 -0
- /package/{flows → kits/j2ee-nextjs}/packs/j2ee-nextjs-spa/prompts/survey-triage.md +0 -0
- /package/{flows → kits/j2ee-nextjs}/packs/j2ee-nextjs-spa/reviewers/acl-purity.md +0 -0
- /package/{flows → kits/j2ee-nextjs}/packs/j2ee-nextjs-spa/reviewers/house-style.md +0 -0
- /package/{flows → kits/j2ee-nextjs}/packs/jsp-bff-nextjs/lessons.md +0 -0
- /package/{flows → kits/j2ee-nextjs}/packs/jsp-bff-nextjs/prompts/analysis.md +0 -0
- /package/{flows → kits/j2ee-nextjs}/packs/jsp-bff-nextjs/prompts/bdd.md +0 -0
- /package/{flows → kits/j2ee-nextjs}/packs/jsp-bff-nextjs/prompts/implement.md +0 -0
- /package/{flows → kits/j2ee-nextjs}/packs/jsp-bff-nextjs/prompts/plan.md +0 -0
- /package/{flows → kits/j2ee-nextjs}/packs/jsp-bff-nextjs/prompts/review.md +0 -0
- /package/{flows → kits/j2ee-nextjs}/packs/jsp-bff-nextjs/prompts/spec.md +0 -0
- /package/{flows → kits/j2ee-nextjs}/packs/jsp-bff-nextjs/prompts/survey-refine.md +0 -0
- /package/{flows → kits/j2ee-nextjs}/packs/jsp-bff-nextjs/prompts/survey-triage.md +0 -0
- /package/{flows → kits/j2ee-nextjs}/packs/jsp-bff-nextjs/reviewers/bff-boundary.md +0 -0
- /package/{flows/packs/ace-integration → kits/j2ee-nextjs/packs/jsp-bff-nextjs}/reviewers/traceability.md +0 -0
- /package/{flows → kits/j2ee-nextjs}/packs/jsp-nextjs/lessons.md +0 -0
- /package/{flows → kits/j2ee-nextjs}/packs/jsp-nextjs/prompts/analysis.md +0 -0
- /package/{flows → kits/j2ee-nextjs}/packs/jsp-nextjs/prompts/bdd.md +0 -0
- /package/{flows → kits/j2ee-nextjs}/packs/jsp-nextjs/prompts/implement.md +0 -0
- /package/{flows → kits/j2ee-nextjs}/packs/jsp-nextjs/prompts/plan.md +0 -0
- /package/{flows → kits/j2ee-nextjs}/packs/jsp-nextjs/prompts/review.md +0 -0
- /package/{flows → kits/j2ee-nextjs}/packs/jsp-nextjs/prompts/spec.md +0 -0
- /package/{flows → kits/j2ee-nextjs}/packs/jsp-nextjs/prompts/survey-refine.md +0 -0
- /package/{flows → kits/j2ee-nextjs}/packs/jsp-nextjs/prompts/survey-triage.md +0 -0
- /package/{flows/packs/ace-kafka → kits/j2ee-nextjs/packs/jsp-nextjs}/reviewers/traceability.md +0 -0
- /package/{flows → kits/j2ee-nextjs}/packs/jsp-nextjs/reviewers/ux-fidelity.md +0 -0
- /package/{flows/fixtures → kits/j2ee-nextjs}/scaffolds/nextjs-spa/README.md +0 -0
- /package/{flows/fixtures → kits/j2ee-nextjs}/scaffolds/nextjs-spa/app/layout.js +0 -0
- /package/{flows/fixtures → kits/j2ee-nextjs}/scaffolds/nextjs-spa/app/page.js +0 -0
- /package/{flows/fixtures/scaffolds/kafka-streams-service/src/test/resources/features → kits/j2ee-nextjs/scaffolds/nextjs-spa/docs/specs}/.gitkeep +0 -0
- /package/{flows/fixtures/scaffolds/nextjs-spa/docs/specs → kits/j2ee-nextjs/scaffolds/nextjs-spa/features}/.gitkeep +0 -0
- /package/{flows/fixtures → kits/j2ee-nextjs}/scaffolds/nextjs-spa/next.config.js +0 -0
- /package/{flows/fixtures → kits/j2ee-nextjs}/scaffolds/nextjs-spa/package.json +0 -0
- /package/{flows/fixtures → kits/j2ee-nextjs}/scaffolds/nextjs-spa/tests/smoke.test.js +0 -0
- /package/{flows/fixtures → kits/j2ee-nextjs}/scaffolds/spring-bff/README.md +0 -0
- /package/{flows/fixtures → kits/j2ee-nextjs}/scaffolds/spring-bff/frontend/app/layout.js +0 -0
- /package/{flows/fixtures → kits/j2ee-nextjs}/scaffolds/spring-bff/frontend/app/page.js +0 -0
- /package/{flows/fixtures → kits/j2ee-nextjs}/scaffolds/spring-bff/frontend/next.config.js +0 -0
- /package/{flows/fixtures → kits/j2ee-nextjs}/scaffolds/spring-bff/frontend/package.json +0 -0
- /package/{flows/fixtures → kits/j2ee-nextjs}/scaffolds/spring-bff/frontend/tests/smoke.test.js +0 -0
- /package/{flows/fixtures → kits/j2ee-nextjs}/scaffolds/spring-bff/pom.xml +0 -0
- /package/{flows/fixtures → kits/j2ee-nextjs}/scaffolds/spring-bff/scripts/test.sh +0 -0
- /package/{flows/fixtures → kits/j2ee-nextjs}/scaffolds/spring-bff/src/main/java/com/meridian/bff/Application.java +0 -0
- /package/{flows/fixtures → kits/j2ee-nextjs}/scaffolds/spring-bff/src/main/resources/application.yaml +0 -0
- /package/{flows/fixtures → kits/j2ee-nextjs}/scaffolds/spring-bff/src/test/java/com/meridian/bff/ApplicationTests.java +0 -0
- /package/{flows/fixtures/scaffolds/nextjs-spa → kits/j2ee-nextjs/scaffolds/spring-bff/src/test/resources}/features/.gitkeep +0 -0
- /package/{flows → kits/mainframe-java}/packs/ace-integration/lessons.md +0 -0
- /package/{flows → kits/mainframe-java}/packs/ace-integration/prompts/analysis.md +0 -0
- /package/{flows → kits/mainframe-java}/packs/ace-integration/prompts/bdd.md +0 -0
- /package/{flows → kits/mainframe-java}/packs/ace-integration/prompts/implement.md +0 -0
- /package/{flows → kits/mainframe-java}/packs/ace-integration/prompts/plan.md +0 -0
- /package/{flows → kits/mainframe-java}/packs/ace-integration/prompts/review.md +0 -0
- /package/{flows → kits/mainframe-java}/packs/ace-integration/prompts/spec.md +0 -0
- /package/{flows → kits/mainframe-java}/packs/ace-integration/reviewers/routing-fidelity.md +0 -0
- /package/{flows/packs/cobol-kafka → kits/mainframe-java/packs/ace-integration}/reviewers/traceability.md +0 -0
- /package/{flows → kits/mainframe-java}/packs/ace-kafka/lessons.md +0 -0
- /package/{flows → kits/mainframe-java}/packs/ace-kafka/prompts/analysis.md +0 -0
- /package/{flows → kits/mainframe-java}/packs/ace-kafka/prompts/bdd.md +0 -0
- /package/{flows → kits/mainframe-java}/packs/ace-kafka/prompts/implement.md +0 -0
- /package/{flows → kits/mainframe-java}/packs/ace-kafka/prompts/plan.md +0 -0
- /package/{flows → kits/mainframe-java}/packs/ace-kafka/prompts/review.md +0 -0
- /package/{flows → kits/mainframe-java}/packs/ace-kafka/prompts/spec.md +0 -0
- /package/{flows → kits/mainframe-java}/packs/ace-kafka/prompts/vectors.md +0 -0
- /package/{flows → kits/mainframe-java}/packs/ace-kafka/reviewers/event-contracts.md +0 -0
- /package/{flows → kits/mainframe-java}/packs/ace-kafka/reviewers/routing-fidelity.md +0 -0
- /package/{flows/packs/cobol-springboot → kits/mainframe-java/packs/ace-kafka}/reviewers/traceability.md +0 -0
- /package/{flows → kits/mainframe-java}/packs/cobol-kafka/lessons.md +0 -0
- /package/{flows → kits/mainframe-java}/packs/cobol-kafka/patterns/PAT-STREAM-001-record-to-event.md +0 -0
- /package/{flows → kits/mainframe-java}/packs/cobol-kafka/patterns/PAT-STREAM-002-job-step-topology.md +0 -0
- /package/{flows → kits/mainframe-java}/packs/cobol-kafka/patterns/PAT-STREAM-003-checkpoint-idempotence.md +0 -0
- /package/{flows → kits/mainframe-java}/packs/cobol-kafka/patterns/PAT-STREAM-004-eod-totals-window.md +0 -0
- /package/{flows → kits/mainframe-java}/packs/cobol-kafka/patterns/PAT-STREAM-005-reject-topic.md +0 -0
- /package/{flows → kits/mainframe-java}/packs/cobol-kafka/patterns/PAT-STREAM-006-keyed-state-store.md +0 -0
- /package/{flows → kits/mainframe-java}/packs/cobol-kafka/patterns/PAT-STREAM-007-outbox.md +0 -0
- /package/{flows → kits/mainframe-java}/packs/cobol-kafka/patterns/PAT-STREAM-008-partition-key.md +0 -0
- /package/{flows → kits/mainframe-java}/packs/cobol-kafka/patterns/PAT-STREAM-009-batch-window-cutoff.md +0 -0
- /package/{flows → kits/mainframe-java}/packs/cobol-kafka/patterns/PAT-STREAM-010-replay-backfill.md +0 -0
- /package/{flows → kits/mainframe-java}/packs/cobol-kafka/prompts/analysis.md +0 -0
- /package/{flows → kits/mainframe-java}/packs/cobol-kafka/prompts/bdd.md +0 -0
- /package/{flows → kits/mainframe-java}/packs/cobol-kafka/prompts/implement.md +0 -0
- /package/{flows → kits/mainframe-java}/packs/cobol-kafka/prompts/plan.md +0 -0
- /package/{flows → kits/mainframe-java}/packs/cobol-kafka/prompts/review.md +0 -0
- /package/{flows → kits/mainframe-java}/packs/cobol-kafka/prompts/spec.md +0 -0
- /package/{flows → kits/mainframe-java}/packs/cobol-kafka/prompts/survey-refine.md +0 -0
- /package/{flows → kits/mainframe-java}/packs/cobol-kafka/prompts/survey-triage.md +0 -0
- /package/{flows → kits/mainframe-java}/packs/cobol-kafka/prompts/vectors.md +0 -0
- /package/{flows → kits/mainframe-java}/packs/cobol-kafka/reviewers/cobol-fidelity.md +0 -0
- /package/{flows → kits/mainframe-java}/packs/cobol-kafka/reviewers/pattern-conformance.md +0 -0
- /package/{flows/packs/jsp-bff-nextjs → kits/mainframe-java/packs/cobol-kafka}/reviewers/traceability.md +0 -0
- /package/{flows → kits/mainframe-java}/packs/cobol-springboot/lessons.md +0 -0
- /package/{flows → kits/mainframe-java}/packs/cobol-springboot/prompts/analysis.md +0 -0
- /package/{flows → kits/mainframe-java}/packs/cobol-springboot/prompts/bdd.md +0 -0
- /package/{flows → kits/mainframe-java}/packs/cobol-springboot/prompts/implement.md +0 -0
- /package/{flows → kits/mainframe-java}/packs/cobol-springboot/prompts/plan.md +0 -0
- /package/{flows → kits/mainframe-java}/packs/cobol-springboot/prompts/review.md +0 -0
- /package/{flows → kits/mainframe-java}/packs/cobol-springboot/prompts/spec.md +0 -0
- /package/{flows → kits/mainframe-java}/packs/cobol-springboot/prompts/survey-refine.md +0 -0
- /package/{flows → kits/mainframe-java}/packs/cobol-springboot/prompts/survey-triage.md +0 -0
- /package/{flows → kits/mainframe-java}/packs/cobol-springboot/prompts/vectors.md +0 -0
- /package/{flows → kits/mainframe-java}/packs/cobol-springboot/reviewers/cobol-fidelity.md +0 -0
- /package/{flows → kits/mainframe-java}/packs/cobol-springboot/reviewers/pattern-conformance.md +0 -0
- /package/{flows/packs/jsp-nextjs → kits/mainframe-java/packs/cobol-springboot}/reviewers/traceability.md +0 -0
- /package/{flows → kits/mainframe-java}/patterns/PAT-COBOL-001-comp3-money.md +0 -0
- /package/{flows → kits/mainframe-java}/patterns/PAT-COBOL-002-redefines.md +0 -0
- /package/{flows → kits/mainframe-java}/patterns/PAT-COBOL-003-88-levels.md +0 -0
- /package/{flows → kits/mainframe-java}/patterns/PAT-COBOL-004-perform-thru.md +0 -0
- /package/{flows → kits/mainframe-java}/patterns/PAT-COBOL-005-file-status.md +0 -0
- /package/{flows → kits/mainframe-java}/patterns/PAT-COBOL-006-sqlcode.md +0 -0
- /package/{flows → kits/mainframe-java}/patterns/PAT-COBOL-007-validation-order.md +0 -0
- /package/{flows → kits/mainframe-java}/patterns/PAT-COBOL-008-zoned-decimal.md +0 -0
- /package/{flows → kits/mainframe-java}/patterns/PAT-COBOL-009-occurs-table.md +0 -0
- /package/{flows → kits/mainframe-java}/patterns/PAT-COBOL-010-copybook-record.md +0 -0
- /package/{flows → kits/mainframe-java}/patterns/PAT-COBOL-011-batch-counters.md +0 -0
- /package/{flows → kits/mainframe-java}/patterns/PAT-COBOL-012-commit-frequency.md +0 -0
- /package/{flows → kits/mainframe-java}/patterns/PAT-COBOL-013-abend.md +0 -0
- /package/{flows → kits/mainframe-java}/patterns/PAT-COBOL-014-reject-file.md +0 -0
- /package/{flows → kits/mainframe-java}/patterns/PAT-COBOL-015-accept-date.md +0 -0
- /package/{flows → kits/mainframe-java}/patterns/PAT-COBOL-016-string-building.md +0 -0
- /package/{flows → kits/mainframe-java}/patterns/PAT-COBOL-017-cursor-loop.md +0 -0
- /package/{flows → kits/mainframe-java}/patterns/PAT-COBOL-018-yn-switches.md +0 -0
- /package/{flows → kits/mainframe-java}/patterns/PAT-COBOL-019-shared-accumulators.md +0 -0
- /package/{flows → kits/mainframe-java}/patterns/PAT-COBOL-020-tiered-fees.md +0 -0
- /package/{flows → kits/mainframe-java}/patterns/PAT-COBOL-021-overdraft-floor.md +0 -0
- /package/{flows → kits/mainframe-java}/patterns/PAT-COBOL-022-jcl-job-net.md +0 -0
- /package/{flows → kits/mainframe-java}/patterns/PAT-COBOL-023-sort-step.md +0 -0
- /package/{flows → kits/mainframe-java}/patterns/PAT-COBOL-024-fixed-width-records.md +0 -0
- /package/{flows → kits/mainframe-java}/patterns/PAT-COBOL-025-audit-rows.md +0 -0
- /package/{flows/fixtures → kits/mainframe-java}/scaffolds/kafka-streams-service/README.md +0 -0
- /package/{flows/fixtures → kits/mainframe-java}/scaffolds/kafka-streams-service/pom.xml +0 -0
- /package/{flows/fixtures → kits/mainframe-java}/scaffolds/kafka-streams-service/scripts/replay.sh +0 -0
- /package/{flows/fixtures → kits/mainframe-java}/scaffolds/kafka-streams-service/src/main/java/com/meridian/scaffold/Application.java +0 -0
- /package/{flows/fixtures → kits/mainframe-java}/scaffolds/kafka-streams-service/src/test/java/com/meridian/scaffold/ApplicationTests.java +0 -0
- /package/{flows/fixtures/scaffolds/spring-bff → kits/mainframe-java/scaffolds/kafka-streams-service}/src/test/resources/features/.gitkeep +0 -0
- /package/{flows/fixtures → kits/mainframe-java}/scaffolds/spring-boot-service/README.md +0 -0
- /package/{flows/fixtures → kits/mainframe-java}/scaffolds/spring-boot-service/pom.xml +0 -0
- /package/{flows/fixtures → kits/mainframe-java}/scaffolds/spring-boot-service/scripts/replay.sh +0 -0
- /package/{flows/fixtures → kits/mainframe-java}/scaffolds/spring-boot-service/src/main/java/com/meridian/scaffold/Application.java +0 -0
- /package/{flows/fixtures → kits/mainframe-java}/scaffolds/spring-boot-service/src/main/resources/application.yaml +0 -0
- /package/{flows/fixtures → kits/mainframe-java}/scaffolds/spring-boot-service/src/test/java/com/meridian/scaffold/ApplicationTests.java +0 -0
- /package/{flows/fixtures → kits/mainframe-java}/scaffolds/spring-boot-service/src/test/resources/features/.gitkeep +0 -0
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
<%@ page contentType="text/html; charset=ISO-8859-1" %>
|
|
2
|
+
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
|
|
3
|
+
<%-- HERO 2 (list): beneficiary management. Rendered by BeneficiaryServlet
|
|
4
|
+
with "benfList" (list of BenfDTO). Delete goes back through the same
|
|
5
|
+
servlet with action=delete. --%>
|
|
6
|
+
<jsp:include page="header.jsp" />
|
|
7
|
+
|
|
8
|
+
<h1>Beneficiaries</h1>
|
|
9
|
+
|
|
10
|
+
<c:if test="${not empty flashMsg}">
|
|
11
|
+
<p class="msgOk"><c:out value="${flashMsg}" /></p>
|
|
12
|
+
</c:if>
|
|
13
|
+
|
|
14
|
+
<p><a class="btn" href="beneficiary?action=new">Add beneficiary</a></p>
|
|
15
|
+
|
|
16
|
+
<table class="data">
|
|
17
|
+
<tr>
|
|
18
|
+
<th>Name</th>
|
|
19
|
+
<th>IBAN</th>
|
|
20
|
+
<th>Bank</th>
|
|
21
|
+
<th>Ccy</th>
|
|
22
|
+
<th>Actions</th>
|
|
23
|
+
</tr>
|
|
24
|
+
<c:forEach var="b" items="${benfList}" varStatus="st">
|
|
25
|
+
<tr class="${st.index % 2 == 1 ? 'odd' : ''}">
|
|
26
|
+
<td><c:out value="${b.benfNm}" /></td>
|
|
27
|
+
<td><c:out value="${b.benfIban}" /></td>
|
|
28
|
+
<td><c:out value="${b.bankNm}" /></td>
|
|
29
|
+
<td><c:out value="${b.ccyCd}" /></td>
|
|
30
|
+
<td>
|
|
31
|
+
<a href="beneficiary?action=edit&benfId=${b.benfId}">Edit</a>
|
|
32
|
+
|
|
33
|
+
<a href="beneficiary?action=delete&benfId=${b.benfId}"
|
|
34
|
+
onclick="return confirm('Delete beneficiary ${b.benfNm}?');">Delete</a>
|
|
35
|
+
</td>
|
|
36
|
+
</tr>
|
|
37
|
+
</c:forEach>
|
|
38
|
+
<c:if test="${empty benfList}">
|
|
39
|
+
<tr><td colspan="5">No beneficiaries registered.</td></tr>
|
|
40
|
+
</c:if>
|
|
41
|
+
</table>
|
|
42
|
+
|
|
43
|
+
<jsp:include page="footer.jsp" />
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
/* DemoBank portal stylesheet. Grown organically since 2005 -- beware. */
|
|
2
|
+
|
|
3
|
+
body {
|
|
4
|
+
margin: 0;
|
|
5
|
+
padding: 0;
|
|
6
|
+
font-family: Verdana, Arial, Helvetica, sans-serif;
|
|
7
|
+
font-size: 11px;
|
|
8
|
+
background-color: #eef2f5;
|
|
9
|
+
color: #222222;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
#topbar {
|
|
13
|
+
background-color: #003b6f;
|
|
14
|
+
color: #ffffff;
|
|
15
|
+
padding: 8px 14px;
|
|
16
|
+
}
|
|
17
|
+
#topbar .logo {
|
|
18
|
+
font-size: 18px;
|
|
19
|
+
font-weight: bold;
|
|
20
|
+
letter-spacing: 1px;
|
|
21
|
+
}
|
|
22
|
+
#topbar .userbox {
|
|
23
|
+
float: right;
|
|
24
|
+
padding-top: 4px;
|
|
25
|
+
}
|
|
26
|
+
#topbar a {
|
|
27
|
+
color: #ffd24d;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
#nav {
|
|
31
|
+
background-color: #0d5ca3;
|
|
32
|
+
}
|
|
33
|
+
#nav ul {
|
|
34
|
+
margin: 0;
|
|
35
|
+
padding: 0 10px;
|
|
36
|
+
list-style: none;
|
|
37
|
+
}
|
|
38
|
+
#nav li {
|
|
39
|
+
display: inline;
|
|
40
|
+
}
|
|
41
|
+
#nav a {
|
|
42
|
+
display: inline-block;
|
|
43
|
+
padding: 6px 12px;
|
|
44
|
+
color: #ffffff;
|
|
45
|
+
text-decoration: none;
|
|
46
|
+
}
|
|
47
|
+
#nav a:hover {
|
|
48
|
+
background-color: #1470c4;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
#content {
|
|
52
|
+
padding: 16px;
|
|
53
|
+
min-height: 380px;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
#footer {
|
|
57
|
+
border-top: 1px solid #b8c4ce;
|
|
58
|
+
padding: 8px 14px;
|
|
59
|
+
color: #667788;
|
|
60
|
+
}
|
|
61
|
+
#footer .small {
|
|
62
|
+
font-size: 9px;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
h1 {
|
|
66
|
+
font-size: 16px;
|
|
67
|
+
color: #003b6f;
|
|
68
|
+
}
|
|
69
|
+
h2 {
|
|
70
|
+
font-size: 13px;
|
|
71
|
+
color: #0d5ca3;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
table.data {
|
|
75
|
+
border-collapse: collapse;
|
|
76
|
+
width: 100%;
|
|
77
|
+
background-color: #ffffff;
|
|
78
|
+
}
|
|
79
|
+
table.data th {
|
|
80
|
+
background-color: #d7e3ee;
|
|
81
|
+
text-align: left;
|
|
82
|
+
padding: 4px 8px;
|
|
83
|
+
border: 1px solid #b8c4ce;
|
|
84
|
+
}
|
|
85
|
+
table.data td {
|
|
86
|
+
padding: 4px 8px;
|
|
87
|
+
border: 1px solid #d0d8e0;
|
|
88
|
+
}
|
|
89
|
+
table.data tr.odd {
|
|
90
|
+
background-color: #f4f8fb;
|
|
91
|
+
}
|
|
92
|
+
td.num,
|
|
93
|
+
th.num {
|
|
94
|
+
text-align: right;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.btn {
|
|
98
|
+
background-color: #0d5ca3;
|
|
99
|
+
color: #ffffff;
|
|
100
|
+
border: 1px solid #003b6f;
|
|
101
|
+
padding: 3px 12px;
|
|
102
|
+
cursor: pointer;
|
|
103
|
+
}
|
|
104
|
+
.btnGrey {
|
|
105
|
+
background-color: #8899aa;
|
|
106
|
+
border-color: #667788;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.fldErr {
|
|
110
|
+
border: 1px solid #cc0000;
|
|
111
|
+
background-color: #fff2f2;
|
|
112
|
+
}
|
|
113
|
+
.errMsg {
|
|
114
|
+
color: #cc0000;
|
|
115
|
+
padding-left: 6px;
|
|
116
|
+
}
|
|
117
|
+
.msgOk {
|
|
118
|
+
color: #1a7a1a;
|
|
119
|
+
font-weight: bold;
|
|
120
|
+
}
|
|
121
|
+
.msgErr {
|
|
122
|
+
color: #cc0000;
|
|
123
|
+
font-weight: bold;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
form.legacy label {
|
|
127
|
+
display: inline-block;
|
|
128
|
+
width: 160px;
|
|
129
|
+
}
|
|
130
|
+
form.legacy .row {
|
|
131
|
+
margin-bottom: 6px;
|
|
132
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
<%@ page contentType="text/html; charset=ISO-8859-1" %>
|
|
2
|
+
<%@ page import="java.text.SimpleDateFormat" %>
|
|
3
|
+
<%@ page import="java.util.Date" %>
|
|
4
|
+
<%-- Landing page after login (filler). Scriptlet date banner is original
|
|
5
|
+
2006 code, do not convert to JSTL (breaks the branch kiosk build?). --%>
|
|
6
|
+
<jsp:include page="header.jsp" />
|
|
7
|
+
|
|
8
|
+
<%
|
|
9
|
+
SimpleDateFormat sdf = new SimpleDateFormat("EEEE dd MMMM yyyy");
|
|
10
|
+
String today = sdf.format(new Date());
|
|
11
|
+
%>
|
|
12
|
+
<h1>Welcome to DemoBank</h1>
|
|
13
|
+
<p>Today is <%= today %>. Your last access was on your previous visit.</p>
|
|
14
|
+
|
|
15
|
+
<h2>Quick links</h2>
|
|
16
|
+
<ul>
|
|
17
|
+
<li><a href="accountOverview">Account overview</a></li>
|
|
18
|
+
<li><a href="transfer">Make a wire transfer</a></li>
|
|
19
|
+
<li><a href="beneficiary">Manage beneficiaries</a></li>
|
|
20
|
+
</ul>
|
|
21
|
+
|
|
22
|
+
<h2>Notices</h2>
|
|
23
|
+
<p>
|
|
24
|
+
Scheduled maintenance every Sunday 02:00-05:00 CET. During this window
|
|
25
|
+
balances may be temporarily unavailable.
|
|
26
|
+
</p>
|
|
27
|
+
|
|
28
|
+
<jsp:include page="footer.jsp" />
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
<%@ page contentType="text/html; charset=ISO-8859-1" %>
|
|
2
|
+
</div><%-- /content --%>
|
|
3
|
+
<div id="footer">
|
|
4
|
+
<p>DemoBank S.p.A. - Fictional demo institution. Internet Banking Portal v2.7</p>
|
|
5
|
+
<p class="small">For assistance call 800 000 000 (Mon-Fri 8:00-20:00). © 2005-2013 DemoBank.</p>
|
|
6
|
+
</div>
|
|
7
|
+
</body>
|
|
8
|
+
</html>
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
<%@ page contentType="text/html; charset=ISO-8859-1" %>
|
|
2
|
+
<%-- DemoBank shared header. Included from every page. Last touched 2013-05-17 (rmasi). --%>
|
|
3
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
5
|
+
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
6
|
+
<head>
|
|
7
|
+
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
|
|
8
|
+
<title>DemoBank Internet Banking</title>
|
|
9
|
+
<link rel="stylesheet" type="text/css" href="css/bank.css" />
|
|
10
|
+
<script type="text/javascript" src="js/jquery-1.12.4.min.js"></script>
|
|
11
|
+
<script type="text/javascript" src="js/validate.js"></script>
|
|
12
|
+
</head>
|
|
13
|
+
<body>
|
|
14
|
+
<div id="topbar">
|
|
15
|
+
<span class="logo">DemoBank</span>
|
|
16
|
+
<span class="userbox">
|
|
17
|
+
Welcome, <%= session.getAttribute("custNm") == null ? "MARIO BIANCHI" : session.getAttribute("custNm") %>
|
|
18
|
+
| <a href="login.jsp">Logout</a>
|
|
19
|
+
</span>
|
|
20
|
+
</div>
|
|
21
|
+
<jsp:include page="nav.jsp" />
|
|
22
|
+
<div id="content">
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
<%@ page contentType="text/html; charset=ISO-8859-1" %>
|
|
2
|
+
<%-- Static FAQ (filler). Also mapped as the 500 error page in web.xml. --%>
|
|
3
|
+
<jsp:include page="header.jsp" />
|
|
4
|
+
|
|
5
|
+
<h1>Help & FAQ</h1>
|
|
6
|
+
|
|
7
|
+
<h2>I cannot see my accounts</h2>
|
|
8
|
+
<p>
|
|
9
|
+
Balances are retrieved from the central host. If the overview shows no
|
|
10
|
+
accounts, retry in a few minutes; during nightly batch (00:30-01:30 CET)
|
|
11
|
+
positions may be unavailable.
|
|
12
|
+
</p>
|
|
13
|
+
|
|
14
|
+
<h2>How long does a wire transfer take?</h2>
|
|
15
|
+
<p>
|
|
16
|
+
SEPA transfers in EUR are settled on the next business day. Transfers
|
|
17
|
+
entered after 17:30 CET are processed the following business day.
|
|
18
|
+
</p>
|
|
19
|
+
|
|
20
|
+
<h2>Is there a transfer limit?</h2>
|
|
21
|
+
<p>
|
|
22
|
+
The default online limit is EUR 5,000.00 per day. Higher limits can be
|
|
23
|
+
arranged at your branch.
|
|
24
|
+
</p>
|
|
25
|
+
|
|
26
|
+
<h2>Who do I contact?</h2>
|
|
27
|
+
<p>
|
|
28
|
+
Customer service: 800 000 000 (Mon-Fri 8:00-20:00), or write from the
|
|
29
|
+
<a href="messages.jsp">Messages</a> page.
|
|
30
|
+
</p>
|
|
31
|
+
|
|
32
|
+
<jsp:include page="footer.jsp" />
|
package/kits/j2ee-nextjs/fixtures/demo-bank/legacy-j2ee/src/main/webapp/js/jquery-1.12.4.min.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
/* Placeholder stub standing in for jQuery 1.12.4 (jquery-1.12.4.min.js). The real minified library is deliberately not vendored in this synthetic fixture. */
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* DemoBank shared form validation helpers.
|
|
3
|
+
* Hand-rolled long before any validation plugin was approved by the
|
|
4
|
+
* architecture board (see ticket DB-1187). Every page wires these up
|
|
5
|
+
* slightly differently -- do not "clean up" without regression testing
|
|
6
|
+
* beneficiaryEdit.jsp and transferStep1.jsp.
|
|
7
|
+
*
|
|
8
|
+
* History:
|
|
9
|
+
* 2009-03-12 gferri initial version
|
|
10
|
+
* 2010-11-02 rmasi IBAN check for SEPA go-live
|
|
11
|
+
* 2012-06-21 lgreco amount check, decimal comma tolerated
|
|
12
|
+
*/
|
|
13
|
+
|
|
14
|
+
function dbTrim(s) {
|
|
15
|
+
if (s == null) return ""
|
|
16
|
+
return String(s).replace(/^\s+|\s+$/g, "")
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
/* Required field: returns true when non-empty, otherwise marks the field. */
|
|
20
|
+
function dbRequired(fld, msg) {
|
|
21
|
+
var v = dbTrim($(fld).val())
|
|
22
|
+
if (v.length == 0) {
|
|
23
|
+
dbMark(fld, msg || "Required field")
|
|
24
|
+
return false
|
|
25
|
+
}
|
|
26
|
+
dbUnmark(fld)
|
|
27
|
+
return true
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/* Very loose IBAN shape check: 2 letters, 2 digits, then 10..30 chars.
|
|
31
|
+
* The REAL check is on the host side (ESB), this is only cosmetic.
|
|
32
|
+
* Spaces are tolerated and stripped. */
|
|
33
|
+
function dbIbanShape(fld) {
|
|
34
|
+
var v = dbTrim($(fld).val()).replace(/ /g, "").toUpperCase()
|
|
35
|
+
if (!/^[A-Z]{2}[0-9]{2}[A-Z0-9]{10,30}$/.test(v)) {
|
|
36
|
+
dbMark(fld, "IBAN format not recognised")
|
|
37
|
+
return false
|
|
38
|
+
}
|
|
39
|
+
dbUnmark(fld)
|
|
40
|
+
return true
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/* Amount: positive, max 2 decimals, comma or dot accepted.
|
|
44
|
+
* NB: server side only accepts the dot -- known mismatch, ticket DB-3302. */
|
|
45
|
+
function dbAmount(fld) {
|
|
46
|
+
var v = dbTrim($(fld).val()).replace(",", ".")
|
|
47
|
+
if (!/^[0-9]+(\.[0-9]{1,2})?$/.test(v) || parseFloat(v) <= 0) {
|
|
48
|
+
dbMark(fld, "Enter a positive amount (max 2 decimals)")
|
|
49
|
+
return false
|
|
50
|
+
}
|
|
51
|
+
dbUnmark(fld)
|
|
52
|
+
return true
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
/* Max length helper used by the beneficiary name field. */
|
|
56
|
+
function dbMaxLen(fld, n) {
|
|
57
|
+
var v = dbTrim($(fld).val())
|
|
58
|
+
if (v.length > n) {
|
|
59
|
+
dbMark(fld, "Maximum " + n + " characters")
|
|
60
|
+
return false
|
|
61
|
+
}
|
|
62
|
+
dbUnmark(fld)
|
|
63
|
+
return true
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
function dbMark(fld, msg) {
|
|
67
|
+
$(fld).addClass("fldErr")
|
|
68
|
+
var id = $(fld).attr("id")
|
|
69
|
+
if ($("#err_" + id).length == 0) {
|
|
70
|
+
$(fld).after('<span class="errMsg" id="err_' + id + '"></span>')
|
|
71
|
+
}
|
|
72
|
+
$("#err_" + id).text(msg)
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
function dbUnmark(fld) {
|
|
76
|
+
$(fld).removeClass("fldErr")
|
|
77
|
+
var id = $(fld).attr("id")
|
|
78
|
+
$("#err_" + id).remove()
|
|
79
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
<%@ page contentType="text/html; charset=ISO-8859-1" %>
|
|
2
|
+
<%-- Login shell (filler). Authentication is out of scope for this fixture:
|
|
3
|
+
the form posts to the container-managed j_security_check stub and
|
|
4
|
+
nothing checks it. Welcome page per web.xml. --%>
|
|
5
|
+
<jsp:include page="header.jsp" />
|
|
6
|
+
|
|
7
|
+
<h1>Internet Banking Login</h1>
|
|
8
|
+
|
|
9
|
+
<form class="legacy" method="post" action="j_security_check">
|
|
10
|
+
<div class="row">
|
|
11
|
+
<label for="j_username">Customer id</label>
|
|
12
|
+
<input type="text" id="j_username" name="j_username" size="20" value="CUST0042" />
|
|
13
|
+
</div>
|
|
14
|
+
<div class="row">
|
|
15
|
+
<label for="j_password">PIN</label>
|
|
16
|
+
<input type="password" id="j_password" name="j_password" size="20" />
|
|
17
|
+
</div>
|
|
18
|
+
<div class="row">
|
|
19
|
+
<input type="submit" class="btn" value="Login" />
|
|
20
|
+
</div>
|
|
21
|
+
</form>
|
|
22
|
+
|
|
23
|
+
<p class="small">
|
|
24
|
+
Forgot your PIN? Call 800 000 000 or visit your branch with a valid id
|
|
25
|
+
document. Never share your PIN with anyone: DemoBank staff will never ask
|
|
26
|
+
for it.
|
|
27
|
+
</p>
|
|
28
|
+
|
|
29
|
+
<jsp:include page="footer.jsp" />
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
<%@ page contentType="text/html; charset=ISO-8859-1" %>
|
|
2
|
+
<%-- Secure messages inbox (filler). Static demo rows; the real inbox
|
|
3
|
+
servlet lives in the CRM webapp, not this portal. --%>
|
|
4
|
+
<jsp:include page="header.jsp" />
|
|
5
|
+
|
|
6
|
+
<h1>Messages</h1>
|
|
7
|
+
|
|
8
|
+
<table class="data">
|
|
9
|
+
<tr>
|
|
10
|
+
<th>Date</th>
|
|
11
|
+
<th>From</th>
|
|
12
|
+
<th>Subject</th>
|
|
13
|
+
</tr>
|
|
14
|
+
<tr>
|
|
15
|
+
<td>02/01/2013</td>
|
|
16
|
+
<td>DemoBank</td>
|
|
17
|
+
<td>Your December statement is available</td>
|
|
18
|
+
</tr>
|
|
19
|
+
<tr class="odd">
|
|
20
|
+
<td>18/12/2012</td>
|
|
21
|
+
<td>DemoBank</td>
|
|
22
|
+
<td>New security recommendations for online banking</td>
|
|
23
|
+
</tr>
|
|
24
|
+
<tr>
|
|
25
|
+
<td>02/11/2012</td>
|
|
26
|
+
<td>DemoBank</td>
|
|
27
|
+
<td>Fee schedule update effective 01/01/2013</td>
|
|
28
|
+
</tr>
|
|
29
|
+
</table>
|
|
30
|
+
|
|
31
|
+
<p><input type="button" class="btn" value="New message"
|
|
32
|
+
onclick="alert('Messaging is handled by the branch CRM. Please call 800 000 000.');" /></p>
|
|
33
|
+
|
|
34
|
+
<jsp:include page="footer.jsp" />
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<%@ page contentType="text/html; charset=ISO-8859-1" %>
|
|
2
|
+
<%-- Main navigation. NOTE: keep in sync with web.xml mappings (ticket DB-2141). --%>
|
|
3
|
+
<div id="nav">
|
|
4
|
+
<ul>
|
|
5
|
+
<li><a href="dashboard.jsp">Home</a></li>
|
|
6
|
+
<li><a href="accountOverview">Accounts</a></li>
|
|
7
|
+
<li><a href="beneficiary">Beneficiaries</a></li>
|
|
8
|
+
<li><a href="transfer">Wire Transfer</a></li>
|
|
9
|
+
<li><a href="messages.jsp">Messages</a></li>
|
|
10
|
+
<li><a href="profile.jsp">Profile</a></li>
|
|
11
|
+
<li><a href="settings.jsp">Settings</a></li>
|
|
12
|
+
<li><a href="help.jsp">Help</a></li>
|
|
13
|
+
</ul>
|
|
14
|
+
</div>
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
<%@ page contentType="text/html; charset=ISO-8859-1" %>
|
|
2
|
+
<%-- DEAD PAGE. Single-page transfer form, replaced by the 3-step wizard
|
|
3
|
+
in release 2.4 (2011). Kept "just in case" for the branch kiosks and
|
|
4
|
+
never removed. Posts to /doTransfer which no longer exists in web.xml. --%>
|
|
5
|
+
<jsp:include page="header.jsp" />
|
|
6
|
+
|
|
7
|
+
<h1>Wire Transfer</h1>
|
|
8
|
+
|
|
9
|
+
<form class="legacy" method="post" action="doTransfer">
|
|
10
|
+
<div class="row">
|
|
11
|
+
<label for="benfIban">Beneficiary IBAN</label>
|
|
12
|
+
<input type="text" id="benfIban" name="benfIban" size="40"
|
|
13
|
+
value="IT00 DEMO 0101 0101 0000 0000 001" />
|
|
14
|
+
</div>
|
|
15
|
+
<div class="row">
|
|
16
|
+
<label for="benfNm">Beneficiary name</label>
|
|
17
|
+
<input type="text" id="benfNm" name="benfNm" size="50" />
|
|
18
|
+
</div>
|
|
19
|
+
<div class="row">
|
|
20
|
+
<label for="amt">Amount (EUR)</label>
|
|
21
|
+
<input type="text" id="amt" name="amt" size="12" />
|
|
22
|
+
</div>
|
|
23
|
+
<div class="row">
|
|
24
|
+
<label for="desc">Description</label>
|
|
25
|
+
<input type="text" id="desc" name="desc" size="50" />
|
|
26
|
+
</div>
|
|
27
|
+
<div class="row">
|
|
28
|
+
<input type="submit" class="btn" value="Execute transfer" />
|
|
29
|
+
</div>
|
|
30
|
+
</form>
|
|
31
|
+
|
|
32
|
+
<p class="small">All fields are mandatory. Transfers over EUR 5,000.00 must be arranged at the branch.</p>
|
|
33
|
+
|
|
34
|
+
<jsp:include page="footer.jsp" />
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
<%@ page contentType="text/html; charset=ISO-8859-1" %>
|
|
2
|
+
<%-- Customer profile (filler). Data is hard-coded demo content; the host
|
|
3
|
+
profile inquiry (ESB_CUST_INQ) was never wired into this page. --%>
|
|
4
|
+
<jsp:include page="header.jsp" />
|
|
5
|
+
|
|
6
|
+
<%
|
|
7
|
+
String custId = (String) session.getAttribute("custId");
|
|
8
|
+
if (custId == null) custId = "CUST0042";
|
|
9
|
+
%>
|
|
10
|
+
<h1>Customer Profile</h1>
|
|
11
|
+
|
|
12
|
+
<table class="data" style="width: 60%;">
|
|
13
|
+
<tr><th>Customer id</th><td><%= custId %></td></tr>
|
|
14
|
+
<tr><th>Name</th><td>MARIO BIANCHI</td></tr>
|
|
15
|
+
<tr><th>Address</th><td>VIA ROMA 1, 20100 MILANO (MI)</td></tr>
|
|
16
|
+
<tr><th>Email</th><td>mario.bianchi@example.invalid</td></tr>
|
|
17
|
+
<tr><th>Phone</th><td>+39 02 0000 0000</td></tr>
|
|
18
|
+
<tr><th>Branch</th><td>0042 - MILANO CENTRO</td></tr>
|
|
19
|
+
</table>
|
|
20
|
+
|
|
21
|
+
<p class="small">
|
|
22
|
+
To update your personal data please visit your branch with a valid id
|
|
23
|
+
document. Online profile update is not yet available.
|
|
24
|
+
</p>
|
|
25
|
+
|
|
26
|
+
<jsp:include page="footer.jsp" />
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
<%@ page contentType="text/html; charset=ISO-8859-1" %>
|
|
2
|
+
<%-- DEAD PAGE. Q3 2011 deposit campaign, expired 30/09/2011. Marketing
|
|
3
|
+
asked to keep it "until the next campaign"; there was no next campaign. --%>
|
|
4
|
+
<jsp:include page="header.jsp" />
|
|
5
|
+
|
|
6
|
+
<h1>DemoBank Summer Deposit 2011</h1>
|
|
7
|
+
|
|
8
|
+
<p class="msgOk">Promotional rate 2.75% gross on new deposits until 30/09/2011!</p>
|
|
9
|
+
|
|
10
|
+
<ul>
|
|
11
|
+
<li>Minimum deposit: EUR 5,000.00</li>
|
|
12
|
+
<li>6 month term, no early withdrawal fee</li>
|
|
13
|
+
<li>Reserved to sums not already held with DemoBank</li>
|
|
14
|
+
</ul>
|
|
15
|
+
|
|
16
|
+
<p>
|
|
17
|
+
To subscribe visit your branch or call 800 000 000. Terms and conditions
|
|
18
|
+
in the information sheet available at every branch.
|
|
19
|
+
</p>
|
|
20
|
+
|
|
21
|
+
<p class="small">Offer valid 01/07/2011 - 30/09/2011. Rates before tax.</p>
|
|
22
|
+
|
|
23
|
+
<jsp:include page="footer.jsp" />
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
<%@ page contentType="text/html; charset=ISO-8859-1" %>
|
|
2
|
+
<%-- Settings page (filler). Toggles are rendered but wired to nothing:
|
|
3
|
+
the save servlet was never built (ticket DB-1560, parked 2010). --%>
|
|
4
|
+
<jsp:include page="header.jsp" />
|
|
5
|
+
|
|
6
|
+
<h1>Settings</h1>
|
|
7
|
+
|
|
8
|
+
<form class="legacy" method="post" action="#">
|
|
9
|
+
<div class="row">
|
|
10
|
+
<label for="lang">Language</label>
|
|
11
|
+
<select id="lang" name="lang">
|
|
12
|
+
<option value="it" selected="selected">Italiano</option>
|
|
13
|
+
<option value="en">English</option>
|
|
14
|
+
</select>
|
|
15
|
+
</div>
|
|
16
|
+
<div class="row">
|
|
17
|
+
<label for="stmtMode">Statement delivery</label>
|
|
18
|
+
<select id="stmtMode" name="stmtMode">
|
|
19
|
+
<option value="P">Paper</option>
|
|
20
|
+
<option value="E" selected="selected">Electronic</option>
|
|
21
|
+
</select>
|
|
22
|
+
</div>
|
|
23
|
+
<div class="row">
|
|
24
|
+
<label for="smsAlert">SMS alerts</label>
|
|
25
|
+
<input type="checkbox" id="smsAlert" name="smsAlert" checked="checked" />
|
|
26
|
+
over threshold EUR
|
|
27
|
+
<input type="text" name="smsThr" size="8" value="500.00" />
|
|
28
|
+
</div>
|
|
29
|
+
<div class="row">
|
|
30
|
+
<input type="submit" class="btn" value="Save" onclick="alert('Settings service temporarily unavailable.'); return false;" />
|
|
31
|
+
</div>
|
|
32
|
+
</form>
|
|
33
|
+
|
|
34
|
+
<jsp:include page="footer.jsp" />
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
<%@ page contentType="text/html; charset=ISO-8859-1" %>
|
|
2
|
+
<%-- DEAD PAGE. Developer scratch page for poking the servlets by hand.
|
|
3
|
+
Should never have shipped to production (it did, release 2.3). Not
|
|
4
|
+
linked from anywhere; security review DB-SEC-77 flagged it in 2012,
|
|
5
|
+
removal still pending. --%>
|
|
6
|
+
<html>
|
|
7
|
+
<head>
|
|
8
|
+
<title>portal test harness - INTERNAL</title>
|
|
9
|
+
<script type="text/javascript" src="js/jquery-1.12.4.min.js"></script>
|
|
10
|
+
</head>
|
|
11
|
+
<body style="font-family: monospace;">
|
|
12
|
+
<h3>portal test harness (dev only)</h3>
|
|
13
|
+
|
|
14
|
+
<p>
|
|
15
|
+
<a href="accountOverview?fmt=json">acct list json</a> |
|
|
16
|
+
<a href="beneficiary">benf list</a> |
|
|
17
|
+
<a href="transfer">trf step1</a>
|
|
18
|
+
</p>
|
|
19
|
+
|
|
20
|
+
<form method="post" action="transfer">
|
|
21
|
+
<input type="hidden" name="step" value="1" />
|
|
22
|
+
benfId <input type="text" name="benfId" value="B0001" size="6" />
|
|
23
|
+
amt <input type="text" name="trfAmt" value="1.00" size="8" />
|
|
24
|
+
ccy <input type="text" name="trfCcy" value="EUR" size="4" />
|
|
25
|
+
<input type="submit" value="post step1" />
|
|
26
|
+
</form>
|
|
27
|
+
|
|
28
|
+
<pre id="out"></pre>
|
|
29
|
+
<script type="text/javascript">
|
|
30
|
+
// dump the acct json into the pre for eyeballing
|
|
31
|
+
$(function() {
|
|
32
|
+
$.get("accountOverview", { fmt: "json" }, function(d) {
|
|
33
|
+
$("#out").text(typeof d == "string" ? d : JSON.stringify(d));
|
|
34
|
+
});
|
|
35
|
+
});
|
|
36
|
+
</script>
|
|
37
|
+
|
|
38
|
+
</body>
|
|
39
|
+
</html>
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
<%@ page contentType="text/html; charset=ISO-8859-1" %>
|
|
2
|
+
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
|
|
3
|
+
<%-- HERO 3, step 3 of 3: result screen. TransferServlet forwards here after
|
|
4
|
+
ESB_TRF_EXEC with a TrfDTO in request attribute "trfRes"; the session
|
|
5
|
+
draft has been cleared by then. --%>
|
|
6
|
+
<jsp:include page="header.jsp" />
|
|
7
|
+
|
|
8
|
+
<h1>Wire Transfer — Completed</h1>
|
|
9
|
+
|
|
10
|
+
<c:choose>
|
|
11
|
+
<c:when test="${trfRes.status == 'OK'}">
|
|
12
|
+
<p class="msgOk">Transfer accepted by the bank host.</p>
|
|
13
|
+
<table class="data" style="width: 60%;">
|
|
14
|
+
<tr><th>Reference</th><td><c:out value="${trfRes.trfRef}" /></td></tr>
|
|
15
|
+
<tr><th>Beneficiary</th><td><c:out value="${trfRes.benfNm}" /></td></tr>
|
|
16
|
+
<tr><th>Amount</th><td><c:out value="${trfRes.trfCcy}" /> <c:out value="${trfRes.trfAmt}" /></td></tr>
|
|
17
|
+
<tr><th>Value date</th><td><c:out value="${trfRes.valDt}" /></td></tr>
|
|
18
|
+
</table>
|
|
19
|
+
<p>Keep the reference number for any enquiry with customer service.</p>
|
|
20
|
+
</c:when>
|
|
21
|
+
<c:otherwise>
|
|
22
|
+
<p class="msgErr">
|
|
23
|
+
The transfer was NOT executed:
|
|
24
|
+
<c:out value="${trfRes.hostMsg}" /> (code <c:out value="${trfRes.hostRc}" />)
|
|
25
|
+
</p>
|
|
26
|
+
<p>No amount has been debited. Please retry later or contact your branch.</p>
|
|
27
|
+
</c:otherwise>
|
|
28
|
+
</c:choose>
|
|
29
|
+
|
|
30
|
+
<p>
|
|
31
|
+
<a class="btn" href="transfer">New transfer</a>
|
|
32
|
+
<a class="btn btnGrey" href="accountOverview">Back to accounts</a>
|
|
33
|
+
</p>
|
|
34
|
+
|
|
35
|
+
<jsp:include page="footer.jsp" />
|