Commit graph

98 commits

Author SHA1 Message Date
Brad Gonzales
b2b352a5ae Issue #2636 fixes for the scheduling gaps in the middle of subscription schedules.
Amend: Added max checks to prevent negative bucket sizes in RetrievalPlan remove methods.  Wrapped debug logging in is debug on checks.

Change-Id: I5ab6d3c103e82bf2b1aa0eaf167f0993e5778c90

Former-commit-id: 3db5d79b914436b8d0feed600fc586d7d3884706
2013-12-17 11:57:06 -06:00
Brad Gonzales
d0ae47d053 Issue #2635 Remove unneeded retrieval plan plan for sbn data on the wfo.
Change-Id: Icb4ce20d0fa5c8bfc8af90020bbdcade0c396168

Former-commit-id: f4c1739687685a22847a09490724e84825032146
2013-12-17 09:43:12 -06:00
Mike Duff
eb591030d8 Issue #2545 - Prevent negatvie values in the BandwidthBucket's current size
Former-commit-id: f68aaea220b8ad7dcc886bb3bdeab362b977061e
2013-12-13 16:03:36 -06:00
Brad Gonzales
96dc3b65b1 Issue #2566 Update BandwidthGraphDataAdaptor to handle case when there are no reservations.
Change-Id: Ie9eb7e3e1a5bc8ac4a8ccf9532686d97f584bf1c

Former-commit-id: 14171c13dd5f127df0b90a5db9a9e11b301ffc5f
2013-12-11 17:06:41 -06:00
Brad Gonzales
cfa7128be2 Issue #2566 fix bandwidthmanager spring file resource resolution.
Change-Id: I533b39782454083411c65c3a1f721ca26a0d9731

Former-commit-id: c12676830e66cf8e18f10e835c0f95e25074d992
2013-12-11 11:19:40 -06:00
Brad Gonzales
72df38075f Issue #2566 Refactored BandwidthManagerCreators to load spring files using Executor.extractSpringFiles.
Amend: Refactored Executor static modes specific methods into a EDEXModesUtil class in
       the edex.core.modes package.  Move EdexMode, DefaultEdexMode, and EdexModesContainer
       to the same package.

Change-Id: Ib6af9557ca8d875c5eff162b46bf56e2c041e0fb

Former-commit-id: 76a844ed3158bcc80dc0d4b751cad83d39fcbbc4
2013-12-05 15:17:14 -06:00
Mike Duff
0c452e2434 Issue #2545 - Get bandwidth graph data by network
Change-Id: I4de455a4da43f180ff37eb72370addec77a29314

Former-commit-id: 9102f16c8a6409e92ded498b82a6a4e6a531f2c0
2013-12-05 13:35:31 -06:00
Dave Hladky
593f24023d Issue #1736 Add registry bandwidth tracking
Change-Id: Ic8b2a845095482aa117289c3fd68cd20b1bb87e6

Former-commit-id: 695365c03ac142960a22e6774f3a10fd5e16cd35
2013-12-04 11:58:49 -06:00
Brad Gonzales
d2cfc5986a Issue #2448 Fixed problem that set subscription start time to first cycle time.
Fixed problem that set subscription end time to end of day.

Change-Id: Icccdbe4e38581f5194f6fde8d52f280d1a456a65

Former-commit-id: d8040be0d01c11fc7bfafe40a7afe509ba372ea0
2013-11-20 15:49:27 -06:00
Brad Gonzales
95a1914c71 Issue #2545 Renamed datadelivery edex impl files to facilitate modes exclusion. Added
monilithic impl config file for a registry that runs as an ncf and wfo for devRegistry mode.  Added empty site and
shared and local subscription handlers to enable the FindSubscriptionHandler bean to be configured through spring.
Fix for re-routing Insert and Update registry events as data set metadata events which was lost when the registry
was configured to distinguish between insert and update events.  Moved subscriptionRoutesToSchedule bean (and other
beans specific to an implementation) to the ncf, wfo, and monolithic edex impl spring files.  Removed the wfo and
ncf specific code from HibernateBandwidthInitializer.executeAfterRegistryInit() since the customized subscription
handlers will be injected through spring.  Removed the SBN route from wfo mode.

Amend: Comment updates from peer review.

