diff options
49 files changed, 454 insertions, 4148 deletions
diff --git a/FUNCTIONS.md b/FUNCTIONS.md index cf0ce87..84efd58 100644 --- a/FUNCTIONS.md +++ b/FUNCTIONS.md @@ -4,6 +4,15 @@ The _Synapse_ data router comes packaged with a set of functionality that needs ## Entity Change Event +### Interfaces + +_Synapse_ pulls from message bus +Purpose: +- Get every create/update/delete events coming from _AAI Resources_ + +_Synapse_ -> Search data Service port 9509 (REST) +Purposes: + - Update secondary database with information pulled from the message bus ### Configuration 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 @@ -<!-- edited with XMLSpy v2008 (http://www.altova.com) by AT&T (AT&T) --> -<!-- Edited with XMLSpy v2008 (http://www.altova.com) by Binh Quach (CINGULAR WIRELESS) --> -<!-- edited with XMLSPY v5 rel. 4 U (http://www.xmlspy.com) by Durshetti (AT&T Wireless Services) --> -<!--Sample XML file generated by XMLSPY v2004 rel. 3 U (http://www.xmlspy.com)--> -<PartnerProfile xmlns="http://csi.cingular.com/CSI/Namespaces/Configuration/PartnerProfile.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://csi.cingular.com/CSI/Namespaces/Configuration/PartnerProfile.xsd C:\csi_projects\CommonServices\Schemas\v36\CSI\Partner\PartnerProfile.xsd"> - <!-- - Each partner will be listed in a unique block below along with a description of the - authorized interfaces, and any parameters describing or required by the interface. - This is valid for Dev & ST, but IST will need to identify the partners expecting to - test the environment and add blocks to authorize them. - --> - <ModifierATTID>sg7477</ModifierATTID> - <UpdateTimeStamp>2013-06-30T00:06:07+05:30</UpdateTimeStamp> - <GlobalConnectionBlocking> - <ClientBlocking/> - <InterfaceBlocking/> - </GlobalConnectionBlocking> - <GlobalConnectionLimitsConfiguration> - <GlobalConnectionLimits> - <alertThreshold>100</alertThreshold> - <maxConnections>110</maxConnections> - </GlobalConnectionLimits> - <GlobalInterfaceConnectionLimits> - <interfaceName>AddAccount</interfaceName> - <InterfaceConnectionLimits> - <maxConnections>10</maxConnections> - </InterfaceConnectionLimits> - </GlobalInterfaceConnectionLimits> - <GlobalInterfaceConnectionLimits> - <interfaceName>AddNote</interfaceName> - <InterfaceConnectionLimits> - <alertThreshold>90</alertThreshold> - <maxConnections>110</maxConnections> - </InterfaceConnectionLimits> - </GlobalInterfaceConnectionLimits> - </GlobalConnectionLimitsConfiguration> - <GlobalTimeoutConfiguration> - <GlobalTimeout> - <minTimeout>5000</minTimeout> - <defaultTimeout>300000</defaultTimeout> - <maxTimeout>600000</maxTimeout> - </GlobalTimeout> - <GlobalInterfaceTimeout> - <interfaceName>AddNote</interfaceName> - <InterfaceTimeout> - <minTimeout>5000</minTimeout> - <defaultTimeout>250000</defaultTimeout> - <maxTimeout>300000</maxTimeout> - </InterfaceTimeout> - </GlobalInterfaceTimeout> - <GlobalInterfaceTimeout> - <interfaceName>CreateFiberServiceVOIPNumber</interfaceName> - <InterfaceTimeout> - <minTimeout>120000</minTimeout> - <defaultTimeout>300000</defaultTimeout> - <maxTimeout>300000</maxTimeout> - </InterfaceTimeout> - </GlobalInterfaceTimeout> - <GlobalInterfaceTimeout> - <interfaceName>InquireAccountProfile</interfaceName> - <InterfaceTimeout> - <minTimeout>5000</minTimeout> - <defaultTimeout>100000</defaultTimeout> - <maxTimeout>250000</maxTimeout> - </InterfaceTimeout> - </GlobalInterfaceTimeout> - <GlobalInterfaceTimeout> - <interfaceName>InquireUnbilledUsageDetail</interfaceName> - <InterfaceTimeout> - <minTimeout>5000</minTimeout> - <defaultTimeout>250000</defaultTimeout> - <maxTimeout>300000</maxTimeout> - </InterfaceTimeout> - </GlobalInterfaceTimeout> - <GlobalInterfaceTimeout> - <interfaceName>InquireWirelinePortEligibility</interfaceName> - <InterfaceTimeout> - <minTimeout>5000</minTimeout> - <defaultTimeout>330000</defaultTimeout> - <maxTimeout>600000</maxTimeout> - </InterfaceTimeout> - </GlobalInterfaceTimeout> - <GlobalInterfaceTimeout> - <interfaceName>QualifyAndQuoteFiberServiceProducts</interfaceName> - <InterfaceTimeout> - <minTimeout>120000</minTimeout> - <defaultTimeout>300000</defaultTimeout> - <maxTimeout>300000</maxTimeout> - </InterfaceTimeout> - </GlobalInterfaceTimeout> - <GlobalInterfaceTimeout> - <interfaceName>SendSms</interfaceName> - <InterfaceTimeout> - <minTimeout>5000</minTimeout> - <defaultTimeout>150000</defaultTimeout> - <maxTimeout>180000</maxTimeout> - </InterfaceTimeout> - </GlobalInterfaceTimeout> - <GlobalInterfaceTimeout> - <interfaceName>ValidateFiberServiceFacility</interfaceName> - <InterfaceTimeout> - <minTimeout>120000</minTimeout> - <defaultTimeout>1200000</defaultTimeout> - <maxTimeout>1200000</maxTimeout> - </InterfaceTimeout> - </GlobalInterfaceTimeout> - <GlobalInterfaceTimeout> - <interfaceName>ValidateFiberServiceFacilityResponse</interfaceName> - <InterfaceTimeout> - <minTimeout>120000</minTimeout> - <defaultTimeout>1200000</defaultTimeout> - <maxTimeout>1200000</maxTimeout> - </InterfaceTimeout> - </GlobalInterfaceTimeout> - <GlobalInterfaceTimeout> - <interfaceName>ExecuteWirelineMechanizedLoopTest</interfaceName> - <InterfaceTimeout> - <minTimeout>120000</minTimeout> - <defaultTimeout>1200000</defaultTimeout> - <maxTimeout>1200000</maxTimeout> - </InterfaceTimeout> - </GlobalInterfaceTimeout> - <GlobalInterfaceTimeout> - <interfaceName>ExecuteWirelineMechanizedLoopTestResponse</interfaceName> - <InterfaceTimeout> - <minTimeout>120000</minTimeout> - <defaultTimeout>1200000</defaultTimeout> - <maxTimeout>1200000</maxTimeout> - </InterfaceTimeout> - </GlobalInterfaceTimeout> - <GlobalInterfaceTimeout> - <interfaceName>AppDev_NetworkPerformance</interfaceName> - <InterfaceTimeout> - <minTimeout>60000</minTimeout> - <defaultTimeout>100000</defaultTimeout> - <maxTimeout>250000</maxTimeout> - </InterfaceTimeout> - </GlobalInterfaceTimeout> - </GlobalTimeoutConfiguration> - <GlobalRuntimeEngineConfiguration> - <runtimeEngine>BW</runtimeEngine> - </GlobalRuntimeEngineConfiguration> - <GlobalIAPMaxAllowedCtns>25</GlobalIAPMaxAllowedCtns> - <GlobalIUCSPMaxAllowedCtns>10</GlobalIUCSPMaxAllowedCtns> - <GlobalACTFSTNPMaxAllowedCtns>10</GlobalACTFSTNPMaxAllowedCtns> - <GlobalADDFSTNPMaxAllowedCtns>10</GlobalADDFSTNPMaxAllowedCtns> - <GlobalIFSTNPSMaxAllowedCtns>10</GlobalIFSTNPSMaxAllowedCtns> - <Partner> - <userName>csitest</userName> - <userPassword>testingcsi</userPassword> - <originatorId>csitest</originatorId> - <isReseller>false</isReseller> - <isBusinessAllianceChannel>false</isBusinessAllianceChannel> - <salesChannelId>WALMART</salesChannelId> - <isBroker>false</isBroker> - <PartnerTimeoutConfiguration> - <minTimeout>500</minTimeout> - <defaultTimeout>300000</defaultTimeout> - <maxTimeout>600000</maxTimeout> - </PartnerTimeoutConfiguration> - <AuthorizedInterface> - <name>accountdetails</name> - <resource>v1</resource> - <allowedMethods>get</allowedMethods> - </AuthorizedInterface> - <AuthorizedInterface> - <name>AddContentProviderSponsor</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>AddEmployeeDetails</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireEmployeeDetails</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireVoiceUsageDetails</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>UpdateContentProviderSponsor</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireContentProviderSponsor</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireCircuitTestResults</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireAccountProfileV78</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireSubscriberProfileV78</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ScheduleCircuitTest</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>CancelScheduledCircuitTest</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireAvailableCircuitTestList</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>SubmitCircuitTest</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireCustomerTroubleTicketDetails</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>UpdateCustomerTroubleTicketDetails</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>AddCustomerTroubleTicket</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ManageBusinessServices</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireMobileUsageDetails</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>UpdateEnterpriseEndUserPermissions</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>SwapCrossUpgradeEquipment</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ManageMobilePaymentProfile</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireCustomerAlarmList</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireCustomerAlarmCount</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>UpdateCustomerAlarmAcknowledgment</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireRatingModel</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireCustomerPurchaseEligibility</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireCustomerTroubleTicketList</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireCustomerTroubleTicketCount</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireResellerAccountProfile</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>SubmitResellerContractInformation</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireInternationalOfferings</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireAccessCircuitSummary</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireEnterpriseOrderDetails</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireEnterpriseOrderList</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireEnterpriseOrderStatus</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireEthernetDetails</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireCustomerDigitalLifeInstallationProfile</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireDirectoryListingHeadings</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ManageDigitalLifeDevice</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>SendDigitalLifeDeviceNotification</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ExecuteWirelineMechanizedLoopTest</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ExecuteWirelineMechanizedLoopTestResponse</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireNetworkAssetDetails</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireVOIPProbeDetails</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireVOIPAssetDetails</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireManagedAssetDetails</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ExecuteExternalIdVerificationQA</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireIPNetworkServiceLocationDetails</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireUnifiedCreditCheckResult</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ProcessDeviceUnlock</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireWirelessDashboard</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireWirelineServiceAppointmentReservations</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>UpdateWirelineServiceAppointmentReservation</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireTechnicianDispatchStatus</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>UpdateIDDBAutoGroup</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>UpdateIDDBDailyRules</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>UpdateIDDBGeography</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>UpdateIDDBMasterTemplate</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ValidateOpenDeviceEligibility</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ValidateOpenDeviceEmailAddressAvailability</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>RetrieveAvailableOpenDeviceProducts</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>RetrieveOpenDeviceDetails</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ValidateAndQualifyOpenDeviceAddress</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>RetrieveOpenDeviceTax</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>CreateOpenDeviceCustomer</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>CreateOpenDeviceCustomerOrder</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>AddRetailStoreAppointment</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ValidateAddressServiceAvailability</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireAvailableRetailStoreAppointments</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireRetailStoreAppointmentReferenceDetails</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>UpdateFanProfile</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireRetailStoreAppointmentList</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireKeyValueStore</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>UpdateKeyValueStore</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>AppDev_NetworkPerformance</name> - <resource>wireless</resource> - <allowedMethods>get</allowedMethods> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireUnifiedCustomerIdentifiers</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireNetworkLatency</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireNetworkTrafficDensity</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireReferenceCodeList</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireBillList</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireSubscriberBilledCallDetails</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireSubscriberCharges</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireSubscriberHistory</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireSwitchCircuitDetails</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireSwitchCircuitList</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>AddBillAccounts</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>AddUCOrder</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>OrderDeviceProtectionPlan</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ResetEwalletSecurityProfile</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>UpdateCustomerSalesSupportDetails</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>UpdatePartnerServicesProductStatus</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>UpdateSubscriberParentalControls</name> - <voltageEnabledIndicator>false</voltageEnabledIndicator> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireOrderDetails</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>UpdateCPEDetails</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireNonSBSInventory</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>UpdateUCCustomerProfile</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireUCCustomerProfile</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>CreateUCCustomerNumber</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>AuthorizeLOAUpdate</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ReleaseInquiredTelephoneNumbers</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ValidateTelephoneNumbers</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>UpdateLOADetails</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ValidateOrder</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>UpdateBVOIPSiteProfile</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireUpsellEligibility</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireIncompatibleOfferings</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>UpdateBVOIPSubscriberAssociation</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>SendBVOIPSubscriberAssociationNotification</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>CreateWirelineServiceOrder</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireWirelineDirectoryAvailability</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireAvailableCustomerSparePairsSummary</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>UpdateUnifiedCustomerLoginProfile</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireEnterpriseDetails</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquirePaymentProductApplicationResult</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireTroubleTicketStatus</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireTroubleReferenceDetails</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireTroubleTicketHistory</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>UpdateTroubleTicketDetails</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>AddEnterpriseTroubleTicket</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireContractTerminationDetails</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>UpdatePaymentPreferences</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireWirelineServiceAppointments</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ReserveWirelineServiceAppointment</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireWirelinePendingOrderDetails</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>SubmitWirelineFacilityAssignmentOrder</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireWirelinePendingOrderDetailsResponse</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>AddTroubleTicket</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireFemtocellDevice</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>UpdateFemtocellDevice</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>SendTroubleTicketStatusNotice</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireWirelineTechnicianAssignments</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireAvailableFiberServiceAppointments</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>SubmitMechanizedLoopTest</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquirePortedTNList</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireWirelinePortDetails</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireHostRoutingDetails</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireBundledOrder</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireBundledAccountServices</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>UpdateBundledAccountServices</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>UpdateWirelineWorkOrder</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireSubscriberCallList</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>UpdateSubscriberCallList</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ValidateCreditPolicy</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>AddPaymentProfile</name> - <voltageEnabledIndicator>true</voltageEnabledIndicator> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ActivateSwitchFeatures</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>AddTechnicianTroubleNote</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>UpdatePaymentProfile</name> - <voltageEnabledIndicator>true</voltageEnabledIndicator> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireSBSBundledDiscountSubscriberList</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ExchangePerformanceMetrics</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireBundledOrderStatus</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireAvailableBundlePackages</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireBundledOrderList</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>DeletePaymentProfile</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>UpdateBillingPreferences</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>SendBillingPreferencesNotification</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquirePaymentProfile</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireServiceAvailabilityForLocation</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ActivateCustomer</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ActivateDevice</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ActivateFemtocellService</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ActivateFiberServiceResidentialGateway</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ActivateFiberServiceTNPort</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ActivatePendingEquipmentUpgrade</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ActivateSubscriber</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ActivateSubscriberReseller</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ActivateSubscriberResellerResponse</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ActivateSubscriberResponse</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>Add3PPOrderNotes</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>Add3PPOrderShipment</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>AddAccount</name> - <InterfaceConnectionConfiguration> - <maxConnections>25</maxConnections> - </InterfaceConnectionConfiguration> - </AuthorizedInterface> - <AuthorizedInterface> - <name>AddAffiliateDiscount</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>AddATTConnectAccount</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>AddCombinedBilling</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>AddCreditPolicyProfile</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>AddCustomerDeviceSalesData</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>AddBundledOrder</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>UpdateBundledOrder</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>AddFemtocellAddress</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>AddFemtocellCALEALocation</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>AddFemtocellProfile</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>AddFiberServiceAccount</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>AddFiberServiceCreditPolicy</name> - <voltageEnabledIndicator>true</voltageEnabledIndicator> - </AuthorizedInterface> - <AuthorizedInterface> - <name>AddFiberServiceTNPort</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>AddInsuranceClaimOrder</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>AddNetworkElementTroubleReport</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>AddNote</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>AddOrderEmail</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>AddOtherChargesCredits</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>AddPayment</name> - <voltageEnabledIndicator>true</voltageEnabledIndicator> - </AuthorizedInterface> - <AuthorizedInterface> - <name>AddPort</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>AddPrepaidFeature</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>AddPrepaidPayment</name> - <InterfaceTimeoutConfiguration> - <minTimeout>5000</minTimeout> - <defaultTimeout>300000</defaultTimeout> - <maxTimeout>300000</maxTimeout> - </InterfaceTimeoutConfiguration> - </AuthorizedInterface> - <AuthorizedInterface> - <name>AddPromiseToPay</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>AddRemoveProductCodeIndicator</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>AddSbcCombinedBilling</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>AddSbcSaleInformation</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>AddSmsPayment</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>AddWirelineNote</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>AddWirelineOrder</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>AddWirelinePayment</name> - <voltageEnabledIndicator>true</voltageEnabledIndicator> - </AuthorizedInterface> - <AuthorizedInterface> - <name>AddWirelinePaymentPlan</name> - <voltageEnabledIndicator>true</voltageEnabledIndicator> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ApplyDataTreatment</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ApplyFiberServiceCreditPolicy</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ApplyPrepaidPayment</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ApplyPrepaidVoucher</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>AuthenticateFanPassword</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>AuthenticateFanPin</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>AuthorizeCreditCard</name> - <voltageEnabledIndicator>true</voltageEnabledIndicator> - </AuthorizedInterface> - <AuthorizedInterface> - <name>CalculateSatelliteServiceTaxes</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>CalculateTaxes</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>Cancel3PPOrder</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>CancelCombinedBilling</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>CancelCopay</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>CancelFemtocellE911Service</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>CancelFemtocellNetwork</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>CancelFemtocellService</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>CancelFiberServiceWorkOrder</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>CancelHLRRegistration</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>CancelInsuranceClaimOrder</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>CancelPendingEquipmentUpgrade</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>CancelPort</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>CancelReservedFiberServiceVOIPNumber</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>CancelWirelinePayment</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ChangeSubscriberNumber</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>CheckEligibility</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ConfirmHLRRegistration</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ConfirmWirelineTNReservation</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>CreateFiberServiceAccount</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>CreateFiberServiceVOIPNumber</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>CreateFiberServiceWorkOrder</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>CreateSatelliteServiceOrder</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>DeleteFemtocellAddress</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>DeleteFemtocellProfile</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>DetermineFiberServiceAccountHistoryList</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>DetermineFiberServiceDuplicateApplicationList</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>Echo</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ExecuteAffiliateCreditCheck</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ExecuteCreditCheck</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ExecuteFiberServiceCreditCheck</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ExecuteNBIMigration</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ExecuteSalesOpportunityCreditCheck</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ExecuteWirelineCreditCheck</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ExecuteWirelineTroubleReportFunction</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>Generic</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InitiateFiberServiceOrder</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InitiateUnifiedCreditPolicyRetrieval</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireAccessoryPricing</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireAccountList</name> - <voltageEnabledIndicator>true</voltageEnabledIndicator> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireAccountPaymentHistory</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireAccountProfile</name> - <voltageEnabledIndicator>true</voltageEnabledIndicator> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireAccountSubscribers</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireActivationCommissionCodes</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireAdditionalOfferings</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireAddressMatch</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireAffiliateAccountPaymentBalance</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireAffiliateAccountProfile</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireAffiliateCustomerAccount</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireAffiliateEligibility</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireAffiliateGeneralMessages</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireAffiliateOrderStatus</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireAffiliateProductCatalog</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireAffiliateProductConfiguration</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireAffiliateProductDetails</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireAffiliateProductOfferingEligibility</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireAffiliateServiceQualification</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireAffiliateServiceScheduling</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireARRemittance</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireATTCreditCardOffer</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireATTCreditCardOfferList</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireAutomaticPayment</name> - <voltageEnabledIndicator>true</voltageEnabledIndicator> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireAvailableAccessory</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireAvailableFiberServiceAppointments</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireAvailableCircuitSparePairs</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireAvailableDevice</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireAvailableFees</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireAvailableFiberServiceAppointments</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireAvailableFiberServiceCustomers</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireAvailableFiberServiceVOIPNumbers</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireAvailableItemQuantity</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireAvailableOfferDetails</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireAvailableOffers</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireAvailablePortInSubscriber</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireAvailableSatelliteServiceAppointments</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireAvailableSubscriberNumbers</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireCollectionData</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireCombinedBillingEligibility</name> - <voltageEnabledIndicator>true</voltageEnabledIndicator> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireContractedConversionFee</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireCopayEligibility</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireCopaySubscriber</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireCopaySubscriberHistory</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireCPNIContactInformation</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireCpniPreferenceHistory</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireCreditCheckResult</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireCreditPolicyProfile</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireCustomerDeviceSalesData</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireDataAccessEligibility</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireDataTreatmentHistory</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireDepositPaymentStatus</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireDeviceDetails</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireDeviceShippingInformation</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireDuplicateOfferings</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireEquipmentOrder</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireEquipmentOrderInvoice</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireEquipmentPricing</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireEstimatedFulfillmentTime</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireExistingCustomer</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireFanProfile</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireFemtocellAddressList</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireFemtocellDeviceList</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireFemtocellEligibility</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireFemtocellProfile</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireFiberServiceAccountDetails</name> - <!-- indicator should be set based on client voltage status--> - <voltageEnabledIndicator>false</voltageEnabledIndicator> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireFiberServiceAssignedProductDetails</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireFiberServiceCircuitDetails</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireFiberServiceCreditVerificationQuestions</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireFiberServiceCrossProductPackages</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireFiberServiceEquipmentDetails</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireFiberServiceOfferEligibility</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireFiberServiceOrderDetail</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireFiberServiceOrderList</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireFiberServiceOrderStatus</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireFiberServiceProductDetails</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireFiberServiceQualification</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireFiberServiceQuotation</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireFiberServiceSubscriptionAccount</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireFiberServicePendingAdjustments</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireFiberServiceTNPortStatus</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireFiberServiceUsageDetails</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireFiberServiceVOIPPortEligibility</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireInsuranceClaimOrder</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireInsuranceClaimReplacementProducts</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireInternationalRoamingMinutes</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireInternationalRoamingUsageParameters</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireLandLinePaymentServiceFee</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireLastSuccessfulPayment</name> - <voltageEnabledIndicator>true</voltageEnabledIndicator> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireMarketByZip</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireMarketServiceAreas</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireMaximumDryLoopFTNAllowed</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireMessagingCapabilities</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireNBIMigrationEligibility</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireOfferHistory</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireOfferingEligibility</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireOTAHistory</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireOTAProfile</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquirePaymentLocationDetails</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquirePendingPricePlan</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquirePort</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquirePortActivationStatus</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquirePortEligibilityByRange</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquirePortEligibilityBySubscriberNumber</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquirePrepaidBalance</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquirePrepaidFeatures</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquirePrepaidFeaturesHistory</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquirePrepaidPaymentEligibility</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquirePrepaidPricePlans</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquirePrepaidPINDetails</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquirePrepaidSubscriberProfile</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquirePricePlanList</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquirePricePlans</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquirePurchaseOrder</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireSatelliteServiceOrderDetails</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireSatelliteServiceProducts</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireSatelliteServiceQualification</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireSatelliteServiceQuotation</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireSbcCombinedBillingEligibility</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireServiceAreaByZip</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireServiceOrderActivationStatus</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireSharedGroupUpdateStatus</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireShippingZipBySubscriberNumber</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireSIMStatus</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireSubscriberList</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireSubscriberParentalControls</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireSubscriberPin</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireSubscriberProfile</name> - <voltageEnabledIndicator>true</voltageEnabledIndicator> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireSubscriberServiceStatus</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireSubscriberTransactionData</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireSubscriptionAccountIdentifiers</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireWirelineSwitchProfile</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireSwitchTransactionStatus</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireUnbilledUsageDetail</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireUnifiedCustomerProfileByServiceLocation</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireUnifiedCustomerServiceProfile</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireUpgradeEligibility</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireUnifiedOrderDetails</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireWiFiEligibility</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireWirelineAccountProfile</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireWirelineAccountAssociations</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireInternetSubscriptionAccounts</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireWirelineBillingAccountList</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireWirelineCreditApplicationList</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireWirelineCreditVerificationQuestions</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireWirelineCustomerAccount</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireWirelineDSLandConnectTechOrderDetail</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireWirelineDTVOrderDetail</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireWirelineFiberServiceAppointments</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireWirelineGeneralMessages</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireWirelineNetworkChannelDetails</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireWirelineNonRecurringCharges</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireWirelineOpenTroubleReports</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireWirelineOrderDetails</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireWirelineOrderStatus</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireWirelinePaymentHistory</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireWirelinePaymentPlan</name> - <voltageEnabledIndicator>true</voltageEnabledIndicator> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireWirelinePortEligibility</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireAvailableTelephoneNumbers</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ReserveTelephoneNumbers</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireWirelineProductCatalog</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireWirelineProductConfiguration</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireWirelineProductCount</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireWirelineProductDetails</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireWirelineProductsForResource</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireWirelineRegion</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireWirelineServiceQualification</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireWirelineServiceScheduling</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireWirelineQualifiedProducts</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireWirelineServiceOrderDetails</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireWirelineTelcoOrderDetail</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireWirelineTransportDetails</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireWirelineUsageDetail</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireWirelineWholesaleProductFamilies</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>MaintainAffiliateAccountAssociation</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ManageAutomaticPayments</name> - <voltageEnabledIndicator>true</voltageEnabledIndicator> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ManageCopay</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ManageSubscriberPin</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ModifySatelliteServiceOrder</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>CancelSatelliteServiceOrder</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>MoveSubscriber</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>NotifyFemtocellAction</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>OrderEquipment</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>OrderEquipmentWithValidation</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>OrderFiberService</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ParseUnfieldedWirelineAddress</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>PortFiberServiceTelephoneNumber</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ProcessEcho</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ProcessEchoBackOffice</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ProcessEchoFrontOffice</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ProcessWirelineCPNIElection</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ProvisionAddressBookService</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ProvisionFemtocellE911Service</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ProvisionFemtocellNetwork</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ProvisionFemtocellRegistration</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>PublishUnifiedCreditPolicy</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>QualifyAndQuoteFiberServiceProducts</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>QualifyProducts</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>RegisterFemtocellService</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ReleaseAvailableFiberServiceVOIPNumbers</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ReleaseDryLoopFTN</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ReleaseSubscriberNumber</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>RemoveCustomerDeviceSalesData</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ResendOTAProfile</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ReserveFiberServiceAppointments</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ReserveFiberServiceVOIPNumber</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ReserveSubscriberNumber</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ResetVoiceMailPassword</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>RetrieveAbandonedFiberServiceOrder</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>RetrieveFiberServiceAccount</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>RetrieveFiberServiceAppointments</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>RetrieveFiberServiceOrderStatus</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>RetrieveFiberServiceProducts</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>RetrieveOrderDetails</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>RetrieveProducts</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>RetrieveQuotation</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>RetrieveUnifiedCreditPolicy</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ScheduleAppointments</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ScheduleSatelliteServiceInstallation</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>SendAccountNotification</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>SendCPNINotification</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>SendEmail</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>SendFanProfileNotification</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>SendFiberServiceTNPortNotification</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>SendFiberServiceWorkOrderNotification</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>SendFiberServiceWorkOrderNotificationAsync</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>SendSms</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>SendSmsResponse</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>SendTreatmentNotification</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>SubmitATTCreditCard</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>SubmitCreditCheck</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>SubmitFiberServiceOrder</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>SubmitFiberServiceTNAssignmentOrder</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>SubmitOrder</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>SubmitWalmartProxy</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>SwapEquipment</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>SwapFemtocellDevice</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>UpdateAccountDisputeDetails</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>UpdateAccountManager</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>UpdateAccountProfile</name> - <voltageEnabledIndicator>true</voltageEnabledIndicator> - </AuthorizedInterface> - <AuthorizedInterface> - <name>UpdateAccountStatus</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>UpdateAffiliateProductOffering</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>UpdateBillMedia</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>UpdateCpniPreference</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>UpdateCreditPolicyProfile</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>UpdateDepositPaymentStatus</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>UpdateDeviceInventory</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>UpdateDeviceProfile</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>UpdateEwalletStatus</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireEwalletEventHistory</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireEwalletSubscriberProfile</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireCustomerSnapshot</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>UpdateFemtocellCALEALocation</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>UpdateFemtocellProfile</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>UpdateFiberServiceAccount</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>UpdateFiberServiceAccountDetails</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>UpdateFiberServiceCreditApplication</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>UpdateInternationalRoamingUsageParameters</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>UpdateOfferDisposition</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>UpdatePort</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>UpdatePrepaidFeature</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>UpdatePrepaidSubscriberProfile</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>UpdateSalesOpportunityCreditCheck</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>UpdateSatelliteServiceAccountAssociation</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>UpdateSubscriberAddressBookIdentifier</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>UpdateSubscriberProfile</name> - <InterfaceTimeoutConfiguration> - <minTimeout>5000</minTimeout> - <defaultTimeout>100000</defaultTimeout> - <maxTimeout>120000</maxTimeout> - </InterfaceTimeoutConfiguration> - </AuthorizedInterface> - <AuthorizedInterface> - <name>UpdateSubscriberStatus</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>UpdateVoiceMailProfile</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>UpdateWirelineAccountProfile</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>UpdateWirelineCPNIPreference</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>UpdateWirelineCreditApplication</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>UpdateWirelineTroubleReport</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>UpgradeEquipment</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>UpqueryAffiliateOfferingEligibility</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ValidateAddress</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ValidateAffiliateCustomer</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ValidateAffiliateOrder</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ValidateCreditCard</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ValidateFemtocellCoverageArea</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ValidateFemtocellE911Coverage</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ValidateFemtocellEquipmentIdentifier</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ValidateFemtocellWhitelist</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ValidateFiberServiceCreditPolicy</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ValidateFiberServiceCreditVerificationAnswers</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ValidateFiberServiceFacility</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ValidateFiberServiceFacilityResponse</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ValidateFiberServiceFacilityNotification</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ValidateFiberServiceProductDetails</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ValidateSatelliteServiceProducts</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ValidateShippingPriority</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ValidateWirelineCreditVerificationAnswers</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ValidateWirelineCustomer</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ValidateWirelineOrder</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireWirelineFutureAvailability</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ValidateWirelinePostalAddress</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>CancelMobileContent</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireMobileContentDetails</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>UpdateFiberServiceOrder</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ExecuteUnifiedCreditCheck</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>SendPaymentProductApplicationResultNotification</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ConfirmUnifiedCreditAccountDebtPayment</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireUnifiedCreditAccountDebtDetails</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireUnifiedCreditVerificationQuestions</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>SubmitUnifiedCreditApplication</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>UpdateUnifiedCreditApplication</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ValidateUnifiedCreditVerificationAnswers</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireUnifiedCreditAdverseActionLetter</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireUnifiedCreditPolicyDecision</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>NotifyUnifiedCreditOrderSubmission</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>AssignAvailableWorkOrder</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>SendNetworkPathWorkOrderStatusNotification</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ProcessNetworkPathWorkOrder</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>CreateCentralOfficeWorkOrder</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>UpdateCentralOfficeWorkOrder</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>CreateFiberServiceRepairWorkOrder</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>CreateFiberServiceRepairWorkOrderAsnyc</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>SendRepairWorkOrderNotification</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>CancelFiberServiceRepairWorkOrder</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>CancelFiberServiceRepairWorkOrderAsnyc</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireUnifiedCustomerLoginProfile</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireCustomerSubscriptionDetails</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>SendCancelWorkOrderNotification</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireWirelineAccountLevelCSR</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireWirelineServiceLevelCSR</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireUnifiedPaymentProfile</name> - <voltageEnabledIndicator>true</voltageEnabledIndicator> - </AuthorizedInterface> - <AuthorizedInterface> - <name>UpdateCloudServiceDetails</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireNote</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ValidateSubscriberOfferings</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>AddBundledOrderV48</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>UpdateBundledAccountServicesV48</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>UpdateBundledOrderV48</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ValidateBundledOrder</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireBundledAccountProfile</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireRecommendationDetails</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireEnterpriseEndUserPermissions</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireNCIMigrationEligibility</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ExecuteNCIMigration</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>UpdateCommonOrder</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireBillCycleDetails</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireCommonOrderListDetails</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ValidateWirelineTroubleReportCompletion</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireSubscriberContractDetails</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>ExecuteExternalCreditCheck</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireExternalApplicantKey</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>UpdateExternalCreditApplication</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>SendExternalCreditResultNotification</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireAvailableRetailStoresByLocation</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>UpdateEnterpriseEndUserPermissions</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireSubscriberServiceEligibility</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>UpdateFemtocellWhiteLists</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireNetworkProductCatalog</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireNetworkProductPriceQuote</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>SubmitSLACreditClaim</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireSLACreditClaimStatus</name> - </AuthorizedInterface> - <AuthorizedInterface> - <name>InquireSLANetworkCreditClaimStatus</name> - </AuthorizedInterface> - <ServicePolicy> - <name>WHOLESALE-CUSTOMER-IDDELETE</name> - <value>walmartID</value> - </ServicePolicy> - <ServicePolicy> - <name>WHOLESALE-CUSTOMER-NAME</name> - <value>walmart</value> - </ServicePolicy> - <ServicePolicy> - <name>WHOLESALE-CUSTOMER-RESTRICTED-STATES</name> - <value>alaska</value> - </ServicePolicy> - <ServicePolicy> - <name>BID_ID</name> - <value>PlatinumSP</value> - </ServicePolicy> - <ServicePolicy> - <name>EBM_ORGID</name> - <value>o3hevdtz</value> - </ServicePolicy> - <ServicePolicy> - <name>REMOTE-CALL</name> - <value>true</value> - </ServicePolicy> - <ServicePolicy> - <name>CALL_NUMERITRACK</name> - <value>true</value> - </ServicePolicy> - <ServicePolicy> - <name>HEARTBEAT-INTERVAL</name> - <value>20</value> - </ServicePolicy> - <ServicePolicy> - <name>AP-CALL-RSN-FOR-WLNP-TLG</name> - <value>false</value> - </ServicePolicy> - <ServicePolicy> - <name>AS-PROCESS-DISCOUNTS</name> - <value>false</value> - </ServicePolicy> - <ServicePolicy> - <name>AS-RETRY-ON-TRANSIENT-ERROR</name> - <value>true</value> - </ServicePolicy> - <ServicePolicy> - <name>AS-STORE-MARKET</name> - <value>true</value> - </ServicePolicy> - <ServicePolicy> - <name>CATALOG_TYPE</name> - <value>WALMART Catalog</value> - </ServicePolicy> - <ServicePolicy> - <!-- Should be true only for ACME --> - <name>CHECK-FOR-MARKETLOOKUP-SOFTERROR</name> - <value>true</value> - </ServicePolicy> - <ServicePolicy> - <name>EQUIPMENT-UPGRADE-MAX-RETRY-INTERVAL</name> - <value>0</value> - </ServicePolicy> - <ServicePolicy> - <name>EQUIPMENT-UPGRADE-TRACKING-REQUIRED</name> - <value>false</value> - </ServicePolicy> - <ServicePolicy> - <name>IAL-AV-REQUIRED</name> - <value>false</value> - </ServicePolicy> - <ServicePolicy> - <name>IAP-ALLOWED-MASK-VALUES</name> - <value>CR:TD:SL:SN:SC:DC:UD:VU:VU+PT:VU+PR:VU+PT+PR:DU:DU+PR:UE</value> - </ServicePolicy> - <ServicePolicy> - <name>IAP-AV-REQUIRED</name> - <value>false</value> - </ServicePolicy> - <ServicePolicy> - <name>INFO-RESTRICT-LEVEL</name> - <value>Unrestricted</value> - </ServicePolicy> - <ServicePolicy> - <name>ISP-ALLOWED-MASK-VALUES</name> - <value>DI:DC:UD:VU:VU+PT:VU+PR:VU+PT+PR:DU:DU+PR:UE</value> - </ServicePolicy> - <ServicePolicy> - <name>IUCSP-MAX-ALLOWED-CTNS</name> - <value>10</value> - </ServicePolicy> - <ServicePolicy> - <name>IUCSP-NEW-KIT-WARRANTY-DAYS</name> - <value>366</value> - </ServicePolicy> - <ServicePolicy> - <name>IUCSP-REFURBISHED-KIT-WARRANTY-DAYS</name> - <value>90</value> - </ServicePolicy> - <ServicePolicy> - <name>IUCSP-SEED-KIT-WARRANTY-DAYS</name> - <value>366</value> - </ServicePolicy> - <ServicePolicy> - <name>IUUD-ALLOWED-MASK-VALUES</name> - <value>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</value> - </ServicePolicy> - <ServicePolicy> - <name>IWPE-LSR11-ACCESS-DENIED</name> - <value>false</value> - </ServicePolicy> - <ServicePolicy> - <name>TN-REQUEST-CATEGORY</name> - <value>MCSICVOIP</value> - </ServicePolicy> - <ServicePolicy> - <name>MARKET-STATUS-LOOKUP</name> - <value>false</value> - </ServicePolicy> - <ServicePolicy> - <name>MEMO-NOTE-USER</name> - <value>WEB</value> - </ServicePolicy> - <ServicePolicy> - <name>NBI-ACCESS-DECLINED</name> - <value>false</value> - </ServicePolicy> - <ServicePolicy> - <name>PREAUTHORIZED-CREDIT-CHECK</name> - <value>true</value> - </ServicePolicy> - <ServicePolicy> - <!-- Should always be true for IST and almost always false for prod --> - <name>RESTRICTED-TO-TEST-CALLS</name> - <value>true</value> - </ServicePolicy> - <ServicePolicy> - <name>RESELLER-TEST-DEALER-CODE</name> - <value>IJX57</value> - </ServicePolicy> - <ServicePolicy> - <name>UPGRADE-EQUIPMENT-NEW-SALES-CHANNEL</name> - <value>U2</value> - </ServicePolicy> - <ServicePolicy> - <name>UPGRADE-EQUIPMENT-UPGRADE-SECURITY-CODE</name> - <value>III</value> - </ServicePolicy> - <ServicePolicy> - <name>USE-GENERIC-ASYNC-RESPONSE</name> - <value>true</value> - </ServicePolicy> - <ServicePolicy> - <name>USOC-INFO-DATA-SOURCE</name> - <value>CURRENT</value> - </ServicePolicy> - <ServicePolicy> - <name>VFSF-OAT-REQUIRED-MSG-LOOKUP</name> - <value>false</value> - </ServicePolicy> - <ServicePolicy> - <name>VFSF-CLIENT-REQ-TYPE</name> - <value>Negotiation</value> - </ServicePolicy> - <ServicePolicy> - <name>VFSF-CLIENT-ID</name> - <value>BBNMS</value> - </ServicePolicy> - <ServicePolicy> - <name>SMS-DESTINATION-PORT</name> - <value>-1</value> - </ServicePolicy> - <ServicePolicy> - <name>CTVCODE-SERVICE-MAINTENANCE</name> - <value>true</value> - </ServicePolicy> - <ServicePolicy> - <name>XI-APPLICATION-CONTEXT</name> - <value>OPSS</value> - </ServicePolicy> - <ServicePolicy> - <name>IN-MAX-BILLING-NOTE-QUANTITY</name> - <value>300</value> - </ServicePolicy> - <ServicePolicy> - <name>ITTH-TL-MAX-RECORDS-TO-FETCH</name> - <value>50</value> - </ServicePolicy> - <ServicePolicy> - <name>ITTH-ITH-MAX-RECORDS-TO-FETCH</name> - <value>30</value> - </ServicePolicy> - <ServicePolicy> - <name>IEEUP-SYSTEM-ID</name> - <value>premier</value> - </ServicePolicy> - <ServicePolicy> - <name>SUBSCRIPTION_CLASS</name> - <value>S</value> - </ServicePolicy> - <ServicePolicy> - <name>MOBILE_PAYMENTS_PARTNER_ID</name> - <value>S</value> - </ServicePolicy> - - <ServicePolicy> - <name>IUCPBYSL-GRID-CLIENT</name> - <value>true</value> - </ServicePolicy> - <ServicePolicy> - <name>APPLICATION_ID</name> - <value>ONSTAR</value> - </ServicePolicy> - <ServiceProviderCredentials> - <system>AES</system> - <userName>NRETLTEL</userName> - <userPassword>NRETLTEL</userPassword> - </ServiceProviderCredentials> - <ServiceProviderCredentials> - <system>BOSS</system> - <userName>testcsi</userName> - <userPassword/> - <CredentialPolicy> - <name>RACFID</name> - <value>pb1975</value> - </CredentialPolicy> - <CredentialPolicy> - <name>RACFPASSWORD</name> - <value>Light@1</value> - </CredentialPolicy> - <!--CredentialPolicy> - <name>BOSSTYPISTID</name> - <value>1K34</value> - </CredentialPolicy--> - </ServiceProviderCredentials> - <ServiceProviderCredentials> - <system>BSTECSC</system> - <userName>CSI</userName> - <userPassword>a2p2!!b1</userPassword> - </ServiceProviderCredentials> - <ServiceProviderCredentials> - <system>CAM</system> - <userName>CSIQC</userName> - <userPassword>CSIQC</userPassword> - <CredentialPolicy> - <name>AccountType</name> - <value>S</value> - </CredentialPolicy> - <CredentialPolicy> - <name>SubAccountType</name> - <value>T</value> - </CredentialPolicy> - <CredentialPolicy> - <name>WaiveActivationFee</name> - <value>true</value> - </CredentialPolicy> - <CredentialPolicy> - <name>WaiveUpgradeFee</name> - <value>true</value> - </CredentialPolicy> - </ServiceProviderCredentials> - <ServiceProviderCredentials> - <system>CBS</system> - <userName>ZCINGP1</userName> - <userPassword/> - </ServiceProviderCredentials> - <ServiceProviderCredentials> - <system>CPSOS</system> - <userName>c48794</userName> - <userPassword>7941!c48</userPassword> - </ServiceProviderCredentials> - <ServiceProviderCredentials> - <system>DLC</system> - <userName>CSIQC</userName> - <userPassword/> - <CredentialPolicy> - <name>DLC_APP_ID</name> - <value>ASURION</value> - </CredentialPolicy> - </ServiceProviderCredentials> - <ServiceProviderCredentials> - <system>GCS</system> - <userName>CSIQC</userName> - <userPassword/> - <CredentialPolicy> - <name>GCS_MERCHANT_ID</name> - <value>001342</value> - </CredentialPolicy> - </ServiceProviderCredentials> - <ServiceProviderCredentials> - <system>InterconnectRC</system> - <userName>csitest</userName> - <userPassword/> - <CredentialPolicy> - <name>interconnectUSERID</name> - <value>SBC001T</value> - </CredentialPolicy> - <CredentialPolicy> - <name>interconnectPASSWORD</name> - <value>GC@\u0011W4\#""6/\u001172OK</value> - </CredentialPolicy> - <CredentialPolicy> - <name>interconnectLightSpeedUSERID</name> - <value>SBC002T</value> - </CredentialPolicy> - <CredentialPolicy> - <name>interconnectLightSpeedPASSWORD</name> - <value>GAN\u0016T4\#""6/\u001072OK</value> - </CredentialPolicy> - <CredentialPolicy> - <name>interconnectConsumerUSERID</name> - <value>SBC003T</value> - </CredentialPolicy> - <CredentialPolicy> - <name>interconnectConsumerPASSWORD</name> - <value>GCC\u0017P4\#""6/\u001372OK</value> - </CredentialPolicy> - </ServiceProviderCredentials> - <ServiceProviderCredentials> - <system>LNPSOA</system> - <userName/> - <userPassword/> - <CredentialPolicy> - <name>LNPSOA_APP_ID</name> - <value>QC</value> - </CredentialPolicy> - <!--CredentialPolicy> - <name>LNPSOA_USER_ID</name> - <value>RMBISQC</value> - </CredentialPolicy--> - </ServiceProviderCredentials> - <ServiceProviderCredentials> - <system>MRE</system> - <userName>OPUS</userName> - <userPassword>OPUS</userPassword> - </ServiceProviderCredentials> - <ServiceProviderCredentials> - <system>NSM</system> - <userName>ACME</userName> - <userPassword/> - </ServiceProviderCredentials> - <ServiceProviderCredentials> - <system>OrderTrack</system> - <userName>csitest</userName> - <userPassword/> - </ServiceProviderCredentials> - <ServiceProviderCredentials> - <system>PDC</system> - <userName>RS</userName> - <userPassword/> - </ServiceProviderCredentials> - <ServiceProviderCredentials> - <system>QPAY</system> - <userName>CSI_FDC</userName> - <userPassword>CSI_FDC</userPassword> - </ServiceProviderCredentials> - <ServiceProviderCredentials> - <system>SWOT-LITE</system> - <userName>cingultest</userName> - <userPassword>j9WWuopev9</userPassword> - </ServiceProviderCredentials> - <ServiceProviderCredentials> - <system>TLGAPI</system> - <userName>rimprov1</userName> - <userPassword>unix11</userPassword> - <CredentialPolicy> - <name>APP_ID</name> - <value>TLGAPI</value> - </CredentialPolicy> - <CredentialPolicy> - <name>CALLER_IND</name> - <value>FR</value> - </CredentialPolicy> - </ServiceProviderCredentials> - <ServiceProviderCredentials> - <system>YODA</system> - <userName>WTS</userName> - <userPassword>CSITest</userPassword> - </ServiceProviderCredentials> - <ServiceProviderCredentials> - <system>EDGE</system> - <userName>WMS</userName> - <userPassword>WMS</userPassword> - </ServiceProviderCredentials> - <AsyncCallbackConfig> - <allowHttp>true</allowHttp> - <RetryPolicy> - <timeout>30000</timeout> - <numRetries>3</numRetries> - <delay>3000</delay> - </RetryPolicy> - <SSLConfig> - <enableHostNameVerification>false</enableHostNameVerification> - <enableTwoWaySSL>false</enableTwoWaySSL> - <ServerCertificateDetails> - <trustStoreLocation>/opt/app/sg_q7/tibco/jre/lib/security/cacerts</trustStoreLocation> - <trustStorePassword>changeit</trustStorePassword> - </ServerCertificateDetails> - <ClientCertificateDetails> - <keyStoreLocation>/opt/app/sg_q7/gateway_a/config/ActingAsClient.keystore</keyStoreLocation> - <keyStorePassword>client</keyStorePassword> - </ClientCertificateDetails> - </SSLConfig> - </AsyncCallbackConfig> - <performPrepaidDeviceCheck>true</performPrepaidDeviceCheck> - </Partner> -</PartnerProfile> 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 @@ -<!-- - Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. ---> -<configuration scan="true" scanPeriod="3 seconds" debug="true"> - <property name="logDirectory" value="${AJSC_HOME}/log" /> - <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> - <filter class="ch.qos.logback.classic.filter.ThresholdFilter"> - <level>ERROR</level> - </filter> - <encoder> - <pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{1024} - %msg%n - </pattern> - </encoder> - </appender> - - <appender name="INFO" - class="ch.qos.logback.core.rolling.RollingFileAppender"> - <filter class="ch.qos.logback.classic.filter.ThresholdFilter"> - <level>DEBUG</level> - </filter> - <file>${logDirectory}/info_ajsc.log</file> - <rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy"> - <fileNamePattern>${logDirectory}/info_ajsc.%i.log.zip - </fileNamePattern> - <minIndex>1</minIndex> - <maxIndex>9</maxIndex> - </rollingPolicy> - <triggeringPolicy - class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy"> - <maxFileSize>5MB</maxFileSize> - </triggeringPolicy> - <encoder> - <pattern>"%d [%thread] %-5level %logger{1024} - %msg%n"</pattern> - </encoder> - </appender> - <appender name="ERROR" - class="ch.qos.logback.core.rolling.RollingFileAppender"> - <filter class="ch.qos.logback.classic.filter.ThresholdFilter"> - <level>ERROR</level> - </filter> - <file>${logDirectory}/error_ajsc.log</file> - <rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy"> - <fileNamePattern>${logDirectory}/error_ajsc.%i.log.zip - </fileNamePattern> - <minIndex>1</minIndex> - <maxIndex>9</maxIndex> - </rollingPolicy> - <triggeringPolicy - class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy"> - <maxFileSize>5MB</maxFileSize> - </triggeringPolicy> - <encoder> - <!-- <pattern>"%d{HH:mm:ss.SSS} [%thread] %-5level %logger{1024} - %msg%n"</pattern> --> - <pattern>"%d [%thread] %-5level %logger{1024} - %msg%n"</pattern> - </encoder> - </appender> - - <appender name="AJSC-AUDIT" class="ch.qos.logback.classic.net.SyslogAppender"> - <filter class="ch.qos.logback.classic.filter.ThresholdFilter"> - <level>INFO</level> - </filter> - <syslogHost>localhost</syslogHost> - <facility>USER</facility> - <!-- Note the colon character below - it is important part of "TAG" message - format You need a colon to determine where the TAG field ends and the CONTENT - begins --> - <suffixPattern>AJSC_AUDIT: [%thread] [%logger] %msg</suffixPattern> - </appender> - <appender name="CONTROLLER-AUDIT" class="ch.qos.logback.classic.net.SyslogAppender"> - <filter class="ch.qos.logback.classic.filter.ThresholdFilter"> - <level>INFO</level> - </filter> - <syslogHost>localhost</syslogHost> - <facility>USER</facility> - <!-- Note the colon character below - it is important part of "TAG" message - format You need a colon to determine where the TAG field ends and the CONTENT - begins --> - <suffixPattern>AJSC_AUDIT: [%thread] [%logger] mdc:[%mdc] %msg - </suffixPattern> - </appender> - - <root level="off"> - <appender-ref ref="ERROR" /> - <appender-ref ref="INFO" /> - <appender-ref ref="STDOUT" /> - </root> -</configuration> 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 @@ -<configuration scan="true" scanPeriod="3 seconds" debug="false"> - <!--<jmxConfigurator /> --> - <!-- directory path for all other type logs --> - - <property name="logDir" value="${AJSC_HOME}/logs" /> - - - <!-- specify the component name - <ECOMP-component-name>::= "MSO" | "DCAE" | "ASDC " | "AAI" |"Policy" | "SDNC" | "AC" --> - <property name="componentName" value="AAI-DR" /> - - <!-- default eelf log file names --> - <property name="generalLogName" value="error" /> - <property name="metricsLogName" value="metrics" /> - <property name="auditLogName" value="audit" /> - <property name="debugLogName" value="debug" /> - - <property name="errorLogPattern" value="%d{yyyy-MM-dd'T'HH:mm:ss.SSSXXX}|%mdc{RequestId}|%thread|DataRouter|%mdc{PartnerName}|%logger||%.-5level|%msg%n" /> - <property name="auditMetricPattern" value="%m%n" /> - - <property name="logDirectory" value="${logDir}/${componentName}" /> - - <!-- Example evaluator filter applied against console appender --> - <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> - <encoder> - <pattern>${errorLogPattern}</pattern> - </encoder> - </appender> - - <!-- ============================================================================ --> - <!-- EELF Appenders --> - <!-- ============================================================================ --> - - <!-- The EELFAppender is used to record events to the general application - log --> - - <appender name="EELF" - class="ch.qos.logback.core.rolling.RollingFileAppender"> - <file>${logDirectory}/${generalLogName}.log</file> - <rollingPolicy - class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> - <fileNamePattern>${logDirectory}/${generalLogName}.%d{yyyy-MM-dd}.log.zip - </fileNamePattern> - <maxHistory>60</maxHistory> - </rollingPolicy> - <encoder> - <pattern>${errorLogPattern}</pattern> - </encoder> - </appender> - <appender name="asyncEELF" class="ch.qos.logback.classic.AsyncAppender"> - <!-- deny all events with a level below INFO, that is TRACE and DEBUG --> - <filter class="ch.qos.logback.classic.filter.ThresholdFilter"> - <level>INFO</level> - </filter> - <queueSize>256</queueSize> - <appender-ref ref="EELF" /> - </appender> - - - <!-- EELF Audit Appender. This appender is used to record audit engine - related logging events. The audit logger and appender are specializations - of the EELF application root logger and appender. This can be used to segregate - Policy engine events from other components, or it can be eliminated to record - these events as part of the application root log. --> - - <appender name="EELFAudit" - class="ch.qos.logback.core.rolling.RollingFileAppender"> - <file>${logDirectory}/${auditLogName}.log</file> - <rollingPolicy - class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> - <fileNamePattern>${logDirectory}/${auditLogName}.%d{yyyy-MM-dd}.log.zip - </fileNamePattern> - <maxHistory>60</maxHistory> - </rollingPolicy> - <encoder> - <pattern>${auditMetricPattern}</pattern> - </encoder> - </appender> - <appender name="asyncEELFAudit" class="ch.qos.logback.classic.AsyncAppender"> - <queueSize>256</queueSize> - <appender-ref ref="EELFAudit" /> - </appender> - - <appender name="EELFMetrics" - class="ch.qos.logback.core.rolling.RollingFileAppender"> - <file>${logDirectory}/${metricsLogName}.log</file> - <rollingPolicy - class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> - <fileNamePattern>${logDirectory}/${metricsLogName}.%d{yyyy-MM-dd}.log.zip - </fileNamePattern> - <maxHistory>60</maxHistory> - </rollingPolicy> - <encoder> - <!-- <pattern>"%d{HH:mm:ss.SSS} [%thread] %-5level %logger{1024} - - %msg%n"</pattern> --> - <pattern>${auditMetricPattern}</pattern> - </encoder> - </appender> - - - <appender name="asyncEELFMetrics" class="ch.qos.logback.classic.AsyncAppender"> - <queueSize>256</queueSize> - <appender-ref ref="EELFMetrics"/> - </appender> - - <appender name="EELFDebug" - class="ch.qos.logback.core.rolling.RollingFileAppender"> - <file>${logDirectory}/${debugLogName}.log</file> - <rollingPolicy - class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> - <fileNamePattern>${logDirectory}/${debugLogName}.%d{yyyy-MM-dd}.log.zip - </fileNamePattern> - <maxHistory>60</maxHistory> - </rollingPolicy> - <encoder> - <pattern>${errorLogPattern}</pattern> - </encoder> - </appender> - - <appender name="asyncEELFDebug" class="ch.qos.logback.classic.AsyncAppender"> - <queueSize>256</queueSize> - <appender-ref ref="EELFDebug" /> - <includeCallerData>false</includeCallerData> - </appender> - - - <!-- ============================================================================ --> - <!-- EELF loggers --> - <!-- ============================================================================ --> - <logger name="com.att.eelf" level="info" additivity="false"> - <appender-ref ref="asyncEELF" /> - <appender-ref ref="asyncEELFDebug" /> - </logger> - - <logger name="com.att.eelf.security" level="info" additivity="false"> - <appender-ref ref="asyncEELFSecurity" /> - </logger> - <logger name="com.att.eelf.perf" level="info" additivity="false"> - <appender-ref ref="asyncEELFPerformance" /> - </logger> - <logger name="com.att.eelf.server" level="info" additivity="false"> - <appender-ref ref="asyncEELFServer" /> - </logger> - <logger name="com.att.eelf.policy" level="info" additivity="false"> - <appender-ref ref="asyncEELFPolicy" /> - </logger> - <logger name="com.att.eelf.audit" level="info" additivity="false"> - <appender-ref ref="asyncEELFAudit" /> - </logger> - <logger name="com.att.eelf.metrics" level="info" additivity="false"> - <appender-ref ref="asyncEELFMetrics" /> - </logger> - - <!-- Spring related loggers --> - <logger name="org.springframework" level="WARN" /> - <logger name="org.springframework.beans" level="WARN" /> - <logger name="org.springframework.web" level="WARN" /> - <logger name="com.blog.spring.jms" level="WARN" /> - - <!-- AJSC Services (bootstrap services) --> - <logger name="ajsc" level="WARN" /> - <logger name="ajsc.RouteMgmtService" level="WARN" /> - <logger name="ajsc.ComputeService" level="WARN" /> - <logger name="ajsc.VandelayService" level="WARN" /> - <logger name="ajsc.FilePersistenceService" level="WARN" /> - <logger name="ajsc.UserDefinedJarService" level="WARN" /> - <logger name="ajsc.UserDefinedBeansDefService" level="WARN" /> - <logger name="ajsc.LoggingConfigurationService" level="WARN" /> - - <!-- AJSC related loggers (DME2 Registration, csi logging, restlet, servlet - logging) --> - <logger name="ajsc.utils" level="WARN" /> - <logger name="ajsc.utils.DME2Helper" level="WARN" /> - <logger name="ajsc.filters" level="WARN" /> - <logger name="ajsc.beans.interceptors" level="WARN" /> - <logger name="ajsc.restlet" level="WARN" /> - <logger name="ajsc.servlet" level="WARN" /> - <logger name="com.att" level="INFO" /> - <logger name="com.att.ajsc.csi.logging" level="WARN" /> - <logger name="com.att.ajsc.filemonitor" level="WARN" /> - - <logger name="org.onap.aai.datarouter" level="INFO" /> - - <!-- Other Loggers that may help troubleshoot --> - <logger name="net.sf" level="WARN" /> - <logger name="org.apache.commons.httpclient" level="WARN" /> - <logger name="org.apache.commons" level="WARN" /> - <logger name="org.apache.coyote" level="WARN" /> - <logger name="org.apache.jasper" level="WARN" /> - - <!-- Camel Related Loggers (including restlet/servlet/jaxrs/cxf logging. - May aid in troubleshooting) --> - <logger name="org.apache.camel" level="WARN" /> - <logger name="org.apache.cxf" level="WARN" /> - <logger name="org.apache.camel.processor.interceptor" level="WARN" /> - <logger name="org.apache.cxf.jaxrs.interceptor" level="WARN" /> - <logger name="org.apache.cxf.service" level="WARN" /> - <logger name="org.restlet" level="WARN" /> - <logger name="org.apache.camel.component.restlet" level="WARN" /> - - <!-- logback internals logging --> - <logger name="ch.qos.logback.classic" level="WARN" /> - <logger name="ch.qos.logback.core" level="WARN" /> - - <root> - <appender-ref ref="asyncEELF" /> - <!-- <appender-ref ref="asyncEELFDebug" /> --> - </root> - -</configuration> 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 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. ---> -<project> - <target name="runLocal"> - <java dir="${basedir}" fork="yes" newenvironment="true" - failonerror="true" classname="com.att.ajsc.runner.Runner"> - <classpath - path="${classpath}:${basedir}/ajsc-shared-config/etc:${runAjscHome}/lib/ajsc-runner-${ajscRuntimeVersion}.jar" /> - - <!-- Windows Users may need to add a jvmarg arg to create a temp directory - properly. --> - <!-- <jvmarg value="-Djava.io.tmpdir=C:/yourTempDirectory"/> --> - - <!-- Uncomment the following 2 jvmarg values to enable Remote Debugging. - --> - <!-- <jvmarg value="-Xdebug" /> --> - <!-- <jvmarg value="-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5432" - /> --> - - <jvmarg value="-XX:MaxPermSize=512m" /> - <jvmarg value="-Xmx1024m" /> - - <!-- Main ajsc Variables below (Variables necessary for proper startup - of AJSC) --> - <env key="AJSC_HOME" value="${runAjscHome}" /> - <sysproperty key="AJSC_HOME" value="${runAjscHome}" /> - <!-- you may specify any external location for AJSC_CONF_HOME where etc - folder & all other configs can be found under it. If not specified, it will - default to AJSC_HOME --> - <sysproperty key="AJSC_CONF_HOME" value="${basedir}/bundleconfig-local" /> - <sysproperty key="AJSC_SHARED_CONFIG" value="${basedir}/ajsc-shared-config" /> - - <!-- Location of logback.xml file used for logging configurations. Please, - note, when deploying a service to either CSI or NON-CSI environment, this - system property will be set in sys-props.properties file. We are setting - it here for running locally due to the ease of use of maven variable for - basedir. --> - <sysproperty key="logback.configurationFile" - value="${basedir}/ajsc-shared-config/etc/logback.xml" /> - - <!-- Setting system properties for the AJSC external libs and properties - folders below. When deploying to a node, these properties will be set within - the bundleconfig/etc/sysprops/sys-props.properties file. However, when running - locally, the ${basedir} substitution works more efficiently in this manner. --> - <sysproperty key="AJSC_EXTERNAL_LIB_FOLDERS" value="${basedir}/target/commonLibs" /> - <sysproperty key="AJSC_EXTERNAL_PROPERTIES_FOLDERS" - value="${basedir}/ajsc-shared-config/etc" /> - - <!-- End of Main ajsc Variables below (Variables necessary for proper - startup of AJSC) --> - - <!-- Uncomment the following line to add oauthentication to your Service --> - <!-- <sysproperty key="spring.profiles.active" value="oauth" /> --> - - <!-- If using Cassandra as Database, Enter the ip/host and port below - based on your known configuration --> - <!-- <sysproperty key="cassandra.ip" value="hostname" /> --> - <!-- <sysproperty key="cassandra.port" value="9042" /> --> - - <!-- The APP_SERVLET_URL_PATTERN variable is defaulted to "/services" - within the initial configuration of the AJSC. If you are changing the CamelServlet - Filter within the ajsc-override-web.xml, you should use that url-pattern - here. This is necessary to properly register your service with dme2. An empty - value, "", is used when NO value is wanted (url-pattern would be /* for CamelServlet - Filter) --> - <!-- As of 4.5.1, this property is no longer needed --> - <!-- <sysproperty key="APP_SERVLET_URL_PATTERN" value="/services" /> --> - - <!-- GRM/DME2 System Properties below --> - <sysproperty key="AJSC_SERVICE_NAMESPACE" value="${module.ajsc.namespace.name}" /> - <sysproperty key="AJSC_SERVICE_VERSION" value="${module.ajsc.namespace.version}" /> - <sysproperty key="SOACLOUD_SERVICE_VERSION" value="${project.version}" /> - <!-- End of GRM/DME2 System Property Variables --> - - <!-- The following server.port variable was necessary for the proper registration - of the AJSC to dme2. This value may still need to be used if the Developer - is hardcoding their port (example: 8080). Then, the server.port value="8080". - The default functionality for the AJSC is to use EPHEMERAL ports. In this - case, you do NOT need to set the server.port value. The AJSC will find the - proper port value and register to dme2 correctly --> - <!-- <sysproperty key="server.port" value="${serverPort}" /> --> - - <!-- Command Line Arguments to add to the java command. Here, you can - specify the port as well as the Context you want your service to run in. - Use context=/ to run in an unnamed Context (Root Context). The default configuration - of the AJSC is to run under the /ajsc Context. Setting the port here can - aid during the development phase of your service. However, you can leave - this argument out entirely, and the AJSC will default to using an Ephemeral - port. --> - <arg line="context=/ port=${serverPort} sslport=${sslport}" /> - </java> - </target> - <target name="prep_home_directory_for_swm_pkgcreate"> - -<!-- ********* GENERATE CADI KEY AND ENCRYPTED PASSWORD *********** - - Uncomment the following if your cadi key get corrupted , It would - generate the Cadi key and password in the package phase and keep the key - in the 'src/main/config/ajscKey' and password in the bottom of cadi.properties(you - need to modify the 'aaf_pass' variable with this value . Plese modify the - template.cadi.properties as well before uploading to SOA node ---> - -<!-- - <java jar="${basedir}/target/userjars/cadi-core-1.2.5.jar" fork="true"> - <arg value="keygen" /> <arg value="src/main/config/ajscKey" /> - </java> - - <echo>***Cadi Key file generated ****</echo> - - <java jar="${basedir}/target/userjars/cadi-core-1.2.5.jar" - fork="true" append="true" output="${basedir}/src/main/config/cadi.properties"> - <arg value="digest" /> <arg value="ajscRocks!" /> <arg value="src/main/config/ajscKey" - /> - </java> - ---> - - - - <!-- These tasks are copying contents from the installHomeDirectory into - the eventual $AJSC_HOME directory for running locally and soa cloud installation --> - <echo message="ENTERING 'prep_home_directory_for_swm_pkgcreate' ant tasks" /> - - <!-- Please, NOTE: The ajsc-archetype is setup for a default CSI Env deployment. - If you are deploying to a CSI Env, you should NOT have to change anything - within this build file. However, if you are NOT deploying to a CSI Env, you - should comment OUT the CSI related portion of this build.xml. --> - - <!-- The following code snippet is copying the bundleconfig-csi directory - to the proper installation/bundleconfig directory used in CSI envs. If you - are NOT installing to a CSI node, you should comment out (or delete) the - following snippet, and uncomment the NON-CSI copy task to copy EVERYTHING - to the installation/bundleconfig directory. --> - - <!-- CSI related bundleconfig copy task. If you are NOT deploying to a - CSI Env, please COMMENT OUT or delete the following copy task code snippet. --> - <!--<copy toDir="${basedir}/target/swm/package/nix/dist_files${distFilesRoot}/bundleconfig" - failonerror="true"> <fileset dir="${basedir}/bundleconfig-csi" /> </copy> --> - <!-- End of CSI related bundleconfig copy task --> - - <!-- NOTE: If you are NOT deploying to CSI environment, and you are NOT - using an AJSC_SHARED_CONFIG location on a node, you should go ahead and copy - EVERYTHING from bundleconfig and ajsc-shared-config (logback.xml) directory - to utilize proper logging from logback.xml. Simply, uncomment the following - code snippet below to copy EVERYTHING and comment out the CSI related build - script above. --> - <!-- NON-CSI related build copy task. Please, uncomment the following code - snippet to deploy the proper artifacts to a NON-CSI Env. --> - <copy - toDir="${basedir}/target/swm/package/nix/dist_files${distFilesRoot}/bundleconfig" - failonerror="true"> - <fileset dir="${basedir}/bundleconfig-local" includes="**/**" /> - </copy> - <copy - toDir="${basedir}/target/swm/package/nix/dist_files${distFilesRoot}/bundleconfig/etc" - failonerror="true"> - <fileset dir="${basedir}/ajsc-shared-config/etc" includes="**/**" /> - </copy> - <!-- End of NON-CSI related build copy task. --> - - <!-- Copying any zips (deployment packages) to $AJSC_HOME/services for - auto-deployment --> - <copy - toDir="${basedir}/target/swm/package/nix/dist_files${distFilesRoot}/services" - failonerror="false"> - <fileset dir="${basedir}/services" includes="*.zip" /> - </copy> - - <!-- Copying runtimeEnvironment zip file to $AJSC_HOME/runtime and renaming - runtimeEnvironment.zip for proper auto-deployment of ajsc services. - <copy - tofile="${basedir}/target/swm/package/nix/dist_files${distFilesRoot}/runtime/runtimeEnvironment.zip"> - <fileset dir="target" includes="*-runtimeEnvironment.zip" /> - </copy>--> - - <!-- Copying dependencies from the service project (not provided by AJSC - Container) to the $AJSC_HOME/extJars folder to be accessible on the classpath --> - <copy - toDir="${basedir}/target/swm/package/nix/dist_files${distFilesRoot}/extJars" - failonerror="false"> - <fileset dir="target/userjars" includes="*" /> - </copy> - - <!-- extApps directory MUST be created for ajsc-runner to run correctly, - even if empty. DO NOT REMOVE!!! --> - <!-- extApps directory created to deploy other war files on startup or - hot deploy War files after ajsc starts up. --> - <mkdir - dir="${basedir}/target/swm/package/nix/dist_files${distFilesRoot}/extApps" /> - - <!-- Copying any extra wars to $AJSC_HOME/extApps to be deployed within - AJSC --> - <copy - toDir="${basedir}/target/swm/package/nix/dist_files${distFilesRoot}/extApps" - failonerror="false"> - <fileset dir="${basedir}/src/main/resources/extApps" - includes="*" /> - </copy> - - <!-- staticContent folder is for serving static content within an ajsc - service. Any static content to be served will be copyied to the ultimate - $AJSC_HOME/staticContent folder and can be served with the att-static-content - camel component. --> - <!-- Uncomment the following snippet to copy items from staticContent folder - to ultimate $AJSC_HOME/staticConent --> - <!-- <copy toDir="${basedir}/target/swm/package/nix/dist_files${distFilesRoot}/staticContent" - failonerror="false"> <fileset dir="${basedir}/staticContent" includes="**/**" - /> </copy> --> - - <!-- Copying extra jar files that have been labeled as dependencies in - service project to /extJars folder to be made available on the classpath - for your service --> - <copy - toDir="${basedir}/target/swm/package/nix/dist_files${distFilesRoot}/extJars" - failonerror="false"> - <fileset dir="target" includes="*.jar" /> - </copy> - - <!-- Copying deployment packages created within the project to the $AJSC_HOME/services - folder to be auto deployed. --> - <copy - toDir="${basedir}/target/swm/package/nix/dist_files${distFilesRoot}/services"> - <fileset dir="target" includes="*.zip" excludes="*-runtimeEnvironment.zip" /> - </copy> - - <echo message="EXITING 'prep_assembly_output_for_swm_plugin' ant tasks" /> - </target> -</project> 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 @@ <appender-ref ref="asyncEELFDebug" /> </logger> - <logger name="com.att.eelf.security" level="info" additivity="false"> - <appender-ref ref="asyncEELFSecurity" /> - </logger> - <logger name="com.att.eelf.perf" level="info" additivity="false"> - <appender-ref ref="asyncEELFPerformance" /> - </logger> - <logger name="com.att.eelf.server" level="info" additivity="false"> - <appender-ref ref="asyncEELFServer" /> - </logger> - <logger name="com.att.eelf.policy" level="info" additivity="false"> - <appender-ref ref="asyncEELFPolicy" /> - </logger> + <logger name="com.att.eelf.audit" level="info" additivity="false"> <appender-ref ref="asyncEELFAudit" /> </logger> 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=<Your network IP address> - -#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. @@ -18,440 +18,365 @@ See the License for the specific language governing permissions and limitations under the License. ============LICENSE_END========================================================= --> - <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - <modelVersion>4.0.0</modelVersion> - - <parent> - <artifactId>ajsc-archetype-parent</artifactId> - <groupId>com.att.ajsc</groupId> - <version>2.0.0</version> - </parent> - <groupId>org.onap.aai.data-router</groupId> - <artifactId>data-router</artifactId> - <version>1.2.0-SNAPSHOT</version> - <name>aai-data-router</name> - - <properties> - <docker.location>${basedir}/target</docker.location> - <module.ajsc.namespace.name>data-router</module.ajsc.namespace.name> - <module.ajsc.namespace.version>v1</module.ajsc.namespace.version> - <ajscRuntimeVersion>2.0.0</ajscRuntimeVersion> - <absoluteDistFilesRoot>/appl/${project.artifactId}</absoluteDistFilesRoot> - - <!-- For NO Versioning, REMOVE the /${project.version} from the <distFilesRoot> - property, below. PLEASE, NOTE: If your ${project.version} is a "-SNAPSHOT" - version, THIS will be used as your directory structure. If you do NOT want - this, simply remove the "-SNAPSHOT" from your <version> declaration at the - top of pom.xml --> - <distFilesRoot>/appl/${project.artifactId}/${project.version}</distFilesRoot> - <runAjscHome>${basedir}/target/swm/package/nix/dist_files${distFilesRoot}</runAjscHome> + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + <modelVersion>4.0.0</modelVersion> - <!-- For SOA Cloud Installation --> - <installOwnerUser>aaiadmin</installOwnerUser> - <installOwnerGroup>aaiadmin</installOwnerGroup> - <ownerManagementGroup>com.att.csid.lab</ownerManagementGroup> + <parent> + <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-starter-parent</artifactId> + <version>1.5.10.RELEASE</version> + <relativePath /> + </parent> + <groupId>org.onap.aai.data-router</groupId> + <artifactId>data-router</artifactId> + <version>1.2.0-SNAPSHOT</version> + <name>aai-data-router</name> - <!-- Port Selection. A value of 0 will allow for dynamic port selection. - For local testing, you may choose to hardcode this value to something like - 8080 --> - <serverPort>0</serverPort> - <sslport>9502</sslport> + <properties> + <java.version>1.8</java.version> + <camel-spring-boot.version>2.20.0</camel-spring-boot.version> + <docker.location>${basedir}/target</docker.location> + <absoluteDistFilesRoot>/appl/${project.artifactId}</absoluteDistFilesRoot> + <!-- For NO Versioning, REMOVE the /${project.version} from the <distFilesRoot> + property, below. PLEASE, NOTE: If your ${project.version} is a "-SNAPSHOT" + version, THIS will be used as your directory structure. If you do NOT want + this, simply remove the "-SNAPSHOT" from your <version> declaration at the + top of pom.xml --> + <distFilesRoot>/appl/${project.artifactId}/${project.version}</distFilesRoot> + <!-- For SOA Cloud Installation --> + <installOwnerUser>aaiadmin</installOwnerUser> + <installOwnerGroup>aaiadmin</installOwnerGroup> + <ownerManagementGroup>com.att.csid.lab</ownerManagementGroup> - <testRouteOffer>workstation</testRouteOffer> - <testEnv>DEV</testEnv> - <checkstyle.config.location>google_checks.xml</checkstyle.config.location> - <nexusproxy>https://nexus.onap.org</nexusproxy> - <!-- Sonar Properties --> - <sonar.language>java</sonar.language> - <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin> - <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath> - <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath> - <sonar.jacoco.reportMissing.force.zero>false</sonar.jacoco.reportMissing.force.zero> - <sonar.projectVersion>${project.version}</sonar.projectVersion> - </properties> + <!-- Port Selection. A value of 0 will allow for dynamic port selection. + For local testing, you may choose to hardcode this value to something like + 8080 --> + <serverPort>0</serverPort> + <sslport>9502</sslport> - <dependencies> -<dependency> - <groupId>org.powermock</groupId> - <artifactId>powermock-module-junit4</artifactId> - <version>1.6.2</version> - <scope>test</scope> - </dependency> - - <dependency> - <groupId>org.powermock</groupId> - <artifactId>powermock-api-mockito</artifactId> - <version>1.6.2</version> - <scope>test</scope> - </dependency> - - <dependency> - <groupId>org.powermock</groupId> - <artifactId>powermock-module-javaagent</artifactId> - <version>1.6.2</version> - <scope>test</scope> - </dependency> - - <dependency> - <groupId>org.powermock</groupId> - <artifactId>powermock-module-junit4-rule-agent</artifactId> - <version>1.6.2</version> - <scope>test</scope> - </dependency> - <dependency> - <groupId>dom4j</groupId> - <artifactId>dom4j</artifactId> - <version>1.6.1</version> - <scope>provided</scope> - </dependency> + <testRouteOffer>workstation</testRouteOffer> + <testEnv>DEV</testEnv> + <checkstyle.config.location>google_checks.xml</checkstyle.config.location> + <nexusproxy>https://nexus.onap.org</nexusproxy> + <!-- Sonar Properties --> + <sonar.language>java</sonar.language> + <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin> + <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath> + <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath> + <sonar.jacoco.reportMissing.force.zero>false</sonar.jacoco.reportMissing.force.zero> + <sonar.projectVersion>${project.version}</sonar.projectVersion> + </properties> - <dependency> - <groupId>com.att.aft</groupId> - <artifactId>dme2</artifactId> - <version>3.1.200</version> - <scope>provided</scope> - </dependency> - <dependency> - <groupId>org.onap.aai.aai-common</groupId> - <artifactId>aai-schema</artifactId> - <version>1.2.1-SNAPSHOT</version> - </dependency> - <dependency> - <groupId>org.onap.aai.router-core</groupId> - <artifactId>router-core</artifactId> - <version>1.1.0</version> - </dependency> + <dependencies> + <dependency> + <groupId>org.apache.camel</groupId> + <artifactId>camel-spring-boot-starter</artifactId> + </dependency> + <dependency> + <groupId>org.apache.camel</groupId> + <artifactId>camel-core</artifactId> + <version>2.20.1</version> + </dependency> + <dependency> + <groupId>org.apache.camel</groupId> + <artifactId>camel-servlet-starter</artifactId> + </dependency> + <dependency> + <groupId>org.apache.camel</groupId> + <artifactId>camel-cxf</artifactId> + <version>2.20.1</version> + </dependency> + <!-- Spring dependencies --> + <dependency> + <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-starter-web</artifactId> - <dependency> - <groupId>org.json</groupId> - <artifactId>json</artifactId> - </dependency> + </dependency> + <dependency> + <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-starter</artifactId> + </dependency> + <dependency> + <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-starter-actuator</artifactId> + </dependency> + <dependency> + <groupId>javax.ws.rs</groupId> + <artifactId>javax.ws.rs-api</artifactId> + <version>2.0.1</version> + </dependency> + <dependency> + <groupId>org.powermock</groupId> + <artifactId>powermock-module-junit4</artifactId> + <version>1.6.2</version> + <scope>test</scope> + </dependency> - <dependency> - <groupId>com.google.code.gson</groupId> - <artifactId>gson</artifactId> - <version>2.6.2</version> - </dependency> + <dependency> + <groupId>org.powermock</groupId> + <artifactId>powermock-api-mockito</artifactId> + <version>1.6.2</version> + <scope>test</scope> + </dependency> - <dependency> - <groupId>org.eclipse.persistence</groupId> - <artifactId>eclipselink</artifactId> - <version>2.6.2</version> - </dependency> + <dependency> + <groupId>org.powermock</groupId> + <artifactId>powermock-module-javaagent</artifactId> + <version>1.6.2</version> + <scope>test</scope> + </dependency> - <dependency> - <groupId>org.onap.aai.logging-service</groupId> - <artifactId>common-logging</artifactId> - <version>1.1.0</version> - </dependency> + <dependency> + <groupId>org.powermock</groupId> + <artifactId>powermock-module-junit4-rule-agent</artifactId> + <version>1.6.2</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>dom4j</groupId> + <artifactId>dom4j</artifactId> + <version>1.6.1</version> + <scope>provided</scope> + </dependency> - <dependency> - <groupId>org.onap.aai.logging-service</groupId> - <artifactId>logging-api</artifactId> - <version>1.1.0</version> - </dependency> + <dependency> + <groupId>com.att.aft</groupId> + <artifactId>dme2</artifactId> + <version>3.1.200</version> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>org.onap.aai.aai-common</groupId> + <artifactId>aai-schema</artifactId> + <version>1.2.2-SNAPSHOT</version> + </dependency> + <dependency> + <groupId>org.onap.aai.router-core</groupId> + <artifactId>router-core</artifactId> + <version>1.1.0</version> + </dependency> - <dependency> - <groupId>org.onap.aai</groupId> - <artifactId>rest-client</artifactId> - <version>1.1.0</version> - </dependency> + <dependency> + <groupId>org.json</groupId> + <artifactId>json</artifactId> + </dependency> - <dependency> - <groupId>ch.qos.logback</groupId> - <artifactId>logback-core</artifactId> - <version>1.1.7</version> - </dependency> + <dependency> + <groupId>com.google.code.gson</groupId> + <artifactId>gson</artifactId> + <version>2.6.2</version> + </dependency> - </dependencies> + <dependency> + <groupId>org.eclipse.persistence</groupId> + <artifactId>eclipselink</artifactId> + <version>2.6.2</version> + </dependency> - <build> - <plugins> - <!-- Checkstyle plugin - used to report on compliance with --> - <!-- the Google style guide. --> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-site-plugin</artifactId> - <version>3.3</version> - <configuration> - <reportPlugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-checkstyle-plugin</artifactId> - <version>2.17</version> - <reportSets> - <reportSet> - <reports> - <report>checkstyle</report> - </reports> - </reportSet> - </reportSets> - </plugin> - </reportPlugins> - </configuration> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-resources-plugin</artifactId> - <version>2.7</version> - <executions> - <execution> - <id>copy-docker-file</id> - <phase>package</phase> - <goals> - <goal>copy-resources</goal> - </goals> - <configuration> - <outputDirectory>target</outputDirectory> - <overwrite>true</overwrite> - <resources> - <resource> - <directory>${basedir}/src/main/docker</directory> - <filtering>true</filtering> - <includes> - <include>**/*</include> - </includes> - </resource> - <resource> - <directory>${basedir}/src/main/bin/</directory> - </resource> - </resources> - </configuration> - </execution> - </executions> - </plugin> - <plugin> - <groupId>com.spotify</groupId> - <artifactId>docker-maven-plugin</artifactId> - <version>0.4.11</version> - <configuration> - <verbose>true</verbose> - <serverId>docker-hub</serverId> - <imageName>${docker.push.registry}/onap/${project.artifactId}</imageName> - <dockerDirectory>${docker.location}</dockerDirectory> - <imageTags> - <imageTag>latest</imageTag> - </imageTags> - <forceTags>true</forceTags> - </configuration> - </plugin> - <!-- license plugin --> - <!-- Uncomment this to add a license header to every source file - <plugin> - <groupId>com.mycila</groupId> - <artifactId>license-maven-plugin</artifactId> - <version>3.0</version> - <configuration> - <header>License.txt</header> - <includes> - <include>src/main/java/**</include> - <include>src/test/java/**</include> - </includes> - </configuration> - <executions> - <execution> - <goals> - <goal>format</goal> - </goals> - <phase>process-sources</phase> - </execution> - </executions> - </plugin> - --> - <plugin> - <groupId>org.sonatype.plugins</groupId> - <artifactId>nexus-staging-maven-plugin</artifactId> - <version>1.6.7</version> - <extensions>true</extensions> - <configuration> - <nexusUrl>${nexusproxy}</nexusUrl> - <stagingProfileId>176c31dfe190a</stagingProfileId> - <serverId>ecomp-staging</serverId> - </configuration> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-deploy-plugin</artifactId> - <configuration> - <skip>true</skip> - </configuration> - </plugin> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>sonar-maven-plugin</artifactId> - <version>3.2</version> - </plugin> - <plugin> - <groupId>org.jacoco</groupId> - <artifactId>jacoco-maven-plugin</artifactId> - <version>0.7.7.201606060606</version> - <configuration> - <dumpOnExit>true</dumpOnExit> - </configuration> - <executions> - <execution> - <id>jacoco-initialize-unit-tests</id> - <goals> - <goal>prepare-agent</goal> - </goals> - <configuration> - <destFile>${project.build.directory}/coverage-reports/jacoco.exec - </destFile> - </configuration> - </execution> - </executions> - </plugin> - - </plugins> - </build> + <dependency> + <groupId>org.onap.aai.logging-service</groupId> + <artifactId>common-logging</artifactId> + <version>1.1.0</version> + </dependency> - <profiles> - <profile> - <id>runAjsc</id> - <build> - <defaultGoal>initialize</defaultGoal> - <plugins> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>exec-maven-plugin</artifactId> - <version>1.3.2</version> - <executions> - <execution> - <phase>initialize</phase> - <goals> - <goal>java</goal> - </goals> - <configuration> - <includeProjectDependencies>false</includeProjectDependencies> - <includePluginDependencies>true</includePluginDependencies> - <executable>java</executable> - <mainClass>com.att.ajsc.runner.Runner</mainClass> - <executableDependency> - <groupId>com.att.ajsc</groupId> - <artifactId>ajsc-runner</artifactId> - </executableDependency> - <additionalClasspathElements> - <additionalClasspathElement>${basedir}/ajsc-shared-config/etc</additionalClasspathElement> - </additionalClasspathElements> + <dependency> + <groupId>org.onap.aai.logging-service</groupId> + <artifactId>logging-api</artifactId> + <version>1.1.0</version> + </dependency> - <environmentVariables> - <AJSC_HOME>${runAjscHome}</AJSC_HOME> - </environmentVariables> + <dependency> + <groupId>org.onap.aai</groupId> + <artifactId>rest-client</artifactId> + <version>1.1.0</version> + </dependency> - <!-- Main AJSC System Properties below (necessary for proper startup) --> - <systemProperties> - <systemProperty> - <key>AJSC_HOME</key> - <value>${runAjscHome}</value> - </systemProperty> + <dependency> + <groupId>ch.qos.logback</groupId> + <artifactId>logback-core</artifactId> + <version>1.1.7</version> + </dependency> - <systemProperty> - <key>CONFIG_HOME</key> - <value>${basedir}/appconfig-local/</value> - </systemProperty> + </dependencies> - <systemProperty> - <key>AJSC_CONF_HOME</key> - <value>${basedir}/bundleconfig-local</value> - </systemProperty> - <systemProperty> - <key>logback.configurationFile</key> - <value>${basedir}/ajsc-shared-config/etc/logback.xml</value> - </systemProperty> - <systemProperty> - <key>AJSC_SHARED_CONFIG</key> - <value>${basedir}/ajsc-shared-config</value> - </systemProperty> + <build> + <finalName>${project.artifactId}</finalName> + <plugins> + <!-- Checkstyle plugin - used to report on compliance with --> + <!-- the Google style guide. --> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-site-plugin</artifactId> + <version>3.3</version> + <configuration> + <reportPlugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-checkstyle-plugin</artifactId> + <version>2.17</version> + <reportSets> + <reportSet> + <reports> + <report>checkstyle</report> + </reports> + </reportSet> + </reportSets> + </plugin> + </reportPlugins> + </configuration> + </plugin> + <plugin> + <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-maven-plugin</artifactId> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-resources-plugin</artifactId> + <version>2.7</version> + <executions> + <execution> + <id>copy-docker-file</id> + <phase>package</phase> + <goals> + <goal>copy-resources</goal> + </goals> + <configuration> + <outputDirectory>target</outputDirectory> + <overwrite>true</overwrite> + <resources> + <resource> + <directory>${basedir}/src/main/docker</directory> + <filtering>true</filtering> + <includes> + <include>**/*</include> + </includes> + </resource> + <resource> + <directory>${basedir}</directory> + <filtering>true</filtering> + <includes> + <include>bundleconfig-local/**</include> + </includes> + </resource> + <resource> + <directory>${basedir}/src/main/bin/</directory> + <filtering>true</filtering> + <includes> + <include>**/*</include> + </includes> + </resource> + </resources> + </configuration> + </execution> + </executions> + </plugin> + <plugin> + <groupId>com.spotify</groupId> + <artifactId>docker-maven-plugin</artifactId> + <version>0.4.11</version> + <configuration> + <verbose>true</verbose> + <serverId>docker-hub</serverId> + <imageName>${docker.push.registry}/onap/${project.artifactId}</imageName> + <dockerDirectory>${docker.location}</dockerDirectory> + <imageTags> + <imageTag>latest</imageTag> + </imageTags> + <forceTags>true</forceTags> + </configuration> + </plugin> + <!-- license plugin --> + <!-- Uncomment this to add a license header to every source file + <plugin> <groupId>com.mycila</groupId> <artifactId>license-maven-plugin</artifactId> + <version>3.0</version> <configuration> <header>License.txt</header> <includes> + <include>src/main/java/**</include> <include>src/test/java/**</include> </includes> + </configuration> <executions> <execution> <goals> <goal>format</goal> </goals> + <phase>process-sources</phase> </execution> </executions> </plugin> --> + <plugin> + <groupId>org.sonatype.plugins</groupId> + <artifactId>nexus-staging-maven-plugin</artifactId> + <version>1.6.7</version> + <extensions>true</extensions> + <configuration> + <nexusUrl>${nexusproxy}</nexusUrl> + <stagingProfileId>176c31dfe190a</stagingProfileId> + <serverId>ecomp-staging</serverId> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-deploy-plugin</artifactId> + <configuration> + <skip>true</skip> + </configuration> + </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>sonar-maven-plugin</artifactId> + <version>3.2</version> + </plugin> + <plugin> + <groupId>org.jacoco</groupId> + <artifactId>jacoco-maven-plugin</artifactId> + <version>0.7.7.201606060606</version> + <configuration> + <dumpOnExit>true</dumpOnExit> + </configuration> + <executions> + <execution> + <id>jacoco-initialize-unit-tests</id> + <goals> + <goal>prepare-agent</goal> + </goals> + <configuration> + <destFile>${project.build.directory}/coverage-reports/jacoco.exec + </destFile> + </configuration> + </execution> + </executions> + </plugin> - <sysproperty> - <key>AJSC_EXTERNAL_LIB_FOLDERS</key> - <value>${basedir}/target/commonLibs</value> - </sysproperty> - <sysproperty> - <key>AJSC_EXTERNAL_PROPERTIES_FOLDERS</key> - <value>${basedir}/ajsc-shared-config/etc</value> - </sysproperty> + </plugins> + </build> - <systemProperty> - <key>AJSC_SERVICE_NAMESPACE</key> - <value>${module.ajsc.namespace.name}</value> - </systemProperty> - <systemProperty> - <key>AJSC_SERVICE_VERSION</key> - <value>${module.ajsc.namespace.version}</value> - </systemProperty> - <systemProperty> - <key>SOACLOUD_SERVICE_VERSION</key> - <value>${project.version}</value> - </systemProperty> - <systemProperty> - <key>server.port</key> - <value>${serverPort}</value> - </systemProperty> - </systemProperties> - <!-- Command Line Arguments to add to the java command. Here, you - can specify the port as well as the Context you want your service to run - in. Use context=/ to run in an unnamed Context (Root Context). The default - configuration of the AJSC is to run under the / Context. Setting the port - here can aid during the development phase of your service. However, you can - leave this argument out entirely, and the AJSC will default to using an Ephemeral - port. --> - <arguments> - <argument>context=/</argument> - <argument>port=${serverPort}</argument> - <argument>sslport=${sslport}</argument> - </arguments> - </configuration> - </execution> - </executions> - <configuration> - <executable>java</executable> - </configuration> - <dependencies> - <dependency> - <groupId>com.att.ajsc</groupId> - <artifactId>ajsc-runner</artifactId> - <version>${ajscRuntimeVersion}</version> - </dependency> - </dependencies> - </plugin> - - </plugins> - </build> - </profile> - </profiles> - <dependencyManagement> - <dependencies> - <dependency> - <groupId>org.apache.httpcomponents</groupId> - <artifactId>httpclient</artifactId> - <version>4.5</version> - </dependency> - <dependency> - <groupId>org.apache.httpcomponents</groupId> - <artifactId>httpcore</artifactId> - <version>4.4.1</version> - </dependency> - <dependency> - <groupId>org.json</groupId> - <artifactId>json</artifactId> - <version>20131018</version> - </dependency> - </dependencies> - </dependencyManagement> - <distributionManagement> - <repository> - <id>ecomp-releases</id> - <name>ECOMP Release Repository</name> - <url>${nexusproxy}/content/repositories/releases/</url> - </repository> - <snapshotRepository> - <id>ecomp-snapshots</id> - <name>ECOMP Snapshot Repository</name> - <url>${nexusproxy}/content/repositories/snapshots/</url> - </snapshotRepository> - </distributionManagement> + <dependencyManagement> + <dependencies> + <dependency> + <groupId>org.apache.camel</groupId> + <artifactId>camel-spring-boot-dependencies</artifactId> + <version>${camel-spring-boot.version}</version> + <type>pom</type> + <scope>import</scope> + </dependency> + <dependency> + <groupId>org.apache.httpcomponents</groupId> + <artifactId>httpclient</artifactId> + <version>4.5</version> + </dependency> + <dependency> + <groupId>org.apache.httpcomponents</groupId> + <artifactId>httpcore</artifactId> + <version>4.4.1</version> + </dependency> + <dependency> + <groupId>org.json</groupId> + <artifactId>json</artifactId> + <version>20131018</version> + </dependency> + </dependencies> + </dependencyManagement> + <distributionManagement> + <repository> + <id>ecomp-releases</id> + <name>ECOMP Release Repository</name> + <url>${nexusproxy}/content/repositories/releases/</url> + </repository> + <snapshotRepository> + <id>ecomp-snapshots</id> + <name>ECOMP Snapshot Repository</name> + <url>${nexusproxy}/content/repositories/snapshots/</url> + </snapshotRepository> + </distributionManagement> </project> 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 @@ -<route xmlns="http://camel.apache.org/schema/spring" trace="true"> - <from uri="att-dme2-servlet:///__module_ajsc_namespace_name__/__module_ajsc_namespace_version__/echo-service/?matchOnUriPrefix=true" /> - <to uri="cxfbean:echoServices" /> -</route> - 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 @@ -<assembly - xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd"> - <id>${version}</id> - <includeBaseDirectory>false</includeBaseDirectory> - <formats> - <format>zip</format> - </formats> - <fileSets> - <fileSet> - <directory>${project.basedir}/target/versioned-ajsc/routes/</directory> - <outputDirectory>${module.ajsc.namespace.name}/${module.ajsc.namespace.version}/routes/</outputDirectory> - <includes> - <include>*.route</include> - </includes> - - </fileSet> - - <fileSet> - <directory>${project.basedir}/target/versioned-ajsc/docs/</directory> - <outputDirectory>${module.ajsc.namespace.name}/${module.ajsc.namespace.version}/docs/</outputDirectory> - <includes> - <include>*.*</include> - <!-- <include>*.vm</include> --> - </includes> - - </fileSet> - - <fileSet> - <directory>${project.basedir}/target/versioned-ajsc/lib/</directory> - <outputDirectory>${module.ajsc.namespace.name}/${module.ajsc.namespace.version}/lib/</outputDirectory> - <includes> - <include>*.jar</include> - </includes> - - </fileSet> - <fileSet> - <directory>${project.basedir}/target/versioned-ajsc/extJars/</directory> - <outputDirectory>${module.ajsc.namespace.name}/${module.ajsc.namespace.version}/extJars/</outputDirectory> - <includes> - <include>*.jar</include> - </includes> - </fileSet> - - <!-- also try to grab outputs from the "jar" plugin's package phase --> - <fileSet> - <directory>${project.basedir}/target/</directory> - <outputDirectory>${module.ajsc.namespace.name}/${module.ajsc.namespace.version}/lib/</outputDirectory> - <includes> - <include>*.jar</include> - </includes> - </fileSet> - - <fileSet> - <directory>${project.basedir}/target/versioned-ajsc/conf/</directory> - <outputDirectory>${module.ajsc.namespace.name}/${module.ajsc.namespace.version}/conf/</outputDirectory> - <includes> - <include>*.*</include> - </includes> - - </fileSet> - </fileSets> - -</assembly> - 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 @@ -<assembly - xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd"> - <id>${version}_properties</id> - <includeBaseDirectory>false</includeBaseDirectory> - <formats> - <format>zip</format> - </formats> - <fileSets> - <fileSet> - <directory>${project.basedir}/target/versioned-ajsc/props</directory> - <outputDirectory>${module.ajsc.namespace.name}/${module.ajsc.namespace.version}/props/</outputDirectory> - <includes> - <include>*.props</include> - </includes> - - </fileSet> - - </fileSets> - -</assembly> - 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 @@ -<assembly - xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd"> - <id>runtimeEnvironment</id> - <includeBaseDirectory>false</includeBaseDirectory> - <formats> - <format>zip</format> - </formats> - <fileSets> - <fileSet> - <directory>${project.basedir}/target/versioned-runtime/context/</directory> - <outputDirectory>runtime/context/</outputDirectory> - <includes> - <include>*.context</include> - </includes> - </fileSet> - <fileSet> - <directory>${project.basedir}/target/versioned-runtime/serviceProperties/</directory> - <outputDirectory>runtime/serviceProperties/</outputDirectory> - <includes> - <include>*.props</include> - </includes> - </fileSet><fileSet> - <directory>${project.basedir}/target/versioned-runtime/shiroRole</directory> - <outputDirectory>runtime/shiroRole/</outputDirectory> - <includes> - <include>*.json</include> - </includes> - </fileSet><fileSet> - <directory>${project.basedir}/target/versioned-runtime/shiroUser</directory> - <outputDirectory>runtime/shiroUser/</outputDirectory> - <includes> - <include>*.json</include> - </includes> - </fileSet><fileSet> - <directory>${project.basedir}/target/versioned-runtime/shiroUserRole</directory> - <outputDirectory>runtime/shiroUserRole</outputDirectory> - <includes> - <include>*.json</include> - </includes> - </fileSet> - </fileSets> -</assembly>
\ 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 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure_9_0.dtd"> -<!-- Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. --> -<Configure id="ajsc-server" class="org.eclipse.jetty.server.Server"> - <!-- DO NOT REMOVE!!!! This is setting up the AJSC Context --> - <New id="ajscContext" class="org.eclipse.jetty.webapp.WebAppContext"> - <Set name="contextPath"><SystemProperty name="AJSC_CONTEXT_PATH" /></Set> - <Set name="extractWAR">true</Set> - <Set name="tempDirectory"><SystemProperty name="AJSC_TEMP_DIR" /></Set> - <Set name="war"><SystemProperty name="AJSC_WAR_PATH" /></Set> - <Set name="descriptor"><SystemProperty name="AJSC_HOME" />/etc/runner-web.xml</Set> - <Set name="overrideDescriptor"><SystemProperty name="AJSC_HOME" />/etc/ajsc-override-web.xml</Set> - <Set name="throwUnavailableOnStartupException">true</Set> - <Set name="servletHandler"> - <New class="org.eclipse.jetty.servlet.ServletHandler"> - <Set name="startWithUnavailable">false</Set> - </New> - </Set> - <Set name="extraClasspath"><SystemProperty name="AJSC_HOME" />/extJars/json-20131018.jar</Set> - </New> - - <Set name="handler"> - <New id="Contexts" - class="org.eclipse.jetty.server.handler.ContextHandlerCollection"> - <Set name="Handlers"> - <Array type="org.eclipse.jetty.webapp.WebAppContext"> - <Item> - <Ref refid="ajscContext" /> - </Item> - </Array> - </Set> - </New> - </Set> - - <Call name="addBean"> - <Arg> - <New id="DeploymentManager" class="org.eclipse.jetty.deploy.DeploymentManager"> - <Set name="contexts"> - <Ref refid="Contexts" /> - </Set> - <Call id="extAppHotDeployProvider" name="addAppProvider"> - <Arg> - <New class="org.eclipse.jetty.deploy.providers.WebAppProvider"> - <Set name="monitoredDirName"><SystemProperty name="AJSC_HOME" />/extApps</Set> - <Set name="scanInterval">10</Set> - <Set name="extractWars">true</Set> - </New> - </Arg> - </Call> - </New> - </Arg> - </Call> - - <New id="sslContextFactory" class="org.eclipse.jetty.util.ssl.SslContextFactory"> - <Set name="keyStorePath">file:<SystemProperty name="CONFIG_HOME" />/auth/tomcat_keystore</Set> - <Set name="KeyStorePassword"> - <Call class="org.eclipse.jetty.util.security.Password" name="deobfuscate"> - <Arg><SystemProperty name="KEY_STORE_PASSWORD" /></Arg> - </Call> - </Set> - <Set name="KeyManagerPassword"> - <Call class="org.eclipse.jetty.util.security.Password" name="deobfuscate"> - <Arg><SystemProperty name="KEY_MANAGER_PASSWORD" /></Arg> - </Call> - </Set> - <Set name="needClientAuth">true</Set> - <Set name="wantClientAuth">true</Set> - </New> - - <Call id="sslConnector" name="addConnector"> - <Arg> - <New class="org.eclipse.jetty.server.ServerConnector"> - <Arg name="server"> - <Ref refid="ajsc-server" /> - </Arg> - <Arg name="factories"> - <Array type="org.eclipse.jetty.server.ConnectionFactory"> - <Item> - <New class="org.eclipse.jetty.server.SslConnectionFactory"> - <Arg name="next">http/1.1</Arg> - <Arg name="sslContextFactory"> - <Ref refid="sslContextFactory" /> - </Arg> - </New> - </Item> - <Item> - <New class="org.eclipse.jetty.server.HttpConnectionFactory"> - <Arg name="config"> - <New class="org.eclipse.jetty.server.HttpConfiguration"> - <Call name="addCustomizer"> - <Arg> - <New class="org.eclipse.jetty.server.SecureRequestCustomizer" /> - </Arg> - </Call> - </New> - </Arg> - </New> - </Item> - </Array> - </Arg> - <Set name="port"><SystemProperty name="AJSC_HTTPS_PORT" default="9502" /></Set> - <Set name="idleTimeout">30000</Set> - </New> - </Arg> - </Call> - - <Get name="ThreadPool"> - <Set name="minThreads"><SystemProperty name="AJSC_JETTY_ThreadCount_MIN" /></Set> - <Set name="maxThreads"><SystemProperty name="AJSC_JETTY_ThreadCount_MAX" /></Set> - <Set name="idleTimeout"><SystemProperty name="AJSC_JETTY_IDLETIME_MAX" /></Set> - <Set name="detailedDump">false</Set> - </Get> - -</Configure> 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 @@ -<?xml version="1.0" encoding="ISO-8859-1"?> -<!-- - Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. ---> -<web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" - metadata-complete="false" version="3.0"> - - <filter-mapping> - <filter-name>InterceptorFilter</filter-name> - <url-pattern>/services/*</url-pattern> - </filter-mapping> - <filter-mapping> - <filter-name>InterceptorFilter</filter-name> - <url-pattern>/rest/*</url-pattern> - </filter-mapping> - - <filter-mapping> - <filter-name>springSecurityFilterChain</filter-name> - <url-pattern>/*</url-pattern> - </filter-mapping> - - <servlet-mapping> - <servlet-name>ManagementServlet</servlet-name> - <url-pattern>/mgmt</url-pattern> - </servlet-mapping> - - <servlet-mapping> - <servlet-name>RestletServlet</servlet-name> - <url-pattern>/rest/*</url-pattern> - </servlet-mapping> - - <servlet-mapping> - <servlet-name>CamelServlet</servlet-name> - <url-pattern>/*</url-pattern> - </servlet-mapping> - - -</web-app>
\ No newline at end of file diff --git a/src/main/config/ajscJetty.jks b/src/main/config/ajscJetty.jks Binary files differdeleted file mode 100644 index 48cdbff..0000000 --- a/src/main/config/ajscJetty.jks +++ /dev/null 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 @@ -<?xml version="1.0" encoding="ISO-8859-1"?> -<!-- - Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. ---> -<web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" - metadata-complete="false" version="3.0"> - - <context-param> - <param-name>contextConfigLocation</param-name> - <param-value>/WEB-INF/spring-servlet.xml, - classpath:applicationContext.xml - </param-value> - </context-param> - - <context-param> - <param-name>spring.profiles.default</param-name> - <param-value>nooauth</param-value> - </context-param> - - <listener> - <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class> - </listener> - - <servlet> - <servlet-name>ManagementServlet</servlet-name> - <servlet-class>ajsc.ManagementServlet</servlet-class> - </servlet> - - - <filter> - <filter-name>InterceptorFilter</filter-name> - <filter-class>ajsc.filters.InterceptorFilter</filter-class> - <init-param> - <param-name>preProcessor_interceptor_config_file</param-name> - <param-value>/etc/PreProcessorInterceptors.properties</param-value> - </init-param> - <init-param> - <param-name>postProcessor_interceptor_config_file</param-name> - <param-value>/etc/PostProcessorInterceptors.properties</param-value> - </init-param> - - </filter> - - <servlet> - <servlet-name>RestletServlet</servlet-name> - <servlet-class>ajsc.restlet.RestletSpringServlet</servlet-class> - <init-param> - <param-name>org.restlet.component</param-name> - <param-value>restletComponent</param-value> - </init-param> - </servlet> - - <servlet> - <servlet-name>CamelServlet</servlet-name> - <servlet-class>ajsc.servlet.AjscCamelServlet</servlet-class> - </servlet> - - - <filter> - <filter-name>springSecurityFilterChain</filter-name> - <filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class> - </filter> - - <servlet> - <servlet-name>spring</servlet-name> - <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class> - <load-on-startup>1</load-on-startup> - </servlet> - -<!-- <servlet-mapping> - <servlet-name>spring</servlet-name> - <url-pattern>/</url-pattern> - </servlet-mapping>--> - -<!-- BEGIN jsp --> - - <servlet id="jsp"> - <servlet-name>jsp</servlet-name> - <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class> - </servlet> - - - - - - <!-- BEGIN static content --> - <servlet> - <servlet-name>default</servlet-name> - <servlet-class>org.eclipse.jetty.servlet.DefaultServlet</servlet-class> - <init-param> - <param-name>dirAllowed</param-name> - <param-value>true</param-value> - </init-param> - </servlet> - <!-- END static content --> -</web-app> 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/java/org/onap/aai/datarouter/policy/EntityEventPolicy.java b/src/main/java/org/onap/aai/datarouter/policy/EntityEventPolicy.java index 1d447c9..793588f 100644 --- a/src/main/java/org/onap/aai/datarouter/policy/EntityEventPolicy.java +++ b/src/main/java/org/onap/aai/datarouter/policy/EntityEventPolicy.java @@ -74,20 +74,20 @@ import com.fasterxml.jackson.databind.node.ObjectNode; public class EntityEventPolicy implements Processor { public static final String additionalInfo = "Response of AAIEntityEventPolicy"; - private static final String entitySearchSchema = "entitysearch_schema.json"; - private static final String topographicalSearchSchema = "topographysearch_schema.json"; + private static final String ENTITY_SEARCH_SCHEMA = "entitysearch_schema.json"; + private static final String TOPOGRAPHICAL_SEARCH_SCHEMA = "topographysearch_schema.json"; private Collection<ExternalOxmModelProcessor> externalOxmModelProcessors; - private final String EVENT_HEADER = "event-header"; - private final String ENTITY_HEADER = "entity"; - private final String ACTION_CREATE = "create"; - private final static String ACTION_DELETE = "delete"; - private final String ACTION_UPDATE = "update"; - private final String PROCESS_AAI_EVENT = "Process AAI Event"; - private final String TOPO_LAT = "latitude"; - private final String TOPO_LONG = "longitude"; + private static final String EVENT_HEADER = "event-header"; + private static final String ENTITY_HEADER = "entity"; + private static final String ACTION_CREATE = "create"; + private static final String ACTION_DELETE = "delete"; + private static final String ACTION_UPDATE = "update"; + private static final String PROCESS_AAI_EVENT = "Process AAI Event"; + private static final String TOPO_LAT = "latitude"; + private static final String TOPO_LONG = "longitude"; - private final List<String> SUPPORTED_ACTIONS = + private static final List<String> SUPPORTED_ACTIONS = Arrays.asList(ACTION_CREATE, ACTION_UPDATE, ACTION_DELETE); Map<String, DynamicJAXBContext> oxmVersionContextMap = new HashMap<>(); @@ -172,8 +172,8 @@ public class EntityEventPolicy implements Processor { public void startup() { // Create the indexes in the search service if they do not already exist. - searchAgent.createSearchIndex(entitySearchIndex, entitySearchSchema); - searchAgent.createSearchIndex(topographicalSearchIndex, topographicalSearchSchema); + searchAgent.createSearchIndex(entitySearchIndex, ENTITY_SEARCH_SCHEMA); + searchAgent.createSearchIndex(topographicalSearchIndex, TOPOGRAPHICAL_SEARCH_SCHEMA); logger.info(EntityEventPolicyMsgs.ENTITY_EVENT_POLICY_REGISTERED); } @@ -506,7 +506,7 @@ public class EntityEventPolicy implements Processor { updateCerInEntity(entityToSync); } catch (NoSuchAlgorithmException e) { - e.printStackTrace(); + logger.debug(e.getMessage()); } } } else { @@ -814,7 +814,7 @@ public class EntityEventPolicy implements Processor { uebJsonObj = new JSONObject(payload); } catch (JSONException e) { logger.debug(EntityEventPolicyMsgs.DISCARD_EVENT_VERBOSE, - "Payload has invalid JSON Format", payload.toString()); + "Payload has invalid JSON Format", payload); logger.error(EntityEventPolicyMsgs.DISCARD_EVENT_NONVERBOSE, "Payload has invalid JSON Format"); return null; @@ -823,8 +823,7 @@ public class EntityEventPolicy implements Processor { if (uebJsonObj.has(ENTITY_HEADER)) { return uebJsonObj.getJSONObject(ENTITY_HEADER); } else { - logger.debug(EntityEventPolicyMsgs.FAILED_TO_PARSE_UEB_PAYLOAD, ENTITY_HEADER + " missing", - payload.toString()); + logger.debug(EntityEventPolicyMsgs.FAILED_TO_PARSE_UEB_PAYLOAD, ENTITY_HEADER + " missing", payload); logger.error(EntityEventPolicyMsgs.FAILED_TO_PARSE_UEB_PAYLOAD, ENTITY_HEADER + " missing"); return null; } @@ -846,8 +845,6 @@ public class EntityEventPolicy implements Processor { primaryKeyValues.add(pkeyValue); primaryKeyNames.add(keyName); } else { - // logger.warn("getPopulatedDocument(), pKeyValue is null for entityType = " + - // resultDescriptor.getEntityName()); logger.error(EntityEventPolicyMsgs.PRIMARY_KEY_NULL_FOR_ENTITY_TYPE, resultDescriptor.getEntityName()); } @@ -966,8 +963,6 @@ public class EntityEventPolicy implements Processor { String entityId = eventEntity.getId(); - // System.out.println("aaiEventEntity as json = " + aaiEventEntity.getAsJson()); - if ((action.equalsIgnoreCase(ACTION_CREATE) && entityId != null) || action.equalsIgnoreCase(ACTION_UPDATE)) { diff --git a/src/main/java/org/onap/aai/datarouter/policy/SpikeEntityEventPolicy.java b/src/main/java/org/onap/aai/datarouter/policy/SpikeEntityEventPolicy.java index 455e6b9..36bb142 100644 --- a/src/main/java/org/onap/aai/datarouter/policy/SpikeEntityEventPolicy.java +++ b/src/main/java/org/onap/aai/datarouter/policy/SpikeEntityEventPolicy.java @@ -64,20 +64,20 @@ import com.fasterxml.jackson.databind.ObjectWriter; public class SpikeEntityEventPolicy implements Processor { public static final String additionalInfo = "Response of SpikeEntityEventPolicy"; - private static final String entitySearchSchema = "entitysearch_schema.json"; + private static final String ENTITY_SEARCH_SCHEMA = "entitysearch_schema.json"; private Collection<ExternalOxmModelProcessor> externalOxmModelProcessors; - private final String ACTION_CREATE = "create"; - private final String EVENT_VERTEX = "vertex"; - private final static String ACTION_DELETE = "delete"; - private final String ACTION_UPDATE = "update"; - private final String PROCESS_SPIKE_EVENT = "Process Spike Event"; - private final String OPERATION_KEY = "operation"; + private static final String ACTION_CREATE = "create"; + private static final String EVENT_VERTEX = "vertex"; + private static final String ACTION_DELETE = "delete"; + private static final String ACTION_UPDATE = "update"; + private static final String PROCESS_SPIKE_EVENT = "Process Spike Event"; + private static final String OPERATION_KEY = "operation"; - private final List<String> SUPPORTED_ACTIONS = + private static final List<String> SUPPORTED_ACTIONS = Arrays.asList(ACTION_CREATE, ACTION_UPDATE, ACTION_DELETE); Map<String, DynamicJAXBContext> oxmVersionContextMap = new HashMap<>(); @@ -86,7 +86,6 @@ public class SpikeEntityEventPolicy implements Processor { /** Agent for communicating with the Search Service. */ private SearchServiceAgent searchAgent = null; private String entitySearchIndex; - private String srcDomain; private Logger logger; private Logger metricsLogger; @@ -101,7 +100,7 @@ public class SpikeEntityEventPolicy implements Processor { metricsLogger = loggerFactoryInstance.getMetricsLogger(SpikeEntityEventPolicy.class.getName()); - srcDomain = config.getSourceDomain(); + //srcDomain = config.getSourceDomain(); // Populate the index names. entitySearchIndex = config.getSearchEntitySearchIndex(); @@ -145,7 +144,7 @@ public class SpikeEntityEventPolicy implements Processor { public void startup() { // Create the indexes in the search service if they do not already exist. - searchAgent.createSearchIndex(entitySearchIndex, entitySearchSchema); + searchAgent.createSearchIndex(entitySearchIndex, ENTITY_SEARCH_SCHEMA); logger.info(EntityEventPolicyMsgs.ENTITY_EVENT_POLICY_REGISTERED); } @@ -441,7 +440,7 @@ public class SpikeEntityEventPolicy implements Processor { return ""; } - private String lookupValueUsingKey(String payload, String key) throws JSONException { + private String lookupValueUsingKey(String payload, String key) { JsonNode jsonNode = convertToJsonNode(payload); return RouterServiceUtil.recursivelyLookupJsonPayload(jsonNode, key); } @@ -537,8 +536,6 @@ public class SpikeEntityEventPolicy implements Processor { primaryKeyValues.add(pkeyValue); primaryKeyNames.add(keyName); } else { - // logger.warn("getPopulatedDocument(), pKeyValue is null for entityType = " + - // resultDescriptor.getEntityName()); logger.error(EntityEventPolicyMsgs.PRIMARY_KEY_NULL_FOR_ENTITY_TYPE, resultDescriptor.getEntityName()); } diff --git a/src/main/java/org/onap/aai/datarouter/query/ChameleonResponseBuiler.java b/src/main/java/org/onap/aai/datarouter/query/ChameleonResponseBuiler.java index f74e742..d319c48 100644 --- a/src/main/java/org/onap/aai/datarouter/query/ChameleonResponseBuiler.java +++ b/src/main/java/org/onap/aai/datarouter/query/ChameleonResponseBuiler.java @@ -32,32 +32,33 @@ import com.google.gson.JsonParser; public class ChameleonResponseBuiler { - public static void buildEntity(Exchange exchange, String ID){ + private static final String SOURCE = "source"; + private static final String TARGET = "target"; + private static final String TYPE = "type"; + + public static void buildEntity(Exchange exchange, String id){ String response = exchange.getIn().getBody().toString(); JsonParser parser = new JsonParser(); JsonObject root = parser.parse(response).getAsJsonObject(); JsonObject champResponse = new JsonObject(); - if (!root.has("type")) { + if (!root.has(TYPE)) { exchange.getIn().setHeader(Exchange.HTTP_RESPONSE_CODE, 400); return ; } - champResponse.addProperty("key", ID); - champResponse.addProperty("type", root.get("type").getAsString()); - if (root.has("source")) { - champResponse.add("source", root.get("source")); + champResponse.addProperty("key", id); + champResponse.addProperty(TYPE, root.get(TYPE).getAsString()); + if (root.has(SOURCE)) { + champResponse.add(SOURCE, root.get(SOURCE)); } - if (root.has("target")) { - champResponse.add("target", root.get("target")); + if (root.has(TARGET)) { + champResponse.add(TARGET, root.get(TARGET)); } JsonObject props = new JsonObject(); List<Map.Entry<String, JsonElement>> entries = new ArrayList<Map.Entry<String, JsonElement>>( root.getAsJsonObject().entrySet()); for (Map.Entry<String, JsonElement> e : entries) { - if (!e.getKey().equals("type") && !e.getKey().equals("source") && !e.getKey().equals("target")) { - if (e.getKey().equals("source")) { - - } + if (!TYPE.equals(e.getKey()) && !SOURCE.equals(e.getKey()) && !TARGET.equals(e.getKey())) { props.addProperty(e.getKey(), e.getValue().getAsString()); } @@ -70,7 +71,7 @@ public class ChameleonResponseBuiler { } - public static void buildObjectRelationship(Exchange exchange, String ID){ + public static void buildObjectRelationship(Exchange exchange, String id){ //TODO: implement when chameleon supports this query } public static void buildCollection(Exchange exchange){ diff --git a/src/main/java/org/onap/aai/datarouter/service/EchoService.java b/src/main/java/org/onap/aai/datarouter/service/EchoService.java index 4ff658b..8192935 100644 --- a/src/main/java/org/onap/aai/datarouter/service/EchoService.java +++ b/src/main/java/org/onap/aai/datarouter/service/EchoService.java @@ -44,6 +44,8 @@ public class EchoService { private static Logger logger = LoggerFactory.getInstance().getLogger(EchoService.class.getName()); private static Logger auditLogger = LoggerFactory.getInstance().getAuditLogger(EchoService.class.getName()); + private static final String XFROMAPPID = "X-FromAppId"; + private static final String XTRANSACTIONID = "X-TransactionId"; @GET @Path("echo/{input}") @@ -55,15 +57,15 @@ public class EchoService { String fromAppId = ""; String transId; - if (headers.getRequestHeaders().getFirst("X-FromAppId") != null) { - fromAppId = headers.getRequestHeaders().getFirst("X-FromAppId"); + if (headers.getRequestHeaders().getFirst(XFROMAPPID) != null) { + fromAppId = headers.getRequestHeaders().getFirst(XFROMAPPID); } - if ((headers.getRequestHeaders().getFirst("X-TransactionId") == null) - || headers.getRequestHeaders().getFirst("X-TransactionId").isEmpty()) { + if ((headers.getRequestHeaders().getFirst(XTRANSACTIONID) == null) + || headers.getRequestHeaders().getFirst(XTRANSACTIONID).isEmpty()) { transId = java.util.UUID.randomUUID().toString(); } else { - transId = headers.getRequestHeaders().getFirst("X-TransactionId"); + transId = headers.getRequestHeaders().getFirst(XTRANSACTIONID); } MdcContext.initialize(transId, DataRouterConstants.DATA_ROUTER_SERVICE_NAME, "", fromAppId, @@ -83,9 +85,7 @@ public class EchoService { auditLogger.info(DataRouterMsgs.PROCESS_REST_REQUEST, new LogFields().setField(LogLine.DefinedFields.RESPONSE_CODE, status) .setField(LogLine.DefinedFields.RESPONSE_DESCRIPTION, respStatusString), - (req != null) ? req.getMethod() : "Unknown", - (req != null) ? req.getRequestURL().toString() : "Unknown", - (req != null) ? req.getRemoteHost() : "Unknown", Integer.toString(status)); + req.getMethod(), req.getRequestURL().toString(), req.getRemoteHost(), Integer.toString(status)); MDC.clear(); return "Hello, " + input + "."; diff --git a/src/main/java/org/onap/aai/datarouter/util/OxmModelLoader.java b/src/main/java/org/onap/aai/datarouter/util/OxmModelLoader.java index c9d114e..345bc48 100644 --- a/src/main/java/org/onap/aai/datarouter/util/OxmModelLoader.java +++ b/src/main/java/org/onap/aai/datarouter/util/OxmModelLoader.java @@ -24,10 +24,11 @@ import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; import java.util.ArrayList; -import java.util.Collection; import java.util.HashMap; import java.util.List; import java.util.Map; +import java.util.Collection; +import java.util.NoSuchElementException; import java.util.concurrent.ConcurrentHashMap; import java.util.regex.Matcher; import java.util.regex.Pattern; @@ -40,23 +41,20 @@ import org.eclipse.persistence.jaxb.dynamic.DynamicJAXBContext; import org.eclipse.persistence.jaxb.dynamic.DynamicJAXBContextFactory; import org.onap.aai.cl.eelf.LoggerFactory; import org.onap.aai.datarouter.logging.DataRouterMsgs; -import org.onap.aai.datarouter.util.ExternalOxmModelProcessor; import org.springframework.core.io.Resource; import org.springframework.core.io.support.PathMatchingResourcePatternResolver; import org.springframework.core.io.support.ResourcePatternResolver; public class OxmModelLoader { - private static Map<String, DynamicJAXBContext> versionContextMap = new ConcurrentHashMap<>(); + private static Map<String, DynamicJAXBContext> versionContextMap = new ConcurrentHashMap<>(); private static List<ExternalOxmModelProcessor> oxmModelProcessorRegistry = new ArrayList<>(); - final static Pattern p = Pattern.compile("aai_oxm_(.*).xml"); - - + static final Pattern p = Pattern.compile("aai_oxm_(.*).xml"); private static org.onap.aai.cl.api.Logger logger = LoggerFactory.getInstance() .getLogger(OxmModelLoader.class.getName()); - public synchronized static void loadModels() throws FileNotFoundException { + public static synchronized void loadModels() throws FileNotFoundException { ClassLoader cl = OxmModelLoader.class.getClassLoader(); ResourcePatternResolver resolver = new PathMatchingResourcePatternResolver(cl); @@ -89,9 +87,8 @@ public class OxmModelLoader { } - - private synchronized static void loadModel(String version,String resourceName,InputStream inputStream) throws JAXBException, FileNotFoundException { + private static synchronized void loadModel(String version,String resourceName,InputStream inputStream) throws JAXBException { Map<String, Object> properties = new HashMap<>(); properties.put(JAXBContextProperties.OXM_METADATA_SOURCE, inputStream); final DynamicJAXBContext jaxbContext = DynamicJAXBContextFactory @@ -105,11 +102,11 @@ public class OxmModelLoader { logger.info(DataRouterMsgs.LOADED_OXM_FILE, resourceName); } - public static DynamicJAXBContext getContextForVersion(String version) throws Exception { + public static DynamicJAXBContext getContextForVersion(String version) throws NoSuchElementException, FileNotFoundException { if (versionContextMap == null || versionContextMap.isEmpty()) { loadModels(); } else if (!versionContextMap.containsKey(version)) { - throw new Exception(Status.NOT_FOUND.toString()); + throw new NoSuchElementException(Status.NOT_FOUND.toString()); } @@ -124,7 +121,7 @@ public class OxmModelLoader { OxmModelLoader.versionContextMap = versionContextMap; } - public synchronized static void registerExternalOxmModelProcessors(Collection<ExternalOxmModelProcessor> processors) { + public static synchronized void registerExternalOxmModelProcessors(Collection<ExternalOxmModelProcessor> processors) { if(processors != null) { for(ExternalOxmModelProcessor processor : processors) { if(!oxmModelProcessorRegistry.contains(processor)) { 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 |