diff --git a/gtas-parent/gtas-commons/src/main/resources/commonservices.properties b/gtas-parent/gtas-commons/src/main/resources/commonservices.properties index 30ebd584cd..0356d2b37d 100644 --- a/gtas-parent/gtas-commons/src/main/resources/commonservices.properties +++ b/gtas-parent/gtas-commons/src/main/resources/commonservices.properties @@ -2,4 +2,54 @@ entitymanager.packages.to.scan=gov.gtas neo4jusername=username neo4jpassword=password -neo4jEnabled=false \ No newline at end of file +neo4jEnabled=false +##################### MessageLoader ##################### + +inputType=two_dirs + +message.dir.origin=C:\\MESSAGE +message.dir.processed=C:\\MESSAGEOLD + +loader.fixedDelay.in.milliseconds=5000 +loader.initialDelay.in.milliseconds=2000 + +sqs.loader.fixedDelay.in.milliseconds=1000 +sqs.loader.initialDelay.in.milliseconds=1000 +sqs.loader.enabled=false +sqs.loader.region= +##### uncomment the line below and provide the queue URL .... DO NOT PUSH THE URL TO GITHUB #### +# sqs.loader.queue= + +loader.isRunning=false + +maxNumofFiles=5 + +###JMS### +inbound.loader.jms.queue=GTAS_INBOUND_Q_REDIS +outbound.loader.jms.queue=GTAS_LOADER_Q +######### +### REDIS ### +redis.connection.string=redis://0.0.0.0:6379 +############# + + +##### Passenger ID Tag and BookingDetail Scheduler settings #### + +cleanup.fixedDelay.in.milliseconds=5000 +cleanup.initialDelay.in.milliseconds=2000 + +######### + +##### Data Management Scheduler settings #### + +datamanagement.fixedDelay.in.milliseconds=180 +datamanagement.initialDelay.in.milliseconds=20 + +######### + +##################### RuleRunner ##################### + +ruleRunner.fixedDelay.in.milliseconds=5000 +ruleRunner.initialDelay.in.milliseconds=2000 + +ruleRunner.isRunning=false diff --git a/gtas-parent/gtas-job-scheduler-war/src/main/java/gov/gtas/job/config/JobSchedulerConfig.java b/gtas-parent/gtas-job-scheduler-war/src/main/java/gov/gtas/job/config/JobSchedulerConfig.java index 502a33e0f8..b2d95f2248 100644 --- a/gtas-parent/gtas-job-scheduler-war/src/main/java/gov/gtas/job/config/JobSchedulerConfig.java +++ b/gtas-parent/gtas-job-scheduler-war/src/main/java/gov/gtas/job/config/JobSchedulerConfig.java @@ -22,9 +22,8 @@ @Configuration @EnableScheduling @ComponentScan("gov.gtas.job.scheduler") -@PropertySource("classpath:jobScheduler.properties") +@PropertySource("classpath:commonservices.properties") @PropertySource("classpath:dashboardJobScheduler.properties") -@PropertySource("classpath:singleNodeConfig.json") @PropertySource(value = "file:${catalina.home}/conf/application.properties", ignoreResourceNotFound = true) public class JobSchedulerConfig implements SchedulingConfigurer { diff --git a/gtas-parent/gtas-job-scheduler-war/src/main/resources/jobScheduler.properties b/gtas-parent/gtas-job-scheduler-war/src/main/resources/jobScheduler.properties deleted file mode 100644 index eb7478a8e9..0000000000 --- a/gtas-parent/gtas-job-scheduler-war/src/main/resources/jobScheduler.properties +++ /dev/null @@ -1,50 +0,0 @@ -##################### MessageLoader ##################### - -inputType=two_dirs - -message.dir.origin=C:\\MESSAGE -message.dir.processed=C:\\MESSAGEOLD - -loader.fixedDelay.in.milliseconds=5000 -loader.initialDelay.in.milliseconds=2000 - -sqs.loader.fixedDelay.in.milliseconds=1000 -sqs.loader.initialDelay.in.milliseconds=1000 -sqs.loader.enabled=false -sqs.loader.region= -##### uncomment the line below and provide the queue URL .... DO NOT PUSH THE URL TO GITHUB #### -# sqs.loader.queue= - -loader.isRunning=false - -maxNumofFiles=5 - -###JMS### -inbound.loader.jms.queue=GTAS_INBOUND_Q_REDIS -outbound.loader.jms.queue=GTAS_LOADER_Q -######### -### REDIS ### -redis.connection.string=redis://0.0.0.0:6379 -############# - - -##### Passenger ID Tag and BookingDetail Scheduler settings #### - -cleanup.fixedDelay.in.milliseconds=5000 -cleanup.initialDelay.in.milliseconds=2000 - -######### - -##### Data Management Scheduler settings #### - -datamanagement.fixedDelay.in.milliseconds=180 -datamanagement.initialDelay.in.milliseconds=20 - -######### - -##################### RuleRunner ##################### - -ruleRunner.fixedDelay.in.milliseconds=5000 -ruleRunner.initialDelay.in.milliseconds=2000 - -ruleRunner.isRunning=false diff --git a/gtas-parent/gtas-parsers/src/main/java/gov/gtas/parsers/redisson/config/RedisLoaderConfig.java b/gtas-parent/gtas-parsers/src/main/java/gov/gtas/parsers/redisson/config/RedisLoaderConfig.java index f2263bbbbb..bb0a954ffd 100644 --- a/gtas-parent/gtas-parsers/src/main/java/gov/gtas/parsers/redisson/config/RedisLoaderConfig.java +++ b/gtas-parent/gtas-parsers/src/main/java/gov/gtas/parsers/redisson/config/RedisLoaderConfig.java @@ -14,7 +14,7 @@ @Configuration @EnableScheduling @ComponentScan("gov.gtas.parsers.redisson") -@PropertySource("classpath:redisloader.properties") +@PropertySource("classpath:commonservices.properties") @PropertySource(value = "file:${catalina.home}/conf/application.properties", ignoreResourceNotFound = true) public class RedisLoaderConfig implements SchedulingConfigurer { @Override diff --git a/gtas-parent/gtas-parsers/src/main/resources/redisloader.properties b/gtas-parent/gtas-parsers/src/main/resources/redisloader.properties deleted file mode 100644 index ec30e99c61..0000000000 --- a/gtas-parent/gtas-parsers/src/main/resources/redisloader.properties +++ /dev/null @@ -1,13 +0,0 @@ -input.file.directory=C:\\MESSAGE -output.file.directory=C:\\MESSAGEOLD - -loader.fixedDelay.in.milliseconds=0 -loader.initialDelay.in.milliseconds=20000 - -###JMS### -inbound.loader.jms.queue=GTAS_INBOUND_Q_REDIS -outbound.loader.jms.queue=GTAS_LOADER_Q -######### -### REDIS ### -redis.connection.string=redis://0.0.0.0:6379 -############# \ No newline at end of file diff --git a/gtas-parent/gtas-webapp/src/main/webapp/app.js b/gtas-parent/gtas-webapp/src/main/webapp/app.js index 2b5b453e44..a5f03ba94b 100644 --- a/gtas-parent/gtas-webapp/src/main/webapp/app.js +++ b/gtas-parent/gtas-webapp/src/main/webapp/app.js @@ -311,6 +311,7 @@ var app; }) .state('flights', { url: '/flights', + roles: [USER_ROLES.ADMIN, USER_ROLES.VIEW_FLIGHT_PASSENGERS, USER_ROLES.MANAGE_QUERIES, USER_ROLES.MANAGE_RULES, USER_ROLES.MANAGE_WATCHLIST, USER_ROLES.ONE_DAY_LOOKOUT], authenticate: true, views: { '@': { diff --git a/gtas-parent/gtas-webapp/src/main/webapp/dashboard/dashboard.html b/gtas-parent/gtas-webapp/src/main/webapp/dashboard/dashboard.html index 2abe1c0b90..94b5de2710 100644 --- a/gtas-parent/gtas-webapp/src/main/webapp/dashboard/dashboard.html +++ b/gtas-parent/gtas-webapp/src/main/webapp/dashboard/dashboard.html @@ -9,8 +9,8 @@
- -
+ +