Change-Id: Ic4c0dca8ebf1e86537e46a6231af58bb65c83cf8

Former-commit-id: c245f741b9e78d8e4503698336d9929536e72e0d
2013-11-20 11:58:33 -06:00
Brad Gonzales
53d4de12d9 Issue #2545 EdexBandwidthManager check for subsription event types before sending notifications.
Added missing comma to com.raytheon.edex.plugin.text.

Change-Id: Ifc970d31d8f2db29dc5a4749967cdedad84b6162

Former-commit-id: f570f6fcd64a96b7c61eecdfae6a765ec643e718
2013-11-15 08:00:47 -06:00
Richard Peter
f12839a9e5 Merge "Issue #2506 BandwidthManagers now sends notifications for Subscription/BandwidthSubscription creates and deletes." into development
Former-commit-id: 116b4409d4657b5dba8c9e3e52e2198661cb9691
2013-11-12 13:47:04 -06:00
Nate Jensen
64aa00bad6 Merge "Issue #2448 fix scheduling for start/stop of subscription." into development
Former-commit-id: 12c5fff1cc460acc0f800edf0597a5b7aecb5cbb
2013-11-12 12:46:38 -06:00
Brad Gonzales
aea0e847aa Issue #2506 BandwidthManagers now sends notifications for Subscription/BandwidthSubscription creates and deletes.
Amend: Separate update from create notifications in LifecycleManagerImpl.
       Refactored notification sending in EdexBandwidthManager.
       Fixed error in LifecycleManagerImpl refactor.
       Added comment to isRecurringSubscription.

Change-Id: Idc9e8544b156fed40d6aed41511c07138f302f77

Former-commit-id: 7684f7bd51770a41e68700f1d4408a6aad5cd877
2013-11-12 12:42:16 -06:00
Dave Hladky
976eece1b1 Issue #2448 fix scheduling for start/stop of subscription.
Former-commit-id: de110d3747096601a122f64cc5d6037823213e92
2013-11-12 10:58:50 -06:00
Brad Gonzales
ff5edde334 Issue #2506 Added subscription notification service to bandwidth manager.
Change-Id: I3aad52887532f9a16dd6ea396458803890916d92

Former-commit-id: 2466ae66d5a3acb6b5c5f5be482db30d3b3653bd
2013-11-12 10:50:06 -06:00
Brad Gonzales
e2fb158757 Issue #2506 fixed issues with shared distributed ingest.
Amend: Updated comment in StoreRetrievedData.
       Removed separate messageing to clear BandwidthSubscriptions.
       Add fix and test case for SBN deserialization with content following the ending xml tag.
       Removed unneeded changes.
       Added XmlWMOMessage class.

Change-Id: Iadef7070a42a10661ba9316a4900a071820296fd

Former-commit-id: 0b667fbd94788a8a5b598ae5f5586d4b710518a4
2013-11-08 15:29:05 -06:00
Dave Hladky
ef1efac63c Issue #2521 DatasetMetaData URL update failure for point data.
Change-Id: I3421bb6acdc3f44ef7341279c0b253acea2e59ea

Former-commit-id: 4821b94172554f98496a59f0d688a3edb5a43a63
2013-11-05 15:19:42 -06:00
Dave Hladky
9161962813 Issue #2448 Fixed retrievals before activePeriod begins and after activePeriod expires.
Change-Id: I75269bad24731990720d30683ebf5f27344661f3

Former-commit-id: 060e719f27c20f24bae9a5603cc51d90434b8fa4
2013-11-01 08:23:16 -05:00
Benjamin Phillippe
0905d6ffdd Issue #2385 Fixed subscription backup web service. Restored subscriptions are now scheduled in the bandwidth manager
Change-Id: I7e0e98517ff7d2213957004c6a94e38cf7063cce

Former-commit-id: 40fec1c49a0a4aa2ecb4afdf4cf225e6359efd28
2013-10-24 11:51:11 -05:00
Brad Gonzales
eb7a1ebf62 Issue #2267 Reverted HibernateBandwidthInitializer to check for local only.
Change-Id: If51cad02663bf584f90588c8586c2215340fc1e4

