├── .asf.yaml ├── .gitattributes ├── .github ├── PULL_REQUEST_TEMPLATE.md └── workflows │ └── main.yml ├── .gitignore ├── .travis.yml.disabled ├── CHANGES ├── ISSUES ├── LICENSE ├── NOTICE ├── README ├── build-tools ├── pom.xml └── src │ └── main │ └── resources │ └── build-tools │ ├── checkstyle │ ├── checker.xml │ └── suppressions.xml │ ├── dependency-check │ └── suppressions.xml │ ├── forbiddenapis │ └── signatures.txt │ ├── pmd │ └── pmd-ruleset.xml │ └── spotbugs-filter.xml ├── build.xml ├── dev-support ├── find-new-patch-available-jiras ├── for-each-profile.sh ├── munge-table.rb ├── raw-check-patch ├── test-patch ├── test-patch-00-clean ├── test-patch-05-patch-raw-analysis ├── test-patch-08-rat ├── test-patch-09-javadoc ├── test-patch-10-compile ├── test-patch-11-findbugs ├── test-patch-20-tests └── test-patch-30-dist ├── doap_Knox.rdf ├── gateway-adapter ├── pom.xml └── src │ ├── main │ ├── java │ │ └── org │ │ │ └── apache │ │ │ └── hadoop │ │ │ └── gateway │ │ │ ├── audit │ │ │ └── log4j │ │ │ │ └── layout │ │ │ │ └── AuditLayout.java │ │ │ ├── dispatch │ │ │ ├── DefaultDispatch.java │ │ │ ├── NiFiDispatch.java │ │ │ ├── NiFiHaDispatch.java │ │ │ ├── PassAllHeadersDispatch.java │ │ │ └── PassAllHeadersNoEncodingDispatch.java │ │ │ ├── hadoopauth │ │ │ └── filter │ │ │ │ └── HadoopAuthFilter.java │ │ │ ├── hbase │ │ │ └── HBaseDispatch.java │ │ │ ├── hdfs │ │ │ └── dispatch │ │ │ │ ├── HdfsHttpClientDispatch.java │ │ │ │ └── WebHdfsHaDispatch.java │ │ │ ├── hive │ │ │ ├── HiveDispatch.java │ │ │ └── HiveHaDispatch.java │ │ │ ├── provider │ │ │ └── federation │ │ │ │ └── jwt │ │ │ │ └── filter │ │ │ │ ├── JWTFederationFilter.java │ │ │ │ └── SSOCookieFederationFilter.java │ │ │ ├── rm │ │ │ └── dispatch │ │ │ │ ├── RMHaDispatch.java │ │ │ │ └── RMUIHaDispatch.java │ │ │ ├── shirorealm │ │ │ ├── KnoxLdapContextFactory.java │ │ │ ├── KnoxLdapRealm.java │ │ │ └── KnoxPamRealm.java │ │ │ ├── storm │ │ │ └── StormDispatch.java │ │ │ ├── topology │ │ │ ├── Service.java │ │ │ └── Topology.java │ │ │ └── util │ │ │ └── RegExUtils.java │ └── resources │ │ └── META-INF │ │ └── launcher.cfg │ └── test │ └── java │ └── org │ └── apache │ └── hadoop │ └── gateway │ └── shirorealm │ ├── KnoxLdapRealmTest.java │ └── KnoxPamRealmTest.java ├── gateway-admin-ui ├── .eslintrc.json ├── .gitignore ├── README.md ├── admin-ui │ ├── app │ │ ├── app.component.css │ │ ├── app.component.html │ │ ├── app.component.spec.ts │ │ ├── app.component.ts │ │ ├── app.module.ts │ │ ├── descriptor │ │ │ ├── descriptor.component.css │ │ │ ├── descriptor.component.html │ │ │ ├── descriptor.component.spec.ts │ │ │ └── descriptor.component.ts │ │ ├── gateway-version.component.ts │ │ ├── gateway-version.service.ts │ │ ├── gateway-version.ts │ │ ├── index.ts │ │ ├── main.ts │ │ ├── new-desc-wizard │ │ │ ├── new-desc-wizard.component.css │ │ │ ├── new-desc-wizard.component.html │ │ │ ├── new-desc-wizard.component.spec.ts │ │ │ └── new-desc-wizard.component.ts │ │ ├── provider-config-selector │ │ │ ├── provider-config-selector.component.css │ │ │ ├── provider-config-selector.component.html │ │ │ ├── provider-config-selector.component.spec.ts │ │ │ └── provider-config-selector.component.ts │ │ ├── provider-config-wizard │ │ │ ├── AnonymousProviderConfig.ts │ │ │ ├── acls-authzn-provider-config.ts │ │ │ ├── authentication-provider-config.ts │ │ │ ├── authentication-wizard.ts │ │ │ ├── authorization-wizard.ts │ │ │ ├── cas-provider-config.ts │ │ │ ├── category-wizard.ts │ │ │ ├── concat-idassertion-provider-config.ts │ │ │ ├── cors-provider-config.ts │ │ │ ├── csrf-provider-config.ts │ │ │ ├── default-idassertion-provider-config.ts │ │ │ ├── display-binding-provider-config.ts │ │ │ ├── grouplookup-id-assertion-provider-config.ts │ │ │ ├── ha-provider-config.ts │ │ │ ├── ha-wizard.ts │ │ │ ├── hostmap-provider-wizard.ts │ │ │ ├── identity-assertion-provider-config.ts │ │ │ ├── identity-assertion-wizard.ts │ │ │ ├── jwt-provider-config.ts │ │ │ ├── kerberos-provider-config.ts │ │ │ ├── ldap-provider-config.ts │ │ │ ├── oauth-provider-config.ts │ │ │ ├── oidc-provider-config.ts │ │ │ ├── ordered-param-container.ts │ │ │ ├── pam-provider-config.ts │ │ │ ├── preauth-sso-provider-config.ts │ │ │ ├── provider-config-wizard.component.css │ │ │ ├── provider-config-wizard.component.html │ │ │ ├── provider-config-wizard.component.spec.ts │ │ │ ├── provider-config-wizard.component.ts │ │ │ ├── provider-contributor-wizard.ts │ │ │ ├── regex-idassertion-provider-config.ts │ │ │ ├── saml-provider-config.ts │ │ │ ├── sso-cookie-provider-config.ts │ │ │ ├── sts-provider-config.ts │ │ │ ├── switchcase-idassertion-provider-config.ts │ │ │ ├── webappsec-contributor.ts │ │ │ ├── webappsec-provider-config.ts │ │ │ ├── webappsec-wizard.ts │ │ │ ├── xcontent-type-options-provider-config.ts │ │ │ ├── xframeoptions-provider-config.ts │ │ │ └── xss-provider-config.ts │ │ ├── resource-detail │ │ │ ├── descriptor.ts │ │ │ ├── provider-config.ts │ │ │ ├── resource-detail.component.css │ │ │ ├── resource-detail.component.html │ │ │ ├── resource-detail.component.spec.ts │ │ │ └── resource-detail.component.ts │ │ ├── resource │ │ │ ├── resource.component.css │ │ │ ├── resource.component.html │ │ │ ├── resource.component.spec.ts │ │ │ ├── resource.component.ts │ │ │ ├── resource.service.ts │ │ │ ├── resource.ts │ │ │ └── service.ts │ │ ├── resourcetypes │ │ │ ├── resourcetypes.component.css │ │ │ ├── resourcetypes.component.html │ │ │ ├── resourcetypes.component.spec.ts │ │ │ ├── resourcetypes.component.ts │ │ │ └── resourcetypes.service.ts │ │ ├── service-definition │ │ │ ├── new-service-definition.component.css │ │ │ ├── new-service-definition.component.html │ │ │ ├── new-service-definition.component.ts │ │ │ ├── rewrite.rule.ts │ │ │ ├── rewrite.rules.ts │ │ │ ├── service.ts │ │ │ ├── servicedefinition-detail.component.ts │ │ │ ├── servicedefinition.service.ts │ │ │ └── servicedefinition.ts │ │ ├── sessionInformation │ │ │ ├── session.information.component.html │ │ │ ├── session.information.component.ts │ │ │ ├── session.information.service.ts │ │ │ └── session.information.ts │ │ ├── topology-detail.component.ts │ │ ├── topology.component.ts │ │ ├── topology.service.ts │ │ ├── topology.ts │ │ └── utils │ │ │ ├── json-pretty.pipe.ts │ │ │ ├── tab.component.ts │ │ │ ├── tabs.component.ts │ │ │ ├── validation-utils.ts │ │ │ └── xml.pipe.ts │ ├── assets │ │ ├── .gitkeep │ │ ├── knox-logo-transparent.gif │ │ ├── new-service-definition-template.xml │ │ └── sticky-footer.css │ ├── environments │ │ ├── environment.prod.ts │ │ └── environment.ts │ ├── favicon.ico │ ├── index.html │ ├── main.ts │ ├── polyfills.ts │ ├── styles.css │ ├── tsconfig.json │ └── typings.d.ts ├── angular.json ├── npm ├── package-lock.json ├── package.json ├── pom.xml ├── proxy.conf.json └── src │ └── main │ └── resources │ └── admin-ui │ └── service.xml ├── gateway-applications ├── pom.xml └── src │ └── main │ └── resources │ └── applications │ ├── README │ └── knoxauth │ ├── app │ ├── fonts │ │ ├── fontawesome │ │ │ ├── FontAwesome.otf │ │ │ ├── fontawesome-webfont.eot │ │ │ ├── fontawesome-webfont.svg │ │ │ ├── fontawesome-webfont.ttf │ │ │ └── fontawesome-webfont.woff │ │ └── fontopensans │ │ │ ├── open-sans-300.woff │ │ │ ├── open-sans-300i.woff │ │ │ ├── open-sans-400.woff │ │ │ ├── open-sans-400i.woff │ │ │ ├── open-sans-600.woff │ │ │ ├── open-sans-600i.woff │ │ │ ├── open-sans-700.woff │ │ │ └── open-sans-700i.woff │ ├── images │ │ ├── avatar.png │ │ ├── blank.gif │ │ ├── favicon.ico │ │ ├── knox-logo-white-bg.gif │ │ ├── knox-logo.gif │ │ └── loading.gif │ ├── js │ │ └── knoxauth.js │ ├── libs │ │ └── bower │ │ │ └── jquery │ │ │ └── js │ │ │ └── jquery-3.5.1.min.js │ ├── login.html │ ├── logout.jsp │ ├── redirecting.html │ ├── redirecting.jsp │ └── styles │ │ ├── app-font.css │ │ ├── bootstrap.min.css │ │ └── knox.css │ └── service.xml ├── gateway-demo-ldap-launcher ├── pom.xml └── src │ └── main │ └── resources │ └── META-INF │ └── launcher.cfg ├── gateway-demo-ldap ├── pom.xml └── src │ ├── main │ ├── java │ │ └── org │ │ │ └── apache │ │ │ └── knox │ │ │ └── gateway │ │ │ └── security │ │ │ └── ldap │ │ │ ├── SimpleDirectoryService.java │ │ │ └── SimpleLdapDirectoryServer.java │ └── resources │ │ ├── log4j2.xml │ │ └── users.ldif │ └── test │ ├── java │ └── org │ │ └── apache │ │ └── knox │ │ └── gateway │ │ └── security │ │ └── ldap │ │ └── SimpleLdapServerTest.java │ └── resources │ ├── log4j2.xml │ └── users.ldif ├── gateway-discovery-ambari ├── pom.xml └── src │ ├── main │ ├── java │ │ └── org │ │ │ └── apache │ │ │ └── knox │ │ │ └── gateway │ │ │ └── topology │ │ │ └── discovery │ │ │ └── ambari │ │ │ ├── AmbariClientCommon.java │ │ │ ├── AmbariCluster.java │ │ │ ├── AmbariClusterConfigurationMonitorProvider.java │ │ │ ├── AmbariComponent.java │ │ │ ├── AmbariConfigurationMonitor.java │ │ │ ├── AmbariDynamicServiceURLCreator.java │ │ │ ├── AmbariServiceDiscovery.java │ │ │ ├── AmbariServiceDiscoveryMessages.java │ │ │ ├── AmbariServiceDiscoveryType.java │ │ │ ├── ConditionalValueHandler.java │ │ │ ├── HDFSURLCreatorBase.java │ │ │ ├── HdfsUIUrlCreator.java │ │ │ ├── LivyServiceURLCreator.java │ │ │ ├── NameNodeUrlCreator.java │ │ │ ├── NiFiURLCreator.java │ │ │ ├── PropertyEqualsHandler.java │ │ │ ├── RESTInvoker.java │ │ │ ├── ResourceManagerURLCreator.java │ │ │ ├── ResourceManagerURLCreatorBase.java │ │ │ ├── ServiceURLCreator.java │ │ │ ├── ServiceURLFactory.java │ │ │ ├── ServiceURLPropertyConfig.java │ │ │ ├── SimpleValueHandler.java │ │ │ ├── SparkCommonServiceURLCreator.java │ │ │ ├── SparkHistoryUIServiceURLCreator.java │ │ │ ├── SparkThriftServerUIServiceURLCreator.java │ │ │ ├── WebHdfsUrlCreator.java │ │ │ ├── YarnUIURLCreator.java │ │ │ └── YarnUIV2URLCreator.java │ └── resources │ │ ├── META-INF │ │ └── services │ │ │ ├── org.apache.knox.gateway.topology.discovery.ClusterConfigurationMonitorProvider │ │ │ ├── org.apache.knox.gateway.topology.discovery.ServiceDiscoveryType │ │ │ └── org.apache.knox.gateway.topology.discovery.ambari.ServiceURLCreator │ │ ├── ambari-service-discovery-component-config-mapping.properties │ │ ├── ambari-service-discovery-url-mappings.xml │ │ └── ambari-service-discovery-zk-config-mapping.properties │ └── test │ └── java │ └── org │ └── apache │ └── knox │ └── gateway │ └── topology │ └── discovery │ └── ambari │ ├── AmbariClusterTest.java │ ├── AmbariConfigurationMonitorTest.java │ ├── AmbariDynamicServiceURLCreatorTest.java │ ├── AmbariServiceDiscoveryTest.java │ ├── RMURLCreatorTestBase.java │ ├── ResourceManagerURLCreatorTest.java │ ├── SparkServiceURLCreatorTest.java │ ├── WebHdfsUrlCreatorTest.java │ ├── YarnUIURLCreatorTest.java │ └── YarnUIV2URLCreatorTest.java ├── gateway-discovery-cm ├── pom.xml └── src │ ├── main │ ├── java │ │ └── org │ │ │ └── apache │ │ │ └── knox │ │ │ └── gateway │ │ │ └── topology │ │ │ └── discovery │ │ │ └── cm │ │ │ ├── ClouderaManagerCluster.java │ │ │ ├── ClouderaManagerServiceDiscovery.java │ │ │ ├── ClouderaManagerServiceDiscoveryMessages.java │ │ │ ├── ClouderaManagerServiceDiscoveryRepository.java │ │ │ ├── ClouderaManagerServiceDiscoveryType.java │ │ │ ├── DiscoveryApiClient.java │ │ │ ├── ServiceModel.java │ │ │ ├── ServiceModelGenerator.java │ │ │ ├── ServiceModelGeneratorHandleResponse.java │ │ │ ├── ServiceModelGeneratorsHolder.java │ │ │ ├── ServiceURLCollector.java │ │ │ ├── auth │ │ │ ├── AuthUtils.java │ │ │ ├── ConfigurationFactory.java │ │ │ ├── JAASClientConfig.java │ │ │ └── SpnegoAuthInterceptor.java │ │ │ ├── collector │ │ │ ├── AbstractURLCollector.java │ │ │ ├── DefaultURLCollector.java │ │ │ ├── HueURLCollector.java │ │ │ └── ServiceURLCollectors.java │ │ │ ├── model │ │ │ ├── AbstractServiceModelGenerator.java │ │ │ ├── atlas │ │ │ │ ├── AtlasAPIServiceModelGenerator.java │ │ │ │ └── AtlasServiceModelGenerator.java │ │ │ ├── cm │ │ │ │ ├── ClouderaManagerAPIServiceModelGenerator.java │ │ │ │ └── ClouderaManagerUIServiceModelGenerator.java │ │ │ ├── flink │ │ │ │ └── FlinkServiceModelGenerator.java │ │ │ ├── hbase │ │ │ │ ├── HBaseUIServiceModelGenerator.java │ │ │ │ └── WebHBaseServiceModelGenerator.java │ │ │ ├── hdfs │ │ │ │ ├── HdfsUIServiceModelGenerator.java │ │ │ │ ├── NameNodeServiceModelGenerator.java │ │ │ │ └── WebHdfsServiceModelGenerator.java │ │ │ ├── hive │ │ │ │ ├── HiveOnTezServiceModelGenerator.java │ │ │ │ ├── HiveServiceModelGenerator.java │ │ │ │ └── WebHCatServiceModelGenerator.java │ │ │ ├── hue │ │ │ │ ├── HueLBServiceModelGenerator.java │ │ │ │ └── HueServiceModelGenerator.java │ │ │ ├── impala │ │ │ │ ├── ImpalaServiceModelGenerator.java │ │ │ │ └── ImpalaUIServiceModelGenerator.java │ │ │ ├── kudu │ │ │ │ └── KuduUIServiceModelGenerator.java │ │ │ ├── livy │ │ │ │ └── LivyServiceModelGenerator.java │ │ │ ├── nifi │ │ │ │ ├── NifiRegistryServiceModelGenerator.java │ │ │ │ └── NifiServiceModelGenerator.java │ │ │ ├── oozie │ │ │ │ ├── OozieServiceModelGenerator.java │ │ │ │ └── OozieUIServiceModelGenerator.java │ │ │ ├── ozone │ │ │ │ ├── OzoneHttpfsServiceModelGenerator.java │ │ │ │ ├── OzoneServiceModelGenerator.java │ │ │ │ ├── ReconServiceModelGenerator.java │ │ │ │ └── SCMServiceModelGenerator.java │ │ │ ├── phoenix │ │ │ │ └── PhoenixServiceModelGenerator.java │ │ │ ├── ranger │ │ │ │ ├── RangerServiceModelGenerator.java │ │ │ │ └── RangerUIServiceModelGenerator.java │ │ │ ├── solr │ │ │ │ └── SolrServiceModelGenerator.java │ │ │ ├── spark │ │ │ │ ├── Spark3HistoryUIServiceModelGenerator.java │ │ │ │ └── SparkHistoryUIServiceModelGenerator.java │ │ │ ├── yarn │ │ │ │ ├── JobHistoryUIServiceModelGenerator.java │ │ │ │ ├── JobTrackerServiceModelGenerator.java │ │ │ │ ├── ResourceManagerApiServiceModelGenerator.java │ │ │ │ ├── ResourceManagerServiceModelGeneratorBase.java │ │ │ │ ├── ResourceManagerUIServiceModelGenerator.java │ │ │ │ ├── YarnUIServiceModelGenerator.java │ │ │ │ └── YarnUIv2ServiceModelGenerator.java │ │ │ └── zeppelin │ │ │ │ ├── ZeppelinServiceModelGenerator.java │ │ │ │ ├── ZeppelinUIServiceModelGenerator.java │ │ │ │ └── ZeppelinWSServiceModelGenerator.java │ │ │ └── monitor │ │ │ ├── AbstractConfigurationStore.java │ │ │ ├── ClouderaManagerClusterConfigurationMonitor.java │ │ │ ├── ClouderaManagerClusterConfigurationMonitorProvider.java │ │ │ ├── ClusterConfigurationCache.java │ │ │ ├── ClusterConfigurationFileStore.java │ │ │ ├── ClusterConfigurationStore.java │ │ │ ├── DiscoveryConfigurationFileStore.java │ │ │ ├── DiscoveryConfigurationStore.java │ │ │ ├── PollingConfigurationAnalyzer.java │ │ │ ├── ServiceConfigurationModel.java │ │ │ └── ServiceConfigurationRecord.java │ └── resources │ │ └── META-INF │ │ └── services │ │ ├── org.apache.knox.gateway.topology.discovery.ClusterConfigurationMonitorProvider │ │ ├── org.apache.knox.gateway.topology.discovery.ServiceDiscoveryType │ │ └── org.apache.knox.gateway.topology.discovery.cm.ServiceModelGenerator │ └── test │ └── java │ └── org │ └── apache │ └── knox │ └── gateway │ └── topology │ └── discovery │ └── cm │ ├── AbstractCMDiscoveryTest.java │ ├── ClouderaManagerClusterTest.java │ ├── ClouderaManagerServiceDiscoveryRepositoryTest.java │ ├── ClouderaManagerServiceDiscoveryTest.java │ ├── auth │ └── AuthUtilsTest.java │ ├── collector │ ├── AbstractURLCollectorTest.java │ └── HueURLCollectorTest.java │ ├── model │ ├── AbstractServiceModelGeneratorTest.java │ ├── atlas │ │ ├── AtlasAPIServiceModelGeneratorTest.java │ │ └── AtlasServiceModelGeneratorTest.java │ ├── flink │ │ └── FlinkServiceModelGeneratorTest.java │ ├── hbase │ │ ├── HBaseUIServiceModelGeneratorTest.java │ │ └── WebHBaseServiceModelGeneratorTest.java │ ├── hdfs │ │ ├── HdfsUIServiceModelGeneratorTest.java │ │ ├── NameNodeServiceModelGeneratorTest.java │ │ └── WebHdfsServiceModelGeneratorTest.java │ ├── hive │ │ ├── HiveOnTezServiceModelGeneratorTest.java │ │ └── HiveServiceModelGeneratorTest.java │ ├── hue │ │ ├── HueLBServiceModelGeneratorTest.java │ │ └── HueServiceModelGeneratorTest.java │ ├── impala │ │ ├── ImpalaServiceModelGeneratorTest.java │ │ └── ImpalaUIServiceModelGeneratorTest.java │ ├── kudu │ │ └── KuduUIServiceModelGeneratorTest.java │ ├── livy │ │ └── LivyServiceModelGeneratorTest.java │ ├── nifi │ │ ├── NifiRegistryServiceModelGeneratorTest.java │ │ └── NifiServiceModelGeneratorTest.java │ ├── oozie │ │ ├── OozieServiceModelGeneratorTest.java │ │ └── OozieUIServiceModelGeneratorTest.java │ ├── ozone │ │ ├── OzoneHttpfsServiceModelGeneratorTest.java │ │ ├── OzoneServiceModelGeneratorTest.java │ │ ├── ReconServiceModelGeneratorTest.java │ │ └── SCMServiceModelGeneratorTest.java │ ├── phoenix │ │ └── PhoenixServiceModelGeneratorTest.java │ ├── ranger │ │ ├── RangerServiceModelGeneratorTest.java │ │ └── RangerUIServiceModelGeneratorTest.java │ ├── solr │ │ └── SolrServiceModelGeneratorTest.java │ ├── spark │ │ ├── Spark3HistoryUIServiceModelGeneratorTest.java │ │ └── SparkHistoryUIServiceModelGeneratorTest.java │ └── zeppelin │ │ ├── ZeppelinServiceModelGeneratorTest.java │ │ ├── ZeppelinUIServiceModelGeneratorTest.java │ │ └── ZeppelinWSServiceModelGeneratorTest.java │ └── monitor │ ├── AbstractConfigurationStoreTest.java │ ├── ClusterConfigurationFileStoreTest.java │ ├── DiscoveryConfigurationFileStoreTest.java │ ├── PollingConfigurationAnalyzerTest.java │ └── ServiceConfigurationModelTest.java ├── gateway-docker ├── README.md ├── pom.xml └── src │ ├── assembly │ └── docker-files.xml │ └── main │ └── resources │ ├── docker-compose.yml │ └── docker │ ├── Dockerfile │ ├── gateway-entrypoint.sh │ └── ldap-entrypoint.sh ├── gateway-i18n-logging-log4j ├── pom.xml └── src │ ├── main │ ├── java │ │ └── org │ │ │ └── apache │ │ │ └── knox │ │ │ └── gateway │ │ │ └── i18n │ │ │ └── messages │ │ │ └── loggers │ │ │ └── log4j │ │ │ ├── Log4jMessageLogger.java │ │ │ └── Log4jMessageLoggerFactory.java │ └── resources │ │ └── META-INF │ │ └── services │ │ └── org.apache.knox.gateway.i18n.messages.MessageLoggerFactory │ └── test │ └── java │ └── org │ └── apache │ └── knox │ └── gateway │ └── i18n │ └── messages │ └── loggers │ └── log4j │ └── Log4jMessageLoggerFactoryTest.java ├── gateway-i18n-logging-sl4j ├── pom.xml └── src │ ├── main │ ├── java │ │ └── org │ │ │ └── apache │ │ │ └── knox │ │ │ └── gateway │ │ │ └── i18n │ │ │ └── messages │ │ │ └── loggers │ │ │ └── sl4j │ │ │ ├── Sl4jMessageLogger.java │ │ │ └── Sl4jMessageLoggerFactory.java │ └── resources │ │ └── META-INF │ │ └── services │ │ └── org.apache.knox.gateway.i18n.messages.MessageLoggerFactory │ └── test │ └── java │ └── org │ └── apache │ └── knox │ └── gateway │ └── i18n │ └── messages │ └── loggers │ └── sl4j │ └── Sl4jMessageLoggerFactoryTest.java ├── gateway-i18n ├── pom.xml └── src │ ├── main │ └── java │ │ └── org │ │ └── apache │ │ └── knox │ │ └── gateway │ │ └── i18n │ │ ├── messages │ │ ├── Message.java │ │ ├── MessageLevel.java │ │ ├── MessageLogger.java │ │ ├── MessageLoggerFactory.java │ │ ├── Messages.java │ │ ├── MessagesFactory.java │ │ ├── MessagesInvoker.java │ │ ├── StackTrace.java │ │ └── loggers │ │ │ ├── jdk │ │ │ ├── JdkMessageLogger.java │ │ │ └── JdkMessageLoggerFactory.java │ │ │ ├── sout │ │ │ ├── SoutMessageLogger.java │ │ │ └── SoutMessageLoggerFactory.java │ │ │ └── test │ │ │ ├── TestMessageLogger.java │ │ │ ├── TestMessageLoggerFactory.java │ │ │ └── TestMessageRecord.java │ │ └── resources │ │ ├── Resource.java │ │ ├── Resources.java │ │ ├── ResourcesFactory.java │ │ └── ResourcesInvoker.java │ └── test │ ├── java │ └── org │ │ └── apache │ │ └── knox │ │ └── gateway │ │ └── i18n │ │ ├── messages │ │ ├── MessagesSubject.java │ │ └── MessagesTest.java │ │ └── resources │ │ ├── ResourcesFormattingSubject.java │ │ ├── ResourcesLocaleSubject.java │ │ ├── ResourcesNamedSubject.java │ │ └── ResourcesTest.java │ └── resources │ ├── META-INF │ └── services │ │ └── org.apache.knox.gateway.i18n.messages.MessageLoggerFactory │ └── org │ └── apache │ └── knox │ └── gateway │ └── i18n │ └── resources │ ├── NamedBundle_en_CA.properties │ ├── ResourcesLocaleSubject.properties │ ├── ResourcesLocaleSubject_en.properties │ ├── ResourcesLocaleSubject_en_GB.properties │ └── ResourcesLocaleSubject_en_US.properties ├── gateway-openapi-ui ├── pom.xml └── src │ └── main │ └── resources │ └── swagger │ ├── absolute-path.js │ ├── favicon-16x16.png │ ├── favicon-32x32.png │ ├── index.html │ ├── index.js │ ├── index_admin.html │ ├── index_metadata.html │ ├── oauth2-redirect.html │ ├── swagger-ui-bundle.js │ ├── swagger-ui-es-bundle-core.js │ ├── swagger-ui-es-bundle.js │ ├── swagger-ui-standalone-preset.js │ ├── swagger-ui.css │ └── swagger-ui.js ├── gateway-performance-test ├── pom.xml └── src │ ├── main │ ├── java │ │ └── org │ │ │ └── apache │ │ │ └── knox │ │ │ └── gateway │ │ │ └── performance │ │ │ └── test │ │ │ ├── ExecutorServiceUtils.java │ │ │ ├── PerformanceTestConfiguration.java │ │ │ ├── PerformanceTestLifeCyleListener.java │ │ │ ├── PerformanceTestMessages.java │ │ │ ├── PerformanceTestRunner.java │ │ │ ├── ResponseTimeCache.java │ │ │ ├── UseCaseRunner.java │ │ │ ├── knoxtoken │ │ │ ├── KnoxTokenAction.java │ │ │ ├── KnoxTokenCache.java │ │ │ ├── KnoxTokenUseCaseRunner.java │ │ │ └── KnoxTokenWorkerThread.java │ │ │ └── reporting │ │ │ ├── AbstractReportEngine.java │ │ │ ├── GatewayMetricsReporter.java │ │ │ ├── JsonReportEngine.java │ │ │ ├── ReportEngine.java │ │ │ └── YamlReportEngine.java │ └── resources │ │ └── META-INF │ │ └── services │ │ └── org.apache.knox.gateway.performance.test.UseCaseRunner │ └── test │ └── resources │ ├── performance.test.configuration.properties │ └── performanceTest-log4j2.xml ├── gateway-provider-ha ├── pom.xml └── src │ ├── main │ ├── java │ │ └── org │ │ │ └── apache │ │ │ └── knox │ │ │ └── gateway │ │ │ └── ha │ │ │ ├── deploy │ │ │ └── HaProviderDeploymentContributor.java │ │ │ ├── dispatch │ │ │ ├── AtlasApiHaDispatch.java │ │ │ ├── AtlasApiTrustedProxyHaDispatch.java │ │ │ ├── AtlasHaDispatch.java │ │ │ ├── AtlasTrustedProxyHaDispatch.java │ │ │ ├── ConfigurableHADispatch.java │ │ │ ├── DefaultHaDispatch.java │ │ │ ├── LBHaDispatch.java │ │ │ ├── SSEHaDispatch.java │ │ │ └── i18n │ │ │ │ └── HaDispatchMessages.java │ │ │ └── provider │ │ │ ├── HaDescriptor.java │ │ │ ├── HaProvider.java │ │ │ ├── HaServiceConfig.java │ │ │ ├── HaServletContextListener.java │ │ │ ├── URLManager.java │ │ │ ├── URLManagerLoader.java │ │ │ └── impl │ │ │ ├── AtlasZookeeperURLManager.java │ │ │ ├── BaseZookeeperURLManager.java │ │ │ ├── DefaultHaDescriptor.java │ │ │ ├── DefaultHaProvider.java │ │ │ ├── DefaultHaServiceConfig.java │ │ │ ├── DefaultURLManager.java │ │ │ ├── HBaseZookeeperURLManager.java │ │ │ ├── HS2ZookeeperURLManager.java │ │ │ ├── HaDescriptorConstants.java │ │ │ ├── HaDescriptorFactory.java │ │ │ ├── HaDescriptorManager.java │ │ │ ├── HaServiceConfigConstants.java │ │ │ ├── KafkaZookeeperURLManager.java │ │ │ ├── SOLRZookeeperURLManager.java │ │ │ ├── StringResponseHandler.java │ │ │ └── i18n │ │ │ └── HaMessages.java │ └── resources │ │ └── META-INF │ │ └── services │ │ ├── org.apache.knox.gateway.deploy.ProviderDeploymentContributor │ │ └── org.apache.knox.gateway.ha.provider.URLManager │ └── test │ ├── java │ └── org │ │ └── apache │ │ └── knox │ │ └── gateway │ │ └── ha │ │ ├── deploy │ │ └── HaProviderDeploymentContributorTest.java │ │ ├── dispatch │ │ ├── ConfigurableHADispatchTest.java │ │ ├── DefaultHaDispatchTest.java │ │ └── SSEHaDispatchTest.java │ │ └── provider │ │ └── impl │ │ ├── AtlasZookeeperURLManagerTest.java │ │ ├── DefaultHaProviderTest.java │ │ ├── DefaultURLManagerTest.java │ │ ├── HBaseZookeeperURLManagerTest.java │ │ ├── HS2ZookeeperURLManagerTest.java │ │ ├── HaDescriptorFactoryTest.java │ │ ├── HaDescriptorManagerTest.java │ │ ├── KafkaZookeeperURLManagerTest.java │ │ ├── MockURLManager.java │ │ ├── SOLRZookeeperURLManagerTest.java │ │ └── URLManagerLoaderTest.java │ └── resources │ └── META-INF │ └── services │ └── org.apache.knox.gateway.ha.provider.URLManager ├── gateway-provider-identity-assertion-common ├── pom.xml └── src │ ├── main │ ├── java │ │ └── org │ │ │ └── apache │ │ │ └── knox │ │ │ └── gateway │ │ │ ├── IdentityAsserterMessages.java │ │ │ └── identityasserter │ │ │ └── common │ │ │ ├── filter │ │ │ ├── AbstractIdentityAsserterDeploymentContributor.java │ │ │ ├── AbstractIdentityAssertionFilter.java │ │ │ ├── CommonIdentityAssertionFilter.java │ │ │ ├── IdentityAsserterHttpServletRequestWrapper.java │ │ │ └── VirtualGroupMapper.java │ │ │ └── function │ │ │ ├── UsernameFunctionDescriptor.java │ │ │ └── UsernameFunctionProcessor.java │ └── resources │ │ └── META-INF │ │ └── services │ │ ├── org.apache.knox.gateway.deploy.ProviderDeploymentContributor │ │ ├── org.apache.knox.gateway.filter.rewrite.api.UrlRewriteFunctionDescriptor │ │ └── org.apache.knox.gateway.filter.rewrite.spi.UrlRewriteFunctionProcessor │ └── test │ ├── java │ └── org │ │ └── apache │ │ └── knox │ │ └── gateway │ │ └── identityasserter │ │ ├── common │ │ └── filter │ │ │ ├── AbstractIdentityAsserterDeploymentContributorTest.java │ │ │ ├── CommonIdentityAssertionFilterTest.java │ │ │ └── VirtualGroupMapperTest.java │ │ ├── filter │ │ └── IdentityAssertionHttpServletRequestWrapperTest.java │ │ └── function │ │ ├── UsernameFunctionDescriptorTest.java │ │ └── UsernameFunctionProcessorTest.java │ └── resources │ └── org │ └── apache │ └── knox │ └── gateway │ └── identityasserter │ └── function │ └── UsernameFunctionProcessorTest │ └── rewrite.xml ├── gateway-provider-identity-assertion-concat ├── pom.xml └── src │ ├── main │ ├── java │ │ └── org │ │ │ └── apache │ │ │ └── knox │ │ │ └── gateway │ │ │ └── identityasserter │ │ │ └── concat │ │ │ └── filter │ │ │ ├── ConcatIdentityAsserterDeploymentContributor.java │ │ │ └── ConcatIdentityAssertionFilter.java │ └── resources │ │ └── META-INF │ │ └── services │ │ └── org.apache.knox.gateway.deploy.ProviderDeploymentContributor │ └── test │ └── java │ └── org │ └── apache │ └── knox │ └── gateway │ └── identityasserter │ └── concat │ └── filter │ ├── ConcatIdentityAsserterDeploymentContributorTest.java │ └── ConcatIdentityAssertionFilterTest.java ├── gateway-provider-identity-assertion-hadoop-groups ├── pom.xml └── src │ ├── main │ ├── java │ │ └── org │ │ │ └── apache │ │ │ └── knox │ │ │ └── gateway │ │ │ └── identityasserter │ │ │ └── hadoop │ │ │ └── groups │ │ │ └── filter │ │ │ ├── HadoopGroupProviderDeploymentContributor.java │ │ │ ├── HadoopGroupProviderFilter.java │ │ │ └── HadoopGroupProviderMessages.java │ └── resources │ │ └── META-INF │ │ └── services │ │ └── org.apache.knox.gateway.deploy.ProviderDeploymentContributor │ └── test │ └── java │ └── org │ └── apache │ └── knox │ └── gateway │ └── identityasserter │ └── hadoop │ └── groups │ └── filter │ ├── HadoopGroupProviderDeploymentContributorTest.java │ ├── HadoopGroupProviderFilterTest.java │ └── HadoopGroupsTest.java ├── gateway-provider-identity-assertion-no-doas ├── pom.xml └── src │ ├── main │ ├── java │ │ └── org │ │ │ └── apache │ │ │ └── knox │ │ │ └── gateway │ │ │ └── identityasserter │ │ │ └── filter │ │ │ ├── NoImpersonationAsserterDeploymentContributor.java │ │ │ ├── NoImpersonationAsserterRequestWrapper.java │ │ │ └── NoImpersonationFilter.java │ └── resources │ │ └── META-INF │ │ └── services │ │ └── org.apache.knox.gateway.deploy.ProviderDeploymentContributor │ └── test │ ├── java │ └── org │ │ └── apache │ │ └── knox │ │ └── gateway │ │ └── identityasserter │ │ └── filter │ │ ├── NoImpersonationFilterTest.java │ │ └── NoImpersonationHttpServletRequestWrapperTest.java │ └── resources │ └── org │ └── apache │ └── knox │ └── gateway │ └── identityasserter │ └── function │ └── UsernameFunctionProcessorTest │ └── rewrite.xml ├── gateway-provider-identity-assertion-pseudo ├── pom.xml └── src │ ├── main │ ├── java │ │ └── org │ │ │ └── apache │ │ │ └── knox │ │ │ └── gateway │ │ │ └── identityasserter │ │ │ └── filter │ │ │ ├── DefaultIdentityAsserterDeploymentContributor.java │ │ │ ├── IdentityAsserterDeploymentContributor.java │ │ │ └── IdentityAsserterFilter.java │ └── resources │ │ └── META-INF │ │ └── services │ │ └── org.apache.knox.gateway.deploy.ProviderDeploymentContributor │ └── test │ ├── java │ └── org │ │ └── apache │ │ └── knox │ │ └── gateway │ │ └── identityasserter │ │ └── filter │ │ └── DefaultIdentityAssertionFilterTest.java │ └── resources │ └── org │ └── apache │ └── knox │ └── gateway │ └── identityasserter │ └── function │ └── UsernameFunctionProcessorTest │ └── rewrite.xml ├── gateway-provider-identity-assertion-regex ├── pom.xml └── src │ ├── main │ ├── java │ │ └── org │ │ │ └── apache │ │ │ └── knox │ │ │ └── gateway │ │ │ └── identityasserter │ │ │ └── regex │ │ │ └── filter │ │ │ ├── RegexIdentityAsserterDeploymentContributor.java │ │ │ └── RegexIdentityAssertionFilter.java │ └── resources │ │ └── META-INF │ │ └── services │ │ └── org.apache.knox.gateway.deploy.ProviderDeploymentContributor │ └── test │ └── java │ └── org │ └── apache │ └── knox │ └── gateway │ └── identityasserter │ └── regex │ └── filter │ ├── RegexIdentityAsserterDeploymentContributorTest.java │ ├── RegexIdentityAssertionFilterTest.java │ └── RegexTemplateTest.java ├── gateway-provider-identity-assertion-switchcase ├── pom.xml └── src │ ├── main │ ├── java │ │ └── org │ │ │ └── apache │ │ │ └── knox │ │ │ └── gateway │ │ │ └── identityasserter │ │ │ └── switchcase │ │ │ ├── SwitchCaseIdentityAsserterDeploymentContributor.java │ │ │ └── SwitchCaseIdentityAssertionFilter.java │ └── resources │ │ └── META-INF │ │ └── services │ │ └── org.apache.knox.gateway.deploy.ProviderDeploymentContributor │ └── test │ └── java │ └── org │ └── apache │ └── knox │ └── gateway │ └── identityasserter │ └── switchcase │ ├── SwitchCaseIdentityAsserterDeploymentContributorTest.java │ └── SwitchCaseIdentityAssertionFilterTest.java ├── gateway-provider-jersey ├── pom.xml └── src │ ├── main │ ├── java │ │ └── org │ │ │ └── apache │ │ │ └── knox │ │ │ └── gateway │ │ │ └── jersey │ │ │ ├── JerseyDispatchDeploymentContributor.java │ │ │ └── JerseyServiceDeploymentContributorBase.java │ └── resources │ │ └── META-INF │ │ └── services │ │ └── org.apache.knox.gateway.deploy.ProviderDeploymentContributor │ └── test │ └── java │ └── org │ └── apache │ └── knox │ └── gateway │ └── jersey │ └── JerseyDeploymentContributorTest.java ├── gateway-provider-rewrite-common ├── pom.xml └── src │ └── main │ └── java │ └── org │ └── apache │ └── knox │ └── gateway │ └── filter │ └── rewrite │ ├── api │ ├── UrlRewriteEnvironment.java │ ├── UrlRewriteFilterApplyDescriptor.java │ ├── UrlRewriteFilterBufferDescriptor.java │ ├── UrlRewriteFilterContentDescriptor.java │ ├── UrlRewriteFilterDescriptor.java │ ├── UrlRewriteFilterDetectDescriptor.java │ ├── UrlRewriteFilterGroupDescriptor.java │ ├── UrlRewriteFilterPathDescriptor.java │ ├── UrlRewriteFilterScopeDescriptor.java │ ├── UrlRewriteFlowDescriptor.java │ ├── UrlRewriteFunctionDescriptor.java │ ├── UrlRewriteFunctionDescriptorFactory.java │ ├── UrlRewriteRuleDescriptor.java │ ├── UrlRewriteRulesDescriptor.java │ ├── UrlRewriteStepDescriptor.java │ ├── UrlRewriteStepDescriptorFactory.java │ ├── UrlRewriteStepFlow.java │ └── UrlRewriter.java │ ├── i18n │ └── UrlRewriteMessages.java │ ├── impl │ ├── UrlRewriteFilterApplyDescriptorImpl.java │ ├── UrlRewriteFilterBufferDescriptorImpl.java │ ├── UrlRewriteFilterContentDescriptorImpl.java │ ├── UrlRewriteFilterDescriptorImpl.java │ ├── UrlRewriteFilterDetectDescriptorImpl.java │ ├── UrlRewriteFilterGroupDescriptorBase.java │ ├── UrlRewriteFilterScopeDescriptorImpl.java │ ├── UrlRewriteFilterSelectorDescriptorBase.java │ ├── UrlRewriteRuleDescriptorImpl.java │ ├── UrlRewriteRulesDescriptorImpl.java │ └── xml │ │ ├── XmlRewriteRulesDigester.java │ │ ├── XmlRewriteRulesTags.java │ │ ├── XmlUrlRewriteRulesExporter.java │ │ └── XmlUrlRewriteRulesImporter.java │ └── spi │ ├── UrlRewriteFlowDescriptorBase.java │ ├── UrlRewriteRulesExporter.java │ ├── UrlRewriteRulesImporter.java │ ├── UrlRewriteStepDescriptorBase.java │ └── UrlRewriteStepStatus.java ├── gateway-provider-rewrite-func-hostmap-static ├── pom.xml └── src │ ├── main │ ├── java │ │ └── org │ │ │ └── apache │ │ │ └── knox │ │ │ └── gateway │ │ │ └── hostmap │ │ │ ├── api │ │ │ └── HostmapFunctionDescriptor.java │ │ │ └── impl │ │ │ ├── HostmapDeploymentContributor.java │ │ │ └── HostmapFunctionProcessor.java │ └── resources │ │ └── META-INF │ │ └── services │ │ ├── org.apache.knox.gateway.deploy.ProviderDeploymentContributor │ │ ├── org.apache.knox.gateway.filter.rewrite.api.UrlRewriteFunctionDescriptor │ │ └── org.apache.knox.gateway.filter.rewrite.spi.UrlRewriteFunctionProcessor │ └── test │ ├── java │ └── org │ │ └── apache │ │ └── knox │ │ └── gateway │ │ └── hostmap │ │ ├── api │ │ └── HostmapFunctionDescriptorTest.java │ │ └── impl │ │ ├── HostmapDeploymentContributorTest.java │ │ └── HostmapFunctionProcessorTest.java │ └── resources │ └── org │ └── apache │ └── knox │ └── gateway │ └── hostmap │ └── impl │ └── HostmapFunctionProcessorTest │ ├── empty-hostmap.txt │ ├── hdfs-hostmap.txt │ └── hostmap.txt ├── gateway-provider-rewrite-func-inbound-query-param ├── pom.xml └── src │ ├── main │ ├── java │ │ └── org │ │ │ └── apache │ │ │ └── knox │ │ │ └── gateway │ │ │ └── inboundurl │ │ │ ├── api │ │ │ └── InboundUrlFunctionDescriptor.java │ │ │ └── impl │ │ │ └── InboundUrlFunctionProcessor.java │ └── resources │ │ └── META-INF │ │ └── services │ │ ├── org.apache.knox.gateway.filter.rewrite.api.UrlRewriteFunctionDescriptor │ │ └── org.apache.knox.gateway.filter.rewrite.spi.UrlRewriteFunctionProcessor │ └── test │ └── java │ └── org │ └── apache │ └── knox │ └── gateway │ └── inboundurl │ ├── api │ └── InboundUrlFunctionDescriptorTest.java │ └── impl │ └── InboundUrlFunctionProcessorTest.java ├── gateway-provider-rewrite-func-service-registry ├── pom.xml └── src │ ├── main │ ├── java │ │ └── org │ │ │ └── apache │ │ │ └── knox │ │ │ └── gateway │ │ │ └── svcregfunc │ │ │ ├── api │ │ │ ├── ServiceAddressFunctionDescriptor.java │ │ │ ├── ServiceHostFunctionDescriptor.java │ │ │ ├── ServiceMappedAddressFunctionDescriptor.java │ │ │ ├── ServiceMappedHostFunctionDescriptor.java │ │ │ ├── ServiceMappedUrlFunctionDescriptor.java │ │ │ ├── ServicePathFunctionDescriptor.java │ │ │ ├── ServicePortFunctionDescriptor.java │ │ │ ├── ServiceSchemeFunctionDescriptor.java │ │ │ └── ServiceUrlFunctionDescriptor.java │ │ │ └── impl │ │ │ ├── ServiceAddressFunctionProcessor.java │ │ │ ├── ServiceHostFunctionProcessor.java │ │ │ ├── ServiceMappedAddressFunctionProcessor.java │ │ │ ├── ServiceMappedHostFunctionProcessor.java │ │ │ ├── ServiceMappedUrlFunctionProcessor.java │ │ │ ├── ServicePathFunctionProcessor.java │ │ │ ├── ServicePortFunctionProcessor.java │ │ │ ├── ServiceRegistryFunctionProcessorBase.java │ │ │ ├── ServiceSchemeFunctionProcessor.java │ │ │ └── ServiceUrlFunctionProcessor.java │ └── resources │ │ └── META-INF │ │ └── services │ │ ├── org.apache.knox.gateway.filter.rewrite.api.UrlRewriteFunctionDescriptor │ │ └── org.apache.knox.gateway.filter.rewrite.spi.UrlRewriteFunctionProcessor │ └── test │ ├── java │ └── org │ │ └── apache │ │ └── knox │ │ └── gateway │ │ └── svcregfunc │ │ ├── api │ │ ├── ServiceAddressFunctionDescriptorTest.java │ │ ├── ServiceHostFunctionDescriptorTest.java │ │ ├── ServicePathFunctionDescriptorTest.java │ │ ├── ServicePortFunctionDescriptorTest.java │ │ ├── ServiceSchemeFunctionDescriptorTest.java │ │ └── ServiceUrlFunctionDescriptorTest.java │ │ └── impl │ │ ├── ServiceAddressFunctionProcessorTest.java │ │ ├── ServiceHostFunctionProcessorTest.java │ │ ├── ServiceMappedAddressFunctionProcessorTest.java │ │ ├── ServiceMappedHostFunctionProcessorTest.java │ │ ├── ServiceMappedUrlFunctionProcessorTest.java │ │ ├── ServicePathFunctionProcessorTest.java │ │ ├── ServicePortFunctionProcessorTest.java │ │ ├── ServiceRegistryFunctionsTest.java │ │ ├── ServiceSchemeFunctionProcessorTest.java │ │ └── ServiceUrlFunctionProcessorTest.java │ └── resources │ └── org │ └── apache │ └── knox │ └── gateway │ └── svcregfunc │ └── impl │ └── ServiceRegistryFunctionsTest │ ├── rewrite.xml │ ├── test-expect-body.json │ ├── test-expect-body.xml │ ├── test-input-body.json │ └── test-input-body.xml ├── gateway-provider-rewrite-step-encrypt-uri ├── pom.xml └── src │ ├── main │ ├── java │ │ └── org │ │ │ └── apache │ │ │ └── knox │ │ │ └── gateway │ │ │ └── encrypturi │ │ │ ├── EncryptStepContextParams.java │ │ │ ├── EncryptUriMessages.java │ │ │ ├── api │ │ │ ├── DecryptUriDescriptor.java │ │ │ └── EncryptUriDescriptor.java │ │ │ └── impl │ │ │ ├── DecryptUriProcessor.java │ │ │ ├── EncryptUriDeploymentContributor.java │ │ │ └── EncryptUriProcessor.java │ └── resources │ │ └── META-INF │ │ └── services │ │ ├── org.apache.knox.gateway.deploy.ProviderDeploymentContributor │ │ ├── org.apache.knox.gateway.filter.rewrite.api.UrlRewriteStepDescriptor │ │ └── org.apache.knox.gateway.filter.rewrite.spi.UrlRewriteStepProcessor │ └── test │ └── java │ └── org │ └── apache │ └── knox │ └── gateway │ └── encrypturi │ ├── api │ ├── DecryptUriDescriptorTest.java │ └── EncryptUriDescriptorTest.java │ └── impl │ ├── EncryptDecryptUriProcessorTest.java │ └── EncryptUriDeploymentContributorTest.java ├── gateway-provider-rewrite-step-secure-query ├── pom.xml └── src │ ├── main │ ├── java │ │ └── org │ │ │ └── apache │ │ │ └── knox │ │ │ └── gateway │ │ │ └── securequery │ │ │ ├── SecureQueryDecodeDescriptor.java │ │ │ ├── SecureQueryDecodeProcessor.java │ │ │ ├── SecureQueryDecryptDescriptor.java │ │ │ ├── SecureQueryDecryptProcessor.java │ │ │ ├── SecureQueryDeploymentContributor.java │ │ │ ├── SecureQueryEncodeDescriptor.java │ │ │ ├── SecureQueryEncodeProcessor.java │ │ │ ├── SecureQueryEncryptDescriptor.java │ │ │ ├── SecureQueryEncryptProcessor.java │ │ │ └── SecureQueryMessages.java │ └── resources │ │ └── META-INF │ │ └── services │ │ ├── org.apache.knox.gateway.deploy.ProviderDeploymentContributor │ │ ├── org.apache.knox.gateway.filter.rewrite.api.UrlRewriteStepDescriptor │ │ └── org.apache.knox.gateway.filter.rewrite.spi.UrlRewriteStepProcessor │ └── test │ └── java │ └── org │ └── apache │ └── knox │ └── gateway │ └── securequery │ ├── SecureQueryDecodeDescriptorTest.java │ ├── SecureQueryDecodeProcessorTest.java │ ├── SecureQueryDeploymentContributorTest.java │ ├── SecureQueryEncodeDescriptorTest.java │ ├── SecureQueryEncodeProcessorTest.java │ └── SecureQueryEncryptDecryptProcessorTest.java ├── gateway-provider-rewrite ├── pom.xml └── src │ ├── main │ ├── java │ │ └── org │ │ │ └── apache │ │ │ └── knox │ │ │ └── gateway │ │ │ └── filter │ │ │ └── rewrite │ │ │ ├── api │ │ │ ├── CookieScopeServletFilter.java │ │ │ ├── FrontendFunctionDescriptor.java │ │ │ ├── UrlRewriteProcessor.java │ │ │ ├── UrlRewriteRulesDescriptorFactory.java │ │ │ ├── UrlRewriteServletContextListener.java │ │ │ ├── UrlRewriteServletEnvironment.java │ │ │ ├── UrlRewriteServletFilter.java │ │ │ └── UrlRewriteStreamFilterFactory.java │ │ │ ├── ext │ │ │ ├── ScopedMatcher.java │ │ │ ├── UrlRewriteActionDescriptor.java │ │ │ ├── UrlRewriteActionRewriteDescriptorExt.java │ │ │ ├── UrlRewriteActionRewriteProcessorExt.java │ │ │ ├── UrlRewriteCheckDescriptor.java │ │ │ ├── UrlRewriteCheckDescriptorExt.java │ │ │ ├── UrlRewriteCheckProcessorExt.java │ │ │ ├── UrlRewriteControlDescriptor.java │ │ │ ├── UrlRewriteControlDescriptorExt.java │ │ │ ├── UrlRewriteControlProcessorExt.java │ │ │ ├── UrlRewriteMatchDescriptor.java │ │ │ ├── UrlRewriteMatchDescriptorExt.java │ │ │ └── UrlRewriteMatchProcessorExt.java │ │ │ ├── i18n │ │ │ └── UrlRewriteResources.java │ │ │ ├── impl │ │ │ ├── CookieScopeResponseWrapper.java │ │ │ ├── FrontendFunctionProcessor.java │ │ │ ├── UrlRewriteContextImpl.java │ │ │ ├── UrlRewriteDeploymentContributor.java │ │ │ ├── UrlRewriteFilterReader.java │ │ │ ├── UrlRewriteFunctionProcessorFactory.java │ │ │ ├── UrlRewriteRequest.java │ │ │ ├── UrlRewriteRequestStream.java │ │ │ ├── UrlRewriteResponse.java │ │ │ ├── UrlRewriteResponseStream.java │ │ │ ├── UrlRewriteRuleProcessorHolder.java │ │ │ ├── UrlRewriteRuleProcessorImpl.java │ │ │ ├── UrlRewriteStepProcessorFactory.java │ │ │ ├── UrlRewriteStepProcessorHolder.java │ │ │ ├── UrlRewriteStepProcessorState.java │ │ │ ├── UrlRewriteUtil.java │ │ │ ├── form │ │ │ │ ├── FormFilterReader.java │ │ │ │ ├── FormPair.java │ │ │ │ ├── FormReader.java │ │ │ │ ├── FormUrlRewriteFilterReader.java │ │ │ │ ├── FormUrlRewriteStreamFilter.java │ │ │ │ └── FormWriter.java │ │ │ ├── html │ │ │ │ ├── HtmlFilterReader.java │ │ │ │ ├── HtmlFilterReaderBase.java │ │ │ │ ├── HtmlImportFunctionDescriptor.java │ │ │ │ ├── HtmlImportFunctionProcessor.java │ │ │ │ ├── HtmlInfixDescriptor.java │ │ │ │ ├── HtmlInfixProcessor.java │ │ │ │ ├── HtmlPostfixDescriptor.java │ │ │ │ ├── HtmlPostfixProcessor.java │ │ │ │ ├── HtmlPrefixDescriptor.java │ │ │ │ ├── HtmlPrefixProcessor.java │ │ │ │ ├── HtmlUrlRewriteFilterReader.java │ │ │ │ └── HtmlUrlRewriteStreamFilter.java │ │ │ ├── javascript │ │ │ │ ├── JavaScriptFilterReader.java │ │ │ │ ├── JavaScriptUrlRewriteFilterReader.java │ │ │ │ └── JavaScriptUrlRewriteStreamFilter.java │ │ │ ├── json │ │ │ │ ├── JsonFilterReader.java │ │ │ │ ├── JsonUrlRewriteFilterReader.java │ │ │ │ └── JsonUrlRewriteStreamFilter.java │ │ │ └── xml │ │ │ │ ├── XmlFilterReader.java │ │ │ │ ├── XmlUrlRewriteFilterReader.java │ │ │ │ └── XmlUrlRewriteStreamFilter.java │ │ │ └── spi │ │ │ ├── UrlRewriteActionDescriptorBase.java │ │ │ ├── UrlRewriteContext.java │ │ │ ├── UrlRewriteFunctionProcessor.java │ │ │ ├── UrlRewriteFunctionProcessorBase.java │ │ │ ├── UrlRewriteResolver.java │ │ │ ├── UrlRewriteStepProcessor.java │ │ │ └── UrlRewriteStreamFilter.java │ └── resources │ │ └── META-INF │ │ └── services │ │ ├── org.apache.knox.gateway.deploy.ProviderDeploymentContributor │ │ ├── org.apache.knox.gateway.filter.rewrite.api.UrlRewriteFunctionDescriptor │ │ ├── org.apache.knox.gateway.filter.rewrite.api.UrlRewriteStepDescriptor │ │ ├── org.apache.knox.gateway.filter.rewrite.spi.UrlRewriteFunctionProcessor │ │ ├── org.apache.knox.gateway.filter.rewrite.spi.UrlRewriteStepProcessor │ │ └── org.apache.knox.gateway.filter.rewrite.spi.UrlRewriteStreamFilter │ └── test │ ├── java │ └── org │ │ └── apache │ │ └── knox │ │ └── gateway │ │ └── filter │ │ └── rewrite │ │ ├── api │ │ ├── FrontendFunctionDescriptorTest.java │ │ ├── UrlRewriteProcessorTest.java │ │ ├── UrlRewriteRulesDescriptorFactoryTest.java │ │ ├── UrlRewriteServletContextListenerTest.java │ │ ├── UrlRewriteServletEnvironmentTest.java │ │ └── UrlRewriteServletFilterTest.java │ │ └── impl │ │ ├── CookieScopeResponseWrapperTest.java │ │ ├── FrontendFunctionProcessorTest.java │ │ ├── UrlRewriteContextImplTest.java │ │ ├── UrlRewriteRequestTest.java │ │ ├── UrlRewriteResponseTest.java │ │ ├── UrlRewriteStepProcessorStateTest.java │ │ ├── gateway.xml │ │ ├── html │ │ ├── HtmlFilterReaderBaseTest.java │ │ ├── HtmlImportFunctionProcessorTest.java │ │ ├── HtmlInfixProcessorTest.java │ │ ├── HtmlPostfixProcessorTest.java │ │ └── HtmlPrefixProcessorTest.java │ │ ├── javascript │ │ └── JavaScriptFilterReaderTest.java │ │ ├── json │ │ ├── JsonFilterReaderTest.java │ │ ├── NoopJsonFilterReader.java │ │ └── TestJsonFilterReader.java │ │ ├── rewrite.xml │ │ └── xml │ │ ├── XmlFilterReaderTest.java │ │ └── XmlUrlRewriteRulesExporterTest.java │ └── resources │ ├── KNOX-1412.xml.gz │ ├── log4j2.xml │ └── org │ └── apache │ └── knox │ └── gateway │ └── filter │ └── rewrite │ ├── api │ ├── UrlRewriteProcessorTest │ │ ├── rewrite-no-match.xml │ │ ├── rewrite-with-same-rules-different-scope.xml │ │ ├── rewrite-with-same-rules.xml │ │ ├── rewrite.xml │ │ └── rewrite_escape.xml │ ├── UrlRewriteRulesDescriptorFactoryTest │ │ ├── empty.xml │ │ ├── filter-complete.xml │ │ ├── filter-sample.xml │ │ ├── filter-simple.xml │ │ ├── invalid.xml │ │ ├── noop.xml │ │ └── simple.xml │ ├── UrlRewriteServletContextListenerTest │ │ └── rewrite.xml │ └── UrlRewriteServletFilterTest │ │ └── rewrite.xml │ └── impl │ ├── FrontendFunctionProcessorTest │ ├── rewrite.xml │ └── test-input-body.json │ ├── json │ └── JsonFilterReaderTest │ │ ├── array.json │ │ ├── complex.json │ │ ├── dotted-field-name.json │ │ ├── empty-array-value.json │ │ ├── empty-object-value.json │ │ ├── properties.json │ │ └── simple-values.json │ └── xml │ └── XmlFilterReaderTest │ ├── properties-attributes.xml │ └── properties-elements.xml ├── gateway-provider-security-authc-anon ├── pom.xml └── src │ ├── main │ ├── java │ │ └── org │ │ │ └── apache │ │ │ └── knox │ │ │ └── gateway │ │ │ ├── deploy │ │ │ └── AnonymousAuthDeploymentContributor.java │ │ │ └── filter │ │ │ └── AnonymousAuthFilter.java │ └── resources │ │ └── META-INF │ │ └── services │ │ └── org.apache.knox.gateway.deploy.ProviderDeploymentContributor │ └── test │ └── java │ └── org │ └── apache │ └── knox │ └── gateway │ └── deploy │ └── AnonymousAuthDeploymentContributorTest.java ├── gateway-provider-security-authc-remote ├── pom.xml └── src │ ├── main │ ├── java │ │ └── org │ │ │ └── apache │ │ │ └── knox │ │ │ └── gateway │ │ │ ├── RemoteAuthMessages.java │ │ │ ├── deploy │ │ │ └── RemoteAuthDeploymentContributor.java │ │ │ └── filter │ │ │ └── RemoteAuthFilter.java │ └── resources │ │ └── META-INF │ │ └── services │ │ └── org.apache.knox.gateway.deploy.ProviderDeploymentContributor │ └── test │ └── java │ └── org │ └── apache │ └── knox │ └── gateway │ ├── deploy │ └── RemoteAuthDeploymentContributorTest.java │ └── filter │ └── RemoteAuthFilterTest.java ├── gateway-provider-security-authz-acls ├── pom.xml └── src │ ├── main │ ├── java │ │ └── org │ │ │ └── apache │ │ │ └── knox │ │ │ └── gateway │ │ │ ├── deploy │ │ │ └── impl │ │ │ │ └── AclsAuthzDeploymentContributor.java │ │ │ └── filter │ │ │ ├── AclParser.java │ │ │ ├── AclsAuthorizationFilter.java │ │ │ ├── AclsAuthorizationMessages.java │ │ │ ├── AclsAuthorizationResources.java │ │ │ └── InvalidACLException.java │ └── resources │ │ └── META-INF │ │ └── services │ │ └── org.apache.knox.gateway.deploy.ProviderDeploymentContributor │ └── test │ └── java │ └── org │ └── apache │ └── knox │ └── gateway │ └── filter │ ├── AclParserTest.java │ └── AclsAuthzFilterTest.java ├── gateway-provider-security-authz-composite ├── pom.xml └── src │ ├── main │ ├── java │ │ └── org │ │ │ └── apache │ │ │ └── knox │ │ │ └── gateway │ │ │ └── deploy │ │ │ └── impl │ │ │ └── CompositeAuthzDeploymentContributor.java │ └── resources │ │ └── META-INF │ │ └── services │ │ └── org.apache.knox.gateway.deploy.ProviderDeploymentContributor │ └── test │ └── java │ └── org │ └── apache │ └── knox │ └── gateway │ └── deploy │ └── impl │ └── CompositeAuthzProviderTest.java ├── gateway-provider-security-authz-path-acls ├── pom.xml └── src │ ├── main │ ├── java │ │ └── org │ │ │ └── apache │ │ │ └── knox │ │ │ └── gateway │ │ │ ├── deploy │ │ │ └── impl │ │ │ │ └── PathAclsAuthzDeploymentContributor.java │ │ │ └── filter │ │ │ ├── AclsAuthorizationResources.java │ │ │ ├── InvalidACLException.java │ │ │ ├── PathAclParser.java │ │ │ ├── PathAclsAuthorizationFilter.java │ │ │ └── PathAclsAuthorizationMessages.java │ └── resources │ │ └── META-INF │ │ └── services │ │ └── org.apache.knox.gateway.deploy.ProviderDeploymentContributor │ └── test │ └── java │ └── org │ └── apache │ └── knox │ └── gateway │ └── filter │ ├── PathAclParserTest.java │ └── PathAclsAuthzFilterTest.java ├── gateway-provider-security-clientcert ├── pom.xml └── src │ ├── main │ ├── java │ │ └── org │ │ │ └── apache │ │ │ └── knox │ │ │ └── gateway │ │ │ └── clientcert │ │ │ ├── deploy │ │ │ └── ClientCertDeploymentContributor.java │ │ │ └── filter │ │ │ ├── ClientCertFilter.java │ │ │ └── ClientCertMessages.java │ └── resources │ │ └── META-INF │ │ └── services │ │ └── org.apache.knox.gateway.deploy.ProviderDeploymentContributor │ └── test │ └── java │ └── org │ └── apache │ └── knox │ └── gateway │ └── clientcert │ └── ClientCertDeploymentContributorTest.java ├── gateway-provider-security-hadoopauth ├── pom.xml └── src │ ├── main │ ├── java │ │ └── org │ │ │ └── apache │ │ │ └── knox │ │ │ └── gateway │ │ │ └── hadoopauth │ │ │ ├── HadoopAuthMessages.java │ │ │ ├── deploy │ │ │ └── HadoopAuthDeploymentContributor.java │ │ │ └── filter │ │ │ ├── HadoopAuthFilter.java │ │ │ └── HadoopAuthPostFilter.java │ └── resources │ │ └── META-INF │ │ └── services │ │ └── org.apache.knox.gateway.deploy.ProviderDeploymentContributor │ └── test │ └── java │ └── org │ └── apache │ └── knox │ └── gateway │ └── hadoopauth │ ├── HadoopAuthDeploymentContributorTest.java │ └── filter │ └── HadoopAuthFilterTest.java ├── gateway-provider-security-jwt ├── pom.xml └── src │ ├── main │ ├── java │ │ └── org │ │ │ └── apache │ │ │ └── knox │ │ │ └── gateway │ │ │ └── provider │ │ │ └── federation │ │ │ └── jwt │ │ │ ├── JWTMessages.java │ │ │ ├── deploy │ │ │ ├── AccessTokenFederationContributor.java │ │ │ ├── JWTAccessTokenAssertionContributor.java │ │ │ ├── JWTAuthCodeAssertionContributor.java │ │ │ ├── JWTFederationContributor.java │ │ │ └── SSOCookieFederationContributor.java │ │ │ └── filter │ │ │ ├── AbstractJWTFilter.java │ │ │ ├── AccessTokenFederationFilter.java │ │ │ ├── JWTAccessTokenAssertionFilter.java │ │ │ ├── JWTAuthCodeAssertionFilter.java │ │ │ ├── JWTFederationFilter.java │ │ │ ├── SSOCookieFederationFilter.java │ │ │ └── SignatureVerificationCache.java │ └── resources │ │ └── META-INF │ │ └── services │ │ └── org.apache.knox.gateway.deploy.ProviderDeploymentContributor │ └── test │ └── java │ └── org │ └── apache │ └── knox │ └── gateway │ └── provider │ └── federation │ ├── AbstractJWTFilterTest.java │ ├── ClientIdAndClientSecretFederationFilterTest.java │ ├── CommonJWTFilterTest.java │ ├── JWTAsHTTPBasicCredsFederationFilterTest.java │ ├── JWTFederationFilterTest.java │ ├── SSOCookieProviderTest.java │ ├── TestFilterConfig.java │ ├── TestJWTFederationFilter.java │ ├── TokenIDAsHTTPBasicCredsFederationFilterTest.java │ └── jwt │ └── filter │ ├── JWTTestUtils.java │ └── SignatureVerificationCacheTest.java ├── gateway-provider-security-pac4j ├── pom.xml └── src │ ├── main │ ├── java │ │ └── org │ │ │ └── apache │ │ │ └── knox │ │ │ └── gateway │ │ │ └── pac4j │ │ │ ├── Pac4jMessages.java │ │ │ ├── config │ │ │ ├── AzureADClientConfigurationDecorator.java │ │ │ ├── ClientConfigurationDecorator.java │ │ │ ├── Pac4jClientConfigurationDecorator.java │ │ │ └── SAML2ClientConfigurationDecorator.java │ │ │ ├── deploy │ │ │ └── Pac4jFederationProviderContributor.java │ │ │ ├── filter │ │ │ ├── Pac4jDispatcherFilter.java │ │ │ └── Pac4jIdentityAdapter.java │ │ │ └── session │ │ │ └── KnoxSessionStore.java │ └── resources │ │ └── META-INF │ │ └── services │ │ └── org.apache.knox.gateway.deploy.ProviderDeploymentContributor │ └── test │ └── java │ └── org │ └── apache │ └── knox │ └── gateway │ └── pac4j │ ├── MockHttpServletRequest.java │ ├── MockHttpServletResponse.java │ ├── Pac4jProviderTest.java │ ├── config │ ├── AzureADClientConfigurationDecoratorTest.java │ ├── Pac4jClientConfigurationDecoratorTest.java │ └── SAML2ClientConfigurationDecoratorTest.java │ ├── filter │ └── Pac4jDispatcherFilterTest.java │ └── session │ └── KnoxSessionStoreTest.java ├── gateway-provider-security-preauth ├── pom.xml └── src │ ├── main │ ├── java │ │ └── org │ │ │ └── apache │ │ │ └── knox │ │ │ └── gateway │ │ │ └── preauth │ │ │ ├── PreAuthMessages.java │ │ │ ├── deploy │ │ │ └── HeaderPreAuthContributor.java │ │ │ └── filter │ │ │ ├── AbstractPreAuthFederationFilter.java │ │ │ ├── DefaultValidator.java │ │ │ ├── HeaderPreAuthFederationFilter.java │ │ │ ├── IPValidator.java │ │ │ ├── PreAuthFederationFilter.java │ │ │ ├── PreAuthService.java │ │ │ ├── PreAuthValidationException.java │ │ │ └── PreAuthValidator.java │ └── resources │ │ └── META-INF │ │ └── services │ │ ├── org.apache.knox.gateway.deploy.ProviderDeploymentContributor │ │ └── org.apache.knox.gateway.preauth.filter.PreAuthValidator │ └── test │ ├── java │ └── org │ │ └── apache │ │ └── knox │ │ └── gateway │ │ └── provider │ │ └── federation │ │ ├── DefaultValidatorTest.java │ │ ├── HeaderPreAuthFederationFilterTest.java │ │ ├── IPValidatorTest.java │ │ └── PreAuthServiceTest.java │ └── resources │ └── META-INF │ └── services │ └── org.apache.knox.gateway.preauth.filter.PreAuthValidator ├── gateway-provider-security-shiro ├── pom.xml └── src │ ├── main │ ├── java │ │ └── org │ │ │ └── apache │ │ │ └── knox │ │ │ └── gateway │ │ │ ├── ShiroMessages.java │ │ │ ├── deploy │ │ │ └── impl │ │ │ │ ├── ShiroConfig.java │ │ │ │ └── ShiroDeploymentContributor.java │ │ │ ├── filter │ │ │ ├── RedirectToUrlFilter.java │ │ │ ├── ResponseCookieFilter.java │ │ │ └── ShiroSubjectIdentityAdapter.java │ │ │ └── shirorealm │ │ │ ├── KnoxCacheManager.java │ │ │ ├── KnoxLdapContextFactory.java │ │ │ ├── KnoxLdapRealm.java │ │ │ ├── KnoxPamRealm.java │ │ │ ├── UnixUserPrincipal.java │ │ │ └── impl │ │ │ └── i18n │ │ │ └── KnoxShiroMessages.java │ └── resources │ │ └── META-INF │ │ └── services │ │ └── org.apache.knox.gateway.deploy.ProviderDeploymentContributor │ └── test │ └── java │ └── org │ └── apache │ └── knox │ └── gateway │ ├── deploy │ └── impl │ │ └── ShiroDeploymentContributorTest.java │ ├── filter │ └── RedirectToUrlFilterTest.java │ └── shirorealm │ ├── KnoxCacheManagerTest.java │ ├── KnoxLdapRealmTest.java │ └── KnoxPamRealmTest.java ├── gateway-provider-security-webappsec ├── pom.xml └── src │ ├── main │ ├── java │ │ └── org │ │ │ └── apache │ │ │ └── knox │ │ │ └── gateway │ │ │ └── webappsec │ │ │ ├── WebAppSecMessages.java │ │ │ ├── deploy │ │ │ └── WebAppSecContributor.java │ │ │ └── filter │ │ │ ├── CSRFPreventionFilter.java │ │ │ ├── SecurityHeaderFilter.java │ │ │ ├── StrictTransportFilter.java │ │ │ ├── XContentTypeOptionsFilter.java │ │ │ ├── XFrameOptionsFilter.java │ │ │ └── XSSProtectionFilter.java │ └── resources │ │ └── META-INF │ │ └── services │ │ └── org.apache.knox.gateway.deploy.ProviderDeploymentContributor │ └── test │ └── java │ └── org │ └── apache │ └── knox │ └── gateway │ └── webappsec │ ├── SecurityHeaderFilterTest.java │ ├── StrictTransportFilterTest.java │ ├── XContentTypeOptionsFilterTest.java │ ├── XFrameOptionsFilterTest.java │ ├── XSSProtectionFilterTest.java │ └── deploy │ └── WebAppSecContributorTest.java ├── gateway-release-common ├── home │ └── bin │ │ ├── knox-env.sh │ │ └── knox-functions.sh └── pom.xml ├── gateway-release ├── home │ ├── bin │ │ ├── gateway.sh │ │ ├── gateway.xml │ │ ├── knoxcli.sh │ │ ├── ldap.sh │ │ └── ldap.xml │ ├── conf │ │ ├── README │ │ ├── descriptors │ │ │ └── README │ │ ├── gateway-log4j2.xml │ │ ├── gateway-site.xml │ │ ├── knoxcli-log4j2.xml │ │ ├── ldap-log4j2.xml │ │ ├── shared-providers │ │ │ ├── README │ │ │ └── default-providers.json │ │ ├── shell-log4j2.xml │ │ ├── topologies │ │ │ ├── README │ │ │ ├── admin.xml │ │ │ ├── homepage.xml │ │ │ ├── knoxsso.xml │ │ │ ├── manager.xml │ │ │ ├── metadata.xml │ │ │ └── sandbox.xml │ │ └── users.ldif │ ├── data │ │ ├── README │ │ └── applications │ │ │ └── README │ ├── ext │ │ ├── README │ │ └── native │ │ │ └── README │ ├── lib │ │ └── README │ ├── logs │ │ └── .gitignore │ ├── pids │ │ └── .gitignore │ └── templates │ │ ├── ad.xml │ │ ├── apache-ds-dynamicgroup-schema.ldif │ │ ├── dynamicgroup.xml │ │ ├── hada.xml │ │ ├── hadas.xml │ │ ├── hs2-grouplookup-cache.xml │ │ ├── knox │ │ ├── knoxsso-sandbox.xml │ │ ├── krb5.conf │ │ ├── krb5JAASLogin.conf │ │ ├── pac4j-knoxsso.xml │ │ ├── preauth.xml │ │ ├── preauth127sla.xml │ │ ├── preauth254sla.xml │ │ ├── sample.conf │ │ ├── sample.xml │ │ ├── sandbox-1-3.xml │ │ ├── sandbox-apps.xml │ │ ├── sandbox.knoxrealm.ehcache.xml │ │ ├── sandbox.knoxrealm.xml │ │ ├── sandbox.knoxrealm1.xml │ │ ├── sandbox.knoxrealm2.xml │ │ ├── sandbox.knoxrealmdg.xml │ │ ├── staticgroup.xml │ │ ├── ui.xml │ │ ├── users.ldapdynamicgroups.ldif │ │ ├── users.ldapgroups.ldif │ │ └── users.ldif ├── pom.xml └── src │ ├── assembly.xml │ └── main │ └── resources │ └── META-INF │ └── services │ └── org.apache.knox.gateway.services.GatewayServices ├── gateway-server-launcher ├── pom.xml └── src │ └── main │ └── resources │ └── META-INF │ └── launcher.cfg ├── gateway-server-xforwarded-filter ├── pom.xml └── src │ ├── main │ └── java │ │ └── org │ │ └── apache │ │ └── knox │ │ └── gateway │ │ └── filter │ │ ├── CompositeEnumeration.java │ │ ├── XForwardedHeaderFilter.java │ │ └── XForwardedHeaderRequestWrapper.java │ └── test │ └── java │ └── org │ └── apache │ └── knox │ └── gateway │ └── filter │ ├── CompositeEnumerationTest.java │ ├── TestFilterAdapter.java │ ├── TestFilterChain.java │ └── XForwardHeaderFilterTest.java ├── gateway-server ├── pom.xml └── src │ ├── main │ ├── java │ │ └── org │ │ │ └── apache │ │ │ └── knox │ │ │ └── gateway │ │ │ ├── GatewayCommandLine.java │ │ │ ├── GatewayFactory.java │ │ │ ├── GatewayFilter.java │ │ │ ├── GatewayForwardingServlet.java │ │ │ ├── GatewayMessages.java │ │ │ ├── GatewayResources.java │ │ │ ├── GatewayServer.java │ │ │ ├── GatewayServerLifecycleListener.java │ │ │ ├── GatewayServlet.java │ │ │ ├── UrlEncodedFormRequest.java │ │ │ ├── config │ │ │ └── impl │ │ │ │ └── GatewayConfigImpl.java │ │ │ ├── deploy │ │ │ ├── DeploymentContextImpl.java │ │ │ ├── DeploymentException.java │ │ │ ├── DeploymentFactory.java │ │ │ └── impl │ │ │ │ ├── ApplicationDeploymentContributor.java │ │ │ │ ├── DispatchDeploymentContributor.java │ │ │ │ ├── GenericProviderDeploymentContributor.java │ │ │ │ └── ServiceDefinitionDeploymentContributor.java │ │ │ ├── descriptor │ │ │ ├── GatewayDescriptorFactory.java │ │ │ └── xml │ │ │ │ ├── XmlGatewayDescriptorExporter.java │ │ │ │ ├── XmlGatewayDescriptorFactory.java │ │ │ │ ├── XmlGatewayDescriptorImporter.java │ │ │ │ ├── XmlGatewayDescriptorRules.java │ │ │ │ └── XmlGatewayDescriptorTags.java │ │ │ ├── dispatch │ │ │ ├── DispatchParamResolver.java │ │ │ ├── ServletDispatch.java │ │ │ └── UrlConnectionDispatch.java │ │ │ ├── filter │ │ │ ├── BasicAuthChallengeFilter.java │ │ │ ├── CorrelationHandler.java │ │ │ ├── HSTSHandler.java │ │ │ ├── JaasLoginFilter.java │ │ │ ├── PortMappingHelperHandler.java │ │ │ ├── RequestUpdateHandler.java │ │ │ └── SessionFilter.java │ │ │ ├── model │ │ │ ├── DescriptorConfiguration.java │ │ │ ├── ProviderConfiguration.java │ │ │ └── Topology.java │ │ │ ├── services │ │ │ ├── AbstractGatewayServices.java │ │ │ ├── CLIGatewayServices.java │ │ │ ├── DefaultGatewayServices.java │ │ │ ├── DefaultServerInfoService.java │ │ │ ├── GatewayMetricsServletContextListener.java │ │ │ ├── GatewayServiceFactory.java │ │ │ ├── GatewayServicesContextListener.java │ │ │ ├── factory │ │ │ │ ├── AbstractServiceFactory.java │ │ │ │ ├── AliasServiceFactory.java │ │ │ │ ├── ClusterConfigurationMonitorServiceFactory.java │ │ │ │ ├── ConcurrentSessionVerifierFactory.java │ │ │ │ ├── CryptoServiceFactory.java │ │ │ │ ├── GatewayStatusServiceFactory.java │ │ │ │ ├── HostMappingServiceFactory.java │ │ │ │ ├── KeystoreServiceFactory.java │ │ │ │ ├── MasterServiceFactory.java │ │ │ │ ├── MetricsServiceFactory.java │ │ │ │ ├── RemoteRegistryClientServiceFactory.java │ │ │ │ ├── ServerInfoServiceFactory.java │ │ │ │ ├── ServiceDefinitionRegistryFactory.java │ │ │ │ ├── ServiceRegistryServiceFactory.java │ │ │ │ ├── SslServiceFactory.java │ │ │ │ ├── TokenServiceFactory.java │ │ │ │ ├── TokenStateServiceFactory.java │ │ │ │ └── TopologyServiceFactory.java │ │ │ ├── hostmap │ │ │ │ └── impl │ │ │ │ │ └── DefaultHostMapperService.java │ │ │ ├── metrics │ │ │ │ └── impl │ │ │ │ │ ├── DefaultMetricsContext.java │ │ │ │ │ ├── DefaultMetricsService.java │ │ │ │ │ ├── instr │ │ │ │ │ ├── InstrGatewayFilterProvider.java │ │ │ │ │ ├── InstrGatewayFilterProviderDescriptor.java │ │ │ │ │ ├── InstrHttpClientBuilderProvider.java │ │ │ │ │ ├── InstrHttpClientProviderDescriptor.java │ │ │ │ │ ├── InstrUtils.java │ │ │ │ │ └── InstrumentedGatewayFilter.java │ │ │ │ │ └── reporters │ │ │ │ │ ├── AbstractMetricsReporter.java │ │ │ │ │ ├── GraphiteMetricsReporter.java │ │ │ │ │ └── JmxMetricsReporter.java │ │ │ ├── registry │ │ │ │ └── impl │ │ │ │ │ ├── DefaultServiceDefEntry.java │ │ │ │ │ ├── DefaultServiceDefinitionRegistry.java │ │ │ │ │ ├── DefaultServiceRegistryService.java │ │ │ │ │ ├── RegEntry.java │ │ │ │ │ └── Registry.java │ │ │ ├── security │ │ │ │ └── impl │ │ │ │ │ ├── CLIMasterService.java │ │ │ │ │ ├── DefaultAliasService.java │ │ │ │ │ ├── DefaultCryptoService.java │ │ │ │ │ ├── DefaultKeystoreService.java │ │ │ │ │ ├── DefaultMasterService.java │ │ │ │ │ ├── JettySSLService.java │ │ │ │ │ ├── RemoteAliasService.java │ │ │ │ │ ├── ZookeeperRemoteAliasService.java │ │ │ │ │ └── ZookeeperRemoteAliasServiceProvider.java │ │ │ ├── token │ │ │ │ ├── RemoteTokenStateChangeListener.java │ │ │ │ ├── TokenStateServiceStatistics.java │ │ │ │ ├── impl │ │ │ │ │ ├── AbstractPersistentTokenStateService.java │ │ │ │ │ ├── AliasBasedTokenStateService.java │ │ │ │ │ ├── DefaultTokenAuthorityService.java │ │ │ │ │ ├── DefaultTokenStateService.java │ │ │ │ │ ├── DerbyDBTokenStateService.java │ │ │ │ │ ├── JDBCTokenStateService.java │ │ │ │ │ ├── JournalBasedTokenStateService.java │ │ │ │ │ ├── TokenAuthorityServiceMessages.java │ │ │ │ │ ├── TokenStateDatabase.java │ │ │ │ │ ├── TokenStatePeristerMonitorListener.java │ │ │ │ │ ├── TokenStatePersisterMonitor.java │ │ │ │ │ ├── TokenStateServiceMessages.java │ │ │ │ │ ├── ZookeeperTokenStateService.java │ │ │ │ │ └── state │ │ │ │ │ │ ├── FileTokenStateJournal.java │ │ │ │ │ │ ├── MultiFileTokenStateJournal.java │ │ │ │ │ │ └── TokenStateJournalFactory.java │ │ │ │ └── state │ │ │ │ │ ├── JournalEntry.java │ │ │ │ │ └── TokenStateJournal.java │ │ │ └── topology │ │ │ │ ├── impl │ │ │ │ ├── DefaultClusterConfigurationMonitorService.java │ │ │ │ ├── DefaultTopologyService.java │ │ │ │ └── GatewayStatusService.java │ │ │ │ └── monitor │ │ │ │ ├── DescriptorsMonitor.java │ │ │ │ └── SharedProviderConfigMonitor.java │ │ │ ├── session │ │ │ └── control │ │ │ │ ├── EmptyConcurrentSessionVerifier.java │ │ │ │ └── InMemoryConcurrentSessionVerifier.java │ │ │ ├── topology │ │ │ ├── builder │ │ │ │ ├── BeanPropertyTopologyBuilder.java │ │ │ │ ├── PropertyTopologyBuilder.java │ │ │ │ └── property │ │ │ │ │ ├── Property.java │ │ │ │ │ └── interpreter │ │ │ │ │ ├── AbstractInterpreter.java │ │ │ │ │ ├── GatewayPropertyInterpreter.java │ │ │ │ │ ├── InterpretException.java │ │ │ │ │ ├── Interpreter.java │ │ │ │ │ ├── PropertyInterpreter.java │ │ │ │ │ ├── ProviderParameterPropertyInterpreter.java │ │ │ │ │ ├── ProviderPropertyInterpreter.java │ │ │ │ │ ├── ServiceParameterPropertyInterpreter.java │ │ │ │ │ ├── ServicePropertyInterpreter.java │ │ │ │ │ └── TopologyPropertyInterpreter.java │ │ │ ├── monitor │ │ │ │ ├── RemoteConfigurationMonitorServiceFactory.java │ │ │ │ ├── ZkRemoteConfigurationMonitorService.java │ │ │ │ └── db │ │ │ │ │ ├── DbRemoteConfigurationMonitorService.java │ │ │ │ │ ├── LocalDirectory.java │ │ │ │ │ ├── RemoteConfig.java │ │ │ │ │ └── RemoteConfigDatabase.java │ │ │ ├── validation │ │ │ │ └── TopologyValidator.java │ │ │ └── xml │ │ │ │ ├── AmbariFormatXmlTopologyRules.java │ │ │ │ └── KnoxFormatXmlTopologyRules.java │ │ │ ├── trace │ │ │ ├── AccessHandler.java │ │ │ ├── KnoxErrorHandler.java │ │ │ ├── TraceHandler.java │ │ │ ├── TraceInput.java │ │ │ ├── TraceOutput.java │ │ │ ├── TraceRequest.java │ │ │ ├── TraceResponse.java │ │ │ └── TraceUtil.java │ │ │ ├── util │ │ │ ├── CredentialsProvider.java │ │ │ ├── DescriptorGenerator.java │ │ │ ├── JDBCUtils.java │ │ │ ├── KnoxCLI.java │ │ │ ├── PrincipalCredentials.java │ │ │ ├── ServiceDefinitionsLoader.java │ │ │ ├── ServiceUrls.java │ │ │ ├── ServletRequestUtils.java │ │ │ ├── TokenMigrationTool.java │ │ │ ├── TopologyToDescriptor.java │ │ │ └── TopologyUtils.java │ │ │ ├── webshell │ │ │ ├── ConnectionInfo.java │ │ │ ├── WebshellData.java │ │ │ └── WebshellWebSocketAdapter.java │ │ │ └── websockets │ │ │ ├── GatewayWebsocketHandler.java │ │ │ ├── JWTValidator.java │ │ │ ├── JWTValidatorFactory.java │ │ │ ├── MessageEventCallback.java │ │ │ ├── ProxyInboundClient.java │ │ │ ├── ProxyInboundSocket.java │ │ │ ├── ProxyWebSocketAdapter.java │ │ │ ├── WebSocketFilterConfig.java │ │ │ └── WebsocketLogMessages.java │ └── resources │ │ ├── META-INF │ │ └── services │ │ │ ├── org.apache.knox.gateway.deploy.ProviderDeploymentContributor │ │ │ ├── org.apache.knox.gateway.deploy.ServiceDeploymentContributor │ │ │ ├── org.apache.knox.gateway.security.RemoteAliasServiceProvider │ │ │ ├── org.apache.knox.gateway.services.ServiceFactory │ │ │ ├── org.apache.knox.gateway.services.metrics.InstrumentationProviderDescriptor │ │ │ └── org.apache.knox.gateway.services.metrics.MetricsReporter │ │ ├── build.properties │ │ ├── cluster-sample.xml │ │ ├── conf │ │ ├── gateway-default.xml │ │ ├── gateway-site.xml │ │ ├── log4j2.xml │ │ └── topology-v1.xsd │ │ ├── createKnoxDescriptorsTable.sql │ │ ├── createKnoxProvidersTable.sql │ │ ├── createKnoxTokenDatabaseTable.sql │ │ ├── createKnoxTokenMetadataDatabaseTable.sql │ │ └── org │ │ └── apache │ │ └── knox │ │ └── gateway │ │ └── GatewayServer.xml │ └── test │ ├── java │ └── org │ │ └── apache │ │ └── knox │ │ └── gateway │ │ ├── AuditLoggingTest.java │ │ ├── GatewayFilterTest.java │ │ ├── GatewayForwardingServletTest.java │ │ ├── GatewayFuncTest.xml │ │ ├── GatewayGlobalConfigTest.java │ │ ├── GatewayHttpConfigPropertiesTest.java │ │ ├── GatewayPortMappingConfigTest.java │ │ ├── TempletonDemo.java │ │ ├── UrlEncodedFormRequestTest.java │ │ ├── config │ │ └── impl │ │ │ └── GatewayConfigImplTest.java │ │ ├── deploy │ │ ├── DeploymentFactoryTest.java │ │ └── impl │ │ │ ├── GenericProviderDeploymentContributorTest.java │ │ │ └── ServiceDefinitionDeploymentContributorTest.java │ │ ├── descriptor │ │ ├── GatewayDescriptorTest.java │ │ └── xml │ │ │ ├── XmlGatewayDescriptorExporterTest.java │ │ │ └── XmlGatewayDescriptorImporterTest.java │ │ ├── filter │ │ ├── ForwardedRequestTest.java │ │ └── HSTSHandlerTest.java │ │ ├── mock │ │ └── MockConsoleFactory.java │ │ ├── service │ │ └── config │ │ │ └── remote │ │ │ ├── LocalFileSystemRemoteConfigurationRegistryClientService.java │ │ │ └── LocalFileSystemRemoteConfigurationRegistryClientServiceProvider.java │ │ ├── services │ │ ├── AbstractGatewayServicesTest.java │ │ ├── TestService.java │ │ ├── factory │ │ │ ├── AliasServiceFactoryTest.java │ │ │ ├── ClusterConfigurationMonitorServiceFactoryTest.java │ │ │ ├── ConcurrentSessionVerifierFactoryTest.java │ │ │ ├── CryptoServiceFactoryTest.java │ │ │ ├── HostMappingServiceFactoryTest.java │ │ │ ├── KeystoreServiceFactoryTest.java │ │ │ ├── MasterServiceFactoryTest.java │ │ │ ├── MetricsServiceFactoryTest.java │ │ │ ├── ServerInfoServiceFactoryTest.java │ │ │ ├── ServiceDefinitionRegistryFactoryTest.java │ │ │ ├── ServiceFactoryTest.java │ │ │ ├── SslServiceFactoryTest.java │ │ │ ├── TokenServiceFactoryTest.java │ │ │ ├── TokenStateServiceFactoryTest.java │ │ │ └── TopologyServiceFactoryTest.java │ │ ├── metrics │ │ │ └── impl │ │ │ │ └── DefaultMetricsServiceTest.java │ │ ├── registry │ │ │ └── DefaultServiceDefinitionRegistryTest.java │ │ ├── security │ │ │ ├── CryptoServiceTest.java │ │ │ └── impl │ │ │ │ ├── DefaultKeystoreServiceTest.java │ │ │ │ ├── JettySSLServiceTest.java │ │ │ │ ├── RemoteAliasServiceTest.java │ │ │ │ ├── RemoteAliasServiceTestProvider.java │ │ │ │ ├── ZookeeperRemoteAliasMonitorTest.java │ │ │ │ └── ZookeeperRemoteAliasServiceTest.java │ │ ├── token │ │ │ └── impl │ │ │ │ ├── AliasBasedTokenStateServiceTest.java │ │ │ │ ├── DefaultTokenAuthorityServiceTest.java │ │ │ │ ├── DefaultTokenStateServiceTest.java │ │ │ │ ├── JDBCTokenStateServiceTest.java │ │ │ │ ├── JWKSourceBuilderTest.java │ │ │ │ ├── JournalBasedTokenStateServiceTest.java │ │ │ │ ├── TokenMACTest.java │ │ │ │ ├── ZookeeperTokenStateServiceTest.java │ │ │ │ └── state │ │ │ │ ├── AbstractFileTokenStateJournalTest.java │ │ │ │ ├── FileTokenStateJournalTest.java │ │ │ │ └── MultiFileTokenStateJournalTest.java │ │ └── topology │ │ │ ├── DefaultTopologyServiceTest.java │ │ │ └── impl │ │ │ └── GatewayStatusServiceTest.java │ │ ├── session │ │ └── control │ │ │ └── InMemoryConcurrentSessionVerifierTest.java │ │ ├── topology │ │ ├── builder │ │ │ └── PropertyTopologyBuilderTest.java │ │ ├── discovery │ │ │ ├── PropertiesFileServiceDiscoveryTest.java │ │ │ ├── ServiceDiscoveryFactoryTest.java │ │ │ └── test │ │ │ │ └── extension │ │ │ │ ├── DummyServiceDiscovery.java │ │ │ │ ├── DummyServiceDiscoveryType.java │ │ │ │ ├── PropertiesFileServiceDiscovery.java │ │ │ │ ├── PropertiesFileServiceDiscoveryType.java │ │ │ │ ├── SneakyServiceDiscoveryImpl.java │ │ │ │ └── SneakyServiceDiscoveryType.java │ │ ├── monitor │ │ │ ├── ZkRemoteConfigurationMonitorServiceTest.java │ │ │ ├── ZooKeeperConfigurationMonitorTest.java │ │ │ └── db │ │ │ │ ├── DbRemoteConfigurationMonitorServiceTest.java │ │ │ │ ├── LocalDirectoryTest.java │ │ │ │ └── RemoteConfigDatabaseTest.java │ │ ├── simple │ │ │ ├── ProviderConfigurationParserTest.java │ │ │ ├── SimpleDescriptorFactoryTest.java │ │ │ └── SimpleDescriptorHandlerTest.java │ │ ├── validation │ │ │ └── TopologyValidatorTest.java │ │ └── xml │ │ │ └── TopologyRulesModuleTest.java │ │ ├── util │ │ ├── DescriptorGeneratorTest.java │ │ ├── JDBCUtilsTest.java │ │ ├── KnoxCLITest.java │ │ └── ServiceDefinitionsLoaderTest.java │ │ ├── webshell │ │ ├── ConnectionInfoTest.java │ │ └── WebshellWebsocketAdapterTest.java │ │ └── websockets │ │ ├── BadBackendTest.java │ │ ├── BadSocket.java │ │ ├── BadUrlTest.java │ │ ├── BigEchoSocketHandler.java │ │ ├── ConnectionDroppedTest.java │ │ ├── EchoSocket.java │ │ ├── GatewayWebsocketHandlerTest.java │ │ ├── JWTValidatorTest.java │ │ ├── MessageFailureTest.java │ │ ├── ProxyInboundClientTest.java │ │ ├── WebsocketBackendUrlTest.java │ │ ├── WebsocketClient.java │ │ ├── WebsocketEchoHTTPServiceRoleTest.java │ │ ├── WebsocketEchoHandler.java │ │ ├── WebsocketEchoTest.java │ │ ├── WebsocketEchoTestBase.java │ │ ├── WebsocketMultipleConnectionTest.java │ │ ├── WebsocketServerInitiatedMessageTest.java │ │ └── WebsocketServerInitiatedPingTest.java │ └── resources │ ├── META-INF │ └── services │ │ ├── org.apache.knox.gateway.security.RemoteAliasServiceProvider │ │ ├── org.apache.knox.gateway.service.config.remote.RemoteConfigurationRegistryClientServiceProvider │ │ └── org.apache.knox.gateway.topology.discovery.ServiceDiscoveryType │ ├── client-keystore.jks │ ├── client-truststore.jks │ ├── conf-demo │ └── conf │ │ ├── gateway-default.xml │ │ ├── gateway-site.xml │ │ ├── shiro.ini │ │ └── topologies │ │ ├── admin.xml │ │ └── sandbox.xml │ ├── conf-empty │ └── conf │ │ └── empty │ ├── conf-full │ └── conf │ │ ├── descriptors │ │ └── test-topology.json │ │ ├── gateway-default.xml │ │ ├── gateway-site.xml │ │ └── shared-providers │ │ └── test-providers.json │ ├── conf-site │ └── conf │ │ └── gateway-site.xml │ ├── gateway-demo-insecure.xml │ ├── gateway-demo-secure.xml │ ├── jaas.conf │ ├── keystores │ ├── readme.txt │ ├── server-keystore.jks │ ├── server-truststore.jks │ └── testSigningKeyName.jks │ ├── krb5.conf │ ├── log4j2-test.xml │ ├── org │ └── apache │ │ └── knox │ │ └── gateway │ │ ├── GatewayFuncTest.xml │ │ └── topology │ │ ├── file │ │ ├── ambari-cluster-policy.xml │ │ ├── provider-config-one.xml │ │ ├── simple-descriptor-five.json │ │ ├── simple-descriptor-six.json │ │ ├── simple-topology-four.json │ │ ├── topology-one.xml │ │ ├── topology-three.xml │ │ └── topology-two.xml │ │ ├── validation │ │ └── TopologyValidatorTest │ │ │ ├── topology-valid-complete.xml │ │ │ ├── topology-valid-with-name.xml │ │ │ └── topology-valid.xml │ │ └── xml │ │ ├── TopologyRulesModuleTest │ │ ├── topology-with-application.xml │ │ ├── topology-with-dispatch-parameters.xml │ │ └── topology-with-dispatch.xml │ │ ├── service-param-topology-ambari-format.conf │ │ ├── service-param-topology-knox-format.xml │ │ ├── simple-topology-ambari-format.conf │ │ └── simple-topology-knox-format.xml │ ├── server-keystore.jks │ ├── services │ ├── bar │ │ └── 2.0.0 │ │ │ └── service.xml │ └── foo │ │ └── 1.0.0 │ │ ├── rewrite.xml │ │ ├── service.xml │ │ └── service.xml.ignored │ ├── shiro.ini │ ├── token-test.xml │ └── websocket-services │ └── websocket │ └── 0.6.0 │ ├── rewrite.xml │ └── service.xml ├── gateway-service-admin ├── pom.xml └── src │ ├── main │ ├── java │ │ └── org │ │ │ └── apache │ │ │ └── knox │ │ │ └── gateway │ │ │ └── service │ │ │ └── admin │ │ │ ├── AliasResource.java │ │ │ ├── HrefListingMarshaller.java │ │ │ ├── ServiceDefinitionCollectionMarshaller.java │ │ │ ├── ServiceDefinitionUnmarshaller.java │ │ │ ├── ServiceDefinitionsResource.java │ │ │ ├── ServiceDiscoveryCollectionMarshaller.java │ │ │ ├── ServiceDiscoveryResource.java │ │ │ ├── TopologiesResource.java │ │ │ ├── TopologyCollectionMarshaller.java │ │ │ ├── TopologyMarshaller.java │ │ │ ├── VersionMarshaller.java │ │ │ ├── VersionResource.java │ │ │ ├── beans │ │ │ ├── Application.java │ │ │ ├── BeanConverter.java │ │ │ ├── Param.java │ │ │ ├── Provider.java │ │ │ ├── Service.java │ │ │ └── Topology.java │ │ │ └── deploy │ │ │ └── AdminServiceDeploymentContributor.java │ └── resources │ │ ├── META-INF │ │ └── services │ │ │ └── org.apache.knox.gateway.deploy.ServiceDeploymentContributor │ │ └── org │ │ └── apache │ │ └── knox │ │ └── gateway │ │ └── service │ │ └── admin │ │ ├── beans │ │ └── jaxb.properties │ │ └── jaxb.properties │ └── test │ └── java │ └── org │ └── apache │ └── knox │ └── gateway │ └── service │ └── admin │ ├── TopologyMarshallerTest.java │ └── TopologyResourceTest.java ├── gateway-service-as ├── pom.xml └── src │ └── main │ ├── java │ └── org │ │ └── apache │ │ └── knox │ │ └── gateway │ │ └── as │ │ └── ASDeploymentContributor.java │ └── resources │ └── META-INF │ └── services │ └── org.apache.knox.gateway.deploy.ServiceDeploymentContributor ├── gateway-service-auth ├── .gitignore ├── pom.xml └── src │ ├── main │ ├── java │ │ └── org │ │ │ └── apache │ │ │ └── knox │ │ │ └── gateway │ │ │ └── service │ │ │ └── auth │ │ │ ├── AbstractAuthResource.java │ │ │ ├── AuthBearerResource.java │ │ │ ├── AuthMessages.java │ │ │ ├── ExtAuthzResource.java │ │ │ ├── PATCH.java │ │ │ ├── PreAuthResource.java │ │ │ └── deploy │ │ │ └── AuthServiceDeploymentContributor.java │ └── resources │ │ └── META-INF │ │ └── services │ │ └── org.apache.knox.gateway.deploy.ServiceDeploymentContributor │ └── test │ └── java │ └── org │ └── apache │ └── knox │ └── gateway │ └── service │ └── auth │ ├── AuthBearerResourceTest.java │ ├── ExtAuthzResourceTest.java │ └── PreAuthResourceTest.java ├── gateway-service-definitions ├── pom.xml └── src │ ├── main │ ├── java │ │ └── org │ │ │ └── apache │ │ │ └── knox │ │ │ └── gateway │ │ │ └── service │ │ │ └── definition │ │ │ ├── CustomDispatch.java │ │ │ ├── DispatchParam.java │ │ │ ├── Metadata.java │ │ │ ├── Policy.java │ │ │ ├── Rewrite.java │ │ │ ├── Route.java │ │ │ ├── Sample.java │ │ │ ├── ServiceDefinition.java │ │ │ ├── ServiceDefinitionChangeListener.java │ │ │ └── ServiceDefinitionComparator.java │ └── resources │ │ └── services │ │ ├── ambari │ │ ├── 0.2.2.0 │ │ │ ├── rewrite.xml │ │ │ └── service.xml │ │ └── 2.2.0 │ │ │ ├── rewrite.xml │ │ │ └── service.xml │ │ ├── ambariui │ │ └── 2.2.0 │ │ │ ├── rewrite.xml │ │ │ └── service.xml │ │ ├── ambariws │ │ └── 2.2.0 │ │ │ ├── rewrite.xml │ │ │ └── service.xml │ │ ├── atlas-api │ │ ├── 0.1.2.0 │ │ │ ├── rewrite.xml │ │ │ └── service.xml │ │ ├── 0.8.0 │ │ │ ├── rewrite.xml │ │ │ └── service.xml │ │ └── 2.0.0 │ │ │ ├── rewrite.xml │ │ │ └── service.xml │ │ ├── atlas │ │ ├── 0.1.2.0 │ │ │ ├── rewrite.xml │ │ │ └── service.xml │ │ ├── 0.8.0 │ │ │ ├── rewrite.xml │ │ │ └── service.xml │ │ ├── 2.0.0 │ │ │ ├── rewrite.xml │ │ │ └── service.xml │ │ └── 2.1.0 │ │ │ ├── rewrite.xml │ │ │ └── service.xml │ │ ├── avatica │ │ └── 1.9.0 │ │ │ ├── rewrite.xml │ │ │ └── service.xml │ │ ├── cm-api │ │ └── 1.0.0 │ │ │ ├── rewrite.xml │ │ │ └── service.xml │ │ ├── cm-ui │ │ └── 1.0.0 │ │ │ ├── rewrite.xml │ │ │ └── service.xml │ │ ├── datanode │ │ └── 1.0.0 │ │ │ ├── rewrite.xml │ │ │ └── service.xml │ │ ├── druid-broker │ │ └── 0.0.1 │ │ │ ├── rewrite.xml │ │ │ └── service.xml │ │ ├── druid-coordinator-ui │ │ └── 0.0.1 │ │ │ ├── rewrite.xml │ │ │ └── service.xml │ │ ├── druid-coordinator │ │ └── 0.0.1 │ │ │ ├── rewrite.xml │ │ │ └── service.xml │ │ ├── druid-overlord-ui │ │ └── 0.0.1 │ │ │ ├── rewrite.xml │ │ │ └── service.xml │ │ ├── druid-overlord │ │ └── 0.0.1 │ │ │ ├── rewrite.xml │ │ │ └── service.xml │ │ ├── druid-router │ │ └── 0.0.1 │ │ │ ├── rewrite.xml │ │ │ └── service.xml │ │ ├── elasticsearch │ │ └── 1.0.0 │ │ │ ├── rewrite.xml │ │ │ └── service.xml │ │ ├── falcon │ │ └── 0.6.0 │ │ │ ├── rewrite.xml │ │ │ └── service.xml │ │ ├── flink │ │ └── 1.10.1 │ │ │ ├── rewrite.xml │ │ │ └── service.xml │ │ ├── ganglia │ │ └── 3.7.2 │ │ │ ├── rewrite.xml │ │ │ └── service.xml │ │ ├── gremlin │ │ └── 1.0.0 │ │ │ ├── rewrite.xml │ │ │ └── service.xml │ │ ├── hbase │ │ └── 0.98.0 │ │ │ ├── rewrite.xml │ │ │ └── service.xml │ │ ├── hbasejars │ │ └── 2.2.0 │ │ │ ├── rewrite.xml │ │ │ └── service.xml │ │ ├── hbaseui │ │ ├── 1.1.0 │ │ │ ├── rewrite.xml │ │ │ └── service.xml │ │ ├── 2.1.0 │ │ │ ├── rewrite.xml │ │ │ └── service.xml │ │ └── 2.5.10 │ │ │ ├── rewrite.xml │ │ │ └── service.xml │ │ ├── hdfsui │ │ ├── 2.7.0 │ │ │ ├── rewrite.xml │ │ │ └── service.xml │ │ └── 3.0.0 │ │ │ ├── rewrite.xml │ │ │ └── service.xml │ │ ├── hive │ │ └── 0.13.0 │ │ │ ├── rewrite.xml │ │ │ └── service.xml │ │ ├── hiveserver2ui │ │ └── 3.1.2 │ │ │ ├── rewrite.xml │ │ │ └── service.xml │ │ ├── hue │ │ └── 1.0.0 │ │ │ ├── rewrite.xml │ │ │ └── service.xml │ │ ├── iceberg-rest │ │ └── 0.0.1 │ │ │ ├── rewrite.xml │ │ │ └── service.xml │ │ ├── impala │ │ └── 1.0.0 │ │ │ ├── rewrite.xml │ │ │ └── service.xml │ │ ├── impalaui │ │ └── 1.0.0 │ │ │ ├── rewrite.xml │ │ │ └── service.xml │ │ ├── jkg │ │ └── 1.1.2 │ │ │ ├── rewrite.xml │ │ │ └── service.xml │ │ ├── jkgws │ │ └── 1.1.2 │ │ │ ├── rewrite.xml │ │ │ └── service.xml │ │ ├── jobhistoryui │ │ └── 2.7.0 │ │ │ ├── rewrite.xml │ │ │ └── service.xml │ │ ├── kafka │ │ └── 0.10.0 │ │ │ ├── rewrite.xml │ │ │ └── service.xml │ │ ├── kuduui │ │ └── 1.0.0 │ │ │ ├── rewrite.xml │ │ │ └── service.xml │ │ ├── livy │ │ ├── 0.4.0 │ │ │ ├── rewrite.xml │ │ │ └── service.xml │ │ └── 0.4.3 │ │ │ ├── rewrite.xml │ │ │ └── service.xml │ │ ├── logsearch │ │ └── 0.5.0 │ │ │ ├── rewrite.xml │ │ │ └── service.xml │ │ ├── nifi-registry │ │ └── 0.5.0 │ │ │ ├── rewrite.xml │ │ │ └── service.xml │ │ ├── nifi │ │ └── 1.4.0 │ │ │ ├── rewrite.xml │ │ │ └── service.xml │ │ ├── nodemanagerui │ │ └── 2.7.1 │ │ │ ├── rewrite.xml │ │ │ └── service.xml │ │ ├── oozie │ │ ├── 4.0.0 │ │ │ ├── rewrite.xml │ │ │ └── service.xml │ │ └── 5.0.0 │ │ │ ├── rewrite.xml │ │ │ └── service.xml │ │ ├── oozieui │ │ └── 4.2.0 │ │ │ ├── rewrite.xml │ │ │ └── service.xml │ │ ├── ozone-httpfs │ │ └── 1.4.0 │ │ │ ├── rewrite.xml │ │ │ └── service.xml │ │ ├── ozone-recon │ │ └── 1.2.0 │ │ │ ├── rewrite.xml │ │ │ └── service.xml │ │ ├── ozone-scm │ │ ├── 1.2.0 │ │ │ ├── rewrite.xml │ │ │ └── service.xml │ │ └── 1.4.0 │ │ │ ├── rewrite.xml │ │ │ └── service.xml │ │ ├── ozone │ │ └── 1.2.0 │ │ │ ├── rewrite.xml │ │ │ └── service.xml │ │ ├── pinot │ │ └── 1.3.0 │ │ │ ├── rewrite.xml │ │ │ └── service.xml │ │ ├── presto │ │ └── 0.261 │ │ │ ├── rewrite.xml │ │ │ └── service.xml │ │ ├── prestoui │ │ └── 0.261 │ │ │ ├── rewrite.xml │ │ │ └── service.xml │ │ ├── ranger │ │ ├── 0.1.0.0 │ │ │ ├── rewrite.xml │ │ │ └── service.xml │ │ ├── 0.5.0 │ │ │ ├── rewrite.xml │ │ │ └── service.xml │ │ ├── 1.0.0 │ │ │ ├── rewrite.xml │ │ │ └── service.xml │ │ └── 2.3.0 │ │ │ ├── rewrite.xml │ │ │ └── service.xml │ │ ├── rangerui │ │ ├── 0.5.0 │ │ │ ├── rewrite.xml │ │ │ └── service.xml │ │ └── 1.0.0 │ │ │ ├── rewrite.xml │ │ │ └── service.xml │ │ ├── solr │ │ ├── 5.5.0 │ │ │ ├── rewrite.xml │ │ │ └── service.xml │ │ └── 6.0.0 │ │ │ ├── rewrite.xml │ │ │ └── service.xml │ │ ├── spark3historyui │ │ └── 3.0.0 │ │ │ ├── rewrite.xml │ │ │ └── service.xml │ │ ├── sparkhistoryui │ │ ├── 1.4.0 │ │ │ ├── rewrite.xml │ │ │ └── service.xml │ │ └── 2.3.0 │ │ │ ├── rewrite.xml │ │ │ └── service.xml │ │ ├── sparkthriftui │ │ └── 2.1.0 │ │ │ ├── rewrite.xml │ │ │ └── service.xml │ │ ├── storm-logviewer │ │ └── 0.9.3 │ │ │ ├── rewrite.xml │ │ │ └── service.xml │ │ ├── storm │ │ └── 0.9.3 │ │ │ ├── rewrite.xml │ │ │ └── service.xml │ │ ├── trinoui │ │ └── 365 │ │ │ ├── rewrite.xml │ │ │ └── service.xml │ │ ├── webhcat │ │ └── 0.13.0 │ │ │ ├── rewrite.xml │ │ │ └── service.xml │ │ ├── webhdfs │ │ └── 2.4.0 │ │ │ ├── rewrite.xml │ │ │ └── service.xml │ │ ├── yarn-rm │ │ └── 2.5.0 │ │ │ ├── rewrite.xml │ │ │ └── service.xml │ │ ├── yarnui │ │ └── 2.7.0 │ │ │ ├── rewrite.xml │ │ │ └── service.xml │ │ ├── yarnuiv2 │ │ └── 3.0.0 │ │ │ ├── rewrite.xml │ │ │ └── service.xml │ │ ├── zeppelinui │ │ ├── 0.6.0 │ │ │ ├── rewrite.xml │ │ │ └── service.xml │ │ ├── 0.8.0 │ │ │ ├── rewrite.xml │ │ │ └── service.xml │ │ └── 0.8.1 │ │ │ ├── rewrite.xml │ │ │ └── service.xml │ │ └── zeppelinws │ │ ├── 0.6.0 │ │ ├── rewrite.xml │ │ └── service.xml │ │ └── 0.8.1 │ │ ├── rewrite.xml │ │ └── service.xml │ └── test │ ├── java │ └── org │ │ └── apache │ │ └── knox │ │ └── gateway │ │ └── service │ │ └── definition │ │ ├── ServiceDefinitionComparatorTest.java │ │ └── ServiceDefinitionTest.java │ └── resources │ └── services │ └── foo │ └── 1.0.0 │ ├── rewrite.xml │ └── service.xml ├── gateway-service-hashicorp-vault ├── pom.xml └── src │ ├── main │ ├── java │ │ └── org │ │ │ └── apache │ │ │ └── knox │ │ │ └── gateway │ │ │ └── backend │ │ │ └── hashicorp │ │ │ └── vault │ │ │ ├── HashicorpVaultAliasService.java │ │ │ ├── HashicorpVaultRemoteAliasServiceProvider.java │ │ │ └── authentication │ │ │ ├── HashicorpVaultClientAuthenticationProvider.java │ │ │ ├── KubernetesHashicorpVaultClientAuthenticationProvider.java │ │ │ └── TokenHashicorpVaultClientAuthenticationProvider.java │ └── resources │ │ └── META-INF │ │ └── services │ │ ├── org.apache.knox.gateway.backend.hashicorp.vault.authentication.HashicorpVaultClientAuthenticationProvider │ │ └── org.apache.knox.gateway.security.RemoteAliasServiceProvider │ └── test │ ├── java │ └── org │ │ └── apache │ │ └── knox │ │ └── gateway │ │ └── backend │ │ └── hashicorp │ │ └── vault │ │ └── TestHashicorpVaultAliasService.java │ └── resources │ └── log4j2.xml ├── gateway-service-hbase ├── pom.xml └── src │ ├── main │ ├── java │ │ └── org │ │ │ └── apache │ │ │ └── knox │ │ │ └── gateway │ │ │ └── hbase │ │ │ ├── HBaseDispatch.java │ │ │ ├── HBaseHttpClientDispatch.java │ │ │ ├── HBaseRequestUtil.java │ │ │ ├── HBaseUIDispatch.java │ │ │ └── HBaseUIHaDispatch.java │ └── resources │ │ └── org │ │ └── apache │ │ └── knox │ │ └── gateway │ │ └── hbase │ │ └── HBaseDeploymentContributor │ │ └── rewrite.xml │ └── test │ └── java │ └── org │ └── apache │ └── knox │ └── gateway │ └── hbase │ └── HBaseDispatchTest.java ├── gateway-service-health ├── pom.xml └── src │ ├── main │ ├── java │ │ └── org │ │ │ └── apache │ │ │ └── knox │ │ │ └── gateway │ │ │ └── service │ │ │ └── health │ │ │ ├── HealthServiceMessages.java │ │ │ ├── MetricsResource.java │ │ │ ├── PingResource.java │ │ │ └── deploy │ │ │ └── HealthServiceDeploymentContributor.java │ └── resources │ │ └── META-INF │ │ └── services │ │ └── org.apache.knox.gateway.deploy.ServiceDeploymentContributor │ └── test │ └── java │ └── org │ └── apache │ └── knox │ └── gateway │ └── service │ └── health │ ├── MetricsResourceTest.java │ └── PingResourceTest.java ├── gateway-service-hive ├── pom.xml └── src │ └── main │ └── java │ └── org │ └── apache │ └── knox │ └── gateway │ └── hive │ ├── HiveDispatch.java │ ├── HiveDispatchUtils.java │ ├── HiveHaDispatch.java │ └── HiveHttpClientDispatch.java ├── gateway-service-impala ├── pom.xml └── src │ └── main │ └── java │ └── org │ └── apache │ └── knox │ └── gateway │ └── impala │ ├── ImpalaDispatch.java │ ├── ImpalaDispatchUtils.java │ └── ImpalaHaDispatch.java ├── gateway-service-jkg ├── pom.xml └── src │ └── main │ └── java │ └── org │ └── apache │ └── knox │ └── gateway │ └── jkg │ └── JkgDispatch.java ├── gateway-service-knoxsso ├── pom.xml └── src │ ├── main │ ├── java │ │ └── org │ │ │ └── apache │ │ │ └── knox │ │ │ └── gateway │ │ │ └── service │ │ │ └── knoxsso │ │ │ ├── KnoxSSOMessages.java │ │ │ ├── WebSSOResource.java │ │ │ └── deploy │ │ │ └── KnoxSSOServiceDeploymentContributor.java │ └── resources │ │ └── META-INF │ │ └── services │ │ └── org.apache.knox.gateway.deploy.ServiceDeploymentContributor │ └── test │ └── java │ └── org │ └── apache │ └── knox │ └── gateway │ └── service │ └── knoxsso │ └── WebSSOResourceTest.java ├── gateway-service-knoxssout ├── pom.xml └── src │ ├── main │ ├── java │ │ └── org │ │ │ └── apache │ │ │ └── knox │ │ │ └── gateway │ │ │ └── service │ │ │ └── knoxsso │ │ │ ├── KnoxSSOutMessages.java │ │ │ ├── WebSSOutResource.java │ │ │ └── deploy │ │ │ └── KnoxSSOutServiceDeploymentContributor.java │ └── resources │ │ └── META-INF │ │ └── services │ │ └── org.apache.knox.gateway.deploy.ServiceDeploymentContributor │ └── test │ └── java │ └── org │ └── apache │ └── knox │ └── gateway │ └── service │ └── knoxsso │ └── WebSSOutResourceTest.java ├── gateway-service-knoxtoken ├── pom.xml └── src │ ├── main │ ├── java │ │ └── org │ │ │ └── apache │ │ │ └── knox │ │ │ └── gateway │ │ │ └── service │ │ │ └── knoxtoken │ │ │ ├── APIKeyResource.java │ │ │ ├── ClientCredentialsResource.java │ │ │ ├── JWKSResource.java │ │ │ ├── OAuthResource.java │ │ │ ├── PasscodeTokenResourceBase.java │ │ │ ├── ServletContextWrapper.java │ │ │ ├── TokenResource.java │ │ │ ├── TokenResourceV2.java │ │ │ ├── TokenServiceMessages.java │ │ │ └── deploy │ │ │ ├── APIKeyServiceDeploymentContributor.java │ │ │ ├── ClientCredentialsServiceDeploymentContributor.java │ │ │ └── TokenServiceDeploymentContributor.java │ └── resources │ │ └── META-INF │ │ └── services │ │ └── org.apache.knox.gateway.deploy.ServiceDeploymentContributor │ └── test │ └── java │ └── org │ └── apache │ └── knox │ └── gateway │ └── service │ └── knoxtoken │ ├── JWKSResourceTest.java │ ├── ServletContextWrapperTest.java │ └── TokenServiceResourceTest.java ├── gateway-service-livy ├── pom.xml └── src │ └── main │ └── java │ └── org │ └── apache │ └── knox │ └── gateway │ └── livy │ └── LivyDispatch.java ├── gateway-service-metadata ├── pom.xml └── src │ ├── main │ ├── java │ │ └── org │ │ │ └── apache │ │ │ └── knox │ │ │ └── gateway │ │ │ └── service │ │ │ └── metadata │ │ │ ├── GeneralProxyInformation.java │ │ │ ├── GeneralProxyInformationMarshaller.java │ │ │ ├── KnoxMetadataResource.java │ │ │ ├── KnoxMetadataServiceDeploymentContributor.java │ │ │ ├── MetadataServiceMessages.java │ │ │ ├── ServiceModel.java │ │ │ ├── TopologyInformation.java │ │ │ ├── TopologyInformationWrapper.java │ │ │ └── TopologyInformationWrapperMarshaller.java │ └── resources │ │ └── META-INF │ │ └── services │ │ └── org.apache.knox.gateway.deploy.ServiceDeploymentContributor │ └── test │ └── java │ └── org │ └── apache │ └── knox │ └── gateway │ └── service │ └── metadata │ └── ServiceModelTest.java ├── gateway-service-nifi-registry ├── pom.xml └── src │ └── main │ └── java │ └── org │ └── apache │ └── knox │ └── gateway │ └── dispatch │ ├── NiFiRegistryDispatch.java │ └── NiFiRegistryHaDispatch.java ├── gateway-service-nifi ├── pom.xml └── src │ └── main │ └── java │ └── org │ └── apache │ └── knox │ └── gateway │ └── dispatch │ ├── NiFiDispatch.java │ ├── NiFiHaDispatch.java │ ├── NiFiHeaders.java │ ├── NiFiRequestUtil.java │ └── NiFiResponseUtil.java ├── gateway-service-remoteconfig ├── pom.xml └── src │ ├── main │ ├── java │ │ └── org │ │ │ └── apache │ │ │ └── knox │ │ │ └── gateway │ │ │ └── service │ │ │ └── config │ │ │ └── remote │ │ │ ├── RemoteConfigurationMessages.java │ │ │ ├── RemoteConfigurationRegistryClientServiceFactory.java │ │ │ ├── RemoteConfigurationRegistryClientServiceProvider.java │ │ │ ├── RemoteConfigurationRegistryConfig.java │ │ │ ├── config │ │ │ ├── DefaultRemoteConfigurationRegistries.java │ │ │ ├── RemoteConfigurationRegistries.java │ │ │ ├── RemoteConfigurationRegistriesAccessor.java │ │ │ ├── RemoteConfigurationRegistriesParser.java │ │ │ └── RemoteConfigurationRegistry.java │ │ │ └── zk │ │ │ ├── CuratorClientService.java │ │ │ ├── RemoteConfigurationRegistryJAASConfig.java │ │ │ ├── ZooKeeperClientService.java │ │ │ └── ZooKeeperClientServiceProvider.java │ └── resources │ │ └── META-INF │ │ └── services │ │ └── org.apache.knox.gateway.service.config.remote.RemoteConfigurationRegistryClientServiceProvider │ └── test │ └── java │ └── org │ └── apache │ └── knox │ └── gateway │ └── service │ └── config │ └── remote │ ├── config │ ├── DefaultRemoteConfigurationRegistriesTest.java │ └── RemoteConfigurationRegistryConfigParserTest.java │ ├── util │ └── RemoteRegistryConfigTestUtils.java │ └── zk │ ├── RemoteConfigurationRegistryClientServiceSecureTest.java │ ├── RemoteConfigurationRegistryClientServiceTestBase.java │ ├── RemoteConfigurationRegistryClientServiceUnsecureTest.java │ └── RemoteConfigurationRegistryJAASConfigTest.java ├── gateway-service-rm ├── pom.xml └── src │ ├── main │ └── java │ │ └── org │ │ └── apache │ │ └── knox │ │ └── gateway │ │ └── rm │ │ ├── dispatch │ │ ├── RMHaBaseDispatcher.java │ │ ├── RMHaDispatch.java │ │ ├── RMUI2HaDispatch.java │ │ ├── RMUIHaDispatch.java │ │ └── StandbyException.java │ │ └── i18n │ │ └── RMMessages.java │ └── test │ └── java │ └── org │ └── apache │ └── knox │ └── gateway │ └── rm │ └── dispatch │ └── RMHaDispatchTest.java ├── gateway-service-session ├── pom.xml └── src │ └── main │ ├── java │ └── org │ │ └── apache │ │ └── knox │ │ └── gateway │ │ └── service │ │ └── session │ │ ├── SessionInformation.java │ │ ├── SessionInformationMarshaller.java │ │ ├── SessionResource.java │ │ ├── SessionServiceDeploymentContributor.java │ │ └── SessionServiceMessages.java │ └── resources │ └── META-INF │ └── services │ └── org.apache.knox.gateway.deploy.ServiceDeploymentContributor ├── gateway-service-storm ├── pom.xml └── src │ └── main │ └── java │ └── org │ └── apache │ └── knox │ └── gateway │ └── storm │ └── StormDispatch.java ├── gateway-service-test ├── pom.xml └── src │ └── main │ ├── java │ └── org │ │ └── apache │ │ └── knox │ │ └── gateway │ │ └── service │ │ └── test │ │ ├── ServiceTestResource.java │ │ ├── ServiceTestURL.java │ │ ├── ServiceTestWrapperMarshaller.java │ │ └── deploy │ │ └── ServiceTestDeploymentContributor.java │ └── resources │ ├── META-INF │ └── services │ │ └── org.apache.knox.gateway.deploy.ServiceDeploymentContributor │ └── org │ └── apache │ └── knox │ └── gateway │ └── service │ └── test │ └── jaxb.properties ├── gateway-service-tgs ├── pom.xml └── src │ └── main │ ├── java │ └── org │ │ └── apache │ │ └── knox │ │ └── gateway │ │ └── tgs │ │ └── TGSDeploymentContributor.java │ └── resources │ └── META-INF │ └── services │ └── org.apache.knox.gateway.deploy.ServiceDeploymentContributor ├── gateway-service-vault ├── pom.xml └── src │ └── main │ ├── java │ └── org │ │ └── apache │ │ └── knox │ │ └── gateway │ │ └── service │ │ └── vault │ │ ├── CredentialResource.java │ │ └── deploy │ │ └── VaultServiceDeploymentContributor.java │ └── resources │ └── META-INF │ └── services │ └── org.apache.knox.gateway.deploy.ServiceDeploymentContributor ├── gateway-service-webhdfs ├── pom.xml └── src │ ├── main │ ├── java │ │ └── org │ │ │ └── apache │ │ │ └── knox │ │ │ └── gateway │ │ │ └── hdfs │ │ │ ├── JobTrackerDeploymentContributor.java │ │ │ ├── NameNodeDeploymentContributor.java │ │ │ ├── ResourceManagerApiDeploymentContributor.java │ │ │ ├── dispatch │ │ │ ├── AbstractHdfsHaDispatch.java │ │ │ ├── HdfsDispatch.java │ │ │ ├── HdfsHttpClientDispatch.java │ │ │ ├── HdfsUIHaDispatch.java │ │ │ ├── SafeModeException.java │ │ │ ├── StandbyException.java │ │ │ ├── WebHdfsHaDispatch.java │ │ │ └── WebHdfsHaHttpClientDispatch.java │ │ │ └── i18n │ │ │ └── WebHdfsMessages.java │ └── resources │ │ ├── META-INF │ │ └── services │ │ │ └── org.apache.knox.gateway.deploy.ServiceDeploymentContributor │ │ └── org │ │ └── apache │ │ └── knox │ │ └── gateway │ │ └── hdfs │ │ └── WebHdfsDeploymentContributor │ │ └── rewrite.xml │ └── test │ └── java │ └── org │ └── apache │ └── knox │ └── gateway │ └── hdfs │ └── dispatch │ └── WebHdfsHaDispatchTest.java ├── gateway-shell-launcher ├── pom.xml └── src │ └── main │ └── resources │ └── META-INF │ └── launcher.cfg ├── gateway-shell-release ├── home │ ├── README │ ├── bin │ │ └── knoxshell.sh │ └── conf │ │ └── knoxshell-log4j2.xml ├── pom.xml └── src │ └── assembly.xml ├── gateway-shell-samples ├── pom.xml └── src │ └── main │ └── resources │ └── samples │ ├── ExampleHBase.groovy │ ├── ExampleManagerListResources.groovy │ ├── ExampleManagerResourceDeployment.groovy │ ├── ExampleOozieWorkflow.groovy │ ├── ExampleWebHCatJob.groovy │ ├── ExampleWebHCatJobTeragen.groovy │ ├── ExampleWebHCatPig.groovy │ ├── ExampleWebHCatQueue.groovy │ ├── ExampleWebHCatSqoop.groovy │ ├── ExampleWebHdfsLs.groovy │ ├── ExampleWebHdfsPutGet.groovy │ ├── README │ ├── SampleComplexCommand.groovy │ ├── SampleScript.groovy │ ├── SampleService.groovy │ ├── SampleSimpleCommand.groovy │ ├── hive │ ├── groovy │ │ └── jdbc │ │ │ ├── sandbox-with-knox-inside │ │ │ ├── HiveJDBCSample.groovy │ │ │ └── README │ │ │ └── sandbox │ │ │ ├── HiveJDBCSample.groovy │ │ │ └── README │ ├── java │ │ └── jdbc │ │ │ ├── sandbox-with-knox-inside │ │ │ ├── HiveJDBCSample.java │ │ │ └── README │ │ │ └── sandbox │ │ │ ├── HiveJDBCSample.java │ │ │ └── README │ └── sample.log │ ├── sample-descriptor.json │ ├── sample-providers.json │ └── sandbox-with-knox-inside.xml ├── gateway-shell ├── pom.xml └── src │ ├── main │ ├── java │ │ └── org │ │ │ └── apache │ │ │ └── knox │ │ │ └── gateway │ │ │ └── shell │ │ │ ├── AbstractCredentialCollector.java │ │ │ ├── AbstractJavaConsoleCredentialCollector.java │ │ │ ├── AbstractRequest.java │ │ │ ├── BasicResponse.java │ │ │ ├── ClearInputCredentialCollector.java │ │ │ ├── ClientContext.java │ │ │ ├── CredentialCollectionException.java │ │ │ ├── CredentialCollector.java │ │ │ ├── Credentials.java │ │ │ ├── EmptyResponse.java │ │ │ ├── ErrorResponse.java │ │ │ ├── Hadoop.java │ │ │ ├── HadoopException.java │ │ │ ├── HiddenInputCredentialCollector.java │ │ │ ├── HttpDelete.java │ │ │ ├── KnoxClientRetryHandler.java │ │ │ ├── KnoxDataSource.java │ │ │ ├── KnoxSession.java │ │ │ ├── KnoxSh.java │ │ │ ├── KnoxShellException.java │ │ │ ├── KnoxShellMessages.java │ │ │ ├── KnoxTokenCredentialCollector.java │ │ │ ├── Shell.java │ │ │ ├── alias │ │ │ ├── AbstractAliasRequest.java │ │ │ ├── AddAliasResponse.java │ │ │ ├── Alias.java │ │ │ ├── AliasResponse.java │ │ │ ├── DeleteRequest.java │ │ │ ├── ListAliasResponse.java │ │ │ ├── ListRequest.java │ │ │ ├── PostRequest.java │ │ │ └── RemoveAliasResponse.java │ │ │ ├── commands │ │ │ ├── AbstractKnoxShellCommand.java │ │ │ ├── AbstractSQLCommandSupport.java │ │ │ ├── CSVCommand.java │ │ │ ├── DataSourceCommand.java │ │ │ ├── KnoxLoginDialog.java │ │ │ ├── LoginCommand.java │ │ │ ├── SelectCommand.java │ │ │ ├── SwingUtils.java │ │ │ └── WebHDFSCommand.java │ │ │ ├── hbase │ │ │ ├── ClusterVersion.java │ │ │ ├── Example.groovy │ │ │ ├── HBase.java │ │ │ ├── Status.java │ │ │ ├── SystemVersion.java │ │ │ └── table │ │ │ │ ├── Attribute.java │ │ │ │ ├── CreateTable.java │ │ │ │ ├── DeleteTable.java │ │ │ │ ├── Family.java │ │ │ │ ├── FamilyContainer.java │ │ │ │ ├── Table.java │ │ │ │ ├── TableList.java │ │ │ │ ├── TableRegions.java │ │ │ │ ├── TableSchema.java │ │ │ │ ├── TruncateTable.java │ │ │ │ ├── UpdateTable.java │ │ │ │ ├── row │ │ │ │ ├── Column.java │ │ │ │ ├── DeleteRows.java │ │ │ │ ├── InsertableColumn.java │ │ │ │ ├── QueryRows.java │ │ │ │ ├── Row.java │ │ │ │ └── StoreRow.java │ │ │ │ └── scanner │ │ │ │ ├── CreateScanner.java │ │ │ │ ├── DeleteScanner.java │ │ │ │ ├── Scanner.java │ │ │ │ └── ScannerGetNext.java │ │ │ ├── hdfs │ │ │ ├── Example.groovy │ │ │ ├── Get.java │ │ │ ├── Hdfs.java │ │ │ ├── Ls.java │ │ │ ├── Mkdir.java │ │ │ ├── Put.java │ │ │ ├── Rename.java │ │ │ ├── Rm.java │ │ │ └── Status.java │ │ │ ├── jdbc │ │ │ ├── Database.java │ │ │ ├── JDBCUtils.java │ │ │ ├── KnoxLine.java │ │ │ └── derby │ │ │ │ ├── DerbyDatabase.java │ │ │ │ └── DerbyDatabaseException.java │ │ │ ├── job │ │ │ ├── ExampleHive.groovy │ │ │ ├── ExampleJava.groovy │ │ │ ├── ExamplePig.groovy │ │ │ ├── Hive.java │ │ │ ├── Java.java │ │ │ ├── Job.java │ │ │ ├── Pig.java │ │ │ ├── Queue.java │ │ │ ├── Sqoop.java │ │ │ └── Status.java │ │ │ ├── knox │ │ │ └── token │ │ │ │ ├── AbstractTokenLifecycleRequest.java │ │ │ │ ├── Get.java │ │ │ │ ├── Renew.java │ │ │ │ ├── Revoke.java │ │ │ │ ├── Token.java │ │ │ │ └── TokenLifecycleResponse.java │ │ │ ├── manager │ │ │ ├── DeployResourceRequest.java │ │ │ ├── ListDescriptorsRequest.java │ │ │ ├── ListProviderConfigurationsRequest.java │ │ │ ├── ListResourcesRequest.java │ │ │ ├── ListTopologiesRequest.java │ │ │ ├── Manager.java │ │ │ ├── ResourceType.java │ │ │ └── UndeployResourceRequest.java │ │ │ ├── table │ │ │ ├── CSVKnoxShellTableBuilder.java │ │ │ ├── JDBCKnoxShellTableBuilder.java │ │ │ ├── JSONKnoxShellTableBuilder.java │ │ │ ├── JoinKnoxShellTableBuilder.java │ │ │ ├── KnoxShellTable.java │ │ │ ├── KnoxShellTableAggregator.java │ │ │ ├── KnoxShellTableBuilder.java │ │ │ ├── KnoxShellTableCall.java │ │ │ ├── KnoxShellTableCallHistory.java │ │ │ ├── KnoxShellTableCell.java │ │ │ ├── KnoxShellTableFileUtils.java │ │ │ ├── KnoxShellTableFilter.java │ │ │ ├── KnoxShellTableFilterException.java │ │ │ ├── KnoxShellTableHistoryAspect.java │ │ │ ├── KnoxShellTableJSONSerializer.java │ │ │ ├── KnoxShellTableRenderer.java │ │ │ └── KnoxShellTableRowDeserializer.java │ │ │ ├── util │ │ │ └── ClientTrustStoreHelper.java │ │ │ ├── workflow │ │ │ ├── Example.groovy │ │ │ ├── Status.java │ │ │ ├── Submit.java │ │ │ └── Workflow.java │ │ │ └── yarn │ │ │ ├── AppState.java │ │ │ ├── ExampleYarnApp.groovy │ │ │ ├── KillApp.java │ │ │ ├── NewApp.java │ │ │ ├── SubmitApp.java │ │ │ └── Yarn.java │ └── resources │ │ ├── META-INF │ │ ├── aop.xml │ │ └── services │ │ │ └── org.apache.knox.gateway.shell.CredentialCollector │ │ └── jaas.conf │ └── test │ ├── java │ └── org │ │ └── apache │ │ └── knox │ │ └── gateway │ │ └── shell │ │ ├── AbstractRequestTest.java │ │ ├── KnoxSessionTest.java │ │ ├── KnoxShTest.java │ │ ├── KnoxTokenCredentialCollectorTest.java │ │ ├── alias │ │ ├── AbstractResponseTest.java │ │ ├── AddAliasResponseTest.java │ │ ├── AliasTest.java │ │ ├── ListAliasResponseTest.java │ │ └── RemoveAliasResponseTest.java │ │ ├── knox │ │ └── token │ │ │ ├── GetTest.java │ │ │ └── TokenTest.java │ │ └── table │ │ ├── KnoxShellTableCallHistoryTest.java │ │ ├── KnoxShellTableFilterTest.java │ │ └── KnoxShellTableTest.java │ └── resources │ ├── createBooksTable.sql │ ├── insertBooks.sql │ ├── knoxShellTableCallHistoryWithFiltering.json │ └── knoxShellTableLocationsWithZipLessThan14.csv ├── gateway-spi-common ├── pom.xml └── src │ └── main │ └── java │ └── org │ └── apache │ └── knox │ └── gateway │ ├── GatewayTestConfig.java │ └── descriptor │ └── impl │ ├── FilterDescriptorImpl.java │ ├── FilterParamDescriptorImpl.java │ ├── GatewayDescriptorImpl.java │ ├── GatewayParamDescriptorImpl.java │ ├── ResourceDescriptorImpl.java │ └── ResourceParamDescriptorImpl.java ├── gateway-spi ├── pom.xml └── src │ ├── main │ ├── java │ │ └── org │ │ │ └── apache │ │ │ └── knox │ │ │ └── gateway │ │ │ ├── SpiGatewayMessages.java │ │ │ ├── SpiGatewayResources.java │ │ │ ├── config │ │ │ ├── FilterConfigurationAdapter.java │ │ │ ├── FilterConfigurationAdapterDescriptor.java │ │ │ ├── GatewayConfig.java │ │ │ └── GatewayConfigurationException.java │ │ │ ├── context │ │ │ └── ContextAttributes.java │ │ │ ├── deploy │ │ │ ├── DeploymentContext.java │ │ │ ├── DeploymentContributorBase.java │ │ │ ├── ProviderDeploymentContributor.java │ │ │ ├── ProviderDeploymentContributorBase.java │ │ │ ├── ServiceDeploymentContributor.java │ │ │ └── ServiceDeploymentContributorBase.java │ │ │ ├── descriptor │ │ │ ├── FilterDescriptor.java │ │ │ ├── FilterParamDescriptor.java │ │ │ ├── GatewayDescriptor.java │ │ │ ├── GatewayDescriptorExporter.java │ │ │ ├── GatewayDescriptorImporter.java │ │ │ ├── GatewayParamDescriptor.java │ │ │ ├── ResourceDescriptor.java │ │ │ └── ResourceParamDescriptor.java │ │ │ ├── dispatch │ │ │ ├── AbstractGatewayDispatch.java │ │ │ ├── CappedBufferHttpEntity.java │ │ │ ├── ConfigurableDispatch.java │ │ │ ├── DefaultDispatch.java │ │ │ ├── DefaultHttpAsyncClientFactory.java │ │ │ ├── DefaultHttpClientFactory.java │ │ │ ├── Dispatch.java │ │ │ ├── GatewayDispatchFilter.java │ │ │ ├── HadoopAuthCookieStore.java │ │ │ ├── HeaderPreAuthFederationDispatch.java │ │ │ ├── HttpAsyncClientFactory.java │ │ │ ├── HttpClientDispatch.java │ │ │ ├── HttpClientFactory.java │ │ │ ├── InputStreamEntity.java │ │ │ ├── KnoxSpnegoAuthScheme.java │ │ │ ├── KnoxSpnegoAuthSchemeFactory.java │ │ │ ├── PartiallyRepeatableHttpEntity.java │ │ │ ├── PassAllHeadersDispatch.java │ │ │ ├── PassAllHeadersNoEncodingDispatch.java │ │ │ └── URLDecodingDispatch.java │ │ │ ├── dto │ │ │ └── HomePageProfile.java │ │ │ ├── filter │ │ │ ├── AbstractGatewayFilter.java │ │ │ ├── GatewayRequest.java │ │ │ ├── GatewayRequestWrapper.java │ │ │ ├── GatewayResponse.java │ │ │ ├── GatewayResponseWrapper.java │ │ │ ├── ResponseStreamer.java │ │ │ └── security │ │ │ │ ├── AbstractIdentityAssertionBase.java │ │ │ │ └── AbstractIdentityAssertionFilter.java │ │ │ ├── i18n │ │ │ ├── GatewaySpiMessages.java │ │ │ └── GatewaySpiResources.java │ │ │ ├── security │ │ │ ├── GroupPrincipal.java │ │ │ ├── ImpersonatedPrincipal.java │ │ │ ├── PrimaryPrincipal.java │ │ │ ├── PromptUtils.java │ │ │ ├── RemoteAliasServiceProvider.java │ │ │ ├── SubjectUtils.java │ │ │ ├── UsernamePassword.java │ │ │ └── principal │ │ │ │ ├── PrincipalMapper.java │ │ │ │ ├── PrincipalMappingException.java │ │ │ │ └── SimplePrincipalMapper.java │ │ │ ├── service │ │ │ └── definition │ │ │ │ ├── ServiceDefinitionPair.java │ │ │ │ ├── ServiceDefinitionPairComparator.java │ │ │ │ └── UrlRewriteRulesDescriptorAdapter.java │ │ │ ├── services │ │ │ ├── GatewayServices.java │ │ │ ├── ServerInfoService.java │ │ │ ├── Service.java │ │ │ ├── ServiceFactory.java │ │ │ ├── ServiceLifecycleException.java │ │ │ ├── ServiceType.java │ │ │ ├── config │ │ │ │ └── client │ │ │ │ │ ├── RemoteConfigurationRegistryClient.java │ │ │ │ │ └── RemoteConfigurationRegistryClientService.java │ │ │ ├── hostmap │ │ │ │ ├── FileBasedHostMapper.java │ │ │ │ ├── HostMapper.java │ │ │ │ └── HostMapperService.java │ │ │ ├── metrics │ │ │ │ ├── InstrumentationProvider.java │ │ │ │ ├── InstrumentationProviderDescriptor.java │ │ │ │ ├── MetricsContext.java │ │ │ │ ├── MetricsReporter.java │ │ │ │ ├── MetricsReporterException.java │ │ │ │ └── MetricsService.java │ │ │ ├── registry │ │ │ │ ├── ServiceDefEntry.java │ │ │ │ ├── ServiceDefinitionRegistry.java │ │ │ │ ├── ServiceDefinitionRegistryException.java │ │ │ │ └── ServiceRegistry.java │ │ │ ├── security │ │ │ │ ├── AbstractAliasService.java │ │ │ │ ├── AliasService.java │ │ │ │ ├── AliasServiceException.java │ │ │ │ ├── CryptoService.java │ │ │ │ ├── EncryptionResult.java │ │ │ │ ├── KeystoreService.java │ │ │ │ ├── KeystoreServiceException.java │ │ │ │ ├── MasterService.java │ │ │ │ ├── SSLService.java │ │ │ │ ├── impl │ │ │ │ │ ├── CMFMasterService.java │ │ │ │ │ └── ConfigurableEncryptor.java │ │ │ │ └── token │ │ │ │ │ ├── JWTokenAttributes.java │ │ │ │ │ ├── JWTokenAttributesBuilder.java │ │ │ │ │ ├── JWTokenAuthority.java │ │ │ │ │ ├── KnoxToken.java │ │ │ │ │ ├── PersistentTokenStateService.java │ │ │ │ │ ├── TokenMetadata.java │ │ │ │ │ ├── TokenMetadataType.java │ │ │ │ │ ├── TokenMigrationTarget.java │ │ │ │ │ ├── TokenServiceException.java │ │ │ │ │ ├── TokenStateService.java │ │ │ │ │ ├── TokenStateServiceException.java │ │ │ │ │ ├── TokenStateServiceStatisticsMBean.java │ │ │ │ │ ├── TokenUtils.java │ │ │ │ │ ├── UnknownTokenException.java │ │ │ │ │ └── impl │ │ │ │ │ ├── JWT.java │ │ │ │ │ ├── JWTProviderMessages.java │ │ │ │ │ ├── JWTToken.java │ │ │ │ │ └── TokenMAC.java │ │ │ └── topology │ │ │ │ └── TopologyService.java │ │ │ ├── session │ │ │ ├── SessionInvalidator.java │ │ │ ├── SessionInvalidators.java │ │ │ └── control │ │ │ │ └── ConcurrentSessionVerifier.java │ │ │ ├── sse │ │ │ ├── SSEDispatch.java │ │ │ ├── SSEEntity.java │ │ │ ├── SSEException.java │ │ │ ├── SSEResponse.java │ │ │ └── SSEvent.java │ │ │ ├── topology │ │ │ ├── Application.java │ │ │ ├── ClusterConfigurationMonitorService.java │ │ │ ├── Param.java │ │ │ ├── Provider.java │ │ │ ├── Routable.java │ │ │ ├── Service.java │ │ │ ├── Topology.java │ │ │ ├── TopologyEvent.java │ │ │ ├── TopologyListener.java │ │ │ ├── TopologyMonitor.java │ │ │ ├── TopologyProvider.java │ │ │ ├── Version.java │ │ │ ├── builder │ │ │ │ └── TopologyBuilder.java │ │ │ ├── discovery │ │ │ │ ├── ClusterConfigurationMonitor.java │ │ │ │ ├── ClusterConfigurationMonitorProvider.java │ │ │ │ ├── GatewayService.java │ │ │ │ ├── ServiceDiscovery.java │ │ │ │ ├── ServiceDiscoveryConfig.java │ │ │ │ ├── ServiceDiscoveryFactory.java │ │ │ │ └── ServiceDiscoveryType.java │ │ │ └── monitor │ │ │ │ └── RemoteConfigurationMonitor.java │ │ │ └── util │ │ │ ├── AuthFilterUtils.java │ │ │ ├── AuthorizationException.java │ │ │ ├── FileUtils.java │ │ │ ├── HttpExceptionUtils.java │ │ │ ├── TruststoreSSLContextUtils.java │ │ │ └── WhitelistUtils.java │ └── resources │ │ ├── META-INF │ │ └── services │ │ │ └── org.apache.knox.gateway.config.spi.ConfigurationAdapterDescriptor │ │ └── org │ │ └── apache │ │ └── knox │ │ └── gateway │ │ └── topology │ │ ├── jaxb.index │ │ ├── jaxb.properties │ │ ├── topology_binding-json.xml │ │ └── topology_binding-xml.xml │ └── test │ ├── java │ └── org │ │ └── apache │ │ └── knox │ │ └── gateway │ │ ├── dispatch │ │ ├── CappedBufferHttpEntityTest.java │ │ ├── ConfigurableDispatchTest.java │ │ ├── DefaultDispatchTest.java │ │ ├── DefaultHttpAsyncClientFactoryTest.java │ │ ├── DefaultHttpClientFactoryTest.java │ │ ├── GatewayDispatchFilterTest.java │ │ ├── HadoopAuthCookieStoreTest.java │ │ ├── PartiallyRepeatableHttpEntityTest.java │ │ ├── PassAllHeadersNoEncodingDispatchTest.java │ │ └── URLDecodingDispatchTest.java │ │ ├── dto │ │ └── HomePageProfileTest.java │ │ ├── security │ │ └── principal │ │ │ └── PrincipalMapperTest.java │ │ ├── services │ │ ├── hostmap │ │ │ └── FileBasedHostMapperTest.java │ │ └── security │ │ │ ├── impl │ │ │ ├── CMFMasterServiceTest.java │ │ │ └── TestCMFMasterService.java │ │ │ └── token │ │ │ └── impl │ │ │ └── JWTTokenTest.java │ │ ├── sse │ │ ├── SSEDispatchTest.java │ │ ├── SSEEntityTest.java │ │ └── SSEventTest.java │ │ ├── topology │ │ ├── TopologyTest.java │ │ └── VersionTest.java │ │ └── util │ │ └── WhitelistUtilsTest.java │ └── resources │ ├── keystores │ ├── readme.txt │ ├── server-keystore.jks │ ├── server-truststore.jks │ └── testSigningKeyName.jks │ └── org │ └── apache │ └── knox │ └── gateway │ └── services │ └── hostmap │ └── FileBasedHostMapperTest │ └── hostmap.txt ├── gateway-test-release-utils ├── pom.xml └── src │ └── main │ └── java │ └── org │ └── apache │ └── knox │ └── gateway │ └── GatewayTestDriver.java ├── gateway-test-release ├── pom.xml ├── webhdfs-kerb-test │ ├── pom.xml │ └── src │ │ └── test │ │ ├── java │ │ └── org │ │ │ └── apache │ │ │ ├── hadoop │ │ │ └── http │ │ │ │ └── HttpServer2.java │ │ │ └── knox │ │ │ └── gateway │ │ │ ├── SecureClusterTest.java │ │ │ └── SecureKnoxShellTest.java │ │ └── resources │ │ ├── org │ │ └── apache │ │ │ └── knox │ │ │ └── gateway │ │ │ └── SecureKnoxShellTest │ │ │ ├── README │ │ │ └── SecureWebHdfsPutGet.groovy │ │ └── users.ldif └── webhdfs-test │ ├── pom.xml │ └── src │ └── test │ ├── java │ └── org │ │ └── apache │ │ ├── hadoop │ │ └── http │ │ │ └── HttpServer2.java │ │ └── knox │ │ └── gateway │ │ └── ShellTest.java │ └── resources │ ├── org │ └── apache │ │ └── knox │ │ └── gateway │ │ └── ShellTest │ │ ├── InsecureWebHdfsPutGet.groovy │ │ ├── README │ │ └── WebHdfsPutGet.groovy │ └── users.ldif ├── gateway-test-utils ├── pom.xml └── src │ └── main │ └── java │ └── org │ └── apache │ └── knox │ └── test │ ├── Console.java │ ├── TestUtils.java │ ├── category │ ├── FastTests.java │ ├── ManualTests.java │ ├── MediumTests.java │ ├── ReleaseTest.java │ ├── SlowTests.java │ ├── UnitTests.java │ └── VerifyTest.java │ ├── log │ ├── CollectAppender.java │ └── NoOpLogger.java │ └── mock │ ├── MockFilterConfig.java │ ├── MockHttpServletRequest.java │ ├── MockHttpServletResponse.java │ ├── MockInteraction.java │ ├── MockRequestMatcher.java │ ├── MockResponseProvider.java │ ├── MockServer.java │ ├── MockServlet.java │ ├── MockServletContext.java │ └── MockServletInputStream.java ├── gateway-test ├── pom.xml └── src │ └── test │ ├── java │ └── org │ │ └── apache │ │ └── knox │ │ └── gateway │ │ ├── AmbariServiceDefinitionTest.java │ │ ├── GatewayAdminFuncTest.java │ │ ├── GatewayAdminTopologyFuncTest.java │ │ ├── GatewayAppFuncTest.java │ │ ├── GatewayBasicFuncTest.java │ │ ├── GatewayCorrelationIdTest.java │ │ ├── GatewayDefaultTopologyTest.java │ │ ├── GatewayDeployFuncTest.java │ │ ├── GatewayHSTSTest.java │ │ ├── GatewayHealthFuncTest.java │ │ ├── GatewayLdapDynamicGroupFuncTest.java │ │ ├── GatewayLdapGroupFuncTest.java │ │ ├── GatewayLdapPosixGroupFuncTest.java │ │ ├── GatewayLocalServiceFuncTest.java │ │ ├── GatewayMultiFuncTest.java │ │ ├── GatewayPortMappingDisableFeatureTest.java │ │ ├── GatewayPortMappingFailTest.java │ │ ├── GatewayPortMappingFuncTest.java │ │ ├── GatewaySampleFuncTest.java │ │ ├── GatewayShiroAuthTest.java │ │ ├── GatewaySslFuncTest.java │ │ ├── GatewayUIFuncTest.java │ │ ├── Knox242FuncTest.java │ │ ├── KnoxCliLdapFuncTestNegative.java │ │ ├── KnoxCliLdapFuncTestPositive.java │ │ ├── KnoxCliSysBindTest.java │ │ ├── OozieServiceDefinitionTest.java │ │ ├── PortMappingHelper.java │ │ ├── SimpleDescriptorHandlerFuncTest.java │ │ ├── TestJerseyService.java │ │ ├── TestJerseyServiceDeploymentContributor.java │ │ ├── TestProviderDeploymentContributor.java │ │ ├── TestServiceDeploymentContributor.java │ │ ├── TestServiceDispatchFilter.java │ │ ├── TestServlet.java │ │ ├── WebHdfsHaFuncTest.java │ │ ├── deploy │ │ └── DeploymentFactoryFuncTest.java │ │ └── topology │ │ └── monitor │ │ └── RemoteConfigurationMonitorTest.java │ └── resources │ ├── META-INF │ └── services │ │ ├── org.apache.knox.gateway.deploy.ProviderDeploymentContributor │ │ ├── org.apache.knox.gateway.deploy.ServiceDeploymentContributor │ │ └── org.apache.knox.gateway.topology.discovery.ServiceDiscoveryType │ ├── client-keystore.jks │ ├── client-truststore.jks │ ├── jaas.conf │ ├── krb5.conf │ ├── log4j2.xml │ ├── org │ └── apache │ │ └── knox │ │ └── gateway │ │ ├── AmbariServiceDefinitionTest │ │ ├── clusters-response-expected.json │ │ ├── clusters-response.json │ │ ├── encrypted-response.txt │ │ ├── history-server-response-expected.json │ │ ├── history-server-response.json │ │ ├── post-data-wrong-type.json │ │ ├── test-svcs │ │ │ └── readme.txt │ │ ├── test-topology.xml │ │ ├── unwise-character-response.json │ │ ├── views-response-expected.json │ │ └── views-response.json │ │ ├── GatewayAdminTopologyFuncTest │ │ └── test-cluster.xml │ │ ├── GatewayAppFuncTest │ │ ├── test-apps │ │ │ ├── dynamic-app │ │ │ │ └── app.war │ │ │ │ │ └── WEB-INF │ │ │ │ │ └── web.xml │ │ │ ├── readme.txt │ │ │ ├── static-hello-app │ │ │ │ └── app │ │ │ │ │ └── index.html │ │ │ ├── static-json-app │ │ │ │ ├── app.dir │ │ │ │ │ └── one.json │ │ │ │ ├── rewrite.xml │ │ │ │ └── service.xml │ │ │ └── static-xml-app │ │ │ │ └── app │ │ │ │ └── test.xml │ │ ├── test-default-app-name-topology.xml │ │ ├── test-dynamic-app-topology.xml │ │ ├── test-multi-apps-topology.xml │ │ ├── test-naked-app-topology.xml │ │ ├── test-static-hello-topology.xml │ │ ├── test-svcs-and-apps-topology.xml │ │ └── test-svcs │ │ │ ├── readme.txt │ │ │ └── webhdfs │ │ │ └── 2.4.0 │ │ │ ├── rewrite.xml │ │ │ └── service.xml │ │ ├── GatewayBasicFuncTest │ │ ├── changes.txt │ │ ├── falcon │ │ │ ├── cleanseEmailProcess.xml │ │ │ ├── cleansedEmailFeed.xml │ │ │ ├── config-build.json │ │ │ ├── config-build.xml │ │ │ ├── config-deploy.json │ │ │ ├── config-deploy.xml │ │ │ ├── config-runtime.json │ │ │ ├── config-runtime.xml │ │ │ ├── config-startup.json │ │ │ ├── config-startup.xml │ │ │ ├── emailIngestProcess.xml │ │ │ ├── entity-delete-process.json │ │ │ ├── entity-dependency-process.xml │ │ │ ├── entity-list-cluster.xml │ │ │ ├── entity-resume-feed.xml │ │ │ ├── entity-schedule-feed.xml │ │ │ ├── entity-status-process.xml │ │ │ ├── entity-submit-feed.json │ │ │ ├── entity-submit-schedule-process.json │ │ │ ├── entity-summary-feed.json │ │ │ ├── entity-summary-feed.xml │ │ │ ├── entity-update-feed.xml │ │ │ ├── entity-validate-cluster.xml │ │ │ ├── instance-params-process.json │ │ │ ├── instance-process-logs.json │ │ │ ├── instance-running-process.json │ │ │ ├── instance-status-process.json │ │ │ ├── metadata-disc-cluster-entity.json │ │ │ ├── metadata-disc-cluster-relations.json │ │ │ ├── metadata-disc-process-entity.json │ │ │ ├── metadata-lineage-edges-all.json │ │ │ ├── metadata-lineage-edges-id.json │ │ │ ├── metadata-lineage-vertices-all.json │ │ │ ├── metadata-lineage-vertices-direction.json │ │ │ ├── metadata-lineage-vertices-id.json │ │ │ ├── metadata-lineage-vertices-key.json │ │ │ ├── oregonCluster.xml │ │ │ ├── rawEmailFeed.xml │ │ │ ├── stack.txt │ │ │ ├── version.json │ │ │ ├── version.xml │ │ │ └── virginiaCluster.xml │ │ ├── hbase │ │ │ ├── scanner-definition.xml │ │ │ ├── table-data.json │ │ │ ├── table-data.protobuf │ │ │ ├── table-data.xml │ │ │ ├── table-list.json │ │ │ ├── table-list.protobuf │ │ │ ├── table-list.xml │ │ │ ├── table-metadata.json │ │ │ ├── table-metadata.protobuf │ │ │ ├── table-metadata.xml │ │ │ ├── table-schema.json │ │ │ ├── table-schema.protobuf │ │ │ └── table-schema.xml │ │ ├── hive │ │ │ ├── close-operation-1-request.bin │ │ │ ├── close-operation-1-result.bin │ │ │ ├── close-operation-2-request.bin │ │ │ ├── close-operation-2-result.bin │ │ │ ├── close-operation-3-request.bin │ │ │ ├── close-operation-3-result.bin │ │ │ ├── close-operation-4-request.bin │ │ │ ├── close-operation-4-result.bin │ │ │ ├── close-operation-5-request.bin │ │ │ ├── close-operation-5-result.bin │ │ │ ├── close-operation-6-request.bin │ │ │ ├── close-operation-6-result.bin │ │ │ ├── close-session-request.bin │ │ │ ├── close-session-result.bin │ │ │ ├── execute-create-table-request.bin │ │ │ ├── execute-create-table-result.bin │ │ │ ├── execute-select-from-table-request.bin │ │ │ ├── execute-select-from-table-result.bin │ │ │ ├── execute-set-fetch-output-serde-request.bin │ │ │ ├── execute-set-fetch-output-serde-result.bin │ │ │ ├── execute-set-security-authorization-enabled-request.bin │ │ │ ├── execute-set-security-authorization-enabled-result.bin │ │ │ ├── execute-set-server2-http-path-request.bin │ │ │ ├── execute-set-server2-http-path-result.bin │ │ │ ├── execute-set-server2-servermode-request.bin │ │ │ ├── execute-set-server2-servermode-result.bin │ │ │ ├── fetch-results-request.bin │ │ │ ├── fetch-results-result.bin │ │ │ ├── get-result-set-metadata-request.bin │ │ │ ├── get-result-set-metadata-result.bin │ │ │ ├── open-session-request.bin │ │ │ └── open-session-result.bin │ │ ├── oozie-admin-build-version.json │ │ ├── oozie-admin-configuration.json │ │ ├── oozie-admin-instrumentation.json │ │ ├── oozie-admin-java-sys-properties.json │ │ ├── oozie-admin-os-env.json │ │ ├── oozie-admin-status.json │ │ ├── oozie-job-action-rerun-request.xml │ │ ├── oozie-job-show-definition.xml │ │ ├── oozie-job-show-info.json │ │ ├── oozie-job-show-log.txt │ │ ├── oozie-job.json │ │ ├── oozie-jobs-empty.json │ │ ├── oozie-jobs-sample.json │ │ ├── oozie-jobs-submit-request.xml │ │ ├── oozie-jobs-submit-response.json │ │ ├── oozie-versions.json │ │ ├── oozie-workflow.xml │ │ ├── passwd.txt │ │ ├── script.hive │ │ ├── script.pig │ │ ├── small1.txt │ │ ├── small2.txt │ │ ├── solr │ │ │ └── query_response.xml │ │ ├── storm │ │ │ ├── cluster-configuration.json │ │ │ ├── cluster-summary.json │ │ │ ├── supervisor-summary.json │ │ │ ├── topology-component-id.json │ │ │ ├── topology-id.json │ │ │ └── topology-summary.json │ │ ├── test.txt │ │ ├── webhcat-job-status.json │ │ ├── webhdfs-liststatus-default.json │ │ ├── webhdfs-liststatus-empty.json │ │ ├── webhdfs-liststatus-test.json │ │ ├── webhdfs-success.json │ │ └── yarn │ │ │ ├── app_running.json │ │ │ ├── app_running.xml │ │ │ ├── app_succeeded.json │ │ │ ├── app_succeeded.xml │ │ │ ├── appattempts.json │ │ │ ├── appattempts.xml │ │ │ ├── application-killing.json │ │ │ ├── application-submit-request.json │ │ │ ├── apps.json │ │ │ ├── apps.xml │ │ │ ├── appstatistics.json │ │ │ ├── appstatistics.xml │ │ │ ├── cluster-info.json │ │ │ ├── cluster-info.xml │ │ │ ├── cluster-metrics.json │ │ │ ├── cluster-metrics.xml │ │ │ ├── new-application.json │ │ │ ├── node.json │ │ │ ├── node.xml │ │ │ ├── nodes.json │ │ │ ├── nodes.xml │ │ │ ├── proxy-mapreduce-info.json │ │ │ ├── proxy-mapreduce-info.xml │ │ │ ├── proxy-mapreduce-job-attempts.json │ │ │ ├── proxy-mapreduce-job-attempts.xml │ │ │ ├── proxy-mapreduce-job-conf.json │ │ │ ├── proxy-mapreduce-job-conf.xml │ │ │ ├── proxy-mapreduce-job-counters.json │ │ │ ├── proxy-mapreduce-job-counters.xml │ │ │ ├── proxy-mapreduce-job.json │ │ │ ├── proxy-mapreduce-job.xml │ │ │ ├── proxy-mapreduce-jobs.json │ │ │ ├── proxy-mapreduce-jobs.xml │ │ │ ├── proxy-mapreduce-task-attempt-counters.json │ │ │ ├── proxy-mapreduce-task-attempt-counters.xml │ │ │ ├── proxy-mapreduce-task-attempt.json │ │ │ ├── proxy-mapreduce-task-attempt.xml │ │ │ ├── proxy-mapreduce-task-attempts.json │ │ │ ├── proxy-mapreduce-task-attempts.xml │ │ │ ├── proxy-mapreduce-task-counters.json │ │ │ ├── proxy-mapreduce-task-counters.xml │ │ │ ├── proxy-mapreduce-task.json │ │ │ ├── proxy-mapreduce-task.xml │ │ │ ├── proxy-mapreduce-tasks.json │ │ │ ├── proxy-mapreduce-tasks.xml │ │ │ ├── scheduler.json │ │ │ └── scheduler.xml │ │ ├── GatewayLdapPosixGroupFuncTest │ │ └── users.ldif │ │ ├── GatewayMultiFuncTest │ │ ├── applications │ │ │ └── readme.txt │ │ ├── services │ │ │ ├── readme.txt │ │ │ └── repeat │ │ │ │ └── 0.0.0 │ │ │ │ ├── rewrite.xml │ │ │ │ └── service.xml │ │ └── topologies │ │ │ ├── test-knox678-utf8-chars-topology.xml │ │ │ ├── test-knox694-principal-regex-search-attribute.xml │ │ │ ├── test-knox694-principal-regex-search-filter.xml │ │ │ ├── test-knox694-principal-regex-search-scope-object.xml │ │ │ ├── test-knox694-principal-regex-search-scope-onelevel-negative.xml │ │ │ ├── test-knox694-principal-regex-search-scope-onelevel-positive.xml │ │ │ └── test-knox694-principal-regex-user-dn-template.xml │ │ ├── GatewaySslFuncTest │ │ └── test-admin-topology.xml │ │ ├── OozieServiceDefinitionTest │ │ ├── oozie-request-relative.xml │ │ ├── oozie-request-with-complex-var.xml │ │ └── oozie-request-with-var.xml │ │ ├── WebHdfsHaFuncTest │ │ ├── webhdfs-liststatus-standby.json │ │ ├── webhdfs-liststatus-success.json │ │ ├── webhdfs-mkdirs-safemode.json │ │ ├── webhdfs-rename-safemode-off.json │ │ └── webhdfs-rename-safemode.json │ │ └── deploy │ │ └── DeploymentFactoryFuncTest │ │ └── test-apps │ │ └── minimal-test-app │ │ ├── rewrite.xml │ │ └── service.xml │ ├── server-keystore.jks │ ├── server-truststore.jks │ ├── shiro.ini │ ├── users-dynamic.ldif │ └── users.ldif ├── gateway-topology-hadoop-xml ├── pom.xml └── src │ ├── main │ └── java │ │ └── org │ │ └── apache │ │ └── knox │ │ └── gateway │ │ └── topology │ │ └── hadoop │ │ └── xml │ │ ├── HadoopXmlResourceMessages.java │ │ ├── HadoopXmlResourceMonitor.java │ │ ├── HadoopXmlResourceParser.java │ │ └── HadoopXmlResourceParserResult.java │ └── test │ ├── java │ └── org │ │ └── apache │ │ └── knox │ │ └── gateway │ │ └── topology │ │ └── hadoop │ │ └── xml │ │ └── HadoopXmlResourceParserTest.java │ └── resources │ ├── testDelete.xml │ ├── testDelete2.xml │ ├── testDescriptor.xml │ ├── testDescriptorConfigurationWithNonHadoopStyleConfiguration.xml │ ├── testDescriptorConfigurationWithWrongDescriptor.xml │ ├── testDescriptorWithAdminProviderConfigRemovedUserDnTemplate.xml │ ├── testDescriptorWithAdminProviderConfigUpdatedLdapUrl.xml │ ├── testDescriptorWithServiceList.xml │ ├── testDescriptorWithoutDiscoveryDetails.xml │ └── testInvalidProvider.xml ├── gateway-topology-simple ├── pom.xml └── src │ └── main │ └── java │ └── org │ └── apache │ └── knox │ └── gateway │ └── topology │ ├── discovery │ └── DefaultServiceDiscoveryConfig.java │ └── simple │ ├── DiscoveryException.java │ ├── JSONProviderConfiguration.java │ ├── ProviderConfiguration.java │ ├── ProviderConfigurationParser.java │ ├── ProviderOrder.java │ ├── SimpleDescriptor.java │ ├── SimpleDescriptorFactory.java │ ├── SimpleDescriptorHandler.java │ ├── SimpleDescriptorImpl.java │ ├── SimpleDescriptorMessages.java │ └── XMLProviderConfiguration.java ├── gateway-util-common ├── pom.xml └── src │ ├── main │ └── java │ │ └── org │ │ └── apache │ │ └── knox │ │ └── gateway │ │ ├── audit │ │ ├── api │ │ │ ├── Action.java │ │ │ ├── ActionOutcome.java │ │ │ ├── AuditContext.java │ │ │ ├── AuditService.java │ │ │ ├── AuditServiceFactory.java │ │ │ ├── Auditor.java │ │ │ ├── CorrelationContext.java │ │ │ ├── CorrelationService.java │ │ │ ├── CorrelationServiceFactory.java │ │ │ └── ResourceType.java │ │ └── log4j │ │ │ ├── appender │ │ │ ├── JdbmQueue.java │ │ │ └── JdbmStoreAndForwardAppender.java │ │ │ ├── audit │ │ │ ├── AuditConstants.java │ │ │ ├── Log4jAuditContext.java │ │ │ ├── Log4jAuditService.java │ │ │ └── Log4jAuditor.java │ │ │ ├── correlation │ │ │ ├── Log4jCorrelationContext.java │ │ │ └── Log4jCorrelationService.java │ │ │ └── layout │ │ │ └── AuditLayout.java │ │ ├── i18n │ │ └── GatewayUtilCommonMessages.java │ │ ├── identityasserter │ │ └── regex │ │ │ └── filter │ │ │ └── RegexTemplate.java │ │ ├── plang │ │ ├── AbstractSyntaxTree.java │ │ ├── Arity.java │ │ ├── ArityException.java │ │ ├── Interpreter.java │ │ ├── InterpreterException.java │ │ ├── Parser.java │ │ ├── SyntaxException.java │ │ ├── TypeException.java │ │ └── UndefinedSymbolException.java │ │ ├── servlet │ │ ├── SynchronousServletInputStreamAdapter.java │ │ └── SynchronousServletOutputStreamAdapter.java │ │ └── util │ │ ├── CertificateUtils.java │ │ ├── CollectionUtils.java │ │ ├── CookieUtils.java │ │ ├── ExecutorServiceUtils.java │ │ ├── HttpUtils.java │ │ ├── IpAddressValidator.java │ │ ├── JsonPath.java │ │ ├── JsonUtils.java │ │ ├── MimeTypeMap.java │ │ ├── MimeTypes.java │ │ ├── NoClassNameMultiLineToStringStyle.java │ │ ├── PasswordUtils.java │ │ ├── RegExUtils.java │ │ ├── RequestBodyUtils.java │ │ ├── SetCookieHeader.java │ │ ├── StringUtils.java │ │ ├── Tokens.java │ │ ├── Urls.java │ │ ├── X500PrincipalParser.java │ │ ├── X509CertificateUtil.java │ │ └── XmlUtils.java │ └── test │ ├── java │ └── org │ │ └── apache │ │ └── knox │ │ └── gateway │ │ ├── audit │ │ ├── AuditLayoutTest.java │ │ ├── AuditServiceTest.java │ │ ├── JdbmQueueTest.java │ │ └── StoreAndForwardAppenderTest.java │ │ ├── plang │ │ ├── InterpreterTest.java │ │ └── ParserTest.java │ │ └── util │ │ ├── CollectionUtilsTest.java │ │ ├── CookieUtilsTest.java │ │ ├── HttpUtilsTest.java │ │ ├── IpAddressValidatorTest.java │ │ ├── JsonPathTest.java │ │ ├── JsonUtilsTest.java │ │ ├── MimeTypeMapTest.java │ │ ├── PasswordUtilsTest.java │ │ ├── RegExUtilsTest.java │ │ ├── RequestBodyUtilsTest.java │ │ ├── SetCookieHeaderTest.java │ │ ├── StringUtilsTest.java │ │ ├── TokensTest.java │ │ └── UrlsTest.java │ └── resources │ └── log4j2-test.xml ├── gateway-util-configinjector ├── pom.xml └── src │ ├── main │ ├── java │ │ └── org │ │ │ └── apache │ │ │ └── knox │ │ │ └── gateway │ │ │ └── config │ │ │ ├── Alias.java │ │ │ ├── ConfigurationAdapter.java │ │ │ ├── ConfigurationBinding.java │ │ │ ├── ConfigurationException.java │ │ │ ├── ConfigurationInjectorBuilder.java │ │ │ ├── Configure.java │ │ │ ├── Default.java │ │ │ ├── Optional.java │ │ │ ├── impl │ │ │ ├── BeanConfigurationAdapter.java │ │ │ ├── BeanConfigurationAdapterDescriptor.java │ │ │ ├── ConfigurationAdapterFactory.java │ │ │ ├── DefaultConfigurationBinding.java │ │ │ ├── DefaultConfigurationInjector.java │ │ │ ├── MapConfigurationAdapter.java │ │ │ ├── MapConfigurationAdapterDescriptor.java │ │ │ ├── MappedConfigurationBinding.java │ │ │ ├── PropertiesConfigurationAdapter.java │ │ │ └── PropertiesConfigurationAdapterDescriptor.java │ │ │ └── spi │ │ │ ├── AbstractConfigurationAdapterDescriptor.java │ │ │ ├── ConfigurationAdapterDescriptor.java │ │ │ └── ConfigurationInjector.java │ └── resources │ │ └── META-INF │ │ └── services │ │ ├── org.apache.knox.gateway.config.spi.ConfigurationAdapterDescriptor │ │ └── org.apache.knox.gateway.config.spi.ConfigurationInjector │ └── test │ └── java │ └── org │ └── apache │ └── knox │ └── gateway │ └── config │ ├── AdapterSampleTest.java │ ├── FuncTest.java │ ├── MapFieldSampleTest.java │ ├── MapMethodSampleTest.java │ ├── OptionalTest.java │ ├── PropertiesFactorySampleTest.java │ ├── PropertiesFieldSampleTest.java │ ├── PropertiesMethodSampleTest.java │ ├── UsageTest.java │ └── impl │ ├── BeanConfigurationAdapterDescriptorTest.java │ └── BeanConfigurationAdapterTest.java ├── gateway-util-launcher ├── pom.xml └── src │ ├── main │ └── java │ │ └── org │ │ └── apache │ │ └── knox │ │ └── gateway │ │ └── launcher │ │ ├── Command.java │ │ ├── Config.java │ │ ├── Forker.java │ │ ├── GatewayServerClasspathExtender.java │ │ ├── Invoker.java │ │ └── Launcher.java │ └── test │ └── java │ └── org │ └── apache │ └── knox │ └── gateway │ └── launcher │ ├── ConfigTest.java │ └── GatewayServerClasspathExtenderTest.java ├── gateway-util-urltemplate ├── pom.xml └── src │ ├── main │ └── java │ │ └── org │ │ └── apache │ │ └── knox │ │ └── gateway │ │ └── util │ │ └── urltemplate │ │ ├── Builder.java │ │ ├── Evaluator.java │ │ ├── Expander.java │ │ ├── Fragment.java │ │ ├── Function.java │ │ ├── Host.java │ │ ├── Matcher.java │ │ ├── Messages.java │ │ ├── MockParams.java │ │ ├── Params.java │ │ ├── Parser.java │ │ ├── Password.java │ │ ├── Path.java │ │ ├── Port.java │ │ ├── Query.java │ │ ├── Resolver.java │ │ ├── Resources.java │ │ ├── Rewriter.java │ │ ├── Scheme.java │ │ ├── Segment.java │ │ ├── Template.java │ │ ├── Token.java │ │ └── Username.java │ └── test │ └── java │ └── org │ └── apache │ └── knox │ └── gateway │ └── util │ └── urltemplate │ ├── ExpanderTest.java │ ├── FunctionTest.java │ ├── MatcherTest.java │ ├── ParserTest.java │ ├── RewriterTest.java │ ├── SegmentTest.java │ ├── TemplateTest.java │ └── TokenTest.java ├── hadoop-examples ├── pom.xml └── src │ └── main │ └── java │ └── org │ └── apache │ └── knox │ └── examples │ └── WordCount.java ├── knox-cli-launcher ├── pom.xml └── src │ └── main │ └── resources │ └── META-INF │ └── launcher.cfg ├── knox-homepage-ui ├── .eslintrc.json ├── .gitignore ├── angular.json ├── home │ ├── app │ │ ├── app.module.ts │ │ ├── generalProxyInformation │ │ │ ├── general.proxy.information.component.html │ │ │ ├── general.proxy.information.component.ts │ │ │ └── general.proxy.information.ts │ │ ├── homepage.service.ts │ │ ├── sessionInformation │ │ │ ├── session.information.component.html │ │ │ ├── session.information.component.ts │ │ │ └── session.information.ts │ │ └── topologies │ │ │ ├── sample.ts │ │ │ ├── service.ts │ │ │ ├── topology.information.component.css │ │ │ ├── topology.information.component.html │ │ │ ├── topology.information.component.ts │ │ │ └── topology.information.ts │ ├── assets │ │ ├── .gitkeep │ │ ├── knox-logo-transparent.gif │ │ ├── service-logos │ │ │ ├── ambari.png │ │ │ ├── ambariui.png │ │ │ ├── ambariws.png │ │ │ ├── atlas-api.png │ │ │ ├── atlas.png │ │ │ ├── avatica.png │ │ │ ├── datanode.png │ │ │ ├── druid-broker.png │ │ │ ├── druid-coordinator-ui.png │ │ │ ├── druid-coordinator.png │ │ │ ├── druid-overlord-ui.png │ │ │ ├── druid-overlord.png │ │ │ ├── druid-router.png │ │ │ ├── druid.png │ │ │ ├── hbase.png │ │ │ ├── hbaseui.png │ │ │ ├── hdfsui.png │ │ │ ├── hive.png │ │ │ ├── hue.png │ │ │ ├── impala.png │ │ │ ├── impalaui.png │ │ │ ├── jobhistoryui.png │ │ │ ├── kafka.png │ │ │ ├── kuduui.png │ │ │ ├── livyserver.png │ │ │ ├── logsearch.png │ │ │ ├── nifi-registry.png │ │ │ ├── nifi.png │ │ │ ├── nodemanagerui.png │ │ │ ├── oozie.png │ │ │ ├── oozieui.png │ │ │ ├── ozone-recon.png │ │ │ ├── ozone-scm.png │ │ │ ├── ozone.png │ │ │ ├── pinot.png │ │ │ ├── ranger.png │ │ │ ├── rangerui.png │ │ │ ├── resourcemanager.png │ │ │ ├── solr.png │ │ │ ├── spark3historyui.png │ │ │ ├── sparkhistoryui.png │ │ │ ├── storm-logviewer.png │ │ │ ├── storm.png │ │ │ ├── thriftserverui.png │ │ │ ├── webhbase.png │ │ │ ├── webhcat.png │ │ │ ├── webhdfs.png │ │ │ ├── yarnui.png │ │ │ ├── yarnuiv2.png │ │ │ ├── zeppelinui.png │ │ │ └── zeppelinws.png │ │ └── sticky-footer.css │ ├── environments │ │ ├── environment.prod.ts │ │ └── environment.ts │ ├── favicon.ico │ ├── index.html │ ├── main.ts │ ├── polyfills.ts │ ├── styles.css │ └── tsconfig.json ├── npm ├── package-lock.json ├── package.json ├── pom.xml ├── src │ └── main │ │ └── resources │ │ └── home │ │ └── service.xml └── tslint.json ├── knox-site ├── docs │ ├── admin_api.md │ ├── admin_ui.md │ ├── assets │ │ └── stylesheets │ │ │ └── extra.css │ ├── book.md │ ├── book_client-details.md │ ├── book_gateway-details.md │ ├── book_getting-started.md │ ├── book_knox-samples.md │ ├── book_limitations.md │ ├── book_service-details.md │ ├── book_topology_port_mapping.md │ ├── book_troubleshooting.md │ ├── book_ui_service_details.md │ ├── config.md │ ├── config_advanced_ldap.md │ ├── config_audit.md │ ├── config_authn.md │ ├── config_authz.md │ ├── config_ha.md │ ├── config_hadoop_auth_provider.md │ ├── config_id_assertion.md │ ├── config_kerberos.md │ ├── config_knox_sso.md │ ├── config_knox_token.md │ ├── config_knoxauth_service.md │ ├── config_ldap_authc_cache.md │ ├── config_ldap_group_lookup.md │ ├── config_metrics.md │ ├── config_mutual_authentication_ssl.md │ ├── config_pac4j_provider.md │ ├── config_pam_authn.md │ ├── config_preauth_sso_provider.md │ ├── config_sandbox.md │ ├── config_sso_cookie_provider.md │ ├── config_tls_client_certificate_authentication_provider.md │ ├── config_webappsec_provider.md │ ├── dev-guide │ │ ├── admin-ui.md │ │ ├── book.md │ │ ├── deployment-overview.puml │ │ ├── deployment-provider-simple.puml │ │ ├── deployment-provider.puml │ │ ├── deployment-service-simple.puml │ │ ├── deployment-service.puml │ │ ├── general_saml_flow.puml │ │ ├── knox_monitoring_api.md │ │ ├── knoxsso_integration.md │ │ ├── runtime-overview.puml │ │ └── runtime-request-processing.puml │ ├── index.md │ ├── knox_cli.md │ ├── knoxshell-guide │ │ └── knoxshell_user_guide.md │ ├── likeised │ ├── quick_start.md │ ├── service_avatica.md │ ├── service_cloudera_manager.md │ ├── service_config.md │ ├── service_default_ha.md │ ├── service_elasticsearch.md │ ├── service_hbase.md │ ├── service_hive.md │ ├── service_kafka.md │ ├── service_livy.md │ ├── service_oozie.md │ ├── service_service_test.md │ ├── service_solr.md │ ├── service_ssl_certificate_trust.md │ ├── service_storm.md │ ├── service_webhcat.md │ ├── service_webhdfs.md │ ├── service_yarn.md │ ├── sse-support.md │ ├── static │ │ └── images │ │ │ ├── adminui │ │ │ ├── arrow.png │ │ │ ├── check.png │ │ │ ├── delete-icon.png │ │ │ ├── earth.png │ │ │ ├── error.png │ │ │ ├── image1.png │ │ │ ├── image10.png │ │ │ ├── image11.png │ │ │ ├── image12.png │ │ │ ├── image13.png │ │ │ ├── image14.png │ │ │ ├── image15.png │ │ │ ├── image16.png │ │ │ ├── image17.png │ │ │ ├── image18.png │ │ │ ├── image19.png │ │ │ ├── image2.png │ │ │ ├── image20.png │ │ │ ├── image21.png │ │ │ ├── image22.png │ │ │ ├── image23.png │ │ │ ├── image24.png │ │ │ ├── image25.png │ │ │ ├── image26.png │ │ │ ├── image27.png │ │ │ ├── image28.png │ │ │ ├── image3.png │ │ │ ├── image4.png │ │ │ ├── image5.png │ │ │ ├── image6.png │ │ │ ├── image7.png │ │ │ ├── image8.png │ │ │ ├── image9.png │ │ │ ├── info.png │ │ │ ├── ok-button.png │ │ │ ├── plus-icon.png │ │ │ ├── question.png │ │ │ ├── save-icon.png │ │ │ ├── star.png │ │ │ ├── stop.png │ │ │ ├── tip-icon.png │ │ │ ├── undo-icon.png │ │ │ ├── warning.png │ │ │ └── x-icon.png │ │ │ ├── apache-logo.gif │ │ │ ├── knox-logo.gif │ │ │ ├── knoxshell │ │ │ ├── covid19-nj-agg-from-webhdfs-1.png │ │ │ ├── covid19-persistence.png │ │ │ ├── covid19csv-1.png │ │ │ ├── covid19nj-1.png │ │ │ ├── covid19nj-aggregate-1.png │ │ │ ├── covid19nj-put-webhdfs-1.png │ │ │ ├── covid19nj.png │ │ │ ├── fs-mount-login-1.png │ │ │ ├── knoxline-splash-2.png │ │ │ └── knoxshell-help.png │ │ │ └── token │ │ │ ├── jdbc_tss_db_design.png │ │ │ ├── knoxtokenmanagement_homepage.png │ │ │ ├── knoxtokenmanagement_token_generation_ui-1.png │ │ │ ├── knoxtokenmanagement_token_generation_ui-fail.png │ │ │ ├── knoxtokenmanagement_token_generation_ui-successful-doas.png │ │ │ ├── knoxtokenmanagement_token_generation_ui-successful.png │ │ │ └── knoxtokenmanagement_token_management_ui-1.png │ ├── webshell.md │ ├── websocket-support.md │ └── x-forwarded-headers.md ├── mkdocs.yml └── overrides │ └── main.html ├── knox-token-generation-ui ├── .eslintrc.json ├── .gitignore ├── angular.json ├── npm ├── package-lock.json ├── package.json ├── pom.xml ├── src │ └── main │ │ └── resources │ │ └── token-gen │ │ └── service.xml └── token-generation │ ├── app │ ├── app.module.ts │ ├── session.information.component.html │ ├── session.information.component.ts │ ├── token-generation.component.html │ ├── token-generation.component.ts │ ├── token-generation.models.ts │ └── token-generation.service.ts │ ├── assets │ ├── fonts │ │ ├── fontawesome │ │ │ ├── FontAwesome.otf │ │ │ ├── fontawesome-webfont.eot │ │ │ ├── fontawesome-webfont.svg │ │ │ ├── fontawesome-webfont.ttf │ │ │ └── fontawesome-webfont.woff │ │ └── fontopensans │ │ │ ├── open-sans-300.woff │ │ │ ├── open-sans-300i.woff │ │ │ ├── open-sans-400.woff │ │ │ ├── open-sans-400i.woff │ │ │ ├── open-sans-600.woff │ │ │ ├── open-sans-600i.woff │ │ │ ├── open-sans-700.woff │ │ │ └── open-sans-700i.woff │ ├── images │ │ ├── avatar.png │ │ ├── blank.gif │ │ ├── favicon.ico │ │ ├── knox-logo-white-bg.gif │ │ ├── knox-logo.gif │ │ └── loading.gif │ ├── knox-logo-transparent.gif │ ├── sticky-footer.css │ └── styles │ │ ├── app-font.css │ │ ├── bootstrap.min.css │ │ └── knox.css │ ├── environments │ ├── environment.prod.ts │ └── environment.ts │ ├── favicon.ico │ ├── index.html │ ├── main.ts │ ├── polyfills.ts │ ├── styles.css │ └── tsconfig.json ├── knox-token-management-ui ├── .eslintrc.json ├── .gitignore ├── angular.json ├── npm ├── package-lock.json ├── package.json ├── pom.xml ├── src │ └── main │ │ └── resources │ │ └── token-management │ │ └── service.xml └── token-management │ ├── app │ ├── app.module.ts │ ├── knox.token.ts │ ├── metadata.ts │ ├── session.information.component.html │ ├── session.information.component.ts │ ├── session.information.ts │ ├── token.management.component.html │ ├── token.management.component.ts │ └── token.management.service.ts │ ├── assets │ ├── CLIENT_ID.png │ ├── JWT.png │ ├── KNOXSSO_COOKIE.png │ ├── green_checkmark.svg │ ├── knox-logo-transparent.gif │ ├── red_cross_circle.svg │ ├── sticky-footer.css │ ├── token-management-ui.css │ └── yellow_tip.png │ ├── environments │ ├── environment.prod.ts │ └── environment.ts │ ├── favicon.ico │ ├── index.html │ ├── main.ts │ ├── polyfills.ts │ ├── styles.css │ └── tsconfig.json ├── knox-webshell-ui ├── .gitignore ├── angular.json ├── npm ├── package-lock.json ├── package.json ├── pom.xml ├── src │ └── main │ │ └── resources │ │ └── webshell-ui │ │ └── service.xml ├── tsconfig.app.json ├── tsconfig.json └── webshell-ui │ ├── app │ ├── app.component.css │ ├── app.component.html │ ├── app.component.ts │ └── app.module.ts │ ├── environments │ ├── environment.prod.ts │ └── environment.ts │ ├── favicon.ico │ ├── index.html │ ├── main.ts │ ├── polyfills.ts │ └── styles.css ├── pom.xml └── src ├── assembly.xml ├── stage.txt └── vote.txt /.asf.yaml: -------------------------------------------------------------------------------- 1 | # 2 | # Licensed to the Apache Software Foundation (ASF) under one or more 3 | # contributor license agreements. See the NOTICE file distributed with 4 | # this work for additional information regarding copyright ownership. 5 | # The ASF licenses this file to you under the Apache License, Version 2.0 6 | # (the "License"); you may not use this file except in compliance with 7 | # the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | # See the License for the specific language governing permissions and 15 | # limitations under the License. 16 | # 17 | notifications: 18 | commits: commits@knox.apache.org 19 | issues: dev@knox.apache.org 20 | pullrequests: dev@knox.apache.org 21 | jira_options: link label worklog 22 | 23 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | ########################################################################## 2 | # Licensed to the Apache Software Foundation (ASF) under one 3 | # or more contributor license agreements. See the NOTICE file 4 | # distributed with this work for additional information 5 | # regarding copyright ownership. The ASF licenses this file 6 | # to you under the Apache License, Version 2.0 (the 7 | # "License"); you may not use this file except in compliance 8 | # with the License. You may obtain a copy of the License at 9 | # 10 | # http://www.apache.org/licenses/LICENSE-2.0 11 | # 12 | # Unless required by applicable law or agreed to in writing, software 13 | # distributed under the License is distributed on an "AS IS" BASIS, 14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | # See the License for the specific language governing permissions and 16 | # limitations under the License. 17 | ########################################################################## 18 | 19 | *.cmd text eol=crlf 20 | -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | (It is very **important** that you created an Apache Knox JIRA for this change and that the PR title/commit message includes the Apache Knox JIRA ID!) 2 | 3 | ## What changes were proposed in this pull request? 4 | 5 | (Please fill in changes proposed in this fix) 6 | 7 | ## How was this patch tested? 8 | 9 | (Please explain how this patch was tested. For instance: running automated unit/integration tests, manual tests. Please write down your test steps as detailed as possible) 10 | (If this patch involves UI changes, please attach a screen-shot; otherwise, remove this) 11 | 12 | Please review [Knox Contributing Process](https://cwiki.apache.org/confluence/display/KNOX/Contribution+Process#ContributionProcess-GithubWorkflow) before opening a pull request. 13 | -------------------------------------------------------------------------------- /ISSUES: -------------------------------------------------------------------------------- 1 | ------------------------------------------------------------------------------ 2 | Known Issues 3 | ------------------------------------------------------------------------------ 4 | -------------------------------------------------------------------------------- /NOTICE: -------------------------------------------------------------------------------- 1 | Apache Knox 2 | Copyright 2012-2019 The Apache Software Foundation 3 | 4 | This product includes software developed by 5 | The Apache Software Foundation (http://www.apache.org/). 6 | -------------------------------------------------------------------------------- /gateway-admin-ui/.gitignore: -------------------------------------------------------------------------------- 1 | # ui dependencies 2 | node_modules 3 | bower_components 4 | 5 | # ui misc 6 | .sass-cache 7 | connect.lock 8 | coverage/* 9 | libpeerconnection.log 10 | npm-debug.log 11 | testem.log 12 | 13 | .angular 14 | -------------------------------------------------------------------------------- /gateway-admin-ui/admin-ui/app/app.component.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-admin-ui/admin-ui/app/app.component.css -------------------------------------------------------------------------------- /gateway-admin-ui/admin-ui/app/app.component.html: -------------------------------------------------------------------------------- 1 |

