From: Bansal, Nitin (nb121v) Date: Tue, 27 Mar 2018 20:46:32 +0000 (-0400) Subject: Moving data-router to Springboot for security X-Git-Tag: v1.2.0~8 X-Git-Url: https://gerrit.onap.org/r/gitweb?p=aai%2Fdata-router.git;a=commitdiff_plain;h=5da95c0df892b635db68550a3321e0e48c9e78f8 Moving data-router to Springboot for security Change-Id: I7a02720c4e0a79619ed6b309ff1f65f4d755c364 Issue-ID: AAI-590 Signed-off-by: Bansal, Nitin (nb121v) --- diff --git a/ajsc-shared-config/README.txt b/ajsc-shared-config/README.txt deleted file mode 100644 index a82eb64..0000000 --- a/ajsc-shared-config/README.txt +++ /dev/null @@ -1,6 +0,0 @@ -The ajsc-shared-config folder is included in the service project to provide the functionality of the AJSC_SHARED_CONFIG -location that will exist in CSI envs. This includes the logback.xml for logging configurations, and some csm related -artifacts necessary for proper functionality of the csm framework within the CSI env. Within the 2 profiles that can -be utilized to run the AJSC locally, "runLocal" and "runAjsc", the system propery, "AJSC_SHARED_CONFIG", has been set -to point to this directory. The files in this folder will NOT be copied/moved anywhere within the AJSC SWM package. These -files will already be in existence within the CSI env. \ No newline at end of file diff --git a/ajsc-shared-config/etc/PartnerProfile.xml b/ajsc-shared-config/etc/PartnerProfile.xml deleted file mode 100644 index de9ca07..0000000 --- a/ajsc-shared-config/etc/PartnerProfile.xml +++ /dev/null @@ -1,2408 +0,0 @@ - - - - - - - sg7477 - 2013-06-30T00:06:07+05:30 - - - - - - - 100 - 110 - - - AddAccount - - 10 - - - - AddNote - - 90 - 110 - - - - - - 5000 - 300000 - 600000 - - - AddNote - - 5000 - 250000 - 300000 - - - - CreateFiberServiceVOIPNumber - - 120000 - 300000 - 300000 - - - - InquireAccountProfile - - 5000 - 100000 - 250000 - - - - InquireUnbilledUsageDetail - - 5000 - 250000 - 300000 - - - - InquireWirelinePortEligibility - - 5000 - 330000 - 600000 - - - - QualifyAndQuoteFiberServiceProducts - - 120000 - 300000 - 300000 - - - - SendSms - - 5000 - 150000 - 180000 - - - - ValidateFiberServiceFacility - - 120000 - 1200000 - 1200000 - - - - ValidateFiberServiceFacilityResponse - - 120000 - 1200000 - 1200000 - - - - ExecuteWirelineMechanizedLoopTest - - 120000 - 1200000 - 1200000 - - - - ExecuteWirelineMechanizedLoopTestResponse - - 120000 - 1200000 - 1200000 - - - - AppDev_NetworkPerformance - - 60000 - 100000 - 250000 - - - - - BW - - 25 - 10 - 10 - 10 - 10 - - csitest - testingcsi - csitest - false - false - WALMART - false - - 500 - 300000 - 600000 - - - accountdetails - v1 - get - - - AddContentProviderSponsor - - - AddEmployeeDetails - - - InquireEmployeeDetails - - - InquireVoiceUsageDetails - - - UpdateContentProviderSponsor - - - InquireContentProviderSponsor - - - InquireCircuitTestResults - - - InquireAccountProfileV78 - - - InquireSubscriberProfileV78 - - - ScheduleCircuitTest - - - CancelScheduledCircuitTest - - - InquireAvailableCircuitTestList - - - SubmitCircuitTest - - - InquireCustomerTroubleTicketDetails - - - UpdateCustomerTroubleTicketDetails - - - AddCustomerTroubleTicket - - - ManageBusinessServices - - - InquireMobileUsageDetails - - - UpdateEnterpriseEndUserPermissions - - - SwapCrossUpgradeEquipment - - - ManageMobilePaymentProfile - - - InquireCustomerAlarmList - - - InquireCustomerAlarmCount - - - UpdateCustomerAlarmAcknowledgment - - - InquireRatingModel - - - InquireCustomerPurchaseEligibility - - - InquireCustomerTroubleTicketList - - - InquireCustomerTroubleTicketCount - - - InquireResellerAccountProfile - - - SubmitResellerContractInformation - - - InquireInternationalOfferings - - - InquireAccessCircuitSummary - - - InquireEnterpriseOrderDetails - - - InquireEnterpriseOrderList - - - InquireEnterpriseOrderStatus - - - InquireEthernetDetails - - - InquireCustomerDigitalLifeInstallationProfile - - - InquireDirectoryListingHeadings - - - ManageDigitalLifeDevice - - - SendDigitalLifeDeviceNotification - - - ExecuteWirelineMechanizedLoopTest - - - ExecuteWirelineMechanizedLoopTestResponse - - - InquireNetworkAssetDetails - - - InquireVOIPProbeDetails - - - InquireVOIPAssetDetails - - - InquireManagedAssetDetails - - - ExecuteExternalIdVerificationQA - - - InquireIPNetworkServiceLocationDetails - - - InquireUnifiedCreditCheckResult - - - ProcessDeviceUnlock - - - InquireWirelessDashboard - - - InquireWirelineServiceAppointmentReservations - - - UpdateWirelineServiceAppointmentReservation - - - InquireTechnicianDispatchStatus - - - UpdateIDDBAutoGroup - - - UpdateIDDBDailyRules - - - UpdateIDDBGeography - - - UpdateIDDBMasterTemplate - - - ValidateOpenDeviceEligibility - - - ValidateOpenDeviceEmailAddressAvailability - - - RetrieveAvailableOpenDeviceProducts - - - RetrieveOpenDeviceDetails - - - ValidateAndQualifyOpenDeviceAddress - - - RetrieveOpenDeviceTax - - - CreateOpenDeviceCustomer - - - CreateOpenDeviceCustomerOrder - - - AddRetailStoreAppointment - - - ValidateAddressServiceAvailability - - - InquireAvailableRetailStoreAppointments - - - InquireRetailStoreAppointmentReferenceDetails - - - UpdateFanProfile - - - InquireRetailStoreAppointmentList - - - InquireKeyValueStore - - - UpdateKeyValueStore - - - AppDev_NetworkPerformance - wireless - get - - - InquireUnifiedCustomerIdentifiers - - - InquireNetworkLatency - - - InquireNetworkTrafficDensity - - - InquireReferenceCodeList - - - InquireBillList - - - InquireSubscriberBilledCallDetails - - - InquireSubscriberCharges - - - InquireSubscriberHistory - - - InquireSwitchCircuitDetails - - - InquireSwitchCircuitList - - - AddBillAccounts - - - AddUCOrder - - - OrderDeviceProtectionPlan - - - ResetEwalletSecurityProfile - - - UpdateCustomerSalesSupportDetails - - - UpdatePartnerServicesProductStatus - - - UpdateSubscriberParentalControls - false - - - InquireOrderDetails - - - UpdateCPEDetails - - - InquireNonSBSInventory - - - UpdateUCCustomerProfile - - - InquireUCCustomerProfile - - - CreateUCCustomerNumber - - - AuthorizeLOAUpdate - - - ReleaseInquiredTelephoneNumbers - - - ValidateTelephoneNumbers - - - UpdateLOADetails - - - ValidateOrder - - - UpdateBVOIPSiteProfile - - - InquireUpsellEligibility - - - InquireIncompatibleOfferings - - - UpdateBVOIPSubscriberAssociation - - - SendBVOIPSubscriberAssociationNotification - - - CreateWirelineServiceOrder - - - InquireWirelineDirectoryAvailability - - - InquireAvailableCustomerSparePairsSummary - - - UpdateUnifiedCustomerLoginProfile - - - InquireEnterpriseDetails - - - InquirePaymentProductApplicationResult - - - InquireTroubleTicketStatus - - - InquireTroubleReferenceDetails - - - InquireTroubleTicketHistory - - - UpdateTroubleTicketDetails - - - AddEnterpriseTroubleTicket - - - InquireContractTerminationDetails - - - UpdatePaymentPreferences - - - InquireWirelineServiceAppointments - - - ReserveWirelineServiceAppointment - - - InquireWirelinePendingOrderDetails - - - SubmitWirelineFacilityAssignmentOrder - - - InquireWirelinePendingOrderDetailsResponse - - - AddTroubleTicket - - - InquireFemtocellDevice - - - UpdateFemtocellDevice - - - SendTroubleTicketStatusNotice - - - InquireWirelineTechnicianAssignments - - - InquireAvailableFiberServiceAppointments - - - SubmitMechanizedLoopTest - - - InquirePortedTNList - - - InquireWirelinePortDetails - - - InquireHostRoutingDetails - - - InquireBundledOrder - - - InquireBundledAccountServices - - - UpdateBundledAccountServices - - - UpdateWirelineWorkOrder - - - InquireSubscriberCallList - - - UpdateSubscriberCallList - - - ValidateCreditPolicy - - - AddPaymentProfile - true - - - ActivateSwitchFeatures - - - AddTechnicianTroubleNote - - - UpdatePaymentProfile - true - - - InquireSBSBundledDiscountSubscriberList - - - ExchangePerformanceMetrics - - - InquireBundledOrderStatus - - - InquireAvailableBundlePackages - - - InquireBundledOrderList - - - DeletePaymentProfile - - - UpdateBillingPreferences - - - SendBillingPreferencesNotification - - - InquirePaymentProfile - - - InquireServiceAvailabilityForLocation - - - ActivateCustomer - - - ActivateDevice - - - ActivateFemtocellService - - - ActivateFiberServiceResidentialGateway - - - ActivateFiberServiceTNPort - - - ActivatePendingEquipmentUpgrade - - - ActivateSubscriber - - - ActivateSubscriberReseller - - - ActivateSubscriberResellerResponse - - - ActivateSubscriberResponse - - - Add3PPOrderNotes - - - Add3PPOrderShipment - - - AddAccount - - 25 - - - - AddAffiliateDiscount - - - AddATTConnectAccount - - - AddCombinedBilling - - - AddCreditPolicyProfile - - - AddCustomerDeviceSalesData - - - AddBundledOrder - - - UpdateBundledOrder - - - AddFemtocellAddress - - - AddFemtocellCALEALocation - - - AddFemtocellProfile - - - AddFiberServiceAccount - - - AddFiberServiceCreditPolicy - true - - - AddFiberServiceTNPort - - - AddInsuranceClaimOrder - - - AddNetworkElementTroubleReport - - - AddNote - - - AddOrderEmail - - - AddOtherChargesCredits - - - AddPayment - true - - - AddPort - - - AddPrepaidFeature - - - AddPrepaidPayment - - 5000 - 300000 - 300000 - - - - AddPromiseToPay - - - AddRemoveProductCodeIndicator - - - AddSbcCombinedBilling - - - AddSbcSaleInformation - - - AddSmsPayment - - - AddWirelineNote - - - AddWirelineOrder - - - AddWirelinePayment - true - - - AddWirelinePaymentPlan - true - - - ApplyDataTreatment - - - ApplyFiberServiceCreditPolicy - - - ApplyPrepaidPayment - - - ApplyPrepaidVoucher - - - AuthenticateFanPassword - - - AuthenticateFanPin - - - AuthorizeCreditCard - true - - - CalculateSatelliteServiceTaxes - - - CalculateTaxes - - - Cancel3PPOrder - - - CancelCombinedBilling - - - CancelCopay - - - CancelFemtocellE911Service - - - CancelFemtocellNetwork - - - CancelFemtocellService - - - CancelFiberServiceWorkOrder - - - CancelHLRRegistration - - - CancelInsuranceClaimOrder - - - CancelPendingEquipmentUpgrade - - - CancelPort - - - CancelReservedFiberServiceVOIPNumber - - - CancelWirelinePayment - - - ChangeSubscriberNumber - - - CheckEligibility - - - ConfirmHLRRegistration - - - ConfirmWirelineTNReservation - - - CreateFiberServiceAccount - - - CreateFiberServiceVOIPNumber - - - CreateFiberServiceWorkOrder - - - CreateSatelliteServiceOrder - - - DeleteFemtocellAddress - - - DeleteFemtocellProfile - - - DetermineFiberServiceAccountHistoryList - - - DetermineFiberServiceDuplicateApplicationList - - - Echo - - - ExecuteAffiliateCreditCheck - - - ExecuteCreditCheck - - - ExecuteFiberServiceCreditCheck - - - ExecuteNBIMigration - - - ExecuteSalesOpportunityCreditCheck - - - ExecuteWirelineCreditCheck - - - ExecuteWirelineTroubleReportFunction - - - Generic - - - InitiateFiberServiceOrder - - - InitiateUnifiedCreditPolicyRetrieval - - - InquireAccessoryPricing - - - InquireAccountList - true - - - InquireAccountPaymentHistory - - - InquireAccountProfile - true - - - InquireAccountSubscribers - - - InquireActivationCommissionCodes - - - InquireAdditionalOfferings - - - InquireAddressMatch - - - InquireAffiliateAccountPaymentBalance - - - InquireAffiliateAccountProfile - - - InquireAffiliateCustomerAccount - - - InquireAffiliateEligibility - - - InquireAffiliateGeneralMessages - - - InquireAffiliateOrderStatus - - - InquireAffiliateProductCatalog - - - InquireAffiliateProductConfiguration - - - InquireAffiliateProductDetails - - - InquireAffiliateProductOfferingEligibility - - - InquireAffiliateServiceQualification - - - InquireAffiliateServiceScheduling - - - InquireARRemittance - - - InquireATTCreditCardOffer - - - InquireATTCreditCardOfferList - - - InquireAutomaticPayment - true - - - InquireAvailableAccessory - - - InquireAvailableFiberServiceAppointments - - - InquireAvailableCircuitSparePairs - - - InquireAvailableDevice - - - InquireAvailableFees - - - InquireAvailableFiberServiceAppointments - - - InquireAvailableFiberServiceCustomers - - - InquireAvailableFiberServiceVOIPNumbers - - - InquireAvailableItemQuantity - - - InquireAvailableOfferDetails - - - InquireAvailableOffers - - - InquireAvailablePortInSubscriber - - - InquireAvailableSatelliteServiceAppointments - - - InquireAvailableSubscriberNumbers - - - InquireCollectionData - - - InquireCombinedBillingEligibility - true - - - InquireContractedConversionFee - - - InquireCopayEligibility - - - InquireCopaySubscriber - - - InquireCopaySubscriberHistory - - - InquireCPNIContactInformation - - - InquireCpniPreferenceHistory - - - InquireCreditCheckResult - - - InquireCreditPolicyProfile - - - InquireCustomerDeviceSalesData - - - InquireDataAccessEligibility - - - InquireDataTreatmentHistory - - - InquireDepositPaymentStatus - - - InquireDeviceDetails - - - InquireDeviceShippingInformation - - - InquireDuplicateOfferings - - - InquireEquipmentOrder - - - InquireEquipmentOrderInvoice - - - InquireEquipmentPricing - - - InquireEstimatedFulfillmentTime - - - InquireExistingCustomer - - - InquireFanProfile - - - InquireFemtocellAddressList - - - InquireFemtocellDeviceList - - - InquireFemtocellEligibility - - - InquireFemtocellProfile - - - InquireFiberServiceAccountDetails - - false - - - InquireFiberServiceAssignedProductDetails - - - InquireFiberServiceCircuitDetails - - - InquireFiberServiceCreditVerificationQuestions - - - InquireFiberServiceCrossProductPackages - - - InquireFiberServiceEquipmentDetails - - - InquireFiberServiceOfferEligibility - - - InquireFiberServiceOrderDetail - - - InquireFiberServiceOrderList - - - InquireFiberServiceOrderStatus - - - InquireFiberServiceProductDetails - - - InquireFiberServiceQualification - - - InquireFiberServiceQuotation - - - InquireFiberServiceSubscriptionAccount - - - InquireFiberServicePendingAdjustments - - - InquireFiberServiceTNPortStatus - - - InquireFiberServiceUsageDetails - - - InquireFiberServiceVOIPPortEligibility - - - InquireInsuranceClaimOrder - - - InquireInsuranceClaimReplacementProducts - - - InquireInternationalRoamingMinutes - - - InquireInternationalRoamingUsageParameters - - - InquireLandLinePaymentServiceFee - - - InquireLastSuccessfulPayment - true - - - InquireMarketByZip - - - InquireMarketServiceAreas - - - InquireMaximumDryLoopFTNAllowed - - - InquireMessagingCapabilities - - - InquireNBIMigrationEligibility - - - InquireOfferHistory - - - InquireOfferingEligibility - - - InquireOTAHistory - - - InquireOTAProfile - - - InquirePaymentLocationDetails - - - InquirePendingPricePlan - - - InquirePort - - - InquirePortActivationStatus - - - InquirePortEligibilityByRange - - - InquirePortEligibilityBySubscriberNumber - - - InquirePrepaidBalance - - - InquirePrepaidFeatures - - - InquirePrepaidFeaturesHistory - - - InquirePrepaidPaymentEligibility - - - InquirePrepaidPricePlans - - - InquirePrepaidPINDetails - - - InquirePrepaidSubscriberProfile - - - InquirePricePlanList - - - InquirePricePlans - - - InquirePurchaseOrder - - - InquireSatelliteServiceOrderDetails - - - InquireSatelliteServiceProducts - - - InquireSatelliteServiceQualification - - - InquireSatelliteServiceQuotation - - - InquireSbcCombinedBillingEligibility - - - InquireServiceAreaByZip - - - InquireServiceOrderActivationStatus - - - InquireSharedGroupUpdateStatus - - - InquireShippingZipBySubscriberNumber - - - InquireSIMStatus - - - InquireSubscriberList - - - InquireSubscriberParentalControls - - - InquireSubscriberPin - - - InquireSubscriberProfile - true - - - InquireSubscriberServiceStatus - - - InquireSubscriberTransactionData - - - InquireSubscriptionAccountIdentifiers - - - InquireWirelineSwitchProfile - - - InquireSwitchTransactionStatus - - - InquireUnbilledUsageDetail - - - InquireUnifiedCustomerProfileByServiceLocation - - - InquireUnifiedCustomerServiceProfile - - - InquireUpgradeEligibility - - - InquireUnifiedOrderDetails - - - InquireWiFiEligibility - - - InquireWirelineAccountProfile - - - InquireWirelineAccountAssociations - - - InquireInternetSubscriptionAccounts - - - InquireWirelineBillingAccountList - - - InquireWirelineCreditApplicationList - - - InquireWirelineCreditVerificationQuestions - - - InquireWirelineCustomerAccount - - - InquireWirelineDSLandConnectTechOrderDetail - - - InquireWirelineDTVOrderDetail - - - InquireWirelineFiberServiceAppointments - - - InquireWirelineGeneralMessages - - - InquireWirelineNetworkChannelDetails - - - InquireWirelineNonRecurringCharges - - - InquireWirelineOpenTroubleReports - - - InquireWirelineOrderDetails - - - InquireWirelineOrderStatus - - - InquireWirelinePaymentHistory - - - InquireWirelinePaymentPlan - true - - - InquireWirelinePortEligibility - - - InquireAvailableTelephoneNumbers - - - ReserveTelephoneNumbers - - - InquireWirelineProductCatalog - - - InquireWirelineProductConfiguration - - - InquireWirelineProductCount - - - InquireWirelineProductDetails - - - InquireWirelineProductsForResource - - - InquireWirelineRegion - - - InquireWirelineServiceQualification - - - InquireWirelineServiceScheduling - - - InquireWirelineQualifiedProducts - - - InquireWirelineServiceOrderDetails - - - InquireWirelineTelcoOrderDetail - - - InquireWirelineTransportDetails - - - InquireWirelineUsageDetail - - - InquireWirelineWholesaleProductFamilies - - - MaintainAffiliateAccountAssociation - - - ManageAutomaticPayments - true - - - ManageCopay - - - ManageSubscriberPin - - - ModifySatelliteServiceOrder - - - CancelSatelliteServiceOrder - - - MoveSubscriber - - - NotifyFemtocellAction - - - OrderEquipment - - - OrderEquipmentWithValidation - - - OrderFiberService - - - ParseUnfieldedWirelineAddress - - - PortFiberServiceTelephoneNumber - - - ProcessEcho - - - ProcessEchoBackOffice - - - ProcessEchoFrontOffice - - - ProcessWirelineCPNIElection - - - ProvisionAddressBookService - - - ProvisionFemtocellE911Service - - - ProvisionFemtocellNetwork - - - ProvisionFemtocellRegistration - - - PublishUnifiedCreditPolicy - - - QualifyAndQuoteFiberServiceProducts - - - QualifyProducts - - - RegisterFemtocellService - - - ReleaseAvailableFiberServiceVOIPNumbers - - - ReleaseDryLoopFTN - - - ReleaseSubscriberNumber - - - RemoveCustomerDeviceSalesData - - - ResendOTAProfile - - - ReserveFiberServiceAppointments - - - ReserveFiberServiceVOIPNumber - - - ReserveSubscriberNumber - - - ResetVoiceMailPassword - - - RetrieveAbandonedFiberServiceOrder - - - RetrieveFiberServiceAccount - - - RetrieveFiberServiceAppointments - - - RetrieveFiberServiceOrderStatus - - - RetrieveFiberServiceProducts - - - RetrieveOrderDetails - - - RetrieveProducts - - - RetrieveQuotation - - - RetrieveUnifiedCreditPolicy - - - ScheduleAppointments - - - ScheduleSatelliteServiceInstallation - - - SendAccountNotification - - - SendCPNINotification - - - SendEmail - - - SendFanProfileNotification - - - SendFiberServiceTNPortNotification - - - SendFiberServiceWorkOrderNotification - - - SendFiberServiceWorkOrderNotificationAsync - - - SendSms - - - SendSmsResponse - - - SendTreatmentNotification - - - SubmitATTCreditCard - - - SubmitCreditCheck - - - SubmitFiberServiceOrder - - - SubmitFiberServiceTNAssignmentOrder - - - SubmitOrder - - - SubmitWalmartProxy - - - SwapEquipment - - - SwapFemtocellDevice - - - UpdateAccountDisputeDetails - - - UpdateAccountManager - - - UpdateAccountProfile - true - - - UpdateAccountStatus - - - UpdateAffiliateProductOffering - - - UpdateBillMedia - - - UpdateCpniPreference - - - UpdateCreditPolicyProfile - - - UpdateDepositPaymentStatus - - - UpdateDeviceInventory - - - UpdateDeviceProfile - - - UpdateEwalletStatus - - - InquireEwalletEventHistory - - - InquireEwalletSubscriberProfile - - - InquireCustomerSnapshot - - - UpdateFemtocellCALEALocation - - - UpdateFemtocellProfile - - - UpdateFiberServiceAccount - - - UpdateFiberServiceAccountDetails - - - UpdateFiberServiceCreditApplication - - - UpdateInternationalRoamingUsageParameters - - - UpdateOfferDisposition - - - UpdatePort - - - UpdatePrepaidFeature - - - UpdatePrepaidSubscriberProfile - - - UpdateSalesOpportunityCreditCheck - - - UpdateSatelliteServiceAccountAssociation - - - UpdateSubscriberAddressBookIdentifier - - - UpdateSubscriberProfile - - 5000 - 100000 - 120000 - - - - UpdateSubscriberStatus - - - UpdateVoiceMailProfile - - - UpdateWirelineAccountProfile - - - UpdateWirelineCPNIPreference - - - UpdateWirelineCreditApplication - - - UpdateWirelineTroubleReport - - - UpgradeEquipment - - - UpqueryAffiliateOfferingEligibility - - - ValidateAddress - - - ValidateAffiliateCustomer - - - ValidateAffiliateOrder - - - ValidateCreditCard - - - ValidateFemtocellCoverageArea - - - ValidateFemtocellE911Coverage - - - ValidateFemtocellEquipmentIdentifier - - - ValidateFemtocellWhitelist - - - ValidateFiberServiceCreditPolicy - - - ValidateFiberServiceCreditVerificationAnswers - - - ValidateFiberServiceFacility - - - ValidateFiberServiceFacilityResponse - - - ValidateFiberServiceFacilityNotification - - - ValidateFiberServiceProductDetails - - - ValidateSatelliteServiceProducts - - - ValidateShippingPriority - - - ValidateWirelineCreditVerificationAnswers - - - ValidateWirelineCustomer - - - ValidateWirelineOrder - - - InquireWirelineFutureAvailability - - - ValidateWirelinePostalAddress - - - CancelMobileContent - - - InquireMobileContentDetails - - - UpdateFiberServiceOrder - - - ExecuteUnifiedCreditCheck - - - SendPaymentProductApplicationResultNotification - - - ConfirmUnifiedCreditAccountDebtPayment - - - InquireUnifiedCreditAccountDebtDetails - - - InquireUnifiedCreditVerificationQuestions - - - SubmitUnifiedCreditApplication - - - UpdateUnifiedCreditApplication - - - ValidateUnifiedCreditVerificationAnswers - - - InquireUnifiedCreditAdverseActionLetter - - - InquireUnifiedCreditPolicyDecision - - - NotifyUnifiedCreditOrderSubmission - - - AssignAvailableWorkOrder - - - SendNetworkPathWorkOrderStatusNotification - - - ProcessNetworkPathWorkOrder - - - CreateCentralOfficeWorkOrder - - - UpdateCentralOfficeWorkOrder - - - CreateFiberServiceRepairWorkOrder - - - CreateFiberServiceRepairWorkOrderAsnyc - - - SendRepairWorkOrderNotification - - - CancelFiberServiceRepairWorkOrder - - - CancelFiberServiceRepairWorkOrderAsnyc - - - InquireUnifiedCustomerLoginProfile - - - InquireCustomerSubscriptionDetails - - - SendCancelWorkOrderNotification - - - InquireWirelineAccountLevelCSR - - - InquireWirelineServiceLevelCSR - - - InquireUnifiedPaymentProfile - true - - - UpdateCloudServiceDetails - - - InquireNote - - - ValidateSubscriberOfferings - - - AddBundledOrderV48 - - - UpdateBundledAccountServicesV48 - - - UpdateBundledOrderV48 - - - ValidateBundledOrder - - - InquireBundledAccountProfile - - - InquireRecommendationDetails - - - InquireEnterpriseEndUserPermissions - - - InquireNCIMigrationEligibility - - - ExecuteNCIMigration - - - UpdateCommonOrder - - - InquireBillCycleDetails - - - InquireCommonOrderListDetails - - - ValidateWirelineTroubleReportCompletion - - - InquireSubscriberContractDetails - - - ExecuteExternalCreditCheck - - - InquireExternalApplicantKey - - - UpdateExternalCreditApplication - - - SendExternalCreditResultNotification - - - InquireAvailableRetailStoresByLocation - - - UpdateEnterpriseEndUserPermissions - - - InquireSubscriberServiceEligibility - - - UpdateFemtocellWhiteLists - - - InquireNetworkProductCatalog - - - InquireNetworkProductPriceQuote - - - SubmitSLACreditClaim - - - InquireSLACreditClaimStatus - - - InquireSLANetworkCreditClaimStatus - - - WHOLESALE-CUSTOMER-IDDELETE - walmartID - - - WHOLESALE-CUSTOMER-NAME - walmart - - - WHOLESALE-CUSTOMER-RESTRICTED-STATES - alaska - - - BID_ID - PlatinumSP - - - EBM_ORGID - o3hevdtz - - - REMOTE-CALL - true - - - CALL_NUMERITRACK - true - - - HEARTBEAT-INTERVAL - 20 - - - AP-CALL-RSN-FOR-WLNP-TLG - false - - - AS-PROCESS-DISCOUNTS - false - - - AS-RETRY-ON-TRANSIENT-ERROR - true - - - AS-STORE-MARKET - true - - - CATALOG_TYPE - WALMART Catalog - - - - CHECK-FOR-MARKETLOOKUP-SOFTERROR - true - - - EQUIPMENT-UPGRADE-MAX-RETRY-INTERVAL - 0 - - - EQUIPMENT-UPGRADE-TRACKING-REQUIRED - false - - - IAL-AV-REQUIRED - false - - - IAP-ALLOWED-MASK-VALUES - CR:TD:SL:SN:SC:DC:UD:VU:VU+PT:VU+PR:VU+PT+PR:DU:DU+PR:UE - - - IAP-AV-REQUIRED - false - - - INFO-RESTRICT-LEVEL - Unrestricted - - - ISP-ALLOWED-MASK-VALUES - DI:DC:UD:VU:VU+PT:VU+PR:VU+PT+PR:DU:DU+PR:UE - - - IUCSP-MAX-ALLOWED-CTNS - 10 - - - IUCSP-NEW-KIT-WARRANTY-DAYS - 366 - - - IUCSP-REFURBISHED-KIT-WARRANTY-DAYS - 90 - - - IUCSP-SEED-KIT-WARRANTY-DAYS - 366 - - - IUUD-ALLOWED-MASK-VALUES - VU:VU+HO:VU+RO:VU+TO:VU+AL:VU+PT:VU+PT+HO:VU+PT+RO:VU+PT+TO:VU+PT+AL:VU+PR:VU+PR+HO:VU+PR+RO:VU+PR+TO:VU+PR+AL:VU+PT+PR:VU+PT+PR+HO:VU+PT+PR+RO:VU+PT+PR+TO:VU+PT+PR+AL:DU:DU+PR - - - IWPE-LSR11-ACCESS-DENIED - false - - - TN-REQUEST-CATEGORY - MCSICVOIP - - - MARKET-STATUS-LOOKUP - false - - - MEMO-NOTE-USER - WEB - - - NBI-ACCESS-DECLINED - false - - - PREAUTHORIZED-CREDIT-CHECK - true - - - - RESTRICTED-TO-TEST-CALLS - true - - - RESELLER-TEST-DEALER-CODE - IJX57 - - - UPGRADE-EQUIPMENT-NEW-SALES-CHANNEL - U2 - - - UPGRADE-EQUIPMENT-UPGRADE-SECURITY-CODE - III - - - USE-GENERIC-ASYNC-RESPONSE - true - - - USOC-INFO-DATA-SOURCE - CURRENT - - - VFSF-OAT-REQUIRED-MSG-LOOKUP - false - - - VFSF-CLIENT-REQ-TYPE - Negotiation - - - VFSF-CLIENT-ID - BBNMS - - - SMS-DESTINATION-PORT - -1 - - - CTVCODE-SERVICE-MAINTENANCE - true - - - XI-APPLICATION-CONTEXT - OPSS - - - IN-MAX-BILLING-NOTE-QUANTITY - 300 - - - ITTH-TL-MAX-RECORDS-TO-FETCH - 50 - - - ITTH-ITH-MAX-RECORDS-TO-FETCH - 30 - - - IEEUP-SYSTEM-ID - premier - - - SUBSCRIPTION_CLASS - S - - - MOBILE_PAYMENTS_PARTNER_ID - S - - - - IUCPBYSL-GRID-CLIENT - true - - - APPLICATION_ID - ONSTAR - - - AES - NRETLTEL - NRETLTEL - - - BOSS - testcsi - - - RACFID - pb1975 - - - RACFPASSWORD - Light@1 - - - - - BSTECSC - CSI - a2p2!!b1 - - - CAM - CSIQC - CSIQC - - AccountType - S - - - SubAccountType - T - - - WaiveActivationFee - true - - - WaiveUpgradeFee - true - - - - CBS - ZCINGP1 - - - - CPSOS - c48794 - 7941!c48 - - - DLC - CSIQC - - - DLC_APP_ID - ASURION - - - - GCS - CSIQC - - - GCS_MERCHANT_ID - 001342 - - - - InterconnectRC - csitest - - - interconnectUSERID - SBC001T - - - interconnectPASSWORD - GC@\u0011W4\#""6/\u001172OK - - - interconnectLightSpeedUSERID - SBC002T - - - interconnectLightSpeedPASSWORD - GAN\u0016T4\#""6/\u001072OK - - - interconnectConsumerUSERID - SBC003T - - - interconnectConsumerPASSWORD - GCC\u0017P4\#""6/\u001372OK - - - - LNPSOA - - - - LNPSOA_APP_ID - QC - - - - - MRE - OPUS - OPUS - - - NSM - ACME - - - - OrderTrack - csitest - - - - PDC - RS - - - - QPAY - CSI_FDC - CSI_FDC - - - SWOT-LITE - cingultest - j9WWuopev9 - - - TLGAPI - rimprov1 - unix11 - - APP_ID - TLGAPI - - - CALLER_IND - FR - - - - YODA - WTS - CSITest - - - EDGE - WMS - WMS - - - true - - 30000 - 3 - 3000 - - - false - false - - /opt/app/sg_q7/tibco/jre/lib/security/cacerts - changeit - - - /opt/app/sg_q7/gateway_a/config/ActingAsClient.keystore - client - - - - true - - diff --git a/ajsc-shared-config/etc/basic-logback_root_logger_level_off.xml b/ajsc-shared-config/etc/basic-logback_root_logger_level_off.xml deleted file mode 100644 index 4ebe2db..0000000 --- a/ajsc-shared-config/etc/basic-logback_root_logger_level_off.xml +++ /dev/null @@ -1,87 +0,0 @@ - - - - - - ERROR - - - %d{HH:mm:ss.SSS} [%thread] %-5level %logger{1024} - %msg%n - - - - - - - DEBUG - - ${logDirectory}/info_ajsc.log - - ${logDirectory}/info_ajsc.%i.log.zip - - 1 - 9 - - - 5MB - - - "%d [%thread] %-5level %logger{1024} - %msg%n" - - - - - ERROR - - ${logDirectory}/error_ajsc.log - - ${logDirectory}/error_ajsc.%i.log.zip - - 1 - 9 - - - 5MB - - - - "%d [%thread] %-5level %logger{1024} - %msg%n" - - - - - - INFO - - localhost - USER - - AJSC_AUDIT: [%thread] [%logger] %msg - - - - INFO - - localhost - USER - - AJSC_AUDIT: [%thread] [%logger] mdc:[%mdc] %msg - - - - - - - - - diff --git a/ajsc-shared-config/etc/csm-framework-app.properties b/ajsc-shared-config/etc/csm-framework-app.properties deleted file mode 100644 index 140fde3..0000000 --- a/ajsc-shared-config/etc/csm-framework-app.properties +++ /dev/null @@ -1,11 +0,0 @@ -# The csm-persist-to property identifies the file that the CSM Framework -# will write the current configuration to whenever it is told to save it's -# configuration. -# -#csm-persist-to=/opt/app/myapplication/csm.properties.persisted - -#Important . Please specify absolute path starting from the root directory for Property csm-persist-to -#(Giving relative path may result in undesired results in case the applcation is restarted from a different directory than the original start directory ) -#In the following example , relative path is specfied since the directory structure varies on diff env - -csm-persist-to=/opt/app/q103csi1m8/DATA/${ChangeMe_RELEASE}/${ChangeMe_CLUSTER}_ACFS_csm.properties.persisted diff --git a/ajsc-shared-config/etc/logback.xml b/ajsc-shared-config/etc/logback.xml deleted file mode 100644 index 80d3b81..0000000 --- a/ajsc-shared-config/etc/logback.xml +++ /dev/null @@ -1,210 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - ${errorLogPattern} - - - - - - - - - - - ${logDirectory}/${generalLogName}.log - - ${logDirectory}/${generalLogName}.%d{yyyy-MM-dd}.log.zip - - 60 - - - ${errorLogPattern} - - - - - - INFO - - 256 - - - - - - - - ${logDirectory}/${auditLogName}.log - - ${logDirectory}/${auditLogName}.%d{yyyy-MM-dd}.log.zip - - 60 - - - ${auditMetricPattern} - - - - 256 - - - - - ${logDirectory}/${metricsLogName}.log - - ${logDirectory}/${metricsLogName}.%d{yyyy-MM-dd}.log.zip - - 60 - - - - ${auditMetricPattern} - - - - - - 256 - - - - - ${logDirectory}/${debugLogName}.log - - ${logDirectory}/${debugLogName}.%d{yyyy-MM-dd}.log.zip - - 60 - - - ${errorLogPattern} - - - - - 256 - - false - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/antBuild/build.xml b/antBuild/build.xml deleted file mode 100644 index ab0f890..0000000 --- a/antBuild/build.xml +++ /dev/null @@ -1,231 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/bundleconfig-local/etc/appprops/AAFUserRoles.properties b/bundleconfig-local/etc/appprops/AAFUserRoles.properties deleted file mode 100644 index adb7a10..0000000 --- a/bundleconfig-local/etc/appprops/AAFUserRoles.properties +++ /dev/null @@ -1,13 +0,0 @@ -#Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. - -#If using AAF for Role based authentication/authorization, define your routes/services which will utilize AAF. The AJSC will -#read this file and protect the routes given with the AAF role defined. - -#The following example would protect the JAXRS echo example service provided with the archetype. -#/services/${namespace}/v1/jaxrs-services/jaxrsExample/echo/*=com.att.ajsc.myper|mymachine|manage - -#The following example would protect ALL AJSC services running within your project. -#/**=com.att.ajsc.myperm|mymachine|manage - -#The following example would protect ALL REST services utilizing the Camel restlet routes. -#/rest/**=com.att.ajsc.myperm|mymachine|manage diff --git a/bundleconfig-local/etc/appprops/PostProcessorInterceptors.properties b/bundleconfig-local/etc/appprops/PostProcessorInterceptors.properties deleted file mode 100644 index 08ffefa..0000000 --- a/bundleconfig-local/etc/appprops/PostProcessorInterceptors.properties +++ /dev/null @@ -1,3 +0,0 @@ -#Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. -#This properties file is for defining any PostProcessorInterceptors that have been created for your AJSC service. - diff --git a/bundleconfig-local/etc/appprops/PreProcessorInterceptors.properties b/bundleconfig-local/etc/appprops/PreProcessorInterceptors.properties deleted file mode 100644 index 1383071..0000000 --- a/bundleconfig-local/etc/appprops/PreProcessorInterceptors.properties +++ /dev/null @@ -1,4 +0,0 @@ -#Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. -#This properties file is for defining any PreProcessorInterceptors that have been created for your AJSC service. - -/**=com.att.ajsc.csi.restmethodmap.RestMethodMapInterceptor diff --git a/bundleconfig-local/etc/appprops/app-intercepts.properties b/bundleconfig-local/etc/appprops/app-intercepts.properties deleted file mode 100644 index 0d35b59..0000000 --- a/bundleconfig-local/etc/appprops/app-intercepts.properties +++ /dev/null @@ -1,8 +0,0 @@ -#Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. - -#This is where all your application intercept strategies must be configured. AJSC reads this property file and adds -#the list of intercepts specified here to the camel context. This can be useful for accessing every exchange object transferred from/to -#each endpoint in the request/response flow and can allow for more precise debugging and/or processing of the exchange. - -#e.g. -#intercepts=org.openecomp.data-router.JaxrsEchoService,packagename.class1name,packagename.class2name diff --git a/bundleconfig-local/etc/appprops/methodMapper.properties b/bundleconfig-local/etc/appprops/methodMapper.properties deleted file mode 100644 index 1825bd6..0000000 --- a/bundleconfig-local/etc/appprops/methodMapper.properties +++ /dev/null @@ -1,46 +0,0 @@ -// -//Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. -// Json object holds the method mapping.Update the JSON object with the proper route to logical mapping based -// on the example provided below : -// "helloWorld" = Service Name -// "method" = http method -// "url" = the url component from the route -// "logicalName"= When a combination of method and url from the route matches the json object , -// the logical name is put in the http header as "x-CSI-ServiceName" and "x-CSI-MethodName" -// "dme2url"= if provided it register the endpoint to GRM, it is optional. This is useful for JAX-RS services. - -{ - "helloWorld": [ - { - "method": "get", - "url": "/rest/data-router/v1/helloWorld", - "logicalName": "GetMethod(Logical)" - }, - { - "method": "get", - "url": "/services/data-router/v1/jaxrsExample/jaxrs-services/echo/{input}", - "logicalName": "GetJaxrsExampleEcho(Logical)", - "dme2url": "/services/data-router/v1/jaxrsExample/jaxrs-services/echo/{input}" - }, - { - "method": "get", - "url": "/services/data-router/v1/jaxrsExample/jaxrs-services/property/{fileName}/{input}", - "logicalName": "GetJaxrsExampleProperty(Logical)", - "dme2url": "/services/data-router/v1/jaxrsExample/jaxrs-services/property/{fileName}/{input}" - } - ], - "errormessage": - [ - { - "method": "get", - "url": "/services/data-router/v1/jaxrsExample/errormessage/emls", - "logicalName": "setCAETHeaders(Logical)" - }, - { - "method": "get", - "url": "/services/data-router/v1/errorMessageLookupService2", - "logicalName": "setCAETHeaders(Logical)" - } - - ] -} diff --git a/bundleconfig-local/etc/logback.xml b/bundleconfig-local/etc/logback.xml index 80d3b81..81da55b 100644 --- a/bundleconfig-local/etc/logback.xml +++ b/bundleconfig-local/etc/logback.xml @@ -132,18 +132,7 @@ - - - - - - - - - - - - + diff --git a/bundleconfig-local/etc/sysprops/sys-props.properties b/bundleconfig-local/etc/sysprops/sys-props.properties deleted file mode 100644 index 39f4175..0000000 --- a/bundleconfig-local/etc/sysprops/sys-props.properties +++ /dev/null @@ -1,115 +0,0 @@ -#Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. -#This file is used for defining AJSC system properties for different configuration schemes and is necessary for the AJSC to run properly. -#The sys-props.properties file is used for running locally. The template.sys-props.properties file will be used when deployed -#to a SOA/CSI Cloud node. - -#AJSC System Properties. The following properties are required for ALL AJSC services. If you are adding System Properties for your -#particular service, please add them AFTER all AJSC related System Properties. - -#For Cadi Authorization, use value="authentication-scheme-1 -CadiAuthN=authentication-scheme-1 - -#For Basic Authorization, use value="authentication-scheme-1 -authN=authentication-scheme-2 - -#Persistence used for AJSC meta-data storage. For most environments, "file" should be used. -ajscPersistence=file - -#For Direct Invocation to be enabled (values=true/false) -directInvocationEnable=false - -# If using hawtio for local development, these properties will allow for faster server startup and usage for local development - -hawtio.authenticationEnabled=false -hawtio.config.pullOnStartup=false - -#Removes the extraneous restlet console output -org.restlet.engine.loggerFacadeClass=org.restlet.ext.slf4j.Slf4jLoggerFacade - -#server.host property to be enabled for local DME2 related testing -#server.host= - -#Enable/disable SSL (values=true/false). This property also determines which protocol to use (https if true, http otherwise), to register services into GRM through DME2. -enableSSL=false - - -#Enable/disable EJB Container -ENABLE_EJB=false - -#Enable/disable OSGI -isOSGIEnable=false - -#Generate/Skip api docs -isApiDoc=false - -#CSI related variables for CSM framework -csm.hostname=servername - - -#SOA_CLOUD_ENV is used to register your service with dme2 and can be turned off for local development (values=true/false). -SOA_CLOUD_ENV=false - -#CONTINUE_ON_LISTENER_EXCEPTION will exit the application if there is a DME2 exception at the time of registration. -CONTINUE_ON_LISTENER_EXCEPTION=false - -#Jetty Container ThreadCount Configuration Variables -AJSC_JETTY_ThreadCount_MIN=1 -AJSC_JETTY_ThreadCount_MAX=200 -AJSC_JETTY_IDLETIME_MAX=3000 - -#Camel Context level default threadPool Profile configuration -CAMEL_POOL_SIZE=10 -CAMEL_MAX_POOL_SIZE=20 -CAMEL_KEEP_ALIVE_TIME=60 -CAMEL_MAX_QUEUE_SIZE=1000 - -#GRM/DME2 System Properties -AFT_DME2_CONN_IDLE_TIMEOUTMS=5000 -AJSC_ENV=SOACLOUD - -SOACLOUD_NAMESPACE=com.att.ajsc -SOACLOUD_ENV_CONTEXT=DEV -SOACLOUD_PROTOCOL=http -SOACLOUD_ROUTE_OFFER=DEFAULT - -AFT_LATITUDE=23.4 -AFT_LONGITUDE=33.6 -AFT_ENVIRONMENT=AFTUAT - -#Restlet Component Default Properties -RESTLET_COMPONENT_CONTROLLER_DAEMON=true -RESTLET_COMPONENT_CONTROLLER_SLEEP_TIME_MS=100 -RESTLET_COMPONENT_INBOUND_BUFFER_SIZE=8192 -RESTLET_COMPONENT_MIN_THREADS=1 -RESTLET_COMPONENT_MAX_THREADS=10 -RESTLET_COMPONENT_LOW_THREADS=8 -RESTLET_COMPONENT_MAX_QUEUED=0 -RESTLET_COMPONENT_MAX_CONNECTIONS_PER_HOST=-1 -RESTLET_COMPONENT_MAX_TOTAL_CONNECTIONS=-1 -RESTLET_COMPONENT_OUTBOUND_BUFFER_SIZE=8192 -RESTLET_COMPONENT_PERSISTING_CONNECTIONS=true -RESTLET_COMPONENT_PIPELINING_CONNECTIONS=false -RESTLET_COMPONENT_THREAD_MAX_IDLE_TIME_MS=60000 -RESTLET_COMPONENT_USE_FORWARDED_HEADER=false -RESTLET_COMPONENT_REUSE_ADDRESS=true - -#Externalized jar and properties file location. In CSI environments, there are a few libs that have been externalized to aid -#in CSTEM maintenance of the versions of these libs. The most important to the AJSC is the DME2 lib. Not only is this lib necessary -#for proper registration of your AJSC service on a node, but it is also necessary for running locally as well. Another framework -#used in CSI envs is the CSM framework. These 2 framework libs are shown as "provided" dependencies within the pom.xml. These -#dependencies will be copied into the target/commonLibs folder with the normal "mvn clean package" goal of the AJSC. They will -#then be added to the classpath via AJSC_EXTERNAL_LIB_FOLDERS system property. Any files (mainly property files) that need -#to be on the classpath should be added to the AJSC_EXTERNAL_PROPERTIES_FOLDERS system property. The default scenario when -#testing your AJSC service locally will utilize the target/commonLibs directory for DME2 and CSM related artifacts and 2 -#default csm properties files will be used for local testing with anything CSM knorelated. -#NOTE: we are using maven-replacer-plugin to replace "(doubleUnderscore)basedir(doubleUnderscore)" with ${basedir} within the -#target directory for running locally. Multiple folder locations can be separated by the pipe ("|") character. -#Please, NOTE: for running locally, we are setting this system property in the antBuild/build.xml "runLocal" target and in the -#"runAjsc" profile within the pom.xml. This is to most effectively use maven variables (${basedir}, most specifically. Therefore, -#when running locally, the following 2 properties should be set within the profile(s) themselves. -#Example: target/commonLibs|target/otherLibs -#AJSC_EXTERNAL_LIB_FOLDERS=__basedir__/target/commonLibs -#AJSC_EXTERNAL_PROPERTIES_FOLDERS=__basedir__/ajsc-shared-config/etc -#End of AJSC System Properties - -#Service System Properties. Please, place any Service related System Properties below. diff --git a/pom.xml b/pom.xml index 0f3b288..eb3df8d 100644 --- a/pom.xml +++ b/pom.xml @@ -18,440 +18,365 @@ See the License for the specific language governing permissions and limitations under the License. ============LICENSE_END========================================================= --> - - 4.0.0 - - - ajsc-archetype-parent - com.att.ajsc - 2.0.0 - - org.onap.aai.data-router - data-router - 1.2.0-SNAPSHOT - aai-data-router - - - ${basedir}/target - data-router - v1 - 2.0.0 - /appl/${project.artifactId} - - - /appl/${project.artifactId}/${project.version} - ${basedir}/target/swm/package/nix/dist_files${distFilesRoot} + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + 4.0.0 - - aaiadmin - aaiadmin - com.att.csid.lab + + org.springframework.boot + spring-boot-starter-parent + 1.5.10.RELEASE + + + org.onap.aai.data-router + data-router + 1.2.0-SNAPSHOT + aai-data-router - - 0 - 9502 + + 1.8 + 2.20.0 + ${basedir}/target + /appl/${project.artifactId} + + /appl/${project.artifactId}/${project.version} + + aaiadmin + aaiadmin + com.att.csid.lab - workstation - DEV - google_checks.xml - https://nexus.onap.org - - java - jacoco - ${project.build.directory}/surefire-reports - ${project.build.directory}/coverage-reports/jacoco.exec - false - ${project.version} - + + 0 + 9502 - - - org.powermock - powermock-module-junit4 - 1.6.2 - test - - - - org.powermock - powermock-api-mockito - 1.6.2 - test - - - - org.powermock - powermock-module-javaagent - 1.6.2 - test - - - - org.powermock - powermock-module-junit4-rule-agent - 1.6.2 - test - - - dom4j - dom4j - 1.6.1 - provided - + workstation + DEV + google_checks.xml + https://nexus.onap.org + + java + jacoco + ${project.build.directory}/surefire-reports + ${project.build.directory}/coverage-reports/jacoco.exec + false + ${project.version} + - - com.att.aft - dme2 - 3.1.200 - provided - - - org.onap.aai.aai-common - aai-schema - 1.2.2-SNAPSHOT - - - org.onap.aai.router-core - router-core - 1.1.0 - + + + org.apache.camel + camel-spring-boot-starter + + + org.apache.camel + camel-core + 2.20.1 + + + org.apache.camel + camel-servlet-starter + + + org.apache.camel + camel-cxf + 2.20.1 + + + + org.springframework.boot + spring-boot-starter-web - - org.json - json - + + + org.springframework.boot + spring-boot-starter + + + org.springframework.boot + spring-boot-starter-actuator + + + javax.ws.rs + javax.ws.rs-api + 2.0.1 + + + org.powermock + powermock-module-junit4 + 1.6.2 + test + - - com.google.code.gson - gson - 2.6.2 - + + org.powermock + powermock-api-mockito + 1.6.2 + test + - - org.eclipse.persistence - eclipselink - 2.6.2 - + + org.powermock + powermock-module-javaagent + 1.6.2 + test + - - org.onap.aai.logging-service - common-logging - 1.1.0 - + + org.powermock + powermock-module-junit4-rule-agent + 1.6.2 + test + + + dom4j + dom4j + 1.6.1 + provided + - - org.onap.aai.logging-service - logging-api - 1.1.0 - + + com.att.aft + dme2 + 3.1.200 + provided + + + org.onap.aai.aai-common + aai-schema + 1.2.2-SNAPSHOT + + + org.onap.aai.router-core + router-core + 1.1.0 + - - org.onap.aai - rest-client - 1.1.0 - + + org.json + json + - - ch.qos.logback - logback-core - 1.1.7 - + + com.google.code.gson + gson + 2.6.2 + - + + org.eclipse.persistence + eclipselink + 2.6.2 + - - - - - - org.apache.maven.plugins - maven-site-plugin - 3.3 - - - - org.apache.maven.plugins - maven-checkstyle-plugin - 2.17 - - - - checkstyle - - - - - - - - - org.apache.maven.plugins - maven-resources-plugin - 2.7 - - - copy-docker-file - package - - copy-resources - - - target - true - - - ${basedir}/src/main/docker - true - - **/* - - - - ${basedir}/src/main/bin/ - - - - - - - - com.spotify - docker-maven-plugin - 0.4.11 - - true - docker-hub - ${docker.push.registry}/onap/${project.artifactId} - ${docker.location} - - latest - - true - - - - - - org.sonatype.plugins - nexus-staging-maven-plugin - 1.6.7 - true - - ${nexusproxy} - 176c31dfe190a - ecomp-staging - - - - org.apache.maven.plugins - maven-deploy-plugin - - true - - - - org.codehaus.mojo - sonar-maven-plugin - 3.2 - - - org.jacoco - jacoco-maven-plugin - 0.7.7.201606060606 - - true - - - - jacoco-initialize-unit-tests - - prepare-agent - - - ${project.build.directory}/coverage-reports/jacoco.exec - - - - - - - - + + org.onap.aai.logging-service + common-logging + 1.1.0 + - - - runAjsc - - initialize - - - org.codehaus.mojo - exec-maven-plugin - 1.3.2 - - - initialize - - java - - - false - true - java - com.att.ajsc.runner.Runner - - com.att.ajsc - ajsc-runner - - - ${basedir}/ajsc-shared-config/etc - + + org.onap.aai.logging-service + logging-api + 1.1.0 + - - ${runAjscHome} - + + org.onap.aai + rest-client + 1.1.0 + - - - - AJSC_HOME - ${runAjscHome} - + + ch.qos.logback + logback-core + 1.1.7 + - - CONFIG_HOME - ${basedir}/appconfig-local/ - + - - AJSC_CONF_HOME - ${basedir}/bundleconfig-local - - - logback.configurationFile - ${basedir}/ajsc-shared-config/etc/logback.xml - - - AJSC_SHARED_CONFIG - ${basedir}/ajsc-shared-config - + + ${project.artifactId} + + + + + org.apache.maven.plugins + maven-site-plugin + 3.3 + + + + org.apache.maven.plugins + maven-checkstyle-plugin + 2.17 + + + + checkstyle + + + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + org.apache.maven.plugins + maven-resources-plugin + 2.7 + + + copy-docker-file + package + + copy-resources + + + target + true + + + ${basedir}/src/main/docker + true + + **/* + + + + ${basedir} + true + + bundleconfig-local/** + + + + ${basedir}/src/main/bin/ + true + + **/* + + + + + + + + + com.spotify + docker-maven-plugin + 0.4.11 + + true + docker-hub + ${docker.push.registry}/onap/${project.artifactId} + ${docker.location} + + latest + + true + + + + + + org.sonatype.plugins + nexus-staging-maven-plugin + 1.6.7 + true + + ${nexusproxy} + 176c31dfe190a + ecomp-staging + + + + org.apache.maven.plugins + maven-deploy-plugin + + true + + + + org.codehaus.mojo + sonar-maven-plugin + 3.2 + + + org.jacoco + jacoco-maven-plugin + 0.7.7.201606060606 + + true + + + + jacoco-initialize-unit-tests + + prepare-agent + + + ${project.build.directory}/coverage-reports/jacoco.exec + + + + + - - AJSC_EXTERNAL_LIB_FOLDERS - ${basedir}/target/commonLibs - - - AJSC_EXTERNAL_PROPERTIES_FOLDERS - ${basedir}/ajsc-shared-config/etc - + + - - AJSC_SERVICE_NAMESPACE - ${module.ajsc.namespace.name} - - - AJSC_SERVICE_VERSION - ${module.ajsc.namespace.version} - - - SOACLOUD_SERVICE_VERSION - ${project.version} - - - server.port - ${serverPort} - - - - - context=/ - port=${serverPort} - sslport=${sslport} - - - - - - java - - - - com.att.ajsc - ajsc-runner - ${ajscRuntimeVersion} - - - - - - - - - - - - org.apache.httpcomponents - httpclient - 4.5 - - - org.apache.httpcomponents - httpcore - 4.4.1 - - - org.json - json - 20131018 - - - - - - ecomp-releases - ECOMP Release Repository - ${nexusproxy}/content/repositories/releases/ - - - ecomp-snapshots - ECOMP Snapshot Repository - ${nexusproxy}/content/repositories/snapshots/ - - + + + + org.apache.camel + camel-spring-boot-dependencies + ${camel-spring-boot.version} + pom + import + + + org.apache.httpcomponents + httpclient + 4.5 + + + org.apache.httpcomponents + httpcore + 4.4.1 + + + org.json + json + 20131018 + + + + + + ecomp-releases + ECOMP Release Repository + ${nexusproxy}/content/repositories/releases/ + + + ecomp-snapshots + ECOMP Snapshot Repository + ${nexusproxy}/content/repositories/snapshots/ + + diff --git a/src/main/ajsc/data-router_v1/data-router/v1/conf/echoService.groovy b/src/main/ajsc/data-router_v1/data-router/v1/conf/echoService.groovy deleted file mode 100644 index a8583f2..0000000 --- a/src/main/ajsc/data-router_v1/data-router/v1/conf/echoService.groovy +++ /dev/null @@ -1,12 +0,0 @@ -beans{ - xmlns cxf: "http://camel.apache.org/schema/cxf" - xmlns jaxrs: "http://cxf.apache.org/jaxrs" - xmlns util: "http://www.springframework.org/schema/util" - - echoService(org.onap.aai.datarouter.service.EchoService) - - - util.list(id: 'echoServices') { - ref(bean:'echoService') - } -} diff --git a/src/main/ajsc/data-router_v1/data-router/v1/docs/README.txt b/src/main/ajsc/data-router_v1/data-router/v1/docs/README.txt deleted file mode 100644 index 3707179..0000000 --- a/src/main/ajsc/data-router_v1/data-router/v1/docs/README.txt +++ /dev/null @@ -1 +0,0 @@ -Place any docs here that you want to access within the ajsc upon deployment of your service. diff --git a/src/main/ajsc/data-router_v1/data-router/v1/lib/README.txt b/src/main/ajsc/data-router_v1/data-router/v1/lib/README.txt deleted file mode 100644 index 639e21b..0000000 --- a/src/main/ajsc/data-router_v1/data-router/v1/lib/README.txt +++ /dev/null @@ -1 +0,0 @@ -3rd party JAR's needed by your jars (if any) for a ajsc deployment package go here... \ No newline at end of file diff --git a/src/main/ajsc/data-router_v1/data-router/v1/props/module.props b/src/main/ajsc/data-router_v1/data-router/v1/props/module.props deleted file mode 100644 index 17ebc08..0000000 --- a/src/main/ajsc/data-router_v1/data-router/v1/props/module.props +++ /dev/null @@ -1 +0,0 @@ -EXAMPLE.PROPERTY=EXAMLE_VALUE \ No newline at end of file diff --git a/src/main/ajsc/data-router_v1/data-router/v1/routes/echoService.route b/src/main/ajsc/data-router_v1/data-router/v1/routes/echoService.route deleted file mode 100644 index b81cbbd..0000000 --- a/src/main/ajsc/data-router_v1/data-router/v1/routes/echoService.route +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/src/main/assemble/ajsc_module_assembly.xml b/src/main/assemble/ajsc_module_assembly.xml deleted file mode 100644 index 4ec4e28..0000000 --- a/src/main/assemble/ajsc_module_assembly.xml +++ /dev/null @@ -1,66 +0,0 @@ - - ${version} - false - - zip - - - - ${project.basedir}/target/versioned-ajsc/routes/ - ${module.ajsc.namespace.name}/${module.ajsc.namespace.version}/routes/ - - *.route - - - - - - ${project.basedir}/target/versioned-ajsc/docs/ - ${module.ajsc.namespace.name}/${module.ajsc.namespace.version}/docs/ - - *.* - - - - - - - ${project.basedir}/target/versioned-ajsc/lib/ - ${module.ajsc.namespace.name}/${module.ajsc.namespace.version}/lib/ - - *.jar - - - - - ${project.basedir}/target/versioned-ajsc/extJars/ - ${module.ajsc.namespace.name}/${module.ajsc.namespace.version}/extJars/ - - *.jar - - - - - - ${project.basedir}/target/ - ${module.ajsc.namespace.name}/${module.ajsc.namespace.version}/lib/ - - *.jar - - - - - ${project.basedir}/target/versioned-ajsc/conf/ - ${module.ajsc.namespace.name}/${module.ajsc.namespace.version}/conf/ - - *.* - - - - - - - diff --git a/src/main/assemble/ajsc_props_assembly.xml b/src/main/assemble/ajsc_props_assembly.xml deleted file mode 100644 index 5b8a6fa..0000000 --- a/src/main/assemble/ajsc_props_assembly.xml +++ /dev/null @@ -1,23 +0,0 @@ - - ${version}_properties - false - - zip - - - - ${project.basedir}/target/versioned-ajsc/props - ${module.ajsc.namespace.name}/${module.ajsc.namespace.version}/props/ - - *.props - - - - - - - - diff --git a/src/main/assemble/ajsc_runtime_assembly.xml b/src/main/assemble/ajsc_runtime_assembly.xml deleted file mode 100644 index e37d366..0000000 --- a/src/main/assemble/ajsc_runtime_assembly.xml +++ /dev/null @@ -1,44 +0,0 @@ - - runtimeEnvironment - false - - zip - - - - ${project.basedir}/target/versioned-runtime/context/ - runtime/context/ - - *.context - - - - ${project.basedir}/target/versioned-runtime/serviceProperties/ - runtime/serviceProperties/ - - *.props - - - ${project.basedir}/target/versioned-runtime/shiroRole - runtime/shiroRole/ - - *.json - - - ${project.basedir}/target/versioned-runtime/shiroUser - runtime/shiroUser/ - - *.json - - - ${project.basedir}/target/versioned-runtime/shiroUserRole - runtime/shiroUserRole - - *.json - - - - \ No newline at end of file diff --git a/src/main/bin/start.sh b/src/main/bin/start.sh index 0e11779..fecadcc 100644 --- a/src/main/bin/start.sh +++ b/src/main/bin/start.sh @@ -9,65 +9,10 @@ if [ -z "$CONFIG_HOME" ]; then exit 1 fi -if [ -z "$KEY_STORE_PASSWORD" ]; then - echo "KEY_STORE_PASSWORD must be set in order to start up process" - exit 1 -else - echo "KEY_STORE_PASSWORD=$KEY_STORE_PASSWORD\n" >> $AJSC_CONF_HOME/etc/sysprops/sys-props.properties -fi - -if [ -z "$KEY_MANAGER_PASSWORD" ]; then - echo "KEY_MANAGER_PASSWORD must be set in order to start up process" - exit 1 -else - echo "KEY_MANAGER_PASSWORD=$KEY_MANAGER_PASSWORD\n" >> $AJSC_CONF_HOME/etc/sysprops/sys-props.properties -fi - -# Add any routes configured at deploy time to the data layer service -if [ -n "$DYNAMIC_ROUTES" ]; then - echo "Adding the following dynamic routes to the deployment: " - mkdir -p /tmp/data-router/v1/routes - for f in `ls $DYNAMIC_ROUTES` - do - cp $DYNAMIC_ROUTES/$f /tmp/data-router/v1/routes - echo "Adding dynamic route $DYNAMIC_ROUTES/$f" - done - jar uf /opt/app/data-router/services/data-router_v1.zip* -C /tmp/ data-router - rm -rf /tmp/data-router -fi - -# Add any spring bean configuration files to the data layer deployment -if [ -n "$SERVICE_BEANS" ]; then - echo "Adding the following dynamic service beans to the deployment: " - mkdir -p /tmp/data-router/v1/conf - for f in `ls $SERVICE_BEANS` - do - cp $SERVICE_BEANS/$f /tmp/data-router/v1/conf - echo "Adding dynamic service bean $SERVICE_BEANS/$f" - done - jar uf /opt/app/data-router/services/data-router_v1.zip* -C /tmp/ data-router - rm -rf /tmp/data-router -fi -# Add any dynamic component configuration files to the data layer deployment -if [ -n "$COMPLIB" ]; then - echo "Adding the following dynamic libraries to the deployment: " - mkdir -p /tmp/data-router/v1/lib - for f in `ls $COMPLIB` - do - cp $COMPLIB/$f /tmp/data-router/v1/lib - echo "Adding dynamic library $COMPLIB/$f" - done - jar uf /opt/app/data-router/services/data-router_v1.zip* -C /tmp/ data-router - rm -rf /tmp/data-router -fi - -CLASSPATH="$AJSC_HOME/lib/*" -CLASSPATH="$CLASSPATH:$AJSC_HOME/extJars/" -CLASSPATH="$CLASSPATH:$AJSC_HOME/etc/" PROPS="-DAJSC_HOME=$AJSC_HOME" PROPS="$PROPS -DAJSC_CONF_HOME=$AJSC_CONF_HOME" -PROPS="$PROPS -Dlogback.configurationFile=$BASEDIR/bundleconfig/etc/logback.xml" +PROPS="$PROPS -Dlogging.config=$BASEDIR/bundleconfig/etc/logback.xml" PROPS="$PROPS -DAJSC_SHARED_CONFIG=$AJSC_CONF_HOME" PROPS="$PROPS -DAJSC_SERVICE_NAMESPACE=data-router" PROPS="$PROPS -DAJSC_SERVICE_VERSION=v1" @@ -77,4 +22,7 @@ JVM_MAX_HEAP=${MAX_HEAP:-1024} echo $CLASSPATH -exec java -Xmx${JVM_MAX_HEAP}m $PROPS -classpath $CLASSPATH com.att.ajsc.runner.Runner context=// sslport=9502 +cd ${MICRO_HOME} +jar uf0 $MICRO_HOME/data-router.jar BOOT-INF/lib/* + +exec java -Xmx${JVM_MAX_HEAP}m $PROPS -jar ${MICRO_HOME}/data-router.jar \ No newline at end of file diff --git a/src/main/config/ajsc-jetty.xml b/src/main/config/ajsc-jetty.xml deleted file mode 100644 index 9d597f0..0000000 --- a/src/main/config/ajsc-jetty.xml +++ /dev/null @@ -1,114 +0,0 @@ - - - - - - - - true - - - /etc/runner-web.xml - /etc/ajsc-override-web.xml - true - - - false - - - /extJars/json-20131018.jar - - - - - - - - - - - - - - - - - - - - - - - - /extApps - 10 - true - - - - - - - - - file:/auth/tomcat_keystore - - - - - - - - - - - true - true - - - - - - - - - - - - - http/1.1 - - - - - - - - - - - - - - - - - - - - - - 30000 - - - - - - - - - false - - - diff --git a/src/main/config/ajsc-override-web.xml b/src/main/config/ajsc-override-web.xml deleted file mode 100644 index f6d69ea..0000000 --- a/src/main/config/ajsc-override-web.xml +++ /dev/null @@ -1,39 +0,0 @@ - - - - - - InterceptorFilter - /services/* - - - InterceptorFilter - /rest/* - - - - springSecurityFilterChain - /* - - - - ManagementServlet - /mgmt - - - - RestletServlet - /rest/* - - - - CamelServlet - /* - - - - \ No newline at end of file diff --git a/src/main/config/ajscJetty.jks b/src/main/config/ajscJetty.jks deleted file mode 100644 index 48cdbff..0000000 Binary files a/src/main/config/ajscJetty.jks and /dev/null differ diff --git a/src/main/config/jul-redirect.properties b/src/main/config/jul-redirect.properties deleted file mode 100644 index 8b6624d..0000000 --- a/src/main/config/jul-redirect.properties +++ /dev/null @@ -1,13 +0,0 @@ - -# Bridge JUL->slf4j Logging Configuration File -# -# This file bridges the JUL logging infrastructure into -# SLF4J so JUL logs go to logback implementation provided -# in this project. SLF4J also captures log4j and has -# other framework options as well providing a common -# logging infrastructure for capturing all logs from different -# libraries using different frameworks in one place. - -# Global properties -handlers=org.slf4j.bridge.SLF4JBridgeHandler -.level= ALL diff --git a/src/main/config/keyfile b/src/main/config/keyfile deleted file mode 100644 index 882e86a..0000000 --- a/src/main/config/keyfile +++ /dev/null @@ -1,27 +0,0 @@ -ZuIwp0TkyVPDeX1Up-8JtkMWvjsCpoiu1_VKeWrtrvxunvAke8_tiFyHPPyb2nkhepFYj6tXzpfS -rGz5XF_TH9NbsKaP8u0HV5clz2WriYQRvHS85vjY7hXxkpFuLb7zkLAPqTyIDpj7FiW61NzsRUAq -TM8jH16jr7mBNnb56w24mNGOwznMPcIZKcjgZU1ekaPDFpWyhQElU7Y0q_94P_Gkk45r66Hj22sU -OiOaaftmudZlswLw8-8Zaakqf2yW9HjMVfuYCwSodBHCW5rdB3Ctb5W36rnD_AQco3Ky2PgPmqvk -QkJYuUHpbuDqVHqLOajlKSIGMTIqAIBg51fRaaONtD-Q5xzY8E5wO1YWTLKcP5tsNvUpzM8Wu3NS -ynpGpUcvlTqWWsGzTbzOyamyKkdNdx97sSqjM25Zh1-ps48h6cddGYWpab7SUvqRCS11QBUyLTry -2iwTEHMhHRIbo7PO99ALQfuq9gI1zKGfurJdvLBeBaFs5SCF0AiCZ3WcDO8Rv3HpxVZ2_ShbDxb0 -eMoO6SotXu51fj8Y3-WqsfZziQyEsHyqpg5uQ6yUtz01h5YHLEoVuotF1U4agmQR6kEkYk-wNOiZ -v-8gaA9gtbLoAdKhuKFxQgQLNMf6GzVzZNujbmDzLoZAP_mXAv29aBPaf64Ugzv-Oa5GZdBgD-Xd -_pahML-ionw99r0TnkpShYmDqMKhMdjaP3m87WIAZkIB-L-VTyKcEsJ4340VSzCOsv3waiM0S89u -4cMcG5y-PLY8IoipIlLUPTWD3SjcQ9DV1Dt3T5KjdWLsj48D3W4K4e9PB8yxs0gtUjgVUR2_xEir -G5eDO9Ac1eHFWGDFFP0SgG-TbHJUKlvy9mwLzmU0fC3xPjhqmIr-v0HxF7HN-tmb1LHDorno8tSN -u7kUGcKSchIiFfvkd066crUb2mH7PnXTaWmAjyVj9VsBExFUYEdpHMAV4sAP9-RxZGDRt46UhrDK -QZvvNhBVyOEjHPHWI4vl1r1v8HNH1_2jZu5DVJWyHWR56aCo1lhFH9_X6UAHUHbnXViDONZOVXlT -9-WD0tk2zJGuwrhdZDAnPnAmjfwbwbpnr5Hmex1i1JiD7WVyP1kbfoej2TmdiYbxr9oBYaGQ29JI -aHod7MQCLtvL1z5XgnDPLZ4y3_9SbqHKYbNa8UgZkTLF5EacGThYVFDLA9cbafHDtR1kMGE3vv4D -EJ-0pAYTOGmKlVI7DwNyKsY9JTyudrxTqhOxi9jgcJNWiUaNe9yhL8Pyc2YBqUTTYhh_a2d1rvkZ -0Gh1crviVxqBrIkRKaMRXZ4f1vDLz-3NvG_vwPOo8WRFo5nGmSdTw7CjBaigJ_cYCfDhoP11pEnw -cndsZNcHs-v05LlxeIIMDD_f5Bvz-il_DLA4eK2HqgLdxh8ziSDl2azk14MJY4amzz6reEXUuKLV -RsZGf_jbDGKhE2HuDQ5ovoLOi4OqE1oRuqh-dGxitrYouP2SN1l_1tCEMRth86FMV-6AQtZsvdUo -y9MtQ7e35atjA8nHtgADlDTmJBKQiUHUsOZ77p1qp17HAFMovUkc739opfEYnKUn6Itpw5Ipm_Is -ra6chJUfMpOFof5rb5OjqFAN27c_-mPo1lQU3ndYlKGh_n5V8ufX6v2Yri8WzOPf6hjVYotkmoMP -NPAICDCB8W5ddBjsopzLVVEtaXDu9Qj6-zf77hT4iQ7rBd2Ner8iLqN3Kis0dvkNM3_uH8onau1G -Y_YYw7PPSZyd2S_7Dd6G-IG4ayO6e5DD6oUwwekyiQI_3rTXNa_wldGxqW9u818010ekE4Qdlfcj -beIn7fAeaOjReZ87hRgWyMs-EgTVHw8RL3yI_O6VvRTVRONRF1Y4C_-IYa8z-bfrwXx3BBd9TTgb -EnS9wVOyC2OgUN6BhPLGLhxzkJ05nEjizXEc9t5EPYoSRwesajGGrrG_0-qWbuU5hKLPLkyeJLHb -5HXOTVsrUR59Vov2M3_EswkxcImblox3k3VS2yihZMGyfqLzZIUXgd8ufkevKKU6DxwacGTb \ No newline at end of file diff --git a/src/main/config/runner-web.xml b/src/main/config/runner-web.xml deleted file mode 100644 index b51aff4..0000000 --- a/src/main/config/runner-web.xml +++ /dev/null @@ -1,97 +0,0 @@ - - - - - - contextConfigLocation - /WEB-INF/spring-servlet.xml, - classpath:applicationContext.xml - - - - - spring.profiles.default - nooauth - - - - org.springframework.web.context.ContextLoaderListener - - - - ManagementServlet - ajsc.ManagementServlet - - - - - InterceptorFilter - ajsc.filters.InterceptorFilter - - preProcessor_interceptor_config_file - /etc/PreProcessorInterceptors.properties - - - postProcessor_interceptor_config_file - /etc/PostProcessorInterceptors.properties - - - - - - RestletServlet - ajsc.restlet.RestletSpringServlet - - org.restlet.component - restletComponent - - - - - CamelServlet - ajsc.servlet.AjscCamelServlet - - - - - springSecurityFilterChain - org.springframework.web.filter.DelegatingFilterProxy - - - - spring - org.springframework.web.servlet.DispatcherServlet - 1 - - - - - - - - jsp - org.apache.jasper.servlet.JspServlet - - - - - - - - - default - org.eclipse.jetty.servlet.DefaultServlet - - dirAllowed - true - - - - diff --git a/src/main/docker/Dockerfile b/src/main/docker/Dockerfile index 4019f5c..8963fa8 100644 --- a/src/main/docker/Dockerfile +++ b/src/main/docker/Dockerfile @@ -15,12 +15,26 @@ RUN export JAVA_HOME # Build up the deployment folder structure RUN mkdir -p $MICRO_HOME -ADD swm/package/nix/dist_files/appl/data-router/* $MICRO_HOME/ RUN mkdir -p $BIN_HOME -COPY *.sh $BIN_HOME +RUN mkdir -p $MICRO_HOME/bundleconfig +RUN mkdir -p $MICRO_HOME/bundleconfig/etc +RUN mkdir -p $MICRO_HOME/BOOT-INF/lib +COPY start.sh $MICRO_HOME/bin/ RUN chmod 755 $BIN_HOME/* RUN ln -s /logs $MICRO_HOME/logs +ENV MICRO_HOME ${MICRO_HOME} +ENV CONFIG_HOME=${CONFIG_HOME} +COPY data-router.jar $MICRO_HOME/ +COPY bundleconfig-local $MICRO_HOME/bundleconfig +COPY bundleconfig-local/etc/logback.xml $MICRO_HOME/bundleconfig/etc + +# Create the aai user +RUN mkdir /opt/aaihome && \ + groupadd -g 492381 aaiadmin && \ + useradd -r -u 341790 -g 492381 -ms /bin/bash -d /opt/aaihome/aaiadmin aaiadmin && \ + chown -R aaiadmin:aaiadmin $MICRO_HOME +USER aaiadmin EXPOSE 9502 9502 -CMD ["/opt/app/data-router/bin/start.sh"] +CMD ["/opt/app/data-router/bin/start.sh"] \ No newline at end of file diff --git a/src/main/java/org/onap/aai/datarouter/Application.java b/src/main/java/org/onap/aai/datarouter/Application.java new file mode 100644 index 0000000..e81ba3e --- /dev/null +++ b/src/main/java/org/onap/aai/datarouter/Application.java @@ -0,0 +1,14 @@ +package org.onap.aai.datarouter; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + + +@SpringBootApplication +public class Application { + + public static void main(String[] args) { + SpringApplication.run(Application.class, args); + } + +} \ No newline at end of file diff --git a/src/main/java/org/onap/aai/datarouter/SpringXMLConfig.java b/src/main/java/org/onap/aai/datarouter/SpringXMLConfig.java new file mode 100644 index 0000000..1d9234c --- /dev/null +++ b/src/main/java/org/onap/aai/datarouter/SpringXMLConfig.java @@ -0,0 +1,11 @@ +package org.onap.aai.datarouter; + +import org.springframework.context.annotation.Configuration; +import org.springframework.context.annotation.ImportResource; + +@Configuration +@ImportResource({"file:${SERVICE_BEANS}/*.xml"}) +public class SpringXMLConfig { + + +} \ No newline at end of file diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties new file mode 100644 index 0000000..74a378f --- /dev/null +++ b/src/main/resources/application.properties @@ -0,0 +1 @@ +camel.springboot.xmlRoutes = file:${DYNAMIC_ROUTES}/*.route \ No newline at end of file diff --git a/src/main/runtime/context/__module.ajsc.namespace.name__#__module.ajsc.namespace.version__.context b/src/main/runtime/context/__module.ajsc.namespace.name__#__module.ajsc.namespace.version__.context deleted file mode 100644 index 8514196..0000000 --- a/src/main/runtime/context/__module.ajsc.namespace.name__#__module.ajsc.namespace.version__.context +++ /dev/null @@ -1 +0,0 @@ -{"context":{"contextClass":"ajsc.Context","contextId":"__module_ajsc_namespace_name__:__module_ajsc_namespace_version__","contextName":"__module_ajsc_namespace_name__","contextVersion":"__module_ajsc_namespace_version__","description":"__module_ajsc_namespace_name__ Context"}} \ No newline at end of file diff --git a/src/main/runtime/context/default#0.context b/src/main/runtime/context/default#0.context deleted file mode 100644 index d1b5ab4..0000000 --- a/src/main/runtime/context/default#0.context +++ /dev/null @@ -1 +0,0 @@ -{"context":{"contextClass":"ajsc.Context","contextId":"default:0","contextName":"default","contextVersion":"0","description":"Default Context"}} \ No newline at end of file diff --git a/src/main/runtime/deploymentPackage/__module.ajsc.namespace.name__#__module.ajsc.namespace.version__.json b/src/main/runtime/deploymentPackage/__module.ajsc.namespace.name__#__module.ajsc.namespace.version__.json deleted file mode 100644 index d0954cf..0000000 --- a/src/main/runtime/deploymentPackage/__module.ajsc.namespace.name__#__module.ajsc.namespace.version__.json +++ /dev/null @@ -1 +0,0 @@ -{"deploymentPackage":{"Class":"ajsc.DeploymentPackage","Id":"__module.ajsc.namespace.name__:__module_ajsc_namespace_version__","namespace":"__module_ajsc_namespace_name__","namespaceVersion":"__module_ajsc_namespace_version__","description":"__module_ajsc_namespace_name__ __module_ajsc_namespace_version__ - default description","userId":"ajsc"}} \ No newline at end of file diff --git a/src/main/runtime/shiroRole/ajscadmin.json b/src/main/runtime/shiroRole/ajscadmin.json deleted file mode 100644 index f5e981e..0000000 --- a/src/main/runtime/shiroRole/ajscadmin.json +++ /dev/null @@ -1 +0,0 @@ -{"shiroRoleClass":"ajsc.auth.ShiroRole","shiroRoleId":"ajscadmin","name":"ajscadmin","permissions":"[ajscadmin:*, ajsc:*]"} \ No newline at end of file diff --git a/src/main/runtime/shiroRole/contextadmin#__module.ajsc.namespace.name__.json b/src/main/runtime/shiroRole/contextadmin#__module.ajsc.namespace.name__.json deleted file mode 100644 index 2dae9f5..0000000 --- a/src/main/runtime/shiroRole/contextadmin#__module.ajsc.namespace.name__.json +++ /dev/null @@ -1 +0,0 @@ -{"shiroRoleClass":"ajsc.auth.ShiroRole","shiroRoleId":"contextadmin:__module_ajsc_namespace_name__","name":"contextadmin:__module_ajsc_namespace_name__","permissions":"[]"} \ No newline at end of file diff --git a/src/main/runtime/shiroRole/contextadmin#default.json b/src/main/runtime/shiroRole/contextadmin#default.json deleted file mode 100644 index 5de814e..0000000 --- a/src/main/runtime/shiroRole/contextadmin#default.json +++ /dev/null @@ -1 +0,0 @@ -{"shiroRoleClass":"ajsc.auth.ShiroRole","shiroRoleId":"contextadmin:default","name":"contextadmin:default","permissions":"[]"} \ No newline at end of file diff --git a/src/main/runtime/shiroUser/ajsc.json b/src/main/runtime/shiroUser/ajsc.json deleted file mode 100644 index f4c7855..0000000 --- a/src/main/runtime/shiroUser/ajsc.json +++ /dev/null @@ -1 +0,0 @@ -{"shiroUserClass":"ajsc.auth.ShiroUser","shiroUserId":"ajsc","passwordHash":"9471697417008c880720ba54c6038791ad7e98f3b88136fe34f4d31a462dd27a","permissions":"[*:*]","username":"ajsc"} \ No newline at end of file diff --git a/src/main/runtime/shiroUserRole/ajsc#ajscadmin.json b/src/main/runtime/shiroUserRole/ajsc#ajscadmin.json deleted file mode 100644 index cb8d483..0000000 --- a/src/main/runtime/shiroUserRole/ajsc#ajscadmin.json +++ /dev/null @@ -1 +0,0 @@ -{"shiroUserRoleClass":"ajsc.auth.ShiroUserRole","shiroUserRoleId":"ajsc:ajscadmin","roleId":"ajscadmin","userId":"ajsc"} \ No newline at end of file diff --git a/src/main/runtime/shiroUserRole/ajsc#contextadmin#__module.ajsc.namespace.name__.json b/src/main/runtime/shiroUserRole/ajsc#contextadmin#__module.ajsc.namespace.name__.json deleted file mode 100644 index 95d2361..0000000 --- a/src/main/runtime/shiroUserRole/ajsc#contextadmin#__module.ajsc.namespace.name__.json +++ /dev/null @@ -1 +0,0 @@ -{"shiroUserRoleClass":"ajsc.auth.ShiroUserRole","shiroUserRoleId":"ajsc:contextadmin:__module_ajsc_namespace_name__","roleId":"contextadmin:__module_ajsc_namespace_name__","userId":"ajsc"} \ No newline at end of file diff --git a/src/main/runtime/shiroUserRole/ajsc#contextadmin#default.json b/src/main/runtime/shiroUserRole/ajsc#contextadmin#default.json deleted file mode 100644 index 2bd5063..0000000 --- a/src/main/runtime/shiroUserRole/ajsc#contextadmin#default.json +++ /dev/null @@ -1 +0,0 @@ -{"shiroUserRoleClass":"ajsc.auth.ShiroUserRole","shiroUserRoleId":"ajsc:contextadmin:default","roleId":"contextadmin:default","userId":"ajsc"} \ No newline at end of file