Former-commit-id: 1b9ac343acea0eb70cada015e6af257058217f36
2013-10-16 17:03:17 -05:00
Brad Gonzales
bc87f2a168 Issue #1797 Refactored registry Time objects to simplify serialization issues.
Amend: Removed OpenDAPRetrievalGenerator.java from the review.
       Fix GriddedTime addCycles when cycles are empty.

Change-Id: I9fa27178e5f59252cb872314493256be7f038890

Former-commit-id: a01619f78bac065e7d42e28882157778aba09b75
2013-10-11 10:36:53 -05:00
Brad Gonzales
a6540d69ea Issue #2267 Shared Subscription fixes. DataDelivery Port environment standardization. Logging updates.
Amend: Refactored WMO header applier.
       Fixes for WMO header applier.
       Updated dataDeliveryRetrieval.xml with correct wmo header pattern.
       Removed manual ingest from registry mode.
       Simplified data delivery distribution matching pattern.
       Added serialize test for wfs response.
       Updated comments.
       Moved WfsRetrievalResponse to com.raytheon.uf.edex.datadelivery.retrieval package.
       Added WfsRetrievalResponse to Jaxb unmarshalable classes in DeserializeRetrievedDataFromIngest.
       HibernateBandwidthInitializer.executeAfterRegistryInit(), in NCF mode schedules shared subs.

Change-Id: I0278339701f5f55491120c35d80cbd6d3dcc84f7

Former-commit-id: 8bf8efa14520aaba532ca7a2e82e4c1fa24adca8
2013-10-07 17:06:38 -05:00
Dave Hladky
1733834e74 Issue #1797 Separation of gridded time and abstract time object
Change-Id: I9d84942140e52ec0fded1a9150d7016dec8eaf63

Former-commit-id: cdf2b6dd5a5b4a12cf12e6d4d254b5e40acfcef5
2013-10-04 10:36:27 -05:00
Brad Gonzales
fd8be3f23f Issue #2397 Added Bandwidth Bucket usage information to BandwidthGraphData.
Change-Id: I13a859ebc341ad9d1aaf9a31e94cf4783df761ce

Former-commit-id: c7389871fca42adf4cb3ec1c37e0fdffd56f2a43
2013-09-23 12:45:13 -05:00
Brad Gonzales
d597d7f653 Issue #2383 Updates to fix issues with adhoc point queries and bandwith manager tests.
Amend:  Reverted BandwidthDaoUtil.setAdhocMostRecentUrlAndTime to Dave's fixes, with one
        minor change.  Added additional handling to start and end bucket calculation in
        InMemoryBandwidthBucketDao.  Addtional logging.  Removed exception logging of
        subscriptions.

Change-Id: Ie51c0accd7f39d31379e49e97542bae75bde5a1c

Former-commit-id: 148cc6d96ed17127590827d166325c4748384689
2013-09-19 12:54:31 -05:00
Brad Gonzales
1ad0ba6683 Issue #2267 added development sbn simulator mode. Dave's fix for no subscription retrieval attributes found.
Amend: Added header comment to EdexBandwidthManager.

Change-Id: I1004032722324e99959ad9926c232d02eef70c88

Former-commit-id: 1ac607288b92f3d6a317f849103f1a9bc16b9abc
2013-09-18 16:26:16 -05:00
Nate Jensen
98c4525dab Merge "Issue #2351 Fixed bugs in Bandwidth and adhoc pointdata flow Change-Id: I6510f8bd685033627b4cdfa53c6269aeee21a4d6" into dd_pre_release_2.1
Former-commit-id: 9cbd8325e0225e1523e0cba20c3c08ded3beb32c
2013-09-11 14:57:28 -05:00
Dave Hladky
32492e2fc7 Issue #2351 Fixed bugs in Bandwidth and adhoc pointdata flow
Change-Id: I6510f8bd685033627b4cdfa53c6269aeee21a4d6

Former-commit-id: 5013a3b61bcc0a1533211e047d780e5a7ecacb08
2013-09-11 13:28:51 -05:00
Brad Gonzales
d0ccc11f58 Issue #2344 Fixed HibernateBandwidthInitializerTest.
Amend: Removed officeID change to BaseSubscriptionFixture.

Change-Id: Ib3065684aa88cdcde000239d9202d5d43259f43e