2 | {{title}} 3 |

4 | -------------------------------------------------------------------------------- /gateway-admin-ui/admin-ui/app/descriptor/descriptor.component.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-admin-ui/admin-ui/app/descriptor/descriptor.component.css -------------------------------------------------------------------------------- /gateway-admin-ui/admin-ui/app/descriptor/descriptor.component.html: -------------------------------------------------------------------------------- 1 |

2 | descriptor works! 3 |

4 | -------------------------------------------------------------------------------- /gateway-admin-ui/admin-ui/app/gateway-version.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | export class GatewayVersion { 18 | version: string; 19 | hash: string; 20 | } 21 | -------------------------------------------------------------------------------- /gateway-admin-ui/admin-ui/app/index.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | export * from './app.component'; 18 | export * from './app.module'; 19 | -------------------------------------------------------------------------------- /gateway-admin-ui/admin-ui/app/main.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | import {platformBrowserDynamic} from '@angular/platform-browser-dynamic'; 18 | 19 | import {AppModule} from './app.module'; 20 | 21 | platformBrowserDynamic().bootstrapModule(AppModule); 22 | -------------------------------------------------------------------------------- /gateway-admin-ui/admin-ui/app/new-desc-wizard/new-desc-wizard.component.css: -------------------------------------------------------------------------------- 1 | td { 2 | border-collapse: collapse; 3 | padding: 8px; 4 | vertical-align: top; 5 | } -------------------------------------------------------------------------------- /gateway-admin-ui/admin-ui/app/provider-config-selector/provider-config-selector.component.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-admin-ui/admin-ui/app/provider-config-selector/provider-config-selector.component.css -------------------------------------------------------------------------------- /gateway-admin-ui/admin-ui/app/provider-config-wizard/provider-config-wizard.component.css: -------------------------------------------------------------------------------- 1 | td { 2 | border-collapse: collapse; 3 | padding: 8px; 4 | vertical-align: top; 5 | } 6 | -------------------------------------------------------------------------------- /gateway-admin-ui/admin-ui/app/resource-detail/provider-config.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | export class ProviderConfig { 19 | name: string; 20 | role: string; 21 | enabled: string; 22 | params: Map; 23 | } 24 | -------------------------------------------------------------------------------- /gateway-admin-ui/admin-ui/app/resource/resource.component.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-admin-ui/admin-ui/app/resource/resource.component.css -------------------------------------------------------------------------------- /gateway-admin-ui/admin-ui/app/resource/service.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | export class Service { 19 | name: string; 20 | version: string; 21 | params: Object; 22 | urls: string[]; 23 | } 24 | -------------------------------------------------------------------------------- /gateway-admin-ui/admin-ui/app/resourcetypes/resourcetypes.component.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-admin-ui/admin-ui/app/resourcetypes/resourcetypes.component.css -------------------------------------------------------------------------------- /gateway-admin-ui/admin-ui/app/resourcetypes/resourcetypes.component.html: -------------------------------------------------------------------------------- 1 |
2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 14 | 15 | 16 | 17 |
Resource Types
{{type}}
18 |
19 | -------------------------------------------------------------------------------- /gateway-admin-ui/admin-ui/app/service-definition/new-service-definition.component.css: -------------------------------------------------------------------------------- 1 | td { 2 | border-collapse: collapse; 3 | padding: 8px; 4 | vertical-align: top; 5 | } -------------------------------------------------------------------------------- /gateway-admin-ui/admin-ui/app/service-definition/rewrite.rule.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | export class RewriteRule { 19 | dir: string; 20 | name: string; 21 | pattern: string; 22 | } 23 | -------------------------------------------------------------------------------- /gateway-admin-ui/admin-ui/app/service-definition/rewrite.rules.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | import {RewriteRule} from './rewrite.rule'; 18 | 19 | export class RewriteRules { 20 | rules: RewriteRule[]; 21 | } 22 | -------------------------------------------------------------------------------- /gateway-admin-ui/admin-ui/app/service-definition/service.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | export class Service { 19 | name: string; 20 | role: string; 21 | version: string; 22 | } 23 | -------------------------------------------------------------------------------- /gateway-admin-ui/admin-ui/app/topology.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | export class Topology { 18 | timestamp: number; 19 | name: string; 20 | uri: string; 21 | href: string; 22 | content: string; 23 | } 24 | -------------------------------------------------------------------------------- /gateway-admin-ui/admin-ui/assets/.gitkeep: -------------------------------------------------------------------------------- 1 | ########################################################################## 2 | # Licensed to the Apache Software Foundation (ASF) under one 3 | # or more contributor license agreements. See the NOTICE file 4 | # distributed with this work for additional information 5 | # regarding copyright ownership. The ASF licenses this file 6 | # to you under the Apache License, Version 2.0 (the 7 | # "License"); you may not use this file except in compliance 8 | # with the License. You may obtain a copy of the License at 9 | # 10 | # http://www.apache.org/licenses/LICENSE-2.0 11 | # 12 | # Unless required by applicable law or agreed to in writing, software 13 | # distributed under the License is distributed on an "AS IS" BASIS, 14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | # See the License for the specific language governing permissions and 16 | # limitations under the License. 17 | ########################################################################## 18 | -------------------------------------------------------------------------------- /gateway-admin-ui/admin-ui/assets/knox-logo-transparent.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-admin-ui/admin-ui/assets/knox-logo-transparent.gif -------------------------------------------------------------------------------- /gateway-admin-ui/admin-ui/assets/new-service-definition-template.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /gateway-admin-ui/admin-ui/assets/sticky-footer.css: -------------------------------------------------------------------------------- 1 | /* Sticky footer styles 2 | -------------------------------------------------- */ 3 | html { 4 | position: relative; 5 | min-height: 100%; 6 | } 7 | 8 | body { 9 | /* Margin bottom by footer height */ 10 | margin-bottom: 60px; 11 | } 12 | 13 | .footer { 14 | position: absolute; 15 | bottom: 0; 16 | width: 100%; 17 | /* Set the fixed height of the footer here */ 18 | height: 60px; 19 | background-color: #f5f5f5; 20 | } 21 | 22 | .jumbotron { 23 | padding: 0.5em 0.6em; 24 | } 25 | -------------------------------------------------------------------------------- /gateway-admin-ui/admin-ui/environments/environment.prod.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | export const environment = { 18 | production: true 19 | }; 20 | -------------------------------------------------------------------------------- /gateway-admin-ui/admin-ui/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-admin-ui/admin-ui/favicon.ico -------------------------------------------------------------------------------- /gateway-admin-ui/admin-ui/styles.css: -------------------------------------------------------------------------------- 1 | /* You can add global styles to this file, and also import other style files */ 2 | 3 | .navbar-static-top { 4 | min-height: 110px; 5 | } 6 | 7 | .clickable { 8 | cursor: pointer; 9 | } 10 | -------------------------------------------------------------------------------- /gateway-admin-ui/admin-ui/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "baseUrl": "admin-ui", 4 | "declaration": false, 5 | "emitDecoratorMetadata": true, 6 | "experimentalDecorators": true, 7 | "lib": [ 8 | "es2017", 9 | "dom" 10 | ], 11 | "mapRoot": "./", 12 | "module": "es6", 13 | "moduleResolution": "node", 14 | "outDir": "../dist/out-tsc", 15 | "sourceMap": true, 16 | "target": "es5", 17 | "typeRoots": [ 18 | "../node_modules/@types" 19 | ] 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /gateway-admin-ui/admin-ui/typings.d.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | // Typings reference file, you can add your own global typings here 18 | // https://www.typescriptlang.org/docs/handbook/writing-declaration-files.html 19 | -------------------------------------------------------------------------------- /gateway-admin-ui/npm: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # 3 | # Licensed to the Apache Software Foundation (ASF) under one or more 4 | # contributor license agreements. See the NOTICE file distributed with 5 | # this work for additional information regarding copyright ownership. 6 | # The ASF licenses this file to You under the Apache License, Version 2.0 7 | # (the "License"); you may not use this file except in compliance with 8 | # the License. You may obtain a copy of the License at 9 | # 10 | # http://www.apache.org/licenses/LICENSE-2.0 11 | # 12 | # Unless required by applicable law or agreed to in writing, software 13 | # distributed under the License is distributed on an "AS IS" BASIS, 14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | # See the License for the specific language governing permissions and 16 | # limitations under the License. 17 | 18 | DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )" 19 | PATH="$DIR/target/node/":$PATH 20 | node "$DIR/target/node/node_modules/npm/bin/npm-cli.js" --prefix "$DIR" "$@" 21 | -------------------------------------------------------------------------------- /gateway-admin-ui/proxy.conf.json: -------------------------------------------------------------------------------- 1 | { 2 | "/gateway/manager/api": { 3 | "target": "http://localhost:8443", 4 | "secure": false, 5 | "logLevel": "debug", 6 | "changeOrigin": true, 7 | "pathRewrite": { 8 | "^/gateway/manager": "/gateway/admin" 9 | } 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /gateway-applications/src/main/resources/applications/README: -------------------------------------------------------------------------------- 1 | THIS DIRECTORY CAN CONTAIN APPLICATIONS THAT CAN BE REFERENCED FROM TOPOLOGIES. -------------------------------------------------------------------------------- /gateway-applications/src/main/resources/applications/knoxauth/app/fonts/fontawesome/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-applications/src/main/resources/applications/knoxauth/app/fonts/fontawesome/FontAwesome.otf -------------------------------------------------------------------------------- /gateway-applications/src/main/resources/applications/knoxauth/app/fonts/fontawesome/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-applications/src/main/resources/applications/knoxauth/app/fonts/fontawesome/fontawesome-webfont.eot -------------------------------------------------------------------------------- /gateway-applications/src/main/resources/applications/knoxauth/app/fonts/fontawesome/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-applications/src/main/resources/applications/knoxauth/app/fonts/fontawesome/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /gateway-applications/src/main/resources/applications/knoxauth/app/fonts/fontawesome/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-applications/src/main/resources/applications/knoxauth/app/fonts/fontawesome/fontawesome-webfont.woff -------------------------------------------------------------------------------- /gateway-applications/src/main/resources/applications/knoxauth/app/fonts/fontopensans/open-sans-300.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-applications/src/main/resources/applications/knoxauth/app/fonts/fontopensans/open-sans-300.woff -------------------------------------------------------------------------------- /gateway-applications/src/main/resources/applications/knoxauth/app/fonts/fontopensans/open-sans-300i.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-applications/src/main/resources/applications/knoxauth/app/fonts/fontopensans/open-sans-300i.woff -------------------------------------------------------------------------------- /gateway-applications/src/main/resources/applications/knoxauth/app/fonts/fontopensans/open-sans-400.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-applications/src/main/resources/applications/knoxauth/app/fonts/fontopensans/open-sans-400.woff -------------------------------------------------------------------------------- /gateway-applications/src/main/resources/applications/knoxauth/app/fonts/fontopensans/open-sans-400i.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-applications/src/main/resources/applications/knoxauth/app/fonts/fontopensans/open-sans-400i.woff -------------------------------------------------------------------------------- /gateway-applications/src/main/resources/applications/knoxauth/app/fonts/fontopensans/open-sans-600.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-applications/src/main/resources/applications/knoxauth/app/fonts/fontopensans/open-sans-600.woff -------------------------------------------------------------------------------- /gateway-applications/src/main/resources/applications/knoxauth/app/fonts/fontopensans/open-sans-600i.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-applications/src/main/resources/applications/knoxauth/app/fonts/fontopensans/open-sans-600i.woff -------------------------------------------------------------------------------- /gateway-applications/src/main/resources/applications/knoxauth/app/fonts/fontopensans/open-sans-700.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-applications/src/main/resources/applications/knoxauth/app/fonts/fontopensans/open-sans-700.woff -------------------------------------------------------------------------------- /gateway-applications/src/main/resources/applications/knoxauth/app/fonts/fontopensans/open-sans-700i.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-applications/src/main/resources/applications/knoxauth/app/fonts/fontopensans/open-sans-700i.woff -------------------------------------------------------------------------------- /gateway-applications/src/main/resources/applications/knoxauth/app/images/avatar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-applications/src/main/resources/applications/knoxauth/app/images/avatar.png -------------------------------------------------------------------------------- /gateway-applications/src/main/resources/applications/knoxauth/app/images/blank.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-applications/src/main/resources/applications/knoxauth/app/images/blank.gif -------------------------------------------------------------------------------- /gateway-applications/src/main/resources/applications/knoxauth/app/images/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-applications/src/main/resources/applications/knoxauth/app/images/favicon.ico -------------------------------------------------------------------------------- /gateway-applications/src/main/resources/applications/knoxauth/app/images/knox-logo-white-bg.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-applications/src/main/resources/applications/knoxauth/app/images/knox-logo-white-bg.gif -------------------------------------------------------------------------------- /gateway-applications/src/main/resources/applications/knoxauth/app/images/knox-logo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-applications/src/main/resources/applications/knoxauth/app/images/knox-logo.gif -------------------------------------------------------------------------------- /gateway-applications/src/main/resources/applications/knoxauth/app/images/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-applications/src/main/resources/applications/knoxauth/app/images/loading.gif -------------------------------------------------------------------------------- /gateway-docker/src/main/resources/docker/ldap-entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # Licensed to the Apache Software Foundation (ASF) under one or more 4 | # contributor license agreements. See the NOTICE file distributed with 5 | # this work for additional information regarding copyright ownership. 6 | # The ASF licenses this file to you under the Apache License, Version 2.0 7 | # (the "License"); you may not use this file except in compliance with 8 | # the License. You may obtain a copy of the License at 9 | # 10 | # http://www.apache.org/licenses/LICENSE-2.0 11 | # 12 | # Unless required by applicable law or agreed to in writing, software 13 | # distributed under the License is distributed on an "AS IS" BASIS, 14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | # See the License for the specific language governing permissions and 16 | # limitations under the License. 17 | 18 | set -e 19 | set -o pipefail 20 | 21 | export LDAP_SERVER_RUN_IN_FOREGROUND=true 22 | 23 | ./bin/ldap.sh start 24 | 25 | -------------------------------------------------------------------------------- /gateway-i18n/src/main/java/org/apache/knox/gateway/i18n/messages/MessageLevel.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, software 13 | * distributed under the License is distributed on an "AS IS" BASIS, 14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | * See the License for the specific language governing permissions and 16 | * limitations under the License. 17 | */ 18 | package org.apache.knox.gateway.i18n.messages; 19 | 20 | public enum MessageLevel { 21 | FATAL, ERROR, WARN, INFO, DEBUG, TRACE 22 | } 23 | -------------------------------------------------------------------------------- /gateway-i18n/src/test/resources/META-INF/services/org.apache.knox.gateway.i18n.messages.MessageLoggerFactory: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | # See the License for the specific language governing permissions and 15 | # limitations under the License. 16 | 17 | org.apache.knox.gateway.i18n.messages.loggers.test.TestMessageLoggerFactory -------------------------------------------------------------------------------- /gateway-i18n/src/test/resources/org/apache/knox/gateway/i18n/resources/ResourcesLocaleSubject.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one or more 2 | # contributor license agreements. See the NOTICE file distributed with 3 | # this work for additional information regarding copyright ownership. 4 | # The ASF licenses this file to You under the Apache License, Version 2.0 5 | # (the "License"); you may not use this file except in compliance with 6 | # the License. You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | -------------------------------------------------------------------------------- /gateway-openapi-ui/src/main/resources/swagger/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-openapi-ui/src/main/resources/swagger/favicon-16x16.png -------------------------------------------------------------------------------- /gateway-openapi-ui/src/main/resources/swagger/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-openapi-ui/src/main/resources/swagger/favicon-32x32.png -------------------------------------------------------------------------------- /gateway-provider-rewrite-func-hostmap-static/src/test/resources/org/apache/knox/gateway/hostmap/impl/HostmapFunctionProcessorTest/empty-hostmap.txt: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | # See the License for the specific language governing permissions and 15 | # limitations under the License. 16 | -------------------------------------------------------------------------------- /gateway-provider-rewrite-func-hostmap-static/src/test/resources/org/apache/knox/gateway/hostmap/impl/HostmapFunctionProcessorTest/hdfs-hostmap.txt: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | # See the License for the specific language governing permissions and 15 | # limitations under the License. 16 | 17 | test-external-host=test-inbound-internal-host -------------------------------------------------------------------------------- /gateway-provider-rewrite-func-hostmap-static/src/test/resources/org/apache/knox/gateway/hostmap/impl/HostmapFunctionProcessorTest/hostmap.txt: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | # See the License for the specific language governing permissions and 15 | # limitations under the License. 16 | 17 | test-inbound-host=test-inbound-rewritten-host -------------------------------------------------------------------------------- /gateway-provider-rewrite-func-service-registry/src/test/resources/org/apache/knox/gateway/svcregfunc/impl/ServiceRegistryFunctionsTest/test-expect-body.json: -------------------------------------------------------------------------------- 1 | { 2 | "nameNode":"hdfs://test-nn-host:411", 3 | "jobTracker":"test-jt-host:511", 4 | "oozie.wf.application.path":"hdfs://test-nn-host:411/tmp/test", 5 | "serviceUrl":"test-nn-scheme://test-nn-host:411", 6 | "serviceAddr":"test-nn-host:411", 7 | "serviceScheme":"test-nn-scheme", 8 | "serviceHost":"test-nn-host", 9 | "servicePort":"411", 10 | "servicePath":"/" 11 | } 12 | -------------------------------------------------------------------------------- /gateway-provider-rewrite-func-service-registry/src/test/resources/org/apache/knox/gateway/svcregfunc/impl/ServiceRegistryFunctionsTest/test-input-body.json: -------------------------------------------------------------------------------- 1 | { 2 | "nameNode":"default", 3 | "jobTracker":"default", 4 | "oozie.wf.application.path":"/tmp/test", 5 | "serviceUrl":"", 6 | "serviceAddr":"", 7 | "serviceScheme":"", 8 | "serviceHost":"", 9 | "servicePort":"", 10 | "servicePath":"" 11 | } 12 | -------------------------------------------------------------------------------- /gateway-provider-rewrite/src/test/resources/KNOX-1412.xml.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-provider-rewrite/src/test/resources/KNOX-1412.xml.gz -------------------------------------------------------------------------------- /gateway-provider-rewrite/src/test/resources/org/apache/knox/gateway/filter/rewrite/api/UrlRewriteRulesDescriptorFactoryTest/empty.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /gateway-provider-rewrite/src/test/resources/org/apache/knox/gateway/filter/rewrite/api/UrlRewriteRulesDescriptorFactoryTest/invalid.xml: -------------------------------------------------------------------------------- 1 | 2 | 18 | -------------------------------------------------------------------------------- /gateway-provider-rewrite/src/test/resources/org/apache/knox/gateway/filter/rewrite/api/UrlRewriteRulesDescriptorFactoryTest/noop.xml: -------------------------------------------------------------------------------- 1 | 2 | 18 | -------------------------------------------------------------------------------- /gateway-provider-rewrite/src/test/resources/org/apache/knox/gateway/filter/rewrite/api/UrlRewriteRulesDescriptorFactoryTest/simple.xml: -------------------------------------------------------------------------------- 1 | 2 | 18 | 19 | -------------------------------------------------------------------------------- /gateway-provider-rewrite/src/test/resources/org/apache/knox/gateway/filter/rewrite/api/UrlRewriteServletContextListenerTest/rewrite.xml: -------------------------------------------------------------------------------- 1 | 17 | 18 | -------------------------------------------------------------------------------- /gateway-provider-rewrite/src/test/resources/org/apache/knox/gateway/filter/rewrite/impl/FrontendFunctionProcessorTest/test-input-body.json: -------------------------------------------------------------------------------- 1 | { 2 | "url":"test-input-url", 3 | "scheme":"test-input-scheme", 4 | "host":"test-input-host", 5 | "port":"test-input-port", 6 | "addr":"test-input-addr", 7 | "address":"test-input-address", 8 | "path":"test-input-path", 9 | "topology":"test-input-topology" 10 | } 11 | -------------------------------------------------------------------------------- /gateway-provider-rewrite/src/test/resources/org/apache/knox/gateway/filter/rewrite/impl/json/JsonFilterReaderTest/array.json: -------------------------------------------------------------------------------- 1 | [ 2 | { "obj1-fld1" : "obj1-val1" }, 3 | { "obj2-fld1" : "obj2-val1" } 4 | ] -------------------------------------------------------------------------------- /gateway-provider-rewrite/src/test/resources/org/apache/knox/gateway/filter/rewrite/impl/json/JsonFilterReaderTest/complex.json: -------------------------------------------------------------------------------- 1 | { 2 | "test-str": "text", 3 | "test-int": 42, 4 | "test-flt": 3.1415927, 5 | "test-bool": true, 6 | "test-null": null, 7 | "test-obj-empty": {}, 8 | "test-ary-empty": [], 9 | "test-obj-simple": { "obj-inner-name" : "obj-inner-value" }, 10 | "test-ary-simple": [ "ary-inner-value" ], 11 | "test-obj-nest": { "nested-name": { "obj-inner-name" : "obj-inner-value" } }, 12 | "test-ary-nest": [["nested-value"]], 13 | "test-ary-obj": [ { "obj-inner-name": "obj-inner-value" } ], 14 | "test-ary-multi": [ "text", 3.14, { "obj-inner-name": "obj-inner-value" }, [ "arry-inner-value" ] ], 15 | "test-obj-multi": { "val":"text", "obj": { "obj-inner-name": "obj-inner-value" }, "ary": [ "arry-inner-value" ] } 16 | } -------------------------------------------------------------------------------- /gateway-provider-rewrite/src/test/resources/org/apache/knox/gateway/filter/rewrite/impl/json/JsonFilterReaderTest/dotted-field-name.json: -------------------------------------------------------------------------------- 1 | { 2 | "testField": "testField value", 3 | "test_field": "test_field value", 4 | "test-field": "test-field value", 5 | "test.field": "test.field value" 6 | } -------------------------------------------------------------------------------- /gateway-provider-rewrite/src/test/resources/org/apache/knox/gateway/filter/rewrite/impl/json/JsonFilterReaderTest/empty-array-value.json: -------------------------------------------------------------------------------- 1 | { 2 | "empty-array" : [] 3 | } -------------------------------------------------------------------------------- /gateway-provider-rewrite/src/test/resources/org/apache/knox/gateway/filter/rewrite/impl/json/JsonFilterReaderTest/empty-object-value.json: -------------------------------------------------------------------------------- 1 | { 2 | "empty-object" : {} 3 | } -------------------------------------------------------------------------------- /gateway-provider-rewrite/src/test/resources/org/apache/knox/gateway/filter/rewrite/impl/json/JsonFilterReaderTest/properties.json: -------------------------------------------------------------------------------- 1 | { "properties" : 2 | [ 3 | { "property" : 4 | { "property-name" : "test-name-1", 5 | "property-value" : "test-value-1" 6 | } 7 | }, 8 | { "property" : 9 | { "property-name" : "test-name-2", 10 | "property-value" : "test-value-2" 11 | } 12 | }, 13 | { "property" : 14 | { "property-name" : "test-name-3", 15 | "property-value" : "test-value-3" 16 | } 17 | } 18 | ] 19 | } -------------------------------------------------------------------------------- /gateway-provider-rewrite/src/test/resources/org/apache/knox/gateway/filter/rewrite/impl/json/JsonFilterReaderTest/simple-values.json: -------------------------------------------------------------------------------- 1 | { 2 | "test-str": "text", 3 | "test-int": 42, 4 | "test-flt": 3.1415927, 5 | "test-bool": true, 6 | "test-null": null 7 | } -------------------------------------------------------------------------------- /gateway-release/home/conf/README: -------------------------------------------------------------------------------- 1 | THIS IS THE DIRECTORY WHERE YOU PLACE COPY OR SAVE THE gateway-site.xml and users.ldif FILE -------------------------------------------------------------------------------- /gateway-release/home/conf/descriptors/README: -------------------------------------------------------------------------------- 1 | THIS DIRECTORY IS WHERE SIMPLE TOPOLOGY DESCRIPTORS CAN BE PLACED -------------------------------------------------------------------------------- /gateway-release/home/conf/shared-providers/README: -------------------------------------------------------------------------------- 1 | THIS DIRECTORY IS WHERE SHARED PROVIDER CONFIGURATIONS CAN BE PLACED -------------------------------------------------------------------------------- /gateway-release/home/conf/shared-providers/default-providers.json: -------------------------------------------------------------------------------- 1 | { 2 | "providers": [ 3 | { 4 | "role": "authentication", 5 | "name": "ShiroProvider", 6 | "enabled": "true", 7 | "params": { 8 | "sessionTimeout": "20", 9 | "main.ldapRealm": "org.apache.knox.gateway.shirorealm.KnoxLdapRealm", 10 | "main.ldapContextFactory": "org.apache.knox.gateway.shirorealm.KnoxLdapContextFactory", 11 | "main.ldapRealm.contextFactory": "$ldapContextFactory", 12 | "main.ldapRealm.userDnTemplate": "uid={0},ou=people,dc=hadoop,dc=apache,dc=org", 13 | "main.ldapRealm.contextFactory.url": "ldap://localhost:33389", 14 | "main.ldapRealm.contextFactory.authenticationMechanism": "simple", 15 | "urls./**": "authcBasic" 16 | } 17 | } 18 | ] 19 | } -------------------------------------------------------------------------------- /gateway-release/home/conf/topologies/README: -------------------------------------------------------------------------------- 1 | THIS IS THE DIRECTORY WHERE YOU COPY OR SAVE CLUSTER TOPOLOGY DEPLOYMENT DESCRIPTOR FILES -------------------------------------------------------------------------------- /gateway-release/home/data/README: -------------------------------------------------------------------------------- 1 | THIS DIRECTORY IS POPULATED AUTOMATICALLY BY THE GATEWAY AT RUNTIME -------------------------------------------------------------------------------- /gateway-release/home/data/applications/README: -------------------------------------------------------------------------------- 1 | THIS DIRECTORY CAN CONTAIN APPLICATIONS THAT CAN BE REFERENCED FROM TOPOLOGIES. -------------------------------------------------------------------------------- /gateway-release/home/ext/README: -------------------------------------------------------------------------------- 1 | THIS DIRECTORY IS WHERE JARS AND CLASSES CONTAINING CUSTOM EXTENSIONS CAN BE PLACED -------------------------------------------------------------------------------- /gateway-release/home/ext/native/README: -------------------------------------------------------------------------------- 1 | THIS DIRECTORY IS WHERE DYNAMIC LIBRARIES (e.g. *.so) CONTAINING CUSTOM EXTENSIONS CAN BE PLACED 2 | -------------------------------------------------------------------------------- /gateway-release/home/lib/README: -------------------------------------------------------------------------------- 1 | THIS DIRECTORY IS RESERVED FOR USE BY FUTURE SYSTEM JARS AND CLASSES -------------------------------------------------------------------------------- /gateway-server/src/main/resources/build.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | # See the License for the specific language governing permissions and 15 | # limitations under the License. 16 | 17 | build.version=${project.version} 18 | build.hash=${buildNumber} -------------------------------------------------------------------------------- /gateway-server/src/test/resources/client-keystore.jks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-server/src/test/resources/client-keystore.jks -------------------------------------------------------------------------------- /gateway-server/src/test/resources/client-truststore.jks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-server/src/test/resources/client-truststore.jks -------------------------------------------------------------------------------- /gateway-server/src/test/resources/conf-empty/conf/empty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-server/src/test/resources/conf-empty/conf/empty -------------------------------------------------------------------------------- /gateway-server/src/test/resources/conf-full/conf/descriptors/test-topology.json: -------------------------------------------------------------------------------- 1 | { 2 | "provider-config-ref": "test-providers", 3 | "provision-encrypt-query-string-credential": "false", 4 | "services": [ 5 | { 6 | "name": "KNOX" 7 | } 8 | ] 9 | } -------------------------------------------------------------------------------- /gateway-server/src/test/resources/keystores/server-keystore.jks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-server/src/test/resources/keystores/server-keystore.jks -------------------------------------------------------------------------------- /gateway-server/src/test/resources/keystores/server-truststore.jks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-server/src/test/resources/keystores/server-truststore.jks -------------------------------------------------------------------------------- /gateway-server/src/test/resources/keystores/testSigningKeyName.jks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-server/src/test/resources/keystores/testSigningKeyName.jks -------------------------------------------------------------------------------- /gateway-server/src/test/resources/org/apache/knox/gateway/topology/file/simple-descriptor-five.json: -------------------------------------------------------------------------------- 1 | { 2 | "discovery-type":"DUMMY", 3 | "discovery-address":"http://c6401.ambari.apache.org:8080", 4 | "provider-config-ref":"../shared-providers/ambari-cluster-policy.xml", 5 | "cluster":"dummy", 6 | "services":[ 7 | {"name":"NAMENODE"}, 8 | {"name":"JOBTRACKER"}, 9 | {"name":"WEBHDFS"}, 10 | {"name":"OOZIE"}, 11 | {"name":"HIVE"}, 12 | {"name":"RESOURCEMANAGER"} 13 | ] 14 | } -------------------------------------------------------------------------------- /gateway-server/src/test/resources/org/apache/knox/gateway/topology/file/simple-descriptor-six.json: -------------------------------------------------------------------------------- 1 | { 2 | "discovery-type":"DUMMY", 3 | "discovery-address":"http://c6401.ambari.apache.org:8080", 4 | "provider-config-ref":"../shared-providers/provider-config-one.xml", 5 | "cluster":"dummy", 6 | "services":[ 7 | {"name":"NAMENODE"}, 8 | {"name":"JOBTRACKER"}, 9 | {"name":"WEBHDFS"}, 10 | {"name":"WEBHCAT"}, 11 | {"name":"OOZIE"}, 12 | {"name":"WEBHBASE"}, 13 | {"name":"HIVE"}, 14 | {"name":"RESOURCEMANAGER"}, 15 | {"name":"AMBARI", "urls":["http://c6401.ambari.apache.org:8080"]}, 16 | {"name":"AMBARIUI", "urls":["http://c6401.ambari.apache.org:8080"]} 17 | ] 18 | } -------------------------------------------------------------------------------- /gateway-server/src/test/resources/org/apache/knox/gateway/topology/file/simple-topology-four.json: -------------------------------------------------------------------------------- 1 | { 2 | "discovery-type":"DUMMY", 3 | "discovery-address":"http://c6401.ambari.apache.org:8080", 4 | "provider-config-ref":"../shared-providers/ambari-cluster-policy.xml", 5 | "cluster":"dummy", 6 | "services":[ 7 | {"name":"NAMENODE"}, 8 | {"name":"JOBTRACKER"}, 9 | {"name":"WEBHDFS"}, 10 | {"name":"WEBHCAT"}, 11 | {"name":"OOZIE"}, 12 | {"name":"WEBHBASE"}, 13 | {"name":"HIVE"}, 14 | {"name":"RESOURCEMANAGER"}, 15 | {"name":"AMBARI", "urls":["http://c6401.ambari.apache.org:8080"]}, 16 | {"name":"AMBARIUI", "urls":["http://c6401.ambari.apache.org:8080"]} 17 | ] 18 | } -------------------------------------------------------------------------------- /gateway-server/src/test/resources/org/apache/knox/gateway/topology/file/topology-one.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | WEBHDFS 10 | http://host-one:80/webhdfs 11 | 12 | 13 | -------------------------------------------------------------------------------- /gateway-server/src/test/resources/org/apache/knox/gateway/topology/file/topology-three.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | WEBHDFS 10 | http://host-three:80/webhdfs 11 | 12 | 13 | -------------------------------------------------------------------------------- /gateway-server/src/test/resources/org/apache/knox/gateway/topology/file/topology-two.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | WEBHDFS 10 | http://host-two:80/webhdfs 11 | 12 | 13 | -------------------------------------------------------------------------------- /gateway-server/src/test/resources/org/apache/knox/gateway/topology/validation/TopologyValidatorTest/topology-valid-with-name.xml: -------------------------------------------------------------------------------- 1 | 17 | 18 | topology-name 19 | -------------------------------------------------------------------------------- /gateway-server/src/test/resources/server-keystore.jks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-server/src/test/resources/server-keystore.jks -------------------------------------------------------------------------------- /gateway-server/src/test/resources/services/bar/2.0.0/service.xml: -------------------------------------------------------------------------------- 1 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /gateway-server/src/test/resources/services/foo/1.0.0/rewrite.xml: -------------------------------------------------------------------------------- 1 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /gateway-server/src/test/resources/services/foo/1.0.0/service.xml.ignored: -------------------------------------------------------------------------------- 1 | This file should be ignored by ServiceDefinitionsLoader because it doesn't 2 | have the proper .xml extension. 3 | -------------------------------------------------------------------------------- /gateway-service-admin/src/main/resources/org/apache/knox/gateway/service/admin/beans/jaxb.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | # See the License for the specific language governing permissions and 15 | # limitations under the License. 16 | javax.xml.bind.context.factory=org.eclipse.persistence.jaxb.JAXBContextFactory -------------------------------------------------------------------------------- /gateway-service-admin/src/main/resources/org/apache/knox/gateway/service/admin/jaxb.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | # See the License for the specific language governing permissions and 15 | # limitations under the License. 16 | javax.xml.bind.context.factory=org.eclipse.persistence.jaxb.JAXBContextFactory -------------------------------------------------------------------------------- /gateway-service-auth/.gitignore: -------------------------------------------------------------------------------- 1 | /bin/ 2 | -------------------------------------------------------------------------------- /gateway-service-rm/src/main/java/org/apache/knox/gateway/rm/dispatch/StandbyException.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | *

