Repository: knox Updated Branches: refs/heads/master bd0586ddb -> 477d842c2
KNOX-559 renaming service definition files Project: http://git-wip-us.apache.org/repos/asf/knox/repo Commit: http://git-wip-us.apache.org/repos/asf/knox/commit/477d842c Tree: http://git-wip-us.apache.org/repos/asf/knox/tree/477d842c Diff: http://git-wip-us.apache.org/repos/asf/knox/diff/477d842c Branch: refs/heads/master Commit: 477d842c2736259266944ae2ba71dccacb5ccf09 Parents: bd0586d Author: Sumit Gupta <[email protected]> Authored: Thu Jun 11 16:15:55 2015 -0400 Committer: Sumit Gupta <[email protected]> Committed: Thu Jun 11 16:15:55 2015 -0400 ---------------------------------------------------------------------- .../resources/services/falcon/0.6.0/service.xml | 21 +++++++++++++++ .../services/falcon/0.6.0/services.xml | 21 --------------- .../services/storm-logviewer/0.9.3/service.xml | 21 +++++++++++++++ .../services/storm-logviewer/0.9.3/services.xml | 21 --------------- .../resources/services/storm/0.9.3/service.xml | 28 ++++++++++++++++++++ .../resources/services/storm/0.9.3/services.xml | 28 -------------------- 6 files changed, 70 insertions(+), 70 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/knox/blob/477d842c/gateway-service-definitions/src/main/resources/services/falcon/0.6.0/service.xml ---------------------------------------------------------------------- diff --git a/gateway-service-definitions/src/main/resources/services/falcon/0.6.0/service.xml b/gateway-service-definitions/src/main/resources/services/falcon/0.6.0/service.xml new file mode 100644 index 0000000..716f165 --- /dev/null +++ b/gateway-service-definitions/src/main/resources/services/falcon/0.6.0/service.xml @@ -0,0 +1,21 @@ +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +<service role="FALCON" name="falcon" version="0.6.0"> + <routes> + <route path="/falcon/api/**"/> + </routes> +</service> http://git-wip-us.apache.org/repos/asf/knox/blob/477d842c/gateway-service-definitions/src/main/resources/services/falcon/0.6.0/services.xml ---------------------------------------------------------------------- diff --git a/gateway-service-definitions/src/main/resources/services/falcon/0.6.0/services.xml b/gateway-service-definitions/src/main/resources/services/falcon/0.6.0/services.xml deleted file mode 100644 index 716f165..0000000 --- a/gateway-service-definitions/src/main/resources/services/falcon/0.6.0/services.xml +++ /dev/null @@ -1,21 +0,0 @@ -<!-- - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> -<service role="FALCON" name="falcon" version="0.6.0"> - <routes> - <route path="/falcon/api/**"/> - </routes> -</service> http://git-wip-us.apache.org/repos/asf/knox/blob/477d842c/gateway-service-definitions/src/main/resources/services/storm-logviewer/0.9.3/service.xml ---------------------------------------------------------------------- diff --git a/gateway-service-definitions/src/main/resources/services/storm-logviewer/0.9.3/service.xml b/gateway-service-definitions/src/main/resources/services/storm-logviewer/0.9.3/service.xml new file mode 100644 index 0000000..dd13e65 --- /dev/null +++ b/gateway-service-definitions/src/main/resources/services/storm-logviewer/0.9.3/service.xml @@ -0,0 +1,21 @@ +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +<service role="STORM-LOGVIEWER" name="storm-logviewer" version="0.9.3"> + <routes> + <route path="/storm/logviewer/**"/> + </routes> +</service> http://git-wip-us.apache.org/repos/asf/knox/blob/477d842c/gateway-service-definitions/src/main/resources/services/storm-logviewer/0.9.3/services.xml ---------------------------------------------------------------------- diff --git a/gateway-service-definitions/src/main/resources/services/storm-logviewer/0.9.3/services.xml b/gateway-service-definitions/src/main/resources/services/storm-logviewer/0.9.3/services.xml deleted file mode 100644 index dd13e65..0000000 --- a/gateway-service-definitions/src/main/resources/services/storm-logviewer/0.9.3/services.xml +++ /dev/null @@ -1,21 +0,0 @@ -<!-- - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> -<service role="STORM-LOGVIEWER" name="storm-logviewer" version="0.9.3"> - <routes> - <route path="/storm/logviewer/**"/> - </routes> -</service> http://git-wip-us.apache.org/repos/asf/knox/blob/477d842c/gateway-service-definitions/src/main/resources/services/storm/0.9.3/service.xml ---------------------------------------------------------------------- diff --git a/gateway-service-definitions/src/main/resources/services/storm/0.9.3/service.xml b/gateway-service-definitions/src/main/resources/services/storm/0.9.3/service.xml new file mode 100644 index 0000000..ffe20a4 --- /dev/null +++ b/gateway-service-definitions/src/main/resources/services/storm/0.9.3/service.xml @@ -0,0 +1,28 @@ +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +<service role="STORM" name="storm" version="0.9.3"> + <routes> + <route path="/storm/api/**"/> + <route path="/storm/api/v1/topology/*"> + <rewrite apply="STORM/storm/logs/outbound" to="response.body"/> + </route> + <route path="/storm/api/v1/topology/**/component/**?**"> + <rewrite apply="STORM/storm/logs/outbound" to="response.body"/> + </route> + </routes> + <dispatch classname="org.apache.hadoop.gateway.storm.StormDispatch"/> +</service> http://git-wip-us.apache.org/repos/asf/knox/blob/477d842c/gateway-service-definitions/src/main/resources/services/storm/0.9.3/services.xml ---------------------------------------------------------------------- diff --git a/gateway-service-definitions/src/main/resources/services/storm/0.9.3/services.xml b/gateway-service-definitions/src/main/resources/services/storm/0.9.3/services.xml deleted file mode 100644 index ffe20a4..0000000 --- a/gateway-service-definitions/src/main/resources/services/storm/0.9.3/services.xml +++ /dev/null @@ -1,28 +0,0 @@ -<!-- - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> -<service role="STORM" name="storm" version="0.9.3"> - <routes> - <route path="/storm/api/**"/> - <route path="/storm/api/v1/topology/*"> - <rewrite apply="STORM/storm/logs/outbound" to="response.body"/> - </route> - <route path="/storm/api/v1/topology/**/component/**?**"> - <rewrite apply="STORM/storm/logs/outbound" to="response.body"/> - </route> - </routes> - <dispatch classname="org.apache.hadoop.gateway.storm.StormDispatch"/> -</service>