Former-commit-id: 69b7fc7281a4cc266b7e6ca6f0adff00b3658957
2013-09-09 13:11:18 -05:00
Brad Gonzales
55e6411e90 Issue #2330 On WFO registry init, only subscribe to local site subscriptions.
Change-Id: I12ef14dd428cd67b377931a3dd31c7804463baeb

Former-commit-id: a30219ac3bcabcda68370294e6d75fbac6e7ce5e
2013-09-05 16:30:15 -05:00
Mike Duff
a6d5ff3e2c Issue #2290 - fix subscription status
Change-Id: I93ca6074af9eeec1b2cda9145418daa569817d10

Former-commit-id: f2cd68bf1a7a21ed7d21d2c0f81ea54cca9a55dd
2013-08-28 16:08:05 -05:00
Brad Gonzales
64c6e5abff Issue #1654 added Adhoc and SubscriptionRequestEvent. Added AdhocDataRetrievalEvent.
Amend: Added constructor to RegistryStatisticsEvent that takes a count parameter
       and other recommendations from peer review.  Removed count attribute
       from RegistryStatisticsEvent.  Changed construction of SubsriptionRequestEvents
       to set numRecords attribute.

Change-Id: Ib7595b9098299aedeae9db0ca02250551848c3e2

Former-commit-id: 818688266a32feec2081f0c6e74a37e431df9435
2013-08-15 09:35:10 -05:00
Richard Peter
8ba840f1d9 Issue #2170: Initial plugin rename for notification framework
Change-Id: I3414d802e419433dcd6918422a12ce7105ae8b13

Former-commit-id: 8a8eff74685abb8a709480fa33f2c56dd7923ab9
2013-07-26 14:36:46 -05:00
Richard Peter
c6386e306f Merge branch 'omaha_13.5.1' (13.5.1-7) into development
Conflicts:
	cave/com.raytheon.uf.viz.datadelivery/src/com/raytheon/uf/viz/datadelivery/subscription/subset/GriddedSubsetManagerDlg.java
	cave/com.raytheon.viz.hydro/src/com/raytheon/viz/hydro/timeseries/TimeSeriesAction.java
	cave/com.raytheon.viz.mpe.ui/src/com/raytheon/viz/mpe/ui/rsc/MPEFieldResource.java
	cave/com.raytheon.viz.satellite/src/com/raytheon/viz/satellite/rsc/SatResource.java
	edexOsgi/com.raytheon.uf.common.pointdata/src/com/raytheon/uf/common/pointdata/spatial/SurfaceObsLocation.java
	edexOsgi/com.raytheon.uf.edex.datadelivery.bandwidth/src/com/raytheon/uf/edex/datadelivery/bandwidth/BandwidthManager.java
	ncep/gov.noaa.nws.ncep.viz.customProjection/META-INF/MANIFEST.MF
	rpms/awips2.cave/deploy.builder/build.sh

Former-commit-id: 293586df88f53c2ddf6f7586bf71719298728022
2013-07-22 09:40:18 -05:00
Richard Peter
68e565fdd9 Merge "Issue #1653 - Add a subscription summary" into development
Former-commit-id: 74351187e3b7061ecfdfd040ff88b81823055889
2013-07-21 22:04:02 -05:00
Dave Hladky
e9b3030a6f Issue #2209 Fixed un-serialized subscription in BandwidthManager
Change-Id: I7fd734cf360a55ab3d8f5869963dc50dd7d4f5a4

Former-commit-id: 4107e8c2ab354d3bfb59b9c633cbd55bc0810066
2013-07-19 10:08:09 -05:00
Mike Duff
d5ef7f056f Issue #1653 - Add a subscription summary
Change-Id: I677ae6d472a4de5bd8905650b2e13ffc1e2af149

Former-commit-id: d64a7895e08df47feedfb95edec033d0c87384c1
2013-07-18 14:53:10 -05:00
Dustin Johnson
5f38365571 Issue #2106 Create SubscriptionRetrievalAttributes to only load Subscription objects when required
Amend: Peer review comments, also fixed bug where subscriptions weren't being loaded on changing bandwidth

Change-Id: I8b5a122b0434d54dcfcbff9df6283edad68d7eb1

Former-commit-id: 4da045d4c13a7d14cdbea3269409f2020e0c78f1
2013-07-12 09:01:05 -05:00
Dustin Johnson
ec2ddd13b1 Issue #2106 Improve BandwidthManager performance, proposed changes are checked much quicker
Change-Id: I3a61de1904d7256de04a97f40f38bf18d78b1438

