Skip to content
This repository has been archived by the owner on Jun 7, 2024. It is now read-only.

Add Debug logging for per issues #577

Open
wants to merge 2,712 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 250 commits
Commits
Show all changes
2712 commits
Select commit Hold shift + click to select a range
3075dce
Initial integration of Qakka into Usergrid Queue module, and implemen…
snoopdave Sep 13, 2016
f47a5f6
Changes to make Queue / Hakka tests run with fewer intermittent failu…
snoopdave Sep 14, 2016
7fdba4a
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/user…
snoopdave Sep 14, 2016
ffeadb2
Merge branch 'master' into usergrid-1318-queue
snoopdave Sep 14, 2016
fdb7c27
allow no password when creating admin users when SSO-enabled
Sep 14, 2016
ee0dda4
Still some intermittent failures in the queue module, but now able to…
snoopdave Sep 14, 2016
9947d48
Merge branch 'hotfix-20160819'
Sep 16, 2016
483ca0f
switch Qakka to using two keyspaces, the original replicated Applicat…
snoopdave Sep 16, 2016
447b60d
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/user…
snoopdave Sep 16, 2016
99dbfc2
Fixes to get all tests passing again.
snoopdave Sep 16, 2016
79c5499
Move router producer registration to CpEntityManagerFactory
snoopdave Sep 16, 2016
6f983a4
Don't include test classes in prod release
snoopdave Sep 16, 2016
832b505
Don't init queue in constructor
snoopdave Sep 16, 2016
18e4305
Changes to get Qakka using same injector as rest of Usergrid
snoopdave Sep 16, 2016
e09e749
Exclude logback-classic as it was borking our logging setup.
snoopdave Sep 17, 2016
03eb312
Adding distributedQueueManager.init() to CpEntityManagerFactry startu…
snoopdave Sep 17, 2016
a0b0f71
Update bootstrap/init logic so avoid race conditions in writing a new…
Sep 17, 2016
c08e8f0
Make ReplicatedIndexAlias serializable
snoopdave Sep 19, 2016
434e53e
Implement configurable long polling for Qakka queue gets
snoopdave Sep 20, 2016
6c204b9
Ensure local keyspace has unique name per datacenter / region.
snoopdave Sep 20, 2016
8b79fb8
Introduce maxTtl for queue message and message payload data, default …
snoopdave Sep 20, 2016
9306f12
Complete message counter and add support for getQueueDepth() in Qakka…
snoopdave Sep 21, 2016
727ff1d
When writing to queue, if in-memory queue is empty then refresh will …
snoopdave Sep 21, 2016
c08e02a
Use same timeout value as old queue implementation did
snoopdave Sep 22, 2016
00eb139
Make DatabaseQueueMessage serializable because it is sent in Akka mes…
snoopdave Sep 22, 2016
2cd8ecb
Now supports elasticsearch.queue_impl=MULTIREGION setting instead of …
snoopdave Sep 23, 2016
10ac8d0
Add new dispatcher for blocking io actors.
Sep 23, 2016
2a89d2d
Update the threshold settings.
Sep 23, 2016
50b936d
Move failure detector settings to cluster overall. Temporarily stop d…
Sep 26, 2016
027e40d
Bump akka version to 2.4.10 ( lastest current stable version)
Sep 26, 2016
33319f3
Implement better self leave for akka clustering if JVM goes down.
Sep 26, 2016
5a19ba9
Change to use proper Guice injection instead of static injector kludge.
snoopdave Sep 30, 2016
ef8899a
Fix re-index memory leak with flatmap observable and speed up re-index.
Oct 1, 2016
77d2026
Merge branch 'hotfix-20160819'
Oct 1, 2016
781b894
Fixes to get tests running consistently.
snoopdave Oct 3, 2016
4d45d1c
Fixes to get tests running consistently.
snoopdave Oct 3, 2016
85cc934
Add ability to start initial re-index seek with the UNIX timestamp. …
Oct 4, 2016
5db402d
Revert "Add ability to start initial re-index seek with the UNIX time…
Oct 4, 2016
f8c92f6
Add a utility queue to the async event service for things like re-index.
Oct 4, 2016
a4cc63f
Make sure that 2nd hop index event lands on utility queue if it was c…
Oct 4, 2016
88d429f
Improve error handling so that a failure to ack one messages does not…
snoopdave Oct 5, 2016
81233b0
Fix logic to compare timestamps, not UUIDs and to zero-out the "since…
snoopdave Oct 5, 2016
1f28e2a
Logging improvements
snoopdave Oct 5, 2016
bd5835b
Blackout my change, initializing in constructor causes Guice problems…
snoopdave Oct 5, 2016
a90a0bb
Return to using asynchronous actor for in-memory queue refresh job.
snoopdave Oct 5, 2016
fe08fa7
Ensure that injector is not used in Akka constructors to avoid "canno…
snoopdave Oct 5, 2016
d215328
Ensure that injector is not used in Akka constructors to avoid "canno…
snoopdave Oct 5, 2016
e328584
Logging improvements
snoopdave Oct 5, 2016
202d5be
Queue info REST end-point
snoopdave Oct 5, 2016
fbce160
Ensure correct keyspace names used
snoopdave Oct 5, 2016
a254ee6
Logging improvements, fix to CassandraConfig
snoopdave Oct 6, 2016
907fd0c
Logging improvements, fix to CassandraConfig
snoopdave Oct 6, 2016
3709535
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/user…
snoopdave Oct 6, 2016
71fe06f
Merge branch 'master' into usergrid-1318-queue
snoopdave Oct 6, 2016
c65f903
Merge branch 'hotfix-20160819'
Oct 6, 2016
7be8c27
Add total-time metrics, handle Ack requests via WriterRouter, use C* …
snoopdave Oct 10, 2016
5d37ed5
Formatting, debug log statements, etc.
snoopdave Oct 10, 2016
7f3b2da
Fix QueueRefresher & concurrency problem in MessageCounterSerialization.
snoopdave Oct 10, 2016
63561ee
Minor test improvements
snoopdave Oct 10, 2016
9f2863f
Use akka blocking io dispatcher in routers
snoopdave Oct 10, 2016
041109f
Another counter concurrency fix, plus test stabilization changes
snoopdave Oct 11, 2016
775257d
Fix unique values code to use GuiceActorProducer correctly.
snoopdave Oct 11, 2016
2afaa92
Use CQL batch statement for timeout operation as well.
snoopdave Oct 11, 2016
f56e1b0
Adding concurrent tests for shard and message counters.
snoopdave Oct 12, 2016
f8c3a2d
Minor refactoring, renaming and debug logging changes.
snoopdave Oct 13, 2016
a30e1a5
Configurable Password Policy and 5 supporting JUnit tests.
snoopdave Oct 19, 2016
9c5f599
Tools to remove an Admin User from an Organization using the manageme…
snoopdave Oct 20, 2016
04e49da
Merge commit 'refs/pull/560/head' of github.com:apache/usergrid
Oct 20, 2016
48d306f
Ensure the admin invited to org email is sent even when external SSO …
Oct 20, 2016
1abafe7
Add missing bad_confirmation_token.jsp
snoopdave Oct 20, 2016
cb0dc69
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/user…
snoopdave Oct 20, 2016
3dbc2e9
Merge branch 'asf-site'
snoopdave Oct 24, 2016
11ad1d7
Correcting links to keys for USERGRID-1281
snoopdave Oct 24, 2016
77ad91a
Update Cassandra and ElasticSearch versions supported & add node abou…
snoopdave Oct 24, 2016
d7c14bb
If claims cannot be parsed, fetch new JWT token
snoopdave Oct 24, 2016
f0c9d44
Add key freshness and full set of tests
snoopdave Oct 25, 2016
fe3bf56
Fix typo and unused reference
snoopdave Oct 28, 2016
8921850
Add missing bad_confirmation_token.jsp
snoopdave Oct 20, 2016
73de903
Ensure the admin invited to org email is sent even when external SSO …
Oct 20, 2016
e0eb11c
If claims cannot be parsed, fetch new JWT token
snoopdave Oct 24, 2016
efa65ac
Add key freshness and full set of tests
snoopdave Oct 25, 2016
406a742
Fix typo and unused reference
snoopdave Oct 28, 2016
7cc5c1c
Merge branch 'master' into usergrid-1318-queue
snoopdave Oct 31, 2016
1980562
Implemented queue clear (with test) and added some trace level logging
snoopdave Nov 2, 2016
1d5e407
Logging changes & import cleanups.
snoopdave Nov 3, 2016
521047c
Add timeout to shard and message counters, in addition to existing "n…
snoopdave Nov 3, 2016
522a551
Remove explicit init message and option to turn off in-memory queue c…
snoopdave Nov 3, 2016
cdc417d
Fix issue where accidental empty property for SMTP still causes authe…
Nov 5, 2016
689c450
Merge branch 'hotfix-20160819'
Nov 6, 2016
ae16458
Minor formatting, logging and changes recommended by IntelliJ
snoopdave Nov 9, 2016
5a81eb2
Rename send message methods to sendMessageToAllRegions() and sendMess…
snoopdave Nov 9, 2016
f6e6d5d
Add back support for SNS queue manager impl
snoopdave Nov 9, 2016
2a86795
Changes in message fetching logic.
snoopdave Nov 9, 2016
fc68e42
Message counter fixes
snoopdave Nov 10, 2016
78fc3fc
Base local keyspace name off of application keyspace name, plus data …
snoopdave Nov 10, 2016
b405ce8
don’t throw exception if counter does not exist yet
snoopdave Nov 10, 2016
ab26fa5
set short GC grace period to mop up tombstones quickly as there will …
snoopdave Nov 10, 2016
fb62629
Merge commit 'refs/pull/562/head' of github.com:apache/usergrid
Nov 11, 2016
8f7e079
Update datastax driver to 2.1.10
Nov 11, 2016
2108f6d
Fix typo in password policy properties.
Nov 11, 2016
c62a348
Test fixes in queue module only.
snoopdave Nov 11, 2016
d1ac184
Align legacy queue setup with Qakka
snoopdave Nov 11, 2016
1ef3920
Increase test cassandra connections per host as we test with only 1 h…
Nov 11, 2016
9192095
Revert "Increase test cassandra connections per host as we test with …
Nov 11, 2016
cd7e803
Reduce load on datastax control connection ( mostly for tests because…
Nov 11, 2016
0dc7d03
Set core and max connections to be the same for the datastax driver.
Nov 12, 2016
a8b3e79
Better tune connection pool with the datastax driver.
Nov 12, 2016
daf608e
Increase database connection pools for persistence tests.
Nov 12, 2016
84af161
Add more database connections for the tests ( single database host be…
Nov 12, 2016
2389c20
Still tweaking tests for CI environments.
Nov 12, 2016
a31fa45
Additional test adjustments to better work with CI environments.
Nov 12, 2016
b895260
Synchronize creation/connecting of datastax cluster and sessions.
Nov 12, 2016
664a2cf
Update timeout configurations.
Nov 12, 2016
ac28b8f
Fix conversion to seconds.
Nov 12, 2016
ce9d66c
Add reconnection policy.
Nov 12, 2016
b418451
Remove reuse address.
Nov 12, 2016
bb5d3f5
Add database connection closing to shutdown listener and again tweak …
Nov 14, 2016
fbd73cd
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/user…
snoopdave Nov 14, 2016
9ee4288
Optimization: don’t check that queue exists on every call
snoopdave Nov 14, 2016
58c1d09
Use one injector in tests and, at most, one Akka cluster per test class.
snoopdave Nov 15, 2016
e83b54e
Use one injector in tests and, at most, one Akka cluster per test cla…
snoopdave Nov 15, 2016
14b5fe0
Use one and only one Akka cluster for all queue tests.
snoopdave Nov 15, 2016
80369b9
See if longer waits fix tests on Jenkins.
snoopdave Nov 15, 2016
be7c2d1
Ignore QueueResource test as it may be interfering with other tests.
snoopdave Nov 15, 2016
f4dca5d
Update Elasticsearch client version to 1.7.5.
Nov 15, 2016
edbda93
Fix Core Tests.
Nov 16, 2016
6e5978b
Set the default elasticsearch cluster name via fig only.
Nov 16, 2016
e504aae
Fix cassandra properties that are used during setup and bootstrap.
Nov 17, 2016
278abd2
Make it possible to configure either LOCAL, DISTRIBUTED or DISTRIBUTE…
snoopdave Nov 18, 2016
fdd4e0b
Turn on Qakka for services and rest tests too, plus a test fix.
snoopdave Nov 18, 2016
61878c0
Fix log binding and reduce long poll timeout for tests to reduce time…
Nov 19, 2016
9b12299
For tests, ensure we clear the in memory set of queues that exist as …
Nov 19, 2016
432a8f8
Fix issue with updated LocalQueueManager creation.
Nov 19, 2016
7464167
Call clearQueueNameCache during test database schema destruction.
Nov 19, 2016
eaf3b52
Tests use a different injector, clear the queue name cache using othe…
Nov 19, 2016
dcf38be
Don’t attempt to create queue until actor system is started.
snoopdave Nov 19, 2016
0736478
In tests, schema already setup before populateDataBase is called.
Nov 19, 2016
66c1b0d
Reduce queue long polling timeout for tests.
Nov 19, 2016
6bd4a20
Add logging and wait for schema agreement in tests that drop the keys…
Nov 19, 2016
40e1c06
Use direct queries to cassandra to see if a keyspace exists vs. the d…
Nov 19, 2016
2578e93
Give CoreSchemaManager in tests the ability to force check if keyspac…
Nov 19, 2016
20c425b
Reduce retries in refreshIndex() and tone down exceptions that occur …
snoopdave Nov 19, 2016
dd46ebe
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/user…
snoopdave Nov 19, 2016
0a83ee4
Rely less on the datastax driver's metadata configuration as tests mo…
Nov 20, 2016
ad9d607
Stop using hector for schema deletion in tests and move to the datast…
Nov 20, 2016
f0ec3a9
Increase database connections for Collection module as there are a lo…
Nov 20, 2016
cae0605
Reduce long polling time in tests and switch back to database driver …
Nov 20, 2016
a77b1f4
Tune test properties.
Nov 20, 2016
a7cf58c
Further test tuning.
Nov 20, 2016
9364496
Enable Akka for all tests.
snoopdave Nov 20, 2016
229a13a
Reduce number of actors in hopes of getting collections tests passing…
snoopdave Nov 20, 2016
8587735
Standardize the collection test properties.
Nov 20, 2016
f49fe0a
Add ability to force check database schema with Tables in addition to…
Nov 20, 2016
0ada637
Add retry logic to initial session connections to the database.
Nov 20, 2016
3d60145
Clear up some potential netty dependency conflicts by widening the ra…
Nov 21, 2016
2af22a8
Make sure to create keyspaces on initialization before trying to obta…
Nov 21, 2016
8fda937
Fix more netty dependency exclusions.
Nov 21, 2016
fab971d
Increase # of database connections for collection tests.
Nov 21, 2016
cb41a0a
Additional test tuning for Collection module.
Nov 21, 2016
4584787
Services module test tuning.
Nov 21, 2016
fcd3bd7
Set smaller thread counts in tests.
Nov 21, 2016
447aaa1
More Collection test tuning.
Nov 21, 2016
ebab21e
Use defaults always for max requests per connection for datastax driver.
Nov 21, 2016
cf06b4e
Fix log4j props in Services and destroy db session before re-creating…
Nov 21, 2016
b9f39ee
Merge branch 'master' of https://github.com/snoopdave/usergrid
snoopdave Dec 8, 2016
d4c408f
Fix tools module so it compiles and builds properly.
snoopdave Dec 8, 2016
8444687
New "re-persist all entities in named list of apps" tool, plus fixes …
snoopdave Dec 9, 2016
33fe480
Add option to update each entity.
snoopdave Dec 13, 2016
cb95ce5
Fix the rarely used getConnectionTypes() method to use Graph rather t…
snoopdave Dec 13, 2016
79492c2
Fix ExportAppTest
snoopdave Dec 13, 2016
ff574d3
Fix cassandra transport frame size exceptions due to numeric overflow…
Dec 21, 2016
2f7b0ee
Merge branch 'hotfix-20160819'
Dec 21, 2016
e3ab255
Add configuration to disable unique value verification using Akka clu…
Jan 23, 2017
303661c
Add client side timestamp generator to Datastax cluster client.
Jan 23, 2017
bb5f2fb
Stop parallel execution of tests in EntityCollectionManagerIT tempora…
Jan 23, 2017
2fe81cd
Add logging to AbstractServiceNotificationIT
Jan 23, 2017
9f63dcc
Remove call to .duplicate on the BB in serialization classes and lowe…
Jan 23, 2017
2f25e9c
Set default to UniqueValue verification for UG clustering.
Jan 23, 2017
7125899
Add logging to tests.
Jan 23, 2017
cf81679
Set test timeouts higher due to schema changes taking awhile, and the…
Jan 23, 2017
7134d34
Temporarily disabling tools build from main pom as it's failing to ex…
Jan 23, 2017
8e7aff3
Revert "Temporarily disabling tools build from main pom as it's faili…
Jan 23, 2017
280ac8b
Temporarily disabling tools tests as it's failing to exit properly ca…
Jan 23, 2017
691d6b2
Make Locks keyspace creation more robust ( IF NOT EXISTS sometimes ha…
Jan 25, 2017
cf0b653
Fixes issue with organization credentials using the same cache key wh…
Feb 10, 2017
447b5b8
Enhance the elasticsearch filter so that sort predicates of known ent…
michaelarusso Feb 22, 2017
5903c3c
Always make sure FIELD_STRING_NESTED_UNANALYZED is used for known fie…
michaelarusso Feb 22, 2017
8426840
Fix condition with deciding whether or not to use the known field typ…
michaelarusso Feb 22, 2017
f8e644d
Slight refactor of visting the parsed query such that a correct deter…
michaelarusso Feb 23, 2017
a494146
[USERGRID-1336] Initial commit of a simple query analyzer feature.
michaelarusso Feb 24, 2017
f556e42
Add query analyzer condition for full collection sorts when the colle…
michaelarusso Feb 25, 2017
761aa44
Add some additional logging around flaky test setup.
michaelarusso Feb 28, 2017
104f64e
Add UTF-8 sourceEncoding, without it build fails on some platforms.
snoopdave Mar 2, 2017
f6aed13
[USERGRID-1341] Fix cache expiration type for ApplicationQueueManager…
michaelarusso Mar 21, 2017
9141f8d
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/user…
michaelarusso Mar 21, 2017
3b1b0ca
Fix issue where default passwords are not being created when not prov…
michaelarusso Mar 23, 2017
d921108
Merge commit 'refs/pull/567/head' of github.com:apache/usergrid
michaelarusso Mar 23, 2017
8917832
Fixes a handful of issues around single quotes and plus symbols in qu…
michaelarusso Mar 24, 2017
ea1ba36
Default disable the query breaker enforcement.
michaelarusso Mar 26, 2017
82e7ec5
Initial commit of export application API.
michaelarusso Mar 27, 2017
2d56d81
Batch write to the export stream and use a cleaner filename.
michaelarusso Mar 28, 2017
b37fc81
Update new ExportService to better stream out the results directly fr…
michaelarusso Mar 31, 2017
8b63aae
Fix issue where duplicate receipts were created when a notification f…
michaelarusso Mar 31, 2017
d3e988b
Switch DISTRIBUTED database queueing to default not cache in memory a…
michaelarusso Apr 2, 2017
949b465
Add new push notification test and remove duplicate index processing …
michaelarusso Apr 6, 2017
bafd462
Add a new Asset binary provider for Google Cloud Storage. Refactor th…
michaelarusso Apr 26, 2017
3f819dc
Allow name and any property set with aliasProperty to be changed.
michaelarusso May 17, 2017
5935460
dead letter queue handling
mdunker Jun 14, 2017
179f12d
Initial commit of new token module to replace Hector for access token…
michaelarusso Jun 16, 2017
146e47d
Finish convert token service persistence to Datastax. Add tests, and …
michaelarusso Jun 18, 2017
bea9a41
Fix issue where tokenInfo was not being updated with latest inactive …
michaelarusso Jun 18, 2017
9963449
Add try/catch around fetching and casting of token info from serializ…
michaelarusso Jun 19, 2017
c0ba710
Fix precondition checks and add another try/catch around the token wo…
michaelarusso Jun 19, 2017
c748242
1. Remove messages from dead letter queue if the message map entry wa…
mdunker Jun 19, 2017
d8a7e10
Remove unused import.
michaelarusso Jun 19, 2017
375814e
Merge commit 'refs/pull/573/head' of github.com:apache/usergrid
michaelarusso Jun 19, 2017
a6fee78
Fix precondition
mdunker Jun 19, 2017
f22c6c4
increase test cassandra.timeout settings
mdunker Aug 17, 2017
7d9cc89
change test collection names so no race condition conflicts
mdunker Aug 17, 2017
36e28a8
add a little more wait time
mdunker Aug 17, 2017
068263e
Add new parameter that can be used in the JSP viewables.
michaelarusso May 25, 2017
be2f69c
fix html encode in jsp
mdunker Jul 28, 2017
459163b
fix broken recaptcha
mdunker Aug 10, 2017
70de6fd
add password complexity check before submitting during reset password…
mdunker Aug 17, 2017
4b916c4
more cassandra.timeout increases for tests
mdunker Aug 17, 2017
d06dbc9
change test collection names so no race condition conflicts
mdunker Aug 17, 2017
25f1b0e
add a little more wait time
mdunker Aug 17, 2017
400365c
Basic code improvements
mdunker Aug 17, 2017
39ec4f2
test changes and additional logging
mdunker Aug 18, 2017
570e1ab
move deletes to new delete queue -- read repair will fix attempts to …
mdunker Aug 18, 2017
c201f1f
Converts de-indexing of edges and entities to identify documents in t…
michaelarusso Jul 9, 2017
3f7afcd
1. Add missing start for delete queue workers.
mdunker Aug 22, 2017
11823f2
Add ability to walk through a collection and delete all the entities,…
mdunker Aug 28, 2017
8e9eff8
Merge branch 'collectionClearJob'
mdunker Aug 28, 2017
3d3ba49
Give entity creation time to finish during collection delete test.
mdunker Aug 29, 2017
c860521
Change collection clear from PUT to POST.
mdunker Sep 1, 2017
4170295
Handle IndexMissingException when fetching the index size for an appl…
michaelarusso Sep 13, 2017
9e16e2f
Bypass check of app APM setting if APM not enabled
mdunker Sep 14, 2017
7f40d68
add missing fn reference in jsps
mdunker Sep 21, 2017
173be8a
add reset_url as field in admin confirmation email
mdunker Sep 22, 2017
9a15108
Allow submission to SNS/SQS via sync client
peterj99a Sep 27, 2017
4a65910
code review changes
peterj99a Sep 27, 2017
f4842b0
Remove orphaned collection edges with no target entity
mdunker Oct 13, 2017
1a02bb3
changes to orphaned edge code from code review
mdunker Oct 13, 2017
b93f8d4
Merge branch 'fixOrphanedEdges'
mdunker Oct 13, 2017
76e9e94
Add Debug logging for per issues
peterj99a Oct 16, 2017
433f4ef
Add more Debug logging for per issues
peterj99a Oct 17, 2017
395bdea
Fix copyright and add more Debug logging for per issues
peterj99a Oct 17, 2017
fcc209a
Increase ES search pool size to 32
peterj99a Oct 17, 2017
3ad5b10
Add more logging Revert search pool size
peterj99a Oct 18, 2017
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
17 changes: 17 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
target/ export-ignore
*.log export-ignore
.idea/ export-ignore
._* export-ignore
._*/ export-ignore
.repository/ export-ignore
.classpath export-ignore
.project export-ignore
.settings/ export-ignore
bower_compoments/ export-ignore
node_modules/ export-ignore
dist/ export-ignore
dist_cov/ export-ignore
portal/index.html</> export-ignore
portal/index-debug.html export-ignore
*.nupkg export-ignore
*.dll export-ignore
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ target
# Icon must ends with two \r.
Icon

/website/tmp

# Thumbnails
._*
Expand All @@ -32,7 +33,9 @@ Icon
.settings/
.metadata/
#Webstorm artifacts
#Webstorm/IntelliJ artifacts
.idea/
*.iml
stack/corepersistence/collection/nbactions.xml
stack/corepersistence/graph/nbactions.xml
stack/corepersistence/model/nbactions.xml
Expand All @@ -56,6 +59,7 @@ usergrid-UNIT.properties
/portal/js/templates.js
/portal/index.html
/portal/index-debug.html
/portal/dist/*
/portal/dist/usergrid-portal/
/portal/dist/appsvc-ui/
/portal/nbproject/project.properties
Expand All @@ -82,3 +86,8 @@ portal/js/templates.js
!/stack/corepersistence/common/src/test/resources/usergrid-UNIT.properties
*.iml
sdks/dotnet/samples/notifications/packages/*
/sdks/html5-javascript/node_modules/


/stack/rest_integration_tests/node_modules
/stack/rest_integration_tests/config/override.js
1 change: 1 addition & 0 deletions .usergridversion
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2.1.1-SNAPSHOT
65 changes: 65 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@

Usergrid 2.1.0
--------------------------------------------------------------------------------

Usergrid 2.1.0 is a major release of Usergrid with a completely rewritten
persistence, index and query engine based on Cassandra and ElasticSearch.
The REST API remains the same as in Usergrid 1.x but with the addition of some
new system APIs for managing the query index and data migrations.

Usergrid 2.1.0 will not work with a Usergrid 1.x database and currently
there is no migration tool for upgrading a 1.x system to 2.1.


Usergrid 1.0.2
--------------------------------------------------------------------------------

Usergrid 1.0.2 is a minor release with bug fixes and small improvements.
Here are the highlights:

Bugs fixed

* S3 upload fails on OpenJDK and Java 8 (fixed by JClouds upgrade)
* Asset data deleted when connection to Asset deleted
* Portal stores app password as clear-text

Improvements

* Cassandra key-space names are now configurable

New features

* ExportAdmins: a new tool to export Admin Users, credentials and organizations
* ImportAdmins: a new tool to import Admin Users, credentials and organizations
* Central SSO: Usergrid-Usergrid SSO via new /management/externaltoken end-point

Here's the full list of JIRA issues resolved:
https://issues.apache.org/jira/issues/?jql=project%3Dusergrid%20and%20fixVersion%3D1.0.2


Usergrid 1.0.1
--------------------------------------------------------------------------------

Except for our shiny new PHP5 SDK, Usergrid 1.0.1 is mostly a bug fix release.
Here are the highlights:

* New PHP5 SDK - new SDK is a Guzzle Web service descriptor so any Usergrid API
calls can be added with ease.

* Original PHP SDK - added URL endpoint update functionality.

* Node.js SDK - Bug fix: calcTimeDiff changed to return seconds correctly
* Node.js SDK - Bug fix: getOnExist was sending wrong data value to server.

* Android SDK Updated from Apigee source. Numerous bug fixes and enhancements.

* Docs moved to readthedocs.org: http://usergrid.readthedocs.org/en/latest/.

* Admin portal - Changed default config to point to localhost.
* Admin portal - Build now created as zip file during build process.

* Stack - Bug fix: Launcher now works, uses Admin portal hosted on ASF Infra.
* Stack - Bug fix: reset password will now work with or without reCaptcha keys.
* Stack - Build now works with latest versions of Maven.
* Stack - Build now supports property for configurable argline parameters.
* Stack - Build now sets java.awt.headless to prevent forkedbooter popups.
9 changes: 0 additions & 9 deletions DISCLAIMER

This file was deleted.

68 changes: 52 additions & 16 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@

Apache Usergrid itself is licensed under the terms of the Apache License:

Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
Expand Down Expand Up @@ -201,6 +203,7 @@
See the License for the specific language governing permissions and
limitations under the License.

------------------------------------------------------------------------------

USERGRID SUBCOMPONENTS

Expand All @@ -213,7 +216,7 @@ IOS SDK
-------
For the SBJson component:

Copyright (C) 2009-2011 Stig Brautaset. All rights reserved.
Copyright (c) Stig Brautaset. All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
Expand All @@ -240,10 +243,10 @@ For the SBJson component:
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.


For the SSKeychain component:
-----------------------------

Copyright (c) 2010-2014 Sam Soffes, http://soff.es
Copyright (c) Sam Soffes, http://soff.es

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
Expand All @@ -264,28 +267,61 @@ For the SSKeychain component:
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

This product includes software developed at
The Apache Software Foundation (http://www.apache.org/).
Other components:
-----------------

This product bundles angular.js
Copyright(c) Google, Inc. Released under the MIT license.

This product bundles angular-scenario.js, part of jQuery JavaScript Library
which Includes Sizzle.js Copyright (c) jQuery Foundation, Inc. and others.
Released under the MIT license.

This product bundles Bootstrap Copyright (c) Twitter, Inc
Licensed under the MIT license.

The product bundles Intro.js (MIT licensed)
Copyright (c) usabli.ca - A weekend project by Afshin Mehrabani (@afshinmeh)

This product bundles jQuery
Licensed under MIT license.

This product bundles jQuery-UI
Licensed under MIT license.

This product bundles jQuery Sparklines (New BSD License)
Copyright (c) Splunk Inc.

This product bundles Mocha.
All rights reserved. Licensed under MIT.
Copyright (c) TJ Holowaychuk <[email protected]>

This product bundles NewtonSoft.Json under MIT license

This product bundles NPM MD5 (BSD-3 licensed)
Copyright (c) Paul Vorbach and Copyright (C), Jeff Mott.

This product bundles NSubsttute under BSD license

This product bundles SBJson, which is available under a "3-clause BSD" license.
For details, see sdks/ios/UGAPI/SBJson/ .

This product bundles Sphinx under BSD license

This product bundles SSKeychain, which is available under a "MIT/X11" license.
For details, see sdks/ios/UGAPI/SSKeychain/.

This product bundles angular-senario.js, part of jQuery JavaScript Library v1.10.2
which Includes Sizzle.js Copyright 2005, 2013 jQuery Foundation, Inc. and
other contributors. Released under the MIT license.
This product bundles SSToolkit.
Copyright (c) Sam Soffes. All rights reserved.
These files can be located within the /sdks/ios package.

This product bundles Entypo, CC by SA license

This product bundles angular.js, specifically AngularJS v1.2.5 (c) 2010-2014
Google, Inc. Released under the MIT license.
This product bundles date.min.js, MIT license

This product bundles Bootstrap v2.3.2 Copyright 2012 Twitter, Inc
Licensed under the Apache License v2.0
This product bundles jquery.ui.timepicker.min.js, MIT license

This product bundles jquery-ui-1.8.9. Licensed under MIT license.
This product bundles blanket_mocha.min.js, MIT license

This product bundles jquery-1.9.1 Licensed under MIT license.
This product bundles FontAwesome, SIL Open Font License

This product bundles mocha. All rights reserved. Licensed under MIT.
Copyright (c) 2011-2014 TJ Holowaychuk <[email protected]>
9 changes: 4 additions & 5 deletions NOTICE
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
Apache Usergrid_
Copyright 2014 The Apache Software Foundation.
Apache Usergrid
Copyright 2015 The Apache Software Foundation.

This product bundles SSToolkit Copyright (c) 2009-2011 Sam Soffes. All rights reserved.
These files can be located within the /sdks/ios package.

This product includes software developed at
The Apache Software Foundation (http://www.apache.org/).
13 changes: 13 additions & 0 deletions README-Docs.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Apache Usergrid Website and Docs
================================

Usergrid docs and website can be found in these directories:

* __website__: This is the source for the website, it is written in Markdown and uses Pandoc to generate HTML.
* __docs__: This is the source for the documentation, it is written in Markdown and uses Sphinx to generate HTML.
* __contents__: This is the target directory for our website and docs generation tools.

Refer to the README files in the __website__ and __docs__ directories for instructions on how to add and modify
the website and docs, how to run the generators and how to ensure that the __contents__ directory gets published
to __usergrid.apache.org__.

24 changes: 10 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,32 +1,28 @@
Apache Usergrid
===============


__WARNING__: This is the __two-dot-o__ branch and work is underway here on a new persistence system for Usergrid. Not everything is working in this branch. If you want stability, you should be working against the master branch or a tag. We refer to the new persistence system as Core Persistence and you can find its modules in the stack/corepersistence directory.


Overview
--------

**Apache Usergrid is a multi-tenant Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs. It is [currently incubating at the Apache Software Foundation](http://usergrid.incubator.apache.org/).**
**Usergrid is a multi-tenant Backend-as-a-Service stack for web & mobile apps, based on RESTful APIs.**

##Contributing
We accept all contributions via our GitHub, so you can fork our repo (apache/incubator-usergrid) and then submit a PR back to us for approval. For larger PRs you'll need to have an ICLA form on file with Apache. For more information see our [Contribution Workflow Policy](https://cwiki.apache.org/confluence/display/usergrid/Usergrid+Contribution+Workflow), and specifically our [External Contributors Guide](https://cwiki.apache.org/confluence/display/usergrid/Usergrid+External+Contributors+Guide).
## Contributing

##Build awesome apps with Usergrid!
We accept all contributions via our GitHub, so you can fork our repo (apache/usergrid) and then submit a PR back to us for approval. For larger PRs you'll need to have an ICLA form on file with Apache. For more information see [How to Contribute Code & Docs](http://usergrid.apache.org/docs/reference/contribute-code.html).

Apache Usergrid provides all code necessary to build and power modern mobile applications. This includes the the server stack, administrative portal website, SDKs in most popular languages, as well as command line tools.
## Build awesome apps with Usergrid!

Look for much more detailed README files in their corresponding subdirectories, or check out [our website](http://usergrid.incubator.apache.org/) for more info.
Apache Usergrid provides all code necessary to build and power modern mobile applications. This includes the server stack, administrative portal website, SDKs in most popular languages, as well as command line tools.

* The server-side stack, a Java 7 + Cassandra codebase that powers all of the features, is located under [`/stack`](stack). You can install dependencies and compile it with maven. See [stack/README.md](stack#requirements) for instructions.
* The server-side stack, a Java 8 + Cassandra + ElasticSearch codebase that powers all of the features, is located under [`/stack`](stack). You can install dependencies and compile it with maven. See [stack/README.md](stack#requirements) for instructions.

* The admin portal is a pure HTML5+JavaScript app allowing you to register developers and let them manage their apps in a multi-tenant cluster. Located under [`/portal`](portal)

* SDKs for [iOS](sdks/ios), [Android](sdks/android), [HTML5/JavaScript](sdks/html5-javascript), [node.js](sdks/nodejs), [Ruby on Rails](ruby-on-rails), [pure Ruby](sdks/ruby), [PHP](sdks/php), (server-side) [Java](sdks/java), [.Net / Windows](sdks/dotnet), and [Perl](sdks/perl), located in their respective subdirectories under [`/sdks`](sdks).
* SDKs for [Swift](https://github.com/apache/usergrid-swift), [Android](https://github.com/apache/usergrid-android), [HTML5/JavaScript](https://github.com/apache/usergrid-javascript), [node.js](https://github.com/apache/usergrid-nodejs), [Java](https://github.com/apache/usergrid-java), [.Net / Windows](https://github.com/apache/usergrid-dotnet), and [Python](https://github.com/apache/usergrid-python).

* a command-line client “ugc” allowing you to complete most maintenance tasks, as well as queries in a manner similar to the mysql or the mongo shell, located under [`/ugc`](ugc). You can install it on your machine with a simple `sudo gem install ugc`

##For more information
See the [Apache Usergrid web site](http://usergrid.incubator.apache.org/).
## For more information

See the Apache Usergrid [web site](http://usergrid.apache.org) and [documentation](http://usergrid.apache.org).

15 changes: 15 additions & 0 deletions build.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.086 s
[INFO] Finished at: 2016-09-30T07:54:28-04:00
[INFO] Final Memory: 46M/6710M
[INFO] ------------------------------------------------------------------------
[ERROR] The goal you specified requires a project to execute but there is no POM in this directory (/Users/ApigeeCorporation/src/usergrid-snoopdave). Please verify you invoked Maven from the correct directory. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MissingProjectException
7 changes: 7 additions & 0 deletions content/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Generated Website and Docs Content

__DO NOT EDIT FILES IN THIS DIRECTORY__

The files here were generated by tools in the ``/docs`` and ``/website`` directories.

See the README files there for information about updating the docs and website.
9 changes: 9 additions & 0 deletions content/bootstrap/bootstrap.min.css

Large diffs are not rendered by default.

Loading