10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | *

12 | * Unless required by applicable law or agreed to in writing, software 13 | * distributed under the License is distributed on an "AS IS" BASIS, 14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | * See the License for the specific language governing permissions and 16 | * limitations under the License. 17 | */ 18 | package org.apache.knox.gateway.rm.dispatch; 19 | 20 | class StandbyException extends RuntimeException { 21 | } 22 | -------------------------------------------------------------------------------- /gateway-service-test/src/main/resources/org/apache/knox/gateway/service/test/jaxb.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | # See the License for the specific language governing permissions and 15 | # limitations under the License. 16 | javax.xml.bind.context.factory=org.eclipse.persistence.jaxb.JAXBContextFactory -------------------------------------------------------------------------------- /gateway-shell-samples/src/main/resources/samples/hive/groovy/jdbc/sandbox-with-knox-inside/README: -------------------------------------------------------------------------------- 1 | This sample assumes that Knox is deployed on Sandbox. 2 | Use sandbox-with-knox-inside.xml as deployment configuration. 3 | -------------------------------------------------------------------------------- /gateway-shell-samples/src/main/resources/samples/hive/groovy/jdbc/sandbox/README: -------------------------------------------------------------------------------- 1 | This sample assumes that Sandbox is running on the host where Knox is deployed. 2 | -------------------------------------------------------------------------------- /gateway-shell-samples/src/main/resources/samples/hive/java/jdbc/sandbox-with-knox-inside/README: -------------------------------------------------------------------------------- 1 | This sample assumes that Knox is deployed on Sandbox. 2 | Use sandbox-with-knox-inside.xml as deployment configuration. 3 | -------------------------------------------------------------------------------- /gateway-shell-samples/src/main/resources/samples/hive/java/jdbc/sandbox/README: -------------------------------------------------------------------------------- 1 | This sample assumes that Sandbox is running on the host where Knox is deployed. 2 | -------------------------------------------------------------------------------- /gateway-shell-samples/src/main/resources/samples/sample-descriptor.json: -------------------------------------------------------------------------------- 1 | { 2 | "provider-config-ref":"default-providers", 3 | "services":[ 4 | {"name":"NAMENODE"}, 5 | {"name":"WEBHDFS"}, 6 | {"name":"RESOURCEMANAGER"} 7 | ] 8 | } 9 | -------------------------------------------------------------------------------- /gateway-shell-samples/src/main/resources/samples/sample-providers.json: -------------------------------------------------------------------------------- 1 | { 2 | "providers": [ 3 | { 4 | "role": "authentication", 5 | "name": "ShiroProvider", 6 | "enabled": "true", 7 | "params": { 8 | "sessionTimeout": "20", 9 | "main.ldapRealm": "org.apache.knox.gateway.shirorealm.KnoxLdapRealm", 10 | "main.ldapContextFactory": "org.apache.knox.gateway.shirorealm.KnoxLdapContextFactory", 11 | "main.ldapRealm.contextFactory": "$ldapContextFactory", 12 | "main.ldapRealm.userDnTemplate": "uid={0},ou=people,dc=hadoop,dc=apache,dc=org", 13 | "main.ldapRealm.contextFactory.url": "ldap://localhost:33389", 14 | "main.ldapRealm.contextFactory.authenticationMechanism": "simple", 15 | "urls./**": "authcBasic" 16 | } 17 | } 18 | ] 19 | } -------------------------------------------------------------------------------- /gateway-shell/src/test/resources/createBooksTable.sql: -------------------------------------------------------------------------------- 1 | CREATE TABLE books ( 2 | book_id integer, 3 | title varchar(64), 4 | primary key(book_id) 5 | ) -------------------------------------------------------------------------------- /gateway-shell/src/test/resources/insertBooks.sql: -------------------------------------------------------------------------------- 1 | INSERT INTO books(book_id, title) 2 | VALUES 3 | (123, 'Apache Knox: The Definitive Guide'), 4 | (456, 'Apache Knox: The Definitive Guide 2nd Edition') 5 | -------------------------------------------------------------------------------- /gateway-shell/src/test/resources/knoxShellTableLocationsWithZipLessThan14.csv: -------------------------------------------------------------------------------- 1 | ZIP,COUNTRY,STATE,CITY,POPULATION 2 | 1,US,NY,City1,100000 3 | 2,US,NY,City2,200000 4 | 3,US,NY,City3,300000 5 | 4,US,NY,City4,400000 6 | 5,US,NY,City5,500000 7 | 6,US,NY,City6,600000 8 | 7,US,NY,City7,700000 9 | 8,US,NY,City8,800000 10 | 9,US,NY,City9,900000 11 | 10,US,NY,City10,1000000 12 | 11,US,NY,City11,2000000 13 | 12,US,NY,City12,3000000 14 | 13,US,NY,City13,4000000 15 | 14,US,NY,City14,5000000 -------------------------------------------------------------------------------- /gateway-spi/src/main/java/org/apache/knox/gateway/services/security/MasterService.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, software 13 | * distributed under the License is distributed on an "AS IS" BASIS, 14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | * See the License for the specific language governing permissions and 16 | * limitations under the License. 17 | */ 18 | package org.apache.knox.gateway.services.security; 19 | 20 | public interface MasterService { 21 | char[] getMasterSecret(); 22 | } -------------------------------------------------------------------------------- /gateway-spi/src/main/java/org/apache/knox/gateway/topology/Routable.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, software 13 | * distributed under the License is distributed on an "AS IS" BASIS, 14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | * See the License for the specific language governing permissions and 16 | * limitations under the License. 17 | */ 18 | package org.apache.knox.gateway.topology; 19 | 20 | public class Routable { 21 | 22 | } 23 | -------------------------------------------------------------------------------- /gateway-spi/src/main/resources/org/apache/knox/gateway/topology/jaxb.index: -------------------------------------------------------------------------------- 1 | # 2 | # Licensed to the Apache Software Foundation (ASF) under one 3 | # or more contributor license agreements. See the NOTICE file 4 | # distributed with this work for additional information 5 | # regarding copyright ownership. The ASF licenses this file 6 | # to you under the Apache License, Version 2.0 (the 7 | # "License"); you may not use this file except in compliance 8 | # with the License. You may obtain a copy of the License at 9 | # 10 | # http://www.apache.org/licenses/LICENSE-2.0 11 | # 12 | # Unless required by applicable law or agreed to in writing, software 13 | # distributed under the License is distributed on an "AS IS" BASIS, 14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | # See the License for the specific language governing permissions and 16 | # limitations under the License. 17 | # 18 | Topology 19 | Param 20 | Service 21 | Application 22 | Provider -------------------------------------------------------------------------------- /gateway-spi/src/main/resources/org/apache/knox/gateway/topology/jaxb.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | # See the License for the specific language governing permissions and 15 | # limitations under the License. 16 | javax.xml.bind.context.factory=org.eclipse.persistence.jaxb.JAXBContextFactory -------------------------------------------------------------------------------- /gateway-spi/src/test/resources/keystores/server-keystore.jks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-spi/src/test/resources/keystores/server-keystore.jks -------------------------------------------------------------------------------- /gateway-spi/src/test/resources/keystores/server-truststore.jks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-spi/src/test/resources/keystores/server-truststore.jks -------------------------------------------------------------------------------- /gateway-spi/src/test/resources/keystores/testSigningKeyName.jks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-spi/src/test/resources/keystores/testSigningKeyName.jks -------------------------------------------------------------------------------- /gateway-spi/src/test/resources/org/apache/knox/gateway/services/hostmap/FileBasedHostMapperTest/hostmap.txt: -------------------------------------------------------------------------------- 1 | external=internal 2 | external-space = internal-space 3 | external-list = external-list-1, external-list-2 4 | internal-list-1, internal-list-2 = internal-list 5 | external-both-list-1, external-both-list-2 = internal-both-list-1, internal-both-list-2 6 | 7 | -------------------------------------------------------------------------------- /gateway-test-utils/src/main/java/org/apache/knox/test/category/FastTests.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | *

10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | *

12 | * Unless required by applicable law or agreed to in writing, software 13 | * distributed under the License is distributed on an "AS IS" BASIS, 14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | * See the License for the specific language governing permissions and 16 | * limitations under the License. 17 | */ 18 | package org.apache.knox.test.category; 19 | 20 | public interface FastTests { 21 | } 22 | -------------------------------------------------------------------------------- /gateway-test-utils/src/main/java/org/apache/knox/test/category/ManualTests.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, software 13 | * distributed under the License is distributed on an "AS IS" BASIS, 14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | * See the License for the specific language governing permissions and 16 | * limitations under the License. 17 | */ 18 | package org.apache.knox.test.category; 19 | 20 | public interface ManualTests { 21 | } 22 | -------------------------------------------------------------------------------- /gateway-test-utils/src/main/java/org/apache/knox/test/category/MediumTests.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, software 13 | * distributed under the License is distributed on an "AS IS" BASIS, 14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | * See the License for the specific language governing permissions and 16 | * limitations under the License. 17 | */ 18 | package org.apache.knox.test.category; 19 | 20 | public interface MediumTests { 21 | } 22 | -------------------------------------------------------------------------------- /gateway-test-utils/src/main/java/org/apache/knox/test/category/ReleaseTest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, software 13 | * distributed under the License is distributed on an "AS IS" BASIS, 14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | * See the License for the specific language governing permissions and 16 | * limitations under the License. 17 | */ 18 | package org.apache.knox.test.category; 19 | 20 | public interface ReleaseTest { 21 | } 22 | -------------------------------------------------------------------------------- /gateway-test-utils/src/main/java/org/apache/knox/test/category/SlowTests.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | *

10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | *

12 | * Unless required by applicable law or agreed to in writing, software 13 | * distributed under the License is distributed on an "AS IS" BASIS, 14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | * See the License for the specific language governing permissions and 16 | * limitations under the License. 17 | */ 18 | package org.apache.knox.test.category; 19 | 20 | public interface SlowTests { 21 | } 22 | -------------------------------------------------------------------------------- /gateway-test-utils/src/main/java/org/apache/knox/test/category/UnitTests.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, software 13 | * distributed under the License is distributed on an "AS IS" BASIS, 14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | * See the License for the specific language governing permissions and 16 | * limitations under the License. 17 | */ 18 | package org.apache.knox.test.category; 19 | 20 | public interface UnitTests { 21 | } 22 | -------------------------------------------------------------------------------- /gateway-test-utils/src/main/java/org/apache/knox/test/category/VerifyTest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, software 13 | * distributed under the License is distributed on an "AS IS" BASIS, 14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | * See the License for the specific language governing permissions and 16 | * limitations under the License. 17 | */ 18 | package org.apache.knox.test.category; 19 | 20 | public interface VerifyTest { 21 | } 22 | -------------------------------------------------------------------------------- /gateway-test/src/test/resources/client-keystore.jks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-test/src/test/resources/client-keystore.jks -------------------------------------------------------------------------------- /gateway-test/src/test/resources/client-truststore.jks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-test/src/test/resources/client-truststore.jks -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/AmbariServiceDefinitionTest/clusters-response-expected.json: -------------------------------------------------------------------------------- 1 | { 2 | "href": "$cluster_url/ambari/api/v1/clusters", 3 | "items": [ 4 | { 5 | "href": "$cluster_url/ambari/api/v1/clusters/test", 6 | "Clusters": { 7 | "cluster_name": "test", 8 | "version": "HDP-2.3" 9 | } 10 | } 11 | ] 12 | } 13 | 14 | -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/AmbariServiceDefinitionTest/clusters-response.json: -------------------------------------------------------------------------------- 1 | 2 | { 3 | "href" : "http://c6401.ambari.apache.org:8080/api/v1/clusters", 4 | "items" : [ 5 | { 6 | "href" : "http://c6401.ambari.apache.org:8080/api/v1/clusters/test", 7 | "Clusters" : { 8 | "cluster_name" : "test", 9 | "version" : "HDP-2.3" 10 | } 11 | } 12 | ] 13 | } 14 | -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayAppFuncTest/test-apps/dynamic-app/app.war/WEB-INF/web.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | dynamic-app-servlet 9 | org.apache.knox.gateway.TestServlet 10 | 11 | 12 | dynamic-app-servlet 13 | /* 14 | 15 | 16 | -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayAppFuncTest/test-apps/static-json-app/app.dir/one.json: -------------------------------------------------------------------------------- 1 | { 2 | "test-name-one":"test-value-one" 3 | } -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayAppFuncTest/test-apps/static-json-app/rewrite.xml: -------------------------------------------------------------------------------- 1 | 17 | -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayAppFuncTest/test-apps/static-xml-app/app/test.xml: -------------------------------------------------------------------------------- 1 | 17 | -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/falcon/config-build.json: -------------------------------------------------------------------------------- 1 | { 2 | "properties": [ 3 | { 4 | "key": "vc.source.url", 5 | "value": "scm:git:https://git-wip-us.apache.org/repos/asf/incubator-falcon.git/falcon-webapp" 6 | }, 7 | { 8 | "key": "build.epoch", 9 | "value": "1416432530059" 10 | }, 11 | { 12 | "key": "project.version", 13 | "value": "0.6.0.2.2.0.0-2041" 14 | }, 15 | { 16 | "key": "build.user", 17 | "value": "jenkins" 18 | }, 19 | { 20 | "key": "vc.revision", 21 | "value": "5fa2772890a189327d5d62a3353290c54613246c" 22 | }, 23 | { 24 | "key": "domain", 25 | "value": "all" 26 | }, 27 | { 28 | "key": "build.version", 29 | "value": "0.6.0.2.2.0.0-2041-r5fa2772890a189327d5d62a3353290c54613246c" 30 | } 31 | ] 32 | } -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/falcon/config-deploy.json: -------------------------------------------------------------------------------- 1 | {"properties":[{"key":"deploy.mode","value":"embedded"},{"key":"domain","value":"all"}]} -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/falcon/config-deploy.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | deploy.mode 5 | embedded 6 | 7 | 8 | domain 9 | all 10 | 11 | -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/falcon/config-runtime.json: -------------------------------------------------------------------------------- 1 | { 2 | "properties": [ 3 | { 4 | "key": "log.cleanup.frequency.days.retention", 5 | "value": "days(7)" 6 | }, 7 | { 8 | "key": "log.cleanup.frequency.months.retention", 9 | "value": "months(3)" 10 | }, 11 | { 12 | "key": "domain", 13 | "value": "falcon" 14 | }, 15 | { 16 | "key": "log.cleanup.frequency.hours.retention", 17 | "value": "minutes(1)" 18 | }, 19 | { 20 | "key": "log.cleanup.frequency.minutes.retention", 21 | "value": "hours(6)" 22 | } 23 | ] 24 | } -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/falcon/config-runtime.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | log.cleanup.frequency.days.retention 5 | days(7) 6 | 7 | 8 | log.cleanup.frequency.months.retention 9 | months(3) 10 | 11 | 12 | domain 13 | falcon 14 | 15 | 16 | log.cleanup.frequency.hours.retention 17 | minutes(1) 18 | 19 | 20 | log.cleanup.frequency.minutes.retention 21 | hours(6) 22 | 23 | -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/falcon/entity-delete-process.json: -------------------------------------------------------------------------------- 1 | { 2 | "requestId": "falcon\/17ff6ca6-1c8a-459f-9ba8-8fec480e384a\n", 3 | "message": "falcon\/SampleProcess(cluster) removed successfully\n", 4 | "status": "SUCCEEDED" 5 | } 6 | -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/falcon/entity-dependency-process.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | feed 5 | cleansedEmailFeed 6 | 7 | Output 8 | 9 | 10 | 11 | cluster 12 | primaryCluster 13 | 14 | 15 | 16 | feed 17 | rawEmailFeed 18 | 19 | Input 20 | 21 | 22 | -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/falcon/entity-list-cluster.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | CLUSTER 5 | backupCluster 6 | 7 | 8 | CLUSTER 9 | primaryCluster 10 | 11 | -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/falcon/entity-resume-feed.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | SUCCEEDED 4 | default/rawEmailFeed(feed) resumed successfully 5 | 6 | default/null 7 | 8 | -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/falcon/entity-schedule-feed.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | SUCCEEDED 4 | default/rawEmailFeed(feed) scheduled successfully 5 | 6 | default/null 7 | 8 | -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/falcon/entity-status-process.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | SUCCEEDED 4 | default/RUNNING 5 | 6 | default/null 7 | 8 | -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/falcon/entity-submit-feed.json: -------------------------------------------------------------------------------- 1 | { 2 | "requestId": "default\/d72a41f7-6420-487b-8199-62d66e492e35\n", 3 | "message": "default\/Submit successful (feed) SampleInput\n", 4 | "status": "SUCCEEDED" 5 | } 6 | -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/falcon/entity-submit-schedule-process.json: -------------------------------------------------------------------------------- 1 | { 2 | "requestId": "schedule\/default\/b5b40931-175b-4b15-8f2b-02ef2e66f06b\n\nsubmit\/default\/b5b40931-175b-4b15-8f2b-02ef2e66f06b\n\n", 3 | "message": "schedule\/default\/SampleProcess(process) scheduled successfully\n\nsubmit\/default\/Submit successful (process) SampleProcess\n\n", 4 | "status": "SUCCEEDED" 5 | } -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/falcon/entity-summary-feed.json: -------------------------------------------------------------------------------- 1 | {"status":"SUCCEEDED","message":"Entity Summary Result"} -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/falcon/entity-summary-feed.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | SUCCEEDED 4 | Entity Summary Result 5 | -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/falcon/entity-update-feed.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | SUCCEEDED 4 | falcon/update/default/Updated successfully 5 | 6 | 7 | falcon/update/default/null 8 | 9 | 10 | -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/falcon/entity-validate-cluster.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | SUCCEEDED 4 | Validated successfully (CLUSTER) primaryCluster 5 | -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/falcon/instance-params-process.json: -------------------------------------------------------------------------------- 1 | {"status":"SUCCEEDED","message":"default/PARAMS\n","requestId":"default/null\n"} -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/falcon/instance-running-process.json: -------------------------------------------------------------------------------- 1 | { 2 | "status": "SUCCEEDED", 3 | "message": "default/Running Instances\n", 4 | "requestId": "default/null\n", 5 | "instances": [ 6 | { 7 | "instance": "2014-02-28T03:00Z", 8 | "status": "RUNNING", 9 | "cluster": "primaryCluster", 10 | "startTime": "2015-02-20T03:09:07Z" 11 | } 12 | ] 13 | } -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/falcon/instance-status-process.json: -------------------------------------------------------------------------------- 1 | {"status":"SUCCEEDED","message":"default/STATUS\n","requestId":"default/null\n"} -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/falcon/metadata-disc-cluster-entity.json: -------------------------------------------------------------------------------- 1 | {"results":["primaryCluster","backupCluster"],"totalSize":2} -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/falcon/metadata-disc-process-entity.json: -------------------------------------------------------------------------------- 1 | {"results":["rawEmailIngestProcess","cleanseEmailProcess"],"totalSize":2} -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/falcon/metadata-lineage-edges-id.json: -------------------------------------------------------------------------------- 1 | {"results":{"_id":"Q2v-4-4m","_type":"edge","_outV":4,"_inV":8,"_label":"collocated"}} -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/falcon/metadata-lineage-vertices-direction.json: -------------------------------------------------------------------------------- 1 | { 2 | "results": [ 3 | { 4 | "timestamp": "2015-02-19T20:54Z", 5 | "name": "ambari-qa", 6 | "type": "user", 7 | "_id": 24, 8 | "_type": "vertex" 9 | }, 10 | { 11 | "timestamp": "2015-02-19T20:54Z", 12 | "name": "primaryCluster", 13 | "type": "cluster-entity", 14 | "_id": 4, 15 | "_type": "vertex" 16 | }, 17 | { 18 | "timestamp": "2015-02-19T20:55Z", 19 | "name": "rawEmailFeed/2014-02-28T00:00Z", 20 | "type": "feed-instance", 21 | "_id": 80, 22 | "_type": "vertex" 23 | }, 24 | { 25 | "timestamp": "2015-02-19T20:54Z", 26 | "name": "rawEmailIngestProcess", 27 | "type": "process-entity", 28 | "version": "2.0.0", 29 | "_id": 60, 30 | "_type": "vertex" 31 | } 32 | ], 33 | "totalSize": 4 34 | } -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/falcon/metadata-lineage-vertices-id.json: -------------------------------------------------------------------------------- 1 | { 2 | "results": { 3 | "timestamp": "2015-02-19T20:55Z", 4 | "name": "rawEmailIngestProcess/2014-02-28T00:00Z", 5 | "type": "process-instance", 6 | "version": "2.0.0", 7 | "_id": 76, 8 | "_type": "vertex" 9 | } 10 | } -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/falcon/metadata-lineage-vertices-key.json: -------------------------------------------------------------------------------- 1 | { 2 | "results": [ 3 | { 4 | "timestamp": "2015-02-19T20:54Z", 5 | "name": "rawEmailIngestProcess", 6 | "type": "process-entity", 7 | "version": "2.0.0", 8 | "_id": 60, 9 | "_type": "vertex" 10 | } 11 | ], 12 | "totalSize": 1 13 | } -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/falcon/version.json: -------------------------------------------------------------------------------- 1 | { 2 | "properties": [ 3 | { 4 | "key": "Version", 5 | "value": "0.6.0.2.2.0.0-2041-r5fa2772890a189327d5d62a3353290c54613246c" 6 | }, 7 | { 8 | "key": "Mode", 9 | "value": "embedded" 10 | }, 11 | { 12 | "key": "Hadoop", 13 | "value": "2.6.0.2.2.0.0-2041-r7d56f02902b436d46efba030651a2fbe7c1cf1e9" 14 | } 15 | ] 16 | } -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/falcon/version.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Version 5 | 0.6.0.2.2.0.0-2041-r5fa2772890a189327d5d62a3353290c54613246c 6 | 7 | 8 | Mode 9 | embedded 10 | 11 | 12 | Hadoop 13 | 2.6.0.2.2.0.0-2041-r7d56f02902b436d46efba030651a2fbe7c1cf1e9 14 | 15 | -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hbase/scanner-definition.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hbase/table-data.json: -------------------------------------------------------------------------------- 1 | { 2 | "Row": 3 | [ 4 | { 5 | "key": "cm93", 6 | "Cell": 7 | [ 8 | { 9 | "column": "ZmFtaWx5OmNvbDE=", 10 | "timestamp": 1371467528262, 11 | "$": "dmFs" 12 | }, 13 | { 14 | "column": "ZmFtaWx5OmNvbHVtbm5ubm5u", 15 | "timestamp": 1371467528262, 16 | "$": "dmFsdWUz" 17 | } 18 | ] 19 | } 20 | ] 21 | } 22 | -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hbase/table-data.protobuf: -------------------------------------------------------------------------------- 1 | 2 | 2 3 | row2 4 | test2:col2"val222 5 | test2:col3"val223 6 | 2 7 | row3 8 | test3:col1"val331 9 | test3:col2"val332 -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hbase/table-list.json: -------------------------------------------------------------------------------- 1 | { 2 | "table": [ 3 | { 4 | "name": "table1" 5 | }, 6 | { 7 | "name": "table2" 8 | } 9 | ] 10 | } 11 | -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hbase/table-list.protobuf: -------------------------------------------------------------------------------- 1 | 2 | table1 3 | table2 -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hbase/table-metadata.protobuf: -------------------------------------------------------------------------------- 1 | 2 | table 3 | family1 4 | family2 -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hbase/table-schema.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "table", 3 | "ColumnSchema": [ 4 | { 5 | "name": "family1" 6 | }, 7 | { 8 | "name": "family2" 9 | } 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hbase/table-schema.protobuf: -------------------------------------------------------------------------------- 1 | 2 | table 3 | family1 4 | family2 -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/close-operation-1-request.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/close-operation-1-request.bin -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/close-operation-1-result.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/close-operation-1-result.bin -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/close-operation-2-request.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/close-operation-2-request.bin -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/close-operation-2-result.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/close-operation-2-result.bin -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/close-operation-3-request.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/close-operation-3-request.bin -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/close-operation-3-result.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/close-operation-3-result.bin -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/close-operation-4-request.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/close-operation-4-request.bin -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/close-operation-4-result.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/close-operation-4-result.bin -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/close-operation-5-request.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/close-operation-5-request.bin -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/close-operation-5-result.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/close-operation-5-result.bin -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/close-operation-6-request.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/close-operation-6-request.bin -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/close-operation-6-result.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/close-operation-6-result.bin -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/close-session-request.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/close-session-request.bin -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/close-session-result.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/close-session-result.bin -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/execute-create-table-request.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/execute-create-table-request.bin -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/execute-create-table-result.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/execute-create-table-result.bin -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/execute-select-from-table-request.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/execute-select-from-table-request.bin -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/execute-select-from-table-result.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/execute-select-from-table-result.bin -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/execute-set-fetch-output-serde-request.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/execute-set-fetch-output-serde-request.bin -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/execute-set-fetch-output-serde-result.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/execute-set-fetch-output-serde-result.bin -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/execute-set-security-authorization-enabled-request.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/execute-set-security-authorization-enabled-request.bin -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/execute-set-security-authorization-enabled-result.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/execute-set-security-authorization-enabled-result.bin -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/execute-set-server2-http-path-request.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/execute-set-server2-http-path-request.bin -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/execute-set-server2-http-path-result.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/execute-set-server2-http-path-result.bin -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/execute-set-server2-servermode-request.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/execute-set-server2-servermode-request.bin -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/execute-set-server2-servermode-result.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/execute-set-server2-servermode-result.bin -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/fetch-results-request.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/fetch-results-request.bin -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/fetch-results-result.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/fetch-results-result.bin -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/get-result-set-metadata-request.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/get-result-set-metadata-request.bin -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/get-result-set-metadata-result.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/get-result-set-metadata-result.bin -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/open-session-request.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/open-session-request.bin -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/open-session-result.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/open-session-result.bin -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/oozie-admin-build-version.json: -------------------------------------------------------------------------------- 1 | { 2 | "buildVersion": "3.2.0.21" 3 | } -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/oozie-admin-status.json: -------------------------------------------------------------------------------- 1 | { 2 | "systemMode": "NORMAL" 3 | } 4 | -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/oozie-jobs-empty.json: -------------------------------------------------------------------------------- 1 | { 2 | "total": 0, 3 | "workflows": [], 4 | "len": 50, 5 | "offset": 1 6 | } -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/oozie-jobs-submit-response.json: -------------------------------------------------------------------------------- 1 | { 2 | "id": "0000001-130214094519989-oozie-oozi-W" 3 | } -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/oozie-versions.json: -------------------------------------------------------------------------------- 1 | [ 2 | 0, 3 | 1 4 | ] 5 | -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/passwd.txt: -------------------------------------------------------------------------------- 1 | ctdean:Chris Dean:secret 2 | pauls:Paul Stolorz:good 3 | carmas:Carlos Armas:evil 4 | dra:Deirdre McClure:marvelous -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/script.hive: -------------------------------------------------------------------------------- 1 | select+*+from+pokes; -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/script.pig: -------------------------------------------------------------------------------- 1 | A = load '/tmp/GatewayWebHCatFuncText/pig/passwd.txt' using PigStorage(':'); 2 | B = foreach A generate $0 as id; 3 | dump B; -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/storm/cluster-summary.json: -------------------------------------------------------------------------------- 1 | { 2 | "slotsFree": 0, 3 | "executorsTotal": 28, 4 | "supervisors": 1, 5 | "user": null, 6 | "topologies": 1, 7 | "slotsTotal": 2, 8 | "stormVersion": "0.9.3.2.2.0.0-2041", 9 | "slotsUsed": 2, 10 | "tasksTotal": 28, 11 | "nimbusUptime": "4h 54m 52s" 12 | } -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/storm/supervisor-summary.json: -------------------------------------------------------------------------------- 1 | { 2 | "supervisors": [ 3 | { 4 | "id": "9bda48ca-7f71-4829-b463-16fd97cf0391", 5 | "host": "sandbox.hortonworks.com", 6 | "uptime": "4h 55m 1s", 7 | "slotsTotal": 2, 8 | "slotsUsed": 2 9 | } 10 | ] 11 | } -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/storm/topology-summary.json: -------------------------------------------------------------------------------- 1 | { 2 | "topologies": [ 3 | { 4 | "executorsTotal": 28, 5 | "uptime": "4h 48m 23s", 6 | "schedulerInfo": null, 7 | "name": "WordCount", 8 | "workersTotal": 2, 9 | "status": "INACTIVE", 10 | "owner": "", 11 | "tasksTotal": 28, 12 | "id": "WordCount-1-1424792039" 13 | } 14 | ] 15 | } -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/test.txt: -------------------------------------------------------------------------------- 1 | TEST -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/webhcat-job-status.json: -------------------------------------------------------------------------------- 1 | {"status":{"startTime":1352414440951,"jobID":{"jtIdentifier":"201210301335","id":86},"jobPriority":"NORMAL","username":"hdfs","failureInfo":"NA","runState":4,"schedulingInfo":"NA","jobId":"job_201210301335_0086","jobACLs":{},"jobComplete":false},"profile":{"url":"http://vm.home:50030/jobdetails.jsp?jobid=job_201210301335_0086","user":"hdfs","jobID":{"jtIdentifier":"201210301335","id":86},"jobName":"TempletonControllerJob","queueName":"default","jobFile":"hdfs://vm.home:8020/user/hdfs/.staging/job_201210301335_0086/job.xml","jobId":"job_201210301335_0086"},"id":"job_201210301335_0086","parentId":null,"percentComplete":null,"exitValue":null,"user":"hdfs","callback":null,"completed":null} 2 | -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/webhdfs-liststatus-default.json: -------------------------------------------------------------------------------- 1 | { "FileStatuses":{"FileStatus":[ 2 | {"accessTime":0,"blockSize":0,"group":"mapred","length":0,"modificationTime":1350595874024,"owner":"mapred","pathSuffix":"mapred","permission":"755","replication":0,"type":"DIRECTORY"}, 3 | {"accessTime":0,"blockSize":0,"group":"hdfs","length":0,"modificationTime":1350596040075,"owner":"hdfs","pathSuffix":"tmp","permission":"777","replication":0,"type":"DIRECTORY"}, 4 | {"accessTime":0,"blockSize":0,"group":"hdfs","length":0,"modificationTime":1350595857178,"owner":"hdfs","pathSuffix":"user","permission":"755","replication":0,"type":"DIRECTORY"} 5 | ]}} 6 | -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/webhdfs-liststatus-empty.json: -------------------------------------------------------------------------------- 1 | {"FileStatuses":{"FileStatus":[ 2 | 3 | ]}} -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/webhdfs-liststatus-test.json: -------------------------------------------------------------------------------- 1 | { "FileStatuses":{"FileStatus":[ 2 | {"accessTime":0,"blockSize":0,"group":"hdfs","length":0,"modificationTime":1350595857178,"owner":"hdfs","pathSuffix":"dir","permission":"755","replication":0,"type":"DIRECTORY"} 3 | ]}} 4 | -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/webhdfs-success.json: -------------------------------------------------------------------------------- 1 | { "boolean" : true } 2 | -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/yarn/app_running.json: -------------------------------------------------------------------------------- 1 | { 2 | "app":{ 3 | "id":"application_1399541193872_0033", 4 | "user":"hdfs", 5 | "name":"Sleep job", 6 | "queue":"default", 7 | "state":"RUNNING", 8 | "finalStatus":"UNDEFINED", 9 | "progress":89.94973, 10 | "trackingUI":"ApplicationMaster", 11 | "trackingUrl":"$proxy_address/proxy/application_1399541193872_0033/", 12 | "diagnostics":"", 13 | "clusterId":1399541193872, 14 | "applicationType":"MAPREDUCE", 15 | "applicationTags":"", 16 | "startedTime":1401184778896, 17 | "finishedTime":0, 18 | "elapsedTime":139545, 19 | "amContainerLogs":"http://localhost:50060/node/containerlogs/container_1399541193872_0033_01_000001/hdfs", 20 | "amHostHttpAddress":"localhost:50060", 21 | "allocatedMB":4608, 22 | "allocatedVCores":2, 23 | "runningContainers":2 24 | } 25 | } -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/yarn/app_succeeded.json: -------------------------------------------------------------------------------- 1 | { 2 | "app":{ 3 | "id":"application_1399541193872_0018", 4 | "user":"hdfs", 5 | "name":"Sleep job", 6 | "queue":"default", 7 | "state":"FINISHED", 8 | "finalStatus":"SUCCEEDED", 9 | "progress":100.0, 10 | "trackingUI":"History", 11 | "trackingUrl":"http://localhost:8088/proxy/application_1399541193872_0018/jobhistory/job/job_1399541193872_0018", 12 | "diagnostics":"", 13 | "clusterId":1399541193872, 14 | "applicationType":"MAPREDUCE", 15 | "applicationTags":"", 16 | "startedTime":1399903578539, 17 | "finishedTime":1399904819572, 18 | "elapsedTime":1241033, 19 | "amContainerLogs":"http://localhost:50060/node/containerlogs/container_1399541193872_0018_01_000001/hdfs", 20 | "amHostHttpAddress":"localhost:50060", 21 | "allocatedMB":0, 22 | "allocatedVCores":0, 23 | "runningContainers":0 24 | } 25 | } -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/yarn/appattempts.json: -------------------------------------------------------------------------------- 1 | { 2 | "appAttempts":{ 3 | "appAttempt":[ 4 | { 5 | "id":1, 6 | "startTime":1399903578541, 7 | "containerId":"container_1399541193872_0018_01_000001", 8 | "nodeHttpAddress":"localhost:50060", 9 | "nodeId":"localhost:45454", 10 | "logsLink":"//localhost:50060/node/containerlogs/container_1399541193872_0018_01_000001/hdfs" 11 | } 12 | ] 13 | } 14 | } -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/yarn/application-killing.json: -------------------------------------------------------------------------------- 1 | {"state":"KILLING"} -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/yarn/appstatistics.json: -------------------------------------------------------------------------------- 1 | { 2 | "appStatInfo":{ 3 | "statItem":[ 4 | { 5 | "state":"FAILED", 6 | "type":"mapreduce", 7 | "count":2 8 | }, 9 | { 10 | "state":"FINISHED", 11 | "type":"mapreduce", 12 | "count":31 13 | }, 14 | { 15 | "state":"RUNNING", 16 | "type":"mapreduce", 17 | "count":1 18 | }, 19 | { 20 | "state":"ACCEPTED", 21 | "type":"mapreduce", 22 | "count":0 23 | } 24 | ] 25 | } 26 | } -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/yarn/cluster-info.json: -------------------------------------------------------------------------------- 1 | { 2 | "clusterInfo":{ 3 | "id":1399541193872, 4 | "startedOn":1399541193872, 5 | "state":"STARTED", 6 | "haState":"ACTIVE", 7 | "resourceManagerVersion":"2.4.0.2.1.1.0-390", 8 | "resourceManagerBuildVersion":"2.4.0.2.1.1.0-390 from 68ceccf06a4441273e81a5ec856d41fc7e11c792 by jenkins source checksum a06aa69de28a8ebc9ddba56f20d6d73d", 9 | "resourceManagerVersionBuiltOn":"2014-04-23T16:39Z", 10 | "hadoopVersion":"2.4.0.2.1.1.0-390", 11 | "hadoopBuildVersion":"2.4.0.2.1.1.0-390 from 68ceccf06a4441273e81a5ec856d41fc7e11c792 by jenkins source checksum 9e788148daa5dd7934eb468e57e037b5", 12 | "hadoopVersionBuiltOn":"2014-04-23T16:32Z" 13 | } 14 | } -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/yarn/cluster-metrics.json: -------------------------------------------------------------------------------- 1 | { 2 | "clusterMetrics":{ 3 | "appsSubmitted":28, 4 | "appsCompleted":28, 5 | "appsPending":0, 6 | "appsRunning":0, 7 | "appsFailed":0, 8 | "appsKilled":0, 9 | "reservedMB":0, 10 | "availableMB":8192, 11 | "allocatedMB":0, 12 | "containersAllocated":0, 13 | "containersReserved":0, 14 | "containersPending":0, 15 | "totalMB":8192, 16 | "totalNodes":1, 17 | "lostNodes":0, 18 | "unhealthyNodes":0, 19 | "decommissionedNodes":0, 20 | "rebootedNodes":0, 21 | "activeNodes":1 22 | } 23 | } -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/yarn/new-application.json: -------------------------------------------------------------------------------- 1 | {"application-id":"application_1405356982244_0031","maximum-resource-capability":{"memory":"8192","vCores":"32"}} -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/yarn/node.json: -------------------------------------------------------------------------------- 1 | { 2 | "node":{ 3 | "rack":"/default-rack", 4 | "state":"RUNNING", 5 | "id":"localhost:45454", 6 | "nodeHostName":"localhost", 7 | "nodeHTTPAddress":"localhost:50060", 8 | "lastHealthUpdate":1401197561733, 9 | "version":"2.4.0.2.1.1.0-390", 10 | "healthReport":"", 11 | "numContainers":0, 12 | "usedMemoryMB":0, 13 | "availMemoryMB":8192 14 | } 15 | } -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/yarn/nodes.json: -------------------------------------------------------------------------------- 1 | { 2 | "nodes":{ 3 | "node":[ 4 | { 5 | "rack":"/default-rack", 6 | "state":"RUNNING", 7 | "id":"localhost:45454", 8 | "nodeHostName":"localhost", 9 | "nodeHTTPAddress":"localhost:50060", 10 | "lastHealthUpdate":1401194681758, 11 | "version":"2.4.0.2.1.1.0-390", 12 | "healthReport":"", 13 | "numContainers":0, 14 | "usedMemoryMB":0, 15 | "availMemoryMB":8192 16 | } 17 | ] 18 | } 19 | } -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-info.json: -------------------------------------------------------------------------------- 1 | { 2 | "info":{ 3 | "appId":"application_1399541193872_0035", 4 | "name":"Sleep job", 5 | "user":"hdfs", 6 | "startedOn":1401199817106, 7 | "elapsedTime":852931 8 | } 9 | } -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-job-attempts.json: -------------------------------------------------------------------------------- 1 | { 2 | "jobAttempts":{ 3 | "jobAttempt":[ 4 | { 5 | "nodeHttpAddress":"host.yarn.com:50060", 6 | "nodeId":"host.yarn.com:45454", 7 | "id":1, 8 | "startTime":1401199817106, 9 | "containerId":"container_1399541193872_0035_01_000001", 10 | "logsLink":"http://host.yarn.com:50060/node/containerlogs/container_1399541193872_0035_01_000001/hdfs" 11 | } 12 | ] 13 | } 14 | } -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-task-attempt.json: -------------------------------------------------------------------------------- 1 | { 2 | "taskAttempt":{ 3 | "startTime":1401273289105, 4 | "finishTime":0, 5 | "elapsedTime":0, 6 | "progress":68.680374, 7 | "id":"attempt_1399541193872_0036_r_000000_0", 8 | "rack":"/default-rack", 9 | "state":"RUNNING", 10 | "status":"Sleeping... (109692800) ms left > reduce", 11 | "nodeHttpAddress":"host.yarn.com:50060", 12 | "diagnostics":"", 13 | "type":"REDUCE", 14 | "assignedContainerId":"container_1399541193872_0036_01_000003", 15 | "shuffleFinishTime":1401273296009, 16 | "mergeFinishTime":1401273296736, 17 | "elapsedShuffleTime":6904, 18 | "elapsedMergeTime":727, 19 | "elapsedReduceTime":0 20 | } 21 | } -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-task.json: -------------------------------------------------------------------------------- 1 | { 2 | "task":{ 3 | "startTime":1401273289105, 4 | "finishTime":0, 5 | "elapsedTime":3343308, 6 | "progress":67.33751, 7 | "id":"task_1399541193872_0036_r_000000", 8 | "state":"RUNNING", 9 | "type":"REDUCE", 10 | "successfulAttempt":"", 11 | "status":"Sleeping... (116684700) ms left > reduce" 12 | } 13 | } -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/WebHdfsHaFuncTest/webhdfs-liststatus-standby.json: -------------------------------------------------------------------------------- 1 | {"RemoteException": { 2 | "exception": "StandbyException", 3 | "javaClassName": "org.apache.hadoop.ipc.StandbyException", 4 | "message": "Operation category READ is not supported in state standby" 5 | }} -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/WebHdfsHaFuncTest/webhdfs-mkdirs-safemode.json: -------------------------------------------------------------------------------- 1 | {"RemoteException": { 2 | "exception": "RetriableException", 3 | "javaClassName": "org.apache.hadoop.ipc.RetriableException", 4 | "message": "org.apache.hadoop.hdfs.server.namenode.SafeModeException: Cannot create directory /user/root/knox-ha/test_dir_27_0. Name node is in safe mode.\nThe reported blocks 0 needs additional 565 blocks to reach the threshold 1.0000 of total blocks 564.\nThe number of live datanodes 1 has reached the minimum number 0. Safe mode will be turned off automatically once the thresholds have been reache." 5 | }} 6 | -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/WebHdfsHaFuncTest/webhdfs-rename-safemode-off.json: -------------------------------------------------------------------------------- 1 | {"boolean":true} -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/WebHdfsHaFuncTest/webhdfs-rename-safemode.json: -------------------------------------------------------------------------------- 1 | {"RemoteException": { 2 | "exception": "SafeModeException", 3 | "javaClassName": "org.apache.hadoop.hdfs.server.namenode.SafeModeException", 4 | "message": "Cannot rename /user/sumit.gupta/shellCommands.sh. Name node is in safe mode.\nIt was turned on manually. Use \"hdfs dfsadmin -safemode leave\" to turn safe mode off." 5 | }} -------------------------------------------------------------------------------- /gateway-test/src/test/resources/org/apache/knox/gateway/deploy/DeploymentFactoryFuncTest/test-apps/minimal-test-app/rewrite.xml: -------------------------------------------------------------------------------- 1 | 17 | -------------------------------------------------------------------------------- /gateway-test/src/test/resources/server-keystore.jks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-test/src/test/resources/server-keystore.jks -------------------------------------------------------------------------------- /gateway-test/src/test/resources/server-truststore.jks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-test/src/test/resources/server-truststore.jks -------------------------------------------------------------------------------- /knox-homepage-ui/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | # ui dependencies 3 | node_modules 4 | bower_components 5 | 6 | # ui misc 7 | .sass-cache 8 | connect.lock 9 | coverage/* 10 | libpeerconnection.log 11 | npm-debug.log 12 | testem.log 13 | .angular 14 | -------------------------------------------------------------------------------- /knox-homepage-ui/home/app/topologies/sample.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | export class Sample { 19 | description: string; 20 | value: string; 21 | } 22 | -------------------------------------------------------------------------------- /knox-homepage-ui/home/app/topologies/topology.information.component.css: -------------------------------------------------------------------------------- 1 | /* based on the sample from here: https://codepen.io/surabhi/pen/NNObXw */ 2 | 3 | mat-grid-tile mat-grid-tile-footer { 4 | background: rgba(220,220,220,1); 5 | height: 20px; 6 | color:black; 7 | } 8 | 9 | mat-grid-tile-footer figcaption { 10 | width: 100%; 11 | } 12 | 13 | mat-grid-tile-footer figcaption h3 { 14 | margin: 0; 15 | font-weight: 700; 16 | width: 100%; 17 | text-align: center; 18 | } 19 | 20 | .tile-shortDesc { 21 | cursor: pointer; 22 | } 23 | 24 | .tile-longDesc { 25 | visibility: hidden; 26 | opacity: 0; 27 | transition: all 0.3s linear; 28 | margin-bottom: 20px; 29 | word-wrap: break-word; 30 | } 31 | 32 | .tile-shortDesc:hover + .tile-longDesc { 33 | opacity: 1; 34 | transition: all 0.3s linear; 35 | visibility: visible; 36 | } 37 | 38 | /deep/ .groupServiceInformationModal { 39 | width: 80%; 40 | } -------------------------------------------------------------------------------- /knox-homepage-ui/home/assets/.gitkeep: -------------------------------------------------------------------------------- 1 | ########################################################################## 2 | # Licensed to the Apache Software Foundation (ASF) under one 3 | # or more contributor license agreements. See the NOTICE file 4 | # distributed with this work for additional information 5 | # regarding copyright ownership. The ASF licenses this file 6 | # to you under the Apache License, Version 2.0 (the 7 | # "License"); you may not use this file except in compliance 8 | # with the License. You may obtain a copy of the License at 9 | # 10 | # http://www.apache.org/licenses/LICENSE-2.0 11 | # 12 | # Unless required by applicable law or agreed to in writing, software 13 | # distributed under the License is distributed on an "AS IS" BASIS, 14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | # See the License for the specific language governing permissions and 16 | # limitations under the License. 17 | ########################################################################## 18 | -------------------------------------------------------------------------------- /knox-homepage-ui/home/assets/knox-logo-transparent.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/knox-logo-transparent.gif -------------------------------------------------------------------------------- /knox-homepage-ui/home/assets/service-logos/ambari.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/ambari.png -------------------------------------------------------------------------------- /knox-homepage-ui/home/assets/service-logos/ambariui.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/ambariui.png -------------------------------------------------------------------------------- /knox-homepage-ui/home/assets/service-logos/ambariws.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/ambariws.png -------------------------------------------------------------------------------- /knox-homepage-ui/home/assets/service-logos/atlas-api.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/atlas-api.png -------------------------------------------------------------------------------- /knox-homepage-ui/home/assets/service-logos/atlas.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/atlas.png -------------------------------------------------------------------------------- /knox-homepage-ui/home/assets/service-logos/avatica.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/avatica.png -------------------------------------------------------------------------------- /knox-homepage-ui/home/assets/service-logos/datanode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/datanode.png -------------------------------------------------------------------------------- /knox-homepage-ui/home/assets/service-logos/druid-broker.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/druid-broker.png -------------------------------------------------------------------------------- /knox-homepage-ui/home/assets/service-logos/druid-coordinator-ui.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/druid-coordinator-ui.png -------------------------------------------------------------------------------- /knox-homepage-ui/home/assets/service-logos/druid-coordinator.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/druid-coordinator.png -------------------------------------------------------------------------------- /knox-homepage-ui/home/assets/service-logos/druid-overlord-ui.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/druid-overlord-ui.png -------------------------------------------------------------------------------- /knox-homepage-ui/home/assets/service-logos/druid-overlord.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/druid-overlord.png -------------------------------------------------------------------------------- /knox-homepage-ui/home/assets/service-logos/druid-router.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/druid-router.png -------------------------------------------------------------------------------- /knox-homepage-ui/home/assets/service-logos/druid.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/druid.png -------------------------------------------------------------------------------- /knox-homepage-ui/home/assets/service-logos/hbase.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/hbase.png -------------------------------------------------------------------------------- /knox-homepage-ui/home/assets/service-logos/hbaseui.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/hbaseui.png -------------------------------------------------------------------------------- /knox-homepage-ui/home/assets/service-logos/hdfsui.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/hdfsui.png -------------------------------------------------------------------------------- /knox-homepage-ui/home/assets/service-logos/hive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/hive.png -------------------------------------------------------------------------------- /knox-homepage-ui/home/assets/service-logos/hue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/hue.png -------------------------------------------------------------------------------- /knox-homepage-ui/home/assets/service-logos/impala.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/impala.png -------------------------------------------------------------------------------- /knox-homepage-ui/home/assets/service-logos/impalaui.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/impalaui.png -------------------------------------------------------------------------------- /knox-homepage-ui/home/assets/service-logos/jobhistoryui.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/jobhistoryui.png -------------------------------------------------------------------------------- /knox-homepage-ui/home/assets/service-logos/kafka.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/kafka.png -------------------------------------------------------------------------------- /knox-homepage-ui/home/assets/service-logos/kuduui.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/kuduui.png -------------------------------------------------------------------------------- /knox-homepage-ui/home/assets/service-logos/livyserver.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/livyserver.png -------------------------------------------------------------------------------- /knox-homepage-ui/home/assets/service-logos/logsearch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/logsearch.png -------------------------------------------------------------------------------- /knox-homepage-ui/home/assets/service-logos/nifi-registry.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/nifi-registry.png -------------------------------------------------------------------------------- /knox-homepage-ui/home/assets/service-logos/nifi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/nifi.png -------------------------------------------------------------------------------- /knox-homepage-ui/home/assets/service-logos/nodemanagerui.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/nodemanagerui.png -------------------------------------------------------------------------------- /knox-homepage-ui/home/assets/service-logos/oozie.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/oozie.png -------------------------------------------------------------------------------- /knox-homepage-ui/home/assets/service-logos/oozieui.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/oozieui.png -------------------------------------------------------------------------------- /knox-homepage-ui/home/assets/service-logos/ozone-recon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/ozone-recon.png -------------------------------------------------------------------------------- /knox-homepage-ui/home/assets/service-logos/ozone-scm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/ozone-scm.png -------------------------------------------------------------------------------- /knox-homepage-ui/home/assets/service-logos/ozone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/ozone.png -------------------------------------------------------------------------------- /knox-homepage-ui/home/assets/service-logos/pinot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/pinot.png -------------------------------------------------------------------------------- /knox-homepage-ui/home/assets/service-logos/ranger.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/ranger.png -------------------------------------------------------------------------------- /knox-homepage-ui/home/assets/service-logos/rangerui.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/rangerui.png -------------------------------------------------------------------------------- /knox-homepage-ui/home/assets/service-logos/resourcemanager.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/resourcemanager.png -------------------------------------------------------------------------------- /knox-homepage-ui/home/assets/service-logos/solr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/solr.png -------------------------------------------------------------------------------- /knox-homepage-ui/home/assets/service-logos/spark3historyui.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/spark3historyui.png -------------------------------------------------------------------------------- /knox-homepage-ui/home/assets/service-logos/sparkhistoryui.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/sparkhistoryui.png -------------------------------------------------------------------------------- /knox-homepage-ui/home/assets/service-logos/storm-logviewer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/storm-logviewer.png -------------------------------------------------------------------------------- /knox-homepage-ui/home/assets/service-logos/storm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/storm.png -------------------------------------------------------------------------------- /knox-homepage-ui/home/assets/service-logos/thriftserverui.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/thriftserverui.png -------------------------------------------------------------------------------- /knox-homepage-ui/home/assets/service-logos/webhbase.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/webhbase.png -------------------------------------------------------------------------------- /knox-homepage-ui/home/assets/service-logos/webhcat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/webhcat.png -------------------------------------------------------------------------------- /knox-homepage-ui/home/assets/service-logos/webhdfs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/webhdfs.png -------------------------------------------------------------------------------- /knox-homepage-ui/home/assets/service-logos/yarnui.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/yarnui.png -------------------------------------------------------------------------------- /knox-homepage-ui/home/assets/service-logos/yarnuiv2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/yarnuiv2.png -------------------------------------------------------------------------------- /knox-homepage-ui/home/assets/service-logos/zeppelinui.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/zeppelinui.png -------------------------------------------------------------------------------- /knox-homepage-ui/home/assets/service-logos/zeppelinws.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/zeppelinws.png -------------------------------------------------------------------------------- /knox-homepage-ui/home/environments/environment.prod.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | export const environment = { 18 | production: true 19 | }; 20 | -------------------------------------------------------------------------------- /knox-homepage-ui/home/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/favicon.ico -------------------------------------------------------------------------------- /knox-homepage-ui/home/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "baseUrl": "homepage", 4 | "declaration": false, 5 | "emitDecoratorMetadata": true, 6 | "experimentalDecorators": true, 7 | "lib": [ 8 | "es2017", 9 | "dom" 10 | ], 11 | "mapRoot": "./", 12 | "module": "es6", 13 | "moduleResolution": "node", 14 | "outDir": "../dist/out-tsc", 15 | "sourceMap": true, 16 | "target": "es5", 17 | "typeRoots": [ 18 | "../node_modules/@types" 19 | ] 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /knox-homepage-ui/npm: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # 3 | # Licensed to the Apache Software Foundation (ASF) under one or more 4 | # contributor license agreements. See the NOTICE file distributed with 5 | # this work for additional information regarding copyright ownership. 6 | # The ASF licenses this file to You under the Apache License, Version 2.0 7 | # (the "License"); you may not use this file except in compliance with 8 | # the License. You may obtain a copy of the License at 9 | # 10 | # http://www.apache.org/licenses/LICENSE-2.0 11 | # 12 | # Unless required by applicable law or agreed to in writing, software 13 | # distributed under the License is distributed on an "AS IS" BASIS, 14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | # See the License for the specific language governing permissions and 16 | # limitations under the License. 17 | 18 | DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )" 19 | PATH="$DIR/target/node/":$PATH 20 | node "$DIR/target/node/node_modules/npm/bin/npm-cli.js" --prefix "$DIR" "$@" 21 | -------------------------------------------------------------------------------- /knox-site/docs/assets/stylesheets/extra.css: -------------------------------------------------------------------------------- 1 | :root { 2 | --md-primary-fg-color: #79ac12; 3 | --md-primary-fg-color--light: #80bf0a; 4 | --md-primary-fg-color--dark: #71a217; 5 | --md-accent-fg-color: #92ca29; 6 | } 7 | 8 | [data-md-color-scheme="slate"] { 9 | --md-primary-fg-color: #79ac12; 10 | --md-primary-fg-color--light: #89ca0f; 11 | --md-primary-fg-color--dark: #7ab114; 12 | --md-accent-fg-color: #8aad43; 13 | } 14 | -------------------------------------------------------------------------------- /knox-site/docs/dev-guide/deployment-overview.puml: -------------------------------------------------------------------------------- 1 | @startuml 2 | title Deployment Processing Overview 3 | hide footbox 4 | autonumber 5 | 6 | participant "Gateway\nServer" as GW 7 | participant "Embedded\nJetty" as EJ 8 | participant "Deployment\nFactory" as DF 9 | participant "Deployment\nContributors" as DC 10 | participant "Topology\nDescriptor" as TD 11 | participant "Web\nArchive" as WAR 12 | 13 | activate GW 14 | 15 | create TD 16 | GW -> TD: td = loadTopology( xml ) 17 | 18 | GW -> DF: war = createDeployment( td ) 19 | activate DF 20 | 21 | create WAR 22 | DF -> WAR: war = createEmptyWar() 23 | 24 | DF -> DC: addDescriptors( td, war ) 25 | activate DC 26 | deactivate DC 27 | 28 | GW <-- DF 29 | deactivate DF 30 | 31 | GW -> EJ: deploy( war ) 32 | activate EJ 33 | deactivate EJ 34 | 35 | deactivate GW 36 | 37 | @enduml -------------------------------------------------------------------------------- /knox-site/docs/dev-guide/deployment-provider-simple.puml: -------------------------------------------------------------------------------- 1 | @startuml 2 | title Provider Deployment\n(Simplified) 3 | hide footbox 4 | autonumber 5 | 6 | participant "Deployment\nFactory" as DF 7 | participant "Provider\nDeployment\nContributor" as PDC 8 | participant "Service\nDeployment\nContributor" as SDC 9 | 10 | activate DF 11 | 12 | DF -> PDC:initializeContribution 13 | activate PDC 14 | deactivate PDC 15 | 16 | DF -> SDC:contributeService 17 | activate SDC 18 | SDC -> DF: contributeFilter 19 | activate DF 20 | 21 | DF -> PDC: contributeFilter 22 | activate PDC 23 | deactivate PDC 24 | 25 | deactivate DF 26 | deactivate SDC 27 | 28 | DF -> PDC:finalizeContribution 29 | activate PDC 30 | deactivate PDC 31 | 32 | deactivate DF 33 | 34 | @enduml -------------------------------------------------------------------------------- /knox-site/docs/dev-guide/deployment-service-simple.puml: -------------------------------------------------------------------------------- 1 | @startuml 2 | title Service Deployment\n(Simplified) 3 | hide footbox 4 | autonumber 5 | 6 | participant "Deployment\nFactory" as DF 7 | participant "Service\nDeployment\nContributor" as SDC 8 | 9 | activate DF 10 | 11 | DF -> SDC:initializeContribution 12 | activate SDC 13 | deactivate SDC 14 | 15 | DF -> SDC:contributeService 16 | activate SDC 17 | SDC -> DF: contributeFilter 18 | activate DF 19 | deactivate DF 20 | deactivate SDC 21 | 22 | DF -> SDC:finalizeContribution 23 | activate SDC 24 | deactivate SDC 25 | 26 | deactivate DF 27 | 28 | @enduml -------------------------------------------------------------------------------- /knox-site/docs/dev-guide/runtime-overview.puml: -------------------------------------------------------------------------------- 1 | @startuml 2 | title Request Processing Overview 3 | hide footbox 4 | autonumber 5 | 6 | actor "REST Client" as C 7 | box "Gateway" 8 | participant "Embedded\nJetty" as GW 9 | participant "Map\n>" as CM 10 | participant "Chain\n" as FC 11 | end box 12 | participant "Hadoop\nService" as S 13 | 14 | C -> GW: GET( URL ) 15 | activate GW 16 | GW -> CM: Chain = lookup( URL ) 17 | activate CM 18 | deactivate CM 19 | GW -> FC: doFilter 20 | activate FC 21 | 22 | FC -> FC: doFilter* 23 | activate FC 24 | FC -> S: GET( URL' ) 25 | activate S 26 | FC <-- S: JSON 27 | deactivate S 28 | FC <-- FC: JSON 29 | deactivate FC 30 | 31 | GW <-- FC: JSON 32 | deactivate FC 33 | C <-- GW: JSON 34 | deactivate GW 35 | 36 | @enduml -------------------------------------------------------------------------------- /knox-site/docs/dev-guide/runtime-request-processing.puml: -------------------------------------------------------------------------------- 1 | @startuml 2 | title Request Processing Behavior 3 | hide footbox 4 | autonumber 5 | 6 | actor Client as C 7 | participant "Gateway\nServer\n(Jetty)" as GW 8 | participant "Gateway\nServlet" as GS 9 | participant "Gateway\nFilter" as GF 10 | participant "Matcher" as UM 11 | participant "Chain" as FC 12 | participant "Filter" as PF 13 | 14 | C -> GW: GET( URL ) 15 | activate C 16 | activate GW 17 | GW -> GS: service 18 | activate GS 19 | GS -> GF: doFilter 20 | activate GF 21 | GF -> UM: match( URL ): Chain 22 | GF -> FC: doFilter 23 | activate FC 24 | FC -> PF: doFilter 25 | activate PF 26 | PF -> PF: doFilter 27 | activate PF 28 | deactivate PF 29 | 'FC <-- PF 30 | deactivate PF 31 | deactivate FC 32 | deactivate GS 33 | deactivate GF 34 | deactivate GW 35 | deactivate C 36 | 37 | 38 | @enduml -------------------------------------------------------------------------------- /knox-site/docs/static/images/adminui/arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/adminui/arrow.png -------------------------------------------------------------------------------- /knox-site/docs/static/images/adminui/check.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/adminui/check.png -------------------------------------------------------------------------------- /knox-site/docs/static/images/adminui/delete-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/adminui/delete-icon.png -------------------------------------------------------------------------------- /knox-site/docs/static/images/adminui/earth.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/adminui/earth.png -------------------------------------------------------------------------------- /knox-site/docs/static/images/adminui/error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/adminui/error.png -------------------------------------------------------------------------------- /knox-site/docs/static/images/adminui/image1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/adminui/image1.png -------------------------------------------------------------------------------- /knox-site/docs/static/images/adminui/image10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/adminui/image10.png -------------------------------------------------------------------------------- /knox-site/docs/static/images/adminui/image11.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/adminui/image11.png -------------------------------------------------------------------------------- /knox-site/docs/static/images/adminui/image12.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/adminui/image12.png -------------------------------------------------------------------------------- /knox-site/docs/static/images/adminui/image13.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/adminui/image13.png -------------------------------------------------------------------------------- /knox-site/docs/static/images/adminui/image14.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/adminui/image14.png -------------------------------------------------------------------------------- /knox-site/docs/static/images/adminui/image15.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/adminui/image15.png -------------------------------------------------------------------------------- /knox-site/docs/static/images/adminui/image16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/adminui/image16.png -------------------------------------------------------------------------------- /knox-site/docs/static/images/adminui/image17.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/adminui/image17.png -------------------------------------------------------------------------------- /knox-site/docs/static/images/adminui/image18.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/adminui/image18.png -------------------------------------------------------------------------------- /knox-site/docs/static/images/adminui/image19.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/adminui/image19.png -------------------------------------------------------------------------------- /knox-site/docs/static/images/adminui/image2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/adminui/image2.png -------------------------------------------------------------------------------- /knox-site/docs/static/images/adminui/image20.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/adminui/image20.png -------------------------------------------------------------------------------- /knox-site/docs/static/images/adminui/image21.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/adminui/image21.png -------------------------------------------------------------------------------- /knox-site/docs/static/images/adminui/image22.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/adminui/image22.png -------------------------------------------------------------------------------- /knox-site/docs/static/images/adminui/image23.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/adminui/image23.png -------------------------------------------------------------------------------- /knox-site/docs/static/images/adminui/image24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/adminui/image24.png -------------------------------------------------------------------------------- /knox-site/docs/static/images/adminui/image25.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/adminui/image25.png -------------------------------------------------------------------------------- /knox-site/docs/static/images/adminui/image26.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/adminui/image26.png -------------------------------------------------------------------------------- /knox-site/docs/static/images/adminui/image27.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/adminui/image27.png -------------------------------------------------------------------------------- /knox-site/docs/static/images/adminui/image28.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/adminui/image28.png -------------------------------------------------------------------------------- /knox-site/docs/static/images/adminui/image3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/adminui/image3.png -------------------------------------------------------------------------------- /knox-site/docs/static/images/adminui/image4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/adminui/image4.png -------------------------------------------------------------------------------- /knox-site/docs/static/images/adminui/image5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/adminui/image5.png -------------------------------------------------------------------------------- /knox-site/docs/static/images/adminui/image6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/adminui/image6.png -------------------------------------------------------------------------------- /knox-site/docs/static/images/adminui/image7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/adminui/image7.png -------------------------------------------------------------------------------- /knox-site/docs/static/images/adminui/image8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/adminui/image8.png -------------------------------------------------------------------------------- /knox-site/docs/static/images/adminui/image9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/adminui/image9.png -------------------------------------------------------------------------------- /knox-site/docs/static/images/adminui/info.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/adminui/info.png -------------------------------------------------------------------------------- /knox-site/docs/static/images/adminui/ok-button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/adminui/ok-button.png -------------------------------------------------------------------------------- /knox-site/docs/static/images/adminui/plus-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/adminui/plus-icon.png -------------------------------------------------------------------------------- /knox-site/docs/static/images/adminui/question.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/adminui/question.png -------------------------------------------------------------------------------- /knox-site/docs/static/images/adminui/save-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/adminui/save-icon.png -------------------------------------------------------------------------------- /knox-site/docs/static/images/adminui/star.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/adminui/star.png -------------------------------------------------------------------------------- /knox-site/docs/static/images/adminui/stop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/adminui/stop.png -------------------------------------------------------------------------------- /knox-site/docs/static/images/adminui/tip-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/adminui/tip-icon.png -------------------------------------------------------------------------------- /knox-site/docs/static/images/adminui/undo-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/adminui/undo-icon.png -------------------------------------------------------------------------------- /knox-site/docs/static/images/adminui/warning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/adminui/warning.png -------------------------------------------------------------------------------- /knox-site/docs/static/images/adminui/x-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/adminui/x-icon.png -------------------------------------------------------------------------------- /knox-site/docs/static/images/apache-logo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/apache-logo.gif -------------------------------------------------------------------------------- /knox-site/docs/static/images/knox-logo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/knox-logo.gif -------------------------------------------------------------------------------- /knox-site/docs/static/images/knoxshell/covid19-nj-agg-from-webhdfs-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/knoxshell/covid19-nj-agg-from-webhdfs-1.png -------------------------------------------------------------------------------- /knox-site/docs/static/images/knoxshell/covid19-persistence.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/knoxshell/covid19-persistence.png -------------------------------------------------------------------------------- /knox-site/docs/static/images/knoxshell/covid19csv-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/knoxshell/covid19csv-1.png -------------------------------------------------------------------------------- /knox-site/docs/static/images/knoxshell/covid19nj-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/knoxshell/covid19nj-1.png -------------------------------------------------------------------------------- /knox-site/docs/static/images/knoxshell/covid19nj-aggregate-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/knoxshell/covid19nj-aggregate-1.png -------------------------------------------------------------------------------- /knox-site/docs/static/images/knoxshell/covid19nj-put-webhdfs-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/knoxshell/covid19nj-put-webhdfs-1.png -------------------------------------------------------------------------------- /knox-site/docs/static/images/knoxshell/covid19nj.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/knoxshell/covid19nj.png -------------------------------------------------------------------------------- /knox-site/docs/static/images/knoxshell/fs-mount-login-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/knoxshell/fs-mount-login-1.png -------------------------------------------------------------------------------- /knox-site/docs/static/images/knoxshell/knoxline-splash-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/knoxshell/knoxline-splash-2.png -------------------------------------------------------------------------------- /knox-site/docs/static/images/knoxshell/knoxshell-help.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/knoxshell/knoxshell-help.png -------------------------------------------------------------------------------- /knox-site/docs/static/images/token/jdbc_tss_db_design.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/token/jdbc_tss_db_design.png -------------------------------------------------------------------------------- /knox-site/docs/static/images/token/knoxtokenmanagement_homepage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/token/knoxtokenmanagement_homepage.png -------------------------------------------------------------------------------- /knox-site/docs/static/images/token/knoxtokenmanagement_token_generation_ui-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/token/knoxtokenmanagement_token_generation_ui-1.png -------------------------------------------------------------------------------- /knox-site/docs/static/images/token/knoxtokenmanagement_token_generation_ui-fail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/token/knoxtokenmanagement_token_generation_ui-fail.png -------------------------------------------------------------------------------- /knox-site/docs/static/images/token/knoxtokenmanagement_token_generation_ui-successful-doas.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/token/knoxtokenmanagement_token_generation_ui-successful-doas.png -------------------------------------------------------------------------------- /knox-site/docs/static/images/token/knoxtokenmanagement_token_generation_ui-successful.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/token/knoxtokenmanagement_token_generation_ui-successful.png -------------------------------------------------------------------------------- /knox-site/docs/static/images/token/knoxtokenmanagement_token_management_ui-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/token/knoxtokenmanagement_token_management_ui-1.png -------------------------------------------------------------------------------- /knox-site/overrides/main.html: -------------------------------------------------------------------------------- 1 | {#- This file extends the base theme for MkDocs -#} 2 | 18 | {% extends "base.html" %} 19 | -------------------------------------------------------------------------------- /knox-token-generation-ui/.gitignore: -------------------------------------------------------------------------------- 1 | # ui dependencies 2 | node_modules 3 | bower_components 4 | 5 | # ui misc 6 | .sass-cache 7 | connect.lock 8 | coverage/* 9 | libpeerconnection.log 10 | npm-debug.log 11 | testem.log 12 | .angular 13 | -------------------------------------------------------------------------------- /knox-token-generation-ui/npm: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # 3 | # Licensed to the Apache Software Foundation (ASF) under one or more 4 | # contributor license agreements. See the NOTICE file distributed with 5 | # this work for additional information regarding copyright ownership. 6 | # The ASF licenses this file to You under the Apache License, Version 2.0 7 | # (the "License"); you may not use this file except in compliance with 8 | # the License. You may obtain a copy of the License at 9 | # 10 | # http://www.apache.org/licenses/LICENSE-2.0 11 | # 12 | # Unless required by applicable law or agreed to in writing, software 13 | # distributed under the License is distributed on an "AS IS" BASIS, 14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | # See the License for the specific language governing permissions and 16 | # limitations under the License. 17 | 18 | DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )" 19 | PATH="$DIR/target/node/":$PATH 20 | node "$DIR/target/node/node_modules/npm/bin/npm-cli.js" --prefix "$DIR" "$@" 21 | -------------------------------------------------------------------------------- /knox-token-generation-ui/token-generation/assets/fonts/fontawesome/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-token-generation-ui/token-generation/assets/fonts/fontawesome/FontAwesome.otf -------------------------------------------------------------------------------- /knox-token-generation-ui/token-generation/assets/fonts/fontawesome/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-token-generation-ui/token-generation/assets/fonts/fontawesome/fontawesome-webfont.eot -------------------------------------------------------------------------------- /knox-token-generation-ui/token-generation/assets/fonts/fontawesome/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-token-generation-ui/token-generation/assets/fonts/fontawesome/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /knox-token-generation-ui/token-generation/assets/fonts/fontawesome/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-token-generation-ui/token-generation/assets/fonts/fontawesome/fontawesome-webfont.woff -------------------------------------------------------------------------------- /knox-token-generation-ui/token-generation/assets/fonts/fontopensans/open-sans-300.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-token-generation-ui/token-generation/assets/fonts/fontopensans/open-sans-300.woff -------------------------------------------------------------------------------- /knox-token-generation-ui/token-generation/assets/fonts/fontopensans/open-sans-300i.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-token-generation-ui/token-generation/assets/fonts/fontopensans/open-sans-300i.woff -------------------------------------------------------------------------------- /knox-token-generation-ui/token-generation/assets/fonts/fontopensans/open-sans-400.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-token-generation-ui/token-generation/assets/fonts/fontopensans/open-sans-400.woff -------------------------------------------------------------------------------- /knox-token-generation-ui/token-generation/assets/fonts/fontopensans/open-sans-400i.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-token-generation-ui/token-generation/assets/fonts/fontopensans/open-sans-400i.woff -------------------------------------------------------------------------------- /knox-token-generation-ui/token-generation/assets/fonts/fontopensans/open-sans-600.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-token-generation-ui/token-generation/assets/fonts/fontopensans/open-sans-600.woff -------------------------------------------------------------------------------- /knox-token-generation-ui/token-generation/assets/fonts/fontopensans/open-sans-600i.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-token-generation-ui/token-generation/assets/fonts/fontopensans/open-sans-600i.woff -------------------------------------------------------------------------------- /knox-token-generation-ui/token-generation/assets/fonts/fontopensans/open-sans-700.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-token-generation-ui/token-generation/assets/fonts/fontopensans/open-sans-700.woff -------------------------------------------------------------------------------- /knox-token-generation-ui/token-generation/assets/fonts/fontopensans/open-sans-700i.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-token-generation-ui/token-generation/assets/fonts/fontopensans/open-sans-700i.woff -------------------------------------------------------------------------------- /knox-token-generation-ui/token-generation/assets/images/avatar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-token-generation-ui/token-generation/assets/images/avatar.png -------------------------------------------------------------------------------- /knox-token-generation-ui/token-generation/assets/images/blank.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-token-generation-ui/token-generation/assets/images/blank.gif -------------------------------------------------------------------------------- /knox-token-generation-ui/token-generation/assets/images/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-token-generation-ui/token-generation/assets/images/favicon.ico -------------------------------------------------------------------------------- /knox-token-generation-ui/token-generation/assets/images/knox-logo-white-bg.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-token-generation-ui/token-generation/assets/images/knox-logo-white-bg.gif -------------------------------------------------------------------------------- /knox-token-generation-ui/token-generation/assets/images/knox-logo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-token-generation-ui/token-generation/assets/images/knox-logo.gif -------------------------------------------------------------------------------- /knox-token-generation-ui/token-generation/assets/images/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-token-generation-ui/token-generation/assets/images/loading.gif -------------------------------------------------------------------------------- /knox-token-generation-ui/token-generation/assets/knox-logo-transparent.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-token-generation-ui/token-generation/assets/knox-logo-transparent.gif -------------------------------------------------------------------------------- /knox-token-generation-ui/token-generation/environments/environment.prod.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | export const environment = { 18 | production: true 19 | }; 20 | -------------------------------------------------------------------------------- /knox-token-generation-ui/token-generation/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-token-generation-ui/token-generation/favicon.ico -------------------------------------------------------------------------------- /knox-token-generation-ui/token-generation/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "baseUrl": "token-generation", 4 | "declaration": false, 5 | "emitDecoratorMetadata": true, 6 | "experimentalDecorators": true, 7 | "lib": [ 8 | "es2017", 9 | "dom" 10 | ], 11 | "mapRoot": "./", 12 | "module": "es6", 13 | "moduleResolution": "node", 14 | "outDir": "../dist/out-tsc", 15 | "sourceMap": true, 16 | "target": "es5", 17 | "typeRoots": [ 18 | "../node_modules/@types" 19 | ] 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /knox-token-management-ui/.gitignore: -------------------------------------------------------------------------------- 1 | # ui dependencies 2 | node_modules 3 | bower_components 4 | 5 | # ui misc 6 | .sass-cache 7 | connect.lock 8 | coverage/* 9 | libpeerconnection.log 10 | npm-debug.log 11 | testem.log 12 | .angular 13 | -------------------------------------------------------------------------------- /knox-token-management-ui/npm: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # 3 | # Licensed to the Apache Software Foundation (ASF) under one or more 4 | # contributor license agreements. See the NOTICE file distributed with 5 | # this work for additional information regarding copyright ownership. 6 | # The ASF licenses this file to You under the Apache License, Version 2.0 7 | # (the "License"); you may not use this file except in compliance with 8 | # the License. You may obtain a copy of the License at 9 | # 10 | # http://www.apache.org/licenses/LICENSE-2.0 11 | # 12 | # Unless required by applicable law or agreed to in writing, software 13 | # distributed under the License is distributed on an "AS IS" BASIS, 14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | # See the License for the specific language governing permissions and 16 | # limitations under the License. 17 | 18 | DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )" 19 | PATH="$DIR/target/node/":$PATH 20 | node "$DIR/target/node/node_modules/npm/bin/npm-cli.js" --prefix "$DIR" "$@" 21 | -------------------------------------------------------------------------------- /knox-token-management-ui/token-management/assets/CLIENT_ID.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-token-management-ui/token-management/assets/CLIENT_ID.png -------------------------------------------------------------------------------- /knox-token-management-ui/token-management/assets/JWT.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-token-management-ui/token-management/assets/JWT.png -------------------------------------------------------------------------------- /knox-token-management-ui/token-management/assets/KNOXSSO_COOKIE.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-token-management-ui/token-management/assets/KNOXSSO_COOKIE.png -------------------------------------------------------------------------------- /knox-token-management-ui/token-management/assets/green_checkmark.svg: -------------------------------------------------------------------------------- 1 | 3 | -------------------------------------------------------------------------------- /knox-token-management-ui/token-management/assets/knox-logo-transparent.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-token-management-ui/token-management/assets/knox-logo-transparent.gif -------------------------------------------------------------------------------- /knox-token-management-ui/token-management/assets/yellow_tip.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-token-management-ui/token-management/assets/yellow_tip.png -------------------------------------------------------------------------------- /knox-token-management-ui/token-management/environments/environment.prod.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | export const environment = { 18 | production: true 19 | }; 20 | -------------------------------------------------------------------------------- /knox-token-management-ui/token-management/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-token-management-ui/token-management/favicon.ico -------------------------------------------------------------------------------- /knox-token-management-ui/token-management/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "baseUrl": "tokenmanagement", 4 | "declaration": false, 5 | "emitDecoratorMetadata": true, 6 | "experimentalDecorators": true, 7 | "lib": [ 8 | "es2017", 9 | "dom" 10 | ], 11 | "mapRoot": "./", 12 | "module": "es6", 13 | "moduleResolution": "node", 14 | "outDir": "../dist/out-tsc", 15 | "sourceMap": true, 16 | "target": "es5", 17 | "typeRoots": [ 18 | "../node_modules/@types" 19 | ] 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /knox-webshell-ui/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | # ui dependencies 3 | node_modules 4 | bower_components 5 | 6 | # ui misc 7 | .sass-cache 8 | connect.lock 9 | coverage/* 10 | libpeerconnection.log 11 | npm-debug.log 12 | testem.log 13 | .angular -------------------------------------------------------------------------------- /knox-webshell-ui/npm: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # 3 | # Licensed to the Apache Software Foundation (ASF) under one or more 4 | # contributor license agreements. See the NOTICE file distributed with 5 | # this work for additional information regarding copyright ownership. 6 | # The ASF licenses this file to You under the Apache License, Version 2.0 7 | # (the "License"); you may not use this file except in compliance with 8 | # the License. You may obtain a copy of the License at 9 | # 10 | # http://www.apache.org/licenses/LICENSE-2.0 11 | # 12 | # Unless required by applicable law or agreed to in writing, software 13 | # distributed under the License is distributed on an "AS IS" BASIS, 14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | # See the License for the specific language governing permissions and 16 | # limitations under the License. 17 | 18 | DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )" 19 | PATH="$DIR/target/node/":$PATH 20 | node "$DIR/target/node/node_modules/npm/bin/npm-cli.js" --prefix "$DIR" "$@" 21 | -------------------------------------------------------------------------------- /knox-webshell-ui/tsconfig.app.json: -------------------------------------------------------------------------------- 1 | /* To learn more about this file see: https://angular.io/config/tsconfig. */ 2 | { 3 | "extends": "./tsconfig.json", 4 | "files": [ 5 | "webshell-ui/main.ts", 6 | "webshell-ui/polyfills.ts" 7 | ], 8 | "include": [ 9 | "webshell-ui/**/*.d.ts" 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /knox-webshell-ui/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "baseUrl": "./", 4 | "declaration": false, 5 | "emitDecoratorMetadata": true, 6 | "experimentalDecorators": true, 7 | "lib": [ 8 | "es2017", 9 | "dom" 10 | ], 11 | "mapRoot": "./", 12 | "module": "es6", 13 | "moduleResolution": "node", 14 | "outDir": "./dist/out-tsc", 15 | "sourceMap": true, 16 | "target": "es5" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /knox-webshell-ui/webshell-ui/app/app.component.css: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, software 13 | * distributed under the License is distributed on an "AS IS" BASIS, 14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | * See the License for the specific language governing permissions and 16 | * limitations under the License. 17 | */ 18 | :host { 19 | width: 100vw; 20 | height: 100vh; 21 | display: block; 22 | } 23 | -------------------------------------------------------------------------------- /knox-webshell-ui/webshell-ui/app/app.component.html: -------------------------------------------------------------------------------- 1 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /knox-webshell-ui/webshell-ui/environments/environment.prod.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | export const environment = { 18 | production: true 19 | }; 20 | -------------------------------------------------------------------------------- /knox-webshell-ui/webshell-ui/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-webshell-ui/webshell-ui/favicon.ico -------------------------------------------------------------------------------- /knox-webshell-ui/webshell-ui/styles.css: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, software 13 | * distributed under the License is distributed on an "AS IS" BASIS, 14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | * See the License for the specific language governing permissions and 16 | * limitations under the License. 17 | */ 18 | 19 | /* You can add global styles to this file, and also import other style files */ 20 | -------------------------------------------------------------------------------- /src/stage.txt: -------------------------------------------------------------------------------- 1 | The release candidate has been prepared in: 2 | 3 | candidate 4 | 5 | Please stage it to https://dist.apache.org/repos/dist/dev/knox like this: 6 | 7 | ant stage-candidate 8 | 9 | A release vote template has been generated here: 10 | 11 | target/vote.txt 12 | -------------------------------------------------------------------------------- /src/vote.txt: -------------------------------------------------------------------------------- 1 | From: ${release-manager}@apache.org 2 | To: dev@${gateway-project}.apache.org 3 | Subject: [VOTE] Release ${gateway-name} ${gateway-version} 4 | 5 | A candidate for the ${gateway-name} ${gateway-version} release is available at: 6 | 7 | https://dist.apache.org/repos/dist/dev/${gateway-project}/${gateway-project}-${gateway-version}/ 8 | 9 | The release candidate is a zip archive of the sources in: 10 | 11 | https://https://gitbox.apache.org/repos/asf/knox.git 12 | Branch v${gateway-version} (git checkout -b v${gateway-version}) 13 | 14 | The KEYS file for signature validation is available at: https://dist.apache.org/repos/dist/release/knox/KEYS 15 | 16 | Please vote on releasing this package as ${gateway-name} ${gateway-version}. 17 | The vote is open for the next 72 hours and passes if a majority of at 18 | least three +1 ${gateway-name} PMC votes are cast. 19 | 20 | [ ] +1 Release this package as ${gateway-name} ${gateway-version} 21 | [ ] -1 Do not release this package because...${line.separator} 22 | --------------------------------------------------------------------------------