Former-commit-id: 59eafdd07754e3711e9c3babd946dfd18c161404
2013-07-10 15:59:36 -05:00
Dustin Johnson
9f6bd8b32b Issue #2038 Correct unregisterFromBandwidthEventBus() to actually do it
Change-Id: Ic82c974dcf354d9fb871b1b2f81cea52e2502fe8

Former-commit-id: 198c9895608d22b3e3a616f2812628be32da514b
2013-07-09 14:55:22 -05:00
Dustin Johnson
a6575c3235 Issue #2106 Improve BandwidthManager performance
- Use copy constructors
- Separate BandwidthBucket handling into a DAO
- Preparations to remove all in-memory object handling

Amend: Copy more calendar and byte array objects

Change-Id: I72f4813c0780586585409a9a64c7915adc1ccbae

Former-commit-id: e11242447c3c93f403cd546df4315381486e465c
2013-07-08 10:22:30 -05:00
Dustin Johnson
69c09e530f Issue #2106 Fix transactional semantics
- No longer continuously suspend/resume transactions caused by invoking static methods
- Mark registry top-level query/store classes as requiring existing transactions
- Invoke registry initialized listeners in their own transaction
- Data changes denoted by registry events are now visible when the transaction commits

Change-Id: Ic78cbf00afc93aa5fcf1357000ea6c8b5e32cea9

Former-commit-id: 8d1a47446927a3c6646fa0748d7096afb376b952
2013-06-25 08:33:55 -05:00
Richard Peter
b007d4a302 Merge branch 'omaha_13.5.1' (omaha_13.5.1-3) into development
Conflicts:
	edexOsgi/com.raytheon.uf.edex.datadelivery.bandwidth/src/com/raytheon/uf/edex/datadelivery/bandwidth/BandwidthManager.java

Change-Id: Idbf62886d6dbb4a4feeedb6ac17e8978cad2d59c

Former-commit-id: 98e25be1049113faf4b2cde1eea38ce7e432b6de
2013-06-24 18:51:56 -05:00
Dustin Johnson
a331cd2958 Issue #1802 Fix event processing in regards to transaction commits/rollbacks
Change-Id: If5988d96b7e7382e04879ca6126a61237d70bd22

Former-commit-id: 25398fcce99b15d3fda71cad34f39222e30458dd
2013-06-20 13:53:04 -05:00
Nate Jensen
c4283b0336 Issue #1989 make camel stacktraces not get bunched up on a single line, consolidate log component settings to edex.xml
Change-Id: I58f5081a0c4e55b1b4d47f2d9eecdea6152c86e6

Former-commit-id: 65a84967aa3afcef1f287fb769fd80f9dbf25349
2013-06-19 10:16:06 -05:00
Dave Hladky
6110467a30 Issue #2120 Updates to retrieval to fix time processing
Change-Id: Ibedb988bb4b3806c037f5c8c1363f8233cf7cf2b

Former-commit-id: 5686d945729c28407e16625548050937158f9c65
2013-06-19 08:35:50 -05:00
Dustin Johnson
8500856bc1 Issue #2106 Speed up Bandwidth Manager subscription scheduling
Change-Id: Iafceeb64a2b56c562ca737ba083ec3225524f7ba

Former-commit-id: 693bfd77ddc216e658f6e1e4a38f48a2df1fe3bf
2013-06-14 09:25:48 -05:00
Dustin Johnson
c677ae32d7 Issue #2038 Add support for point data type subscriptions to BandwidthManager
Amend: Peer review comments, improve time considerations for Point subscriptions

Change-Id: I9dde7f7da9dab9c8f3163a87b1ebe64303fc7dc2

Former-commit-id: f7ed3ec86188635eb069878ac490af06ea98e4a2
2013-06-10 11:37:37 -05:00
Mike Duff
12e5155edc Issue #2064 - Add ability to subscribe to observational point data (MADIS)
Change-Id: I298af2d50ec972ab4e728c7aa5d41c0a757d39fa

Former-commit-id: 9142ab024fb870b6c9fa18d42d42ae869c4ec58c
2013-06-05 12:06:58 -05:00