This is an automated email from the ASF dual-hosted git repository.
omartushevskyi pushed a commit to branch EPMCDLAB-1186
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git
The following commit(s) were added to refs/heads/EPMCDLAB-1186 by this push:
new 6d959b6 added headers;
6d959b6 is described below
commit 6d959b6f42b96ada3708c7518b01b71e1632e231
Author: Oleh Martushevskyi <[email protected]>
AuthorDate: Thu Mar 7 13:43:35 2019 +0200
added headers;
---
.../scripts/deploy_repository/deploy_repository.py | 2 +-
.../scripts/deploy_repository/files/Dockerfile | 2 +-
.../files/mount-efs-sequentially.service | 18 ++++++++++++++++++
.../scripts/deploy_repository/files/nexus.properties | 18 ++++++++++++++++++
.../scripts/deploy_repository/files/nexus.service | 18 ++++++++++++++++++
.../deploy_repository/scripts/addUpdateScript.groovy | 17 +++++++++++++++--
.../templates/addCustomRepository.groovy | 16 ++++++++++++++++
.../deploy_repository/templates/configureNexus.groovy | 16 ++++++++++++++++
.../deploy_repository/templates/jetty-https.xml | 17 +++++++++++++++++
.../scripts/deploy_repository/templates/nexus.conf | 18 ++++++++++++++++++
.../scripts/deploy_repository/templates/squid.conf | 18 ++++++++++++++++++
11 files changed, 156 insertions(+), 4 deletions(-)
diff --git
a/infrastructure-provisioning/scripts/deploy_repository/deploy_repository.py
b/infrastructure-provisioning/scripts/deploy_repository/deploy_repository.py
index 63f6afa..a62335a 100644
--- a/infrastructure-provisioning/scripts/deploy_repository/deploy_repository.py
+++ b/infrastructure-provisioning/scripts/deploy_repository/deploy_repository.py
@@ -1,7 +1,7 @@
#!/usr/bin/python
# *****************************************************************************
#
-# Copyright (c) 2016, EPAM SYSTEMS INC
+# Copyright (c) 2019, EPAM SYSTEMS INC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff --git
a/infrastructure-provisioning/scripts/deploy_repository/files/Dockerfile
b/infrastructure-provisioning/scripts/deploy_repository/files/Dockerfile
index 0382956..48f22da 100644
--- a/infrastructure-provisioning/scripts/deploy_repository/files/Dockerfile
+++ b/infrastructure-provisioning/scripts/deploy_repository/files/Dockerfile
@@ -1,6 +1,6 @@
# *****************************************************************************
#
-# Copyright (c) 2016, EPAM SYSTEMS INC
+# Copyright (c) 2019, EPAM SYSTEMS INC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff --git
a/infrastructure-provisioning/scripts/deploy_repository/files/mount-efs-sequentially.service
b/infrastructure-provisioning/scripts/deploy_repository/files/mount-efs-sequentially.service
index 582b88f..7bc54d5 100644
---
a/infrastructure-provisioning/scripts/deploy_repository/files/mount-efs-sequentially.service
+++
b/infrastructure-provisioning/scripts/deploy_repository/files/mount-efs-sequentially.service
@@ -1,3 +1,21 @@
+# *****************************************************************************
+#
+# Copyright (c) 2019, EPAM SYSTEMS INC
+#
+# Licensed 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.
+#
+#
******************************************************************************
+
[Unit]
Description=Mounting EFS file systems sequentially at boot time
After=remote-fs.target
diff --git
a/infrastructure-provisioning/scripts/deploy_repository/files/nexus.properties
b/infrastructure-provisioning/scripts/deploy_repository/files/nexus.properties
index 0e84c2f..0dc042e 100644
---
a/infrastructure-provisioning/scripts/deploy_repository/files/nexus.properties
+++
b/infrastructure-provisioning/scripts/deploy_repository/files/nexus.properties
@@ -1,2 +1,20 @@
+# *****************************************************************************
+#
+# Copyright (c) 2019, EPAM SYSTEMS INC
+#
+# Licensed 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.
+#
+#
******************************************************************************
+
application-port-ssl=8443
nexus-args=${jetty.etc}/jetty.xml,${jetty.etc}/jetty-http.xml,${jetty.etc}/jetty-requestlog.xml,${jetty.etc}/jetty-https.xml
diff --git
a/infrastructure-provisioning/scripts/deploy_repository/files/nexus.service
b/infrastructure-provisioning/scripts/deploy_repository/files/nexus.service
index 7d0ca46..8657b5c 100644
--- a/infrastructure-provisioning/scripts/deploy_repository/files/nexus.service
+++ b/infrastructure-provisioning/scripts/deploy_repository/files/nexus.service
@@ -1,3 +1,21 @@
+# *****************************************************************************
+#
+# Copyright (c) 2019, EPAM SYSTEMS INC
+#
+# Licensed 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.
+#
+#
******************************************************************************
+
[Unit]
Description=nexus service
After=network.target
diff --git
a/infrastructure-provisioning/scripts/deploy_repository/scripts/addUpdateScript.groovy
b/infrastructure-provisioning/scripts/deploy_repository/scripts/addUpdateScript.groovy
index a49b105..b45a057 100644
---
a/infrastructure-provisioning/scripts/deploy_repository/scripts/addUpdateScript.groovy
+++
b/infrastructure-provisioning/scripts/deploy_repository/scripts/addUpdateScript.groovy
@@ -1,6 +1,19 @@
-/**
- * An example script that handles adding or updating a groovy script via the
REST API.
+/*
+ * Copyright (c) 2019, EPAM SYSTEMS INC
+ *
+ * Licensed 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.
*/
+
@Grab('org.sonatype.nexus:nexus-rest-client:3.9.0-01')
@Grab('org.sonatype.nexus:nexus-rest-jackson2:3.9.0-01')
@Grab('org.sonatype.nexus:nexus-script:3.9.0-01')
diff --git
a/infrastructure-provisioning/scripts/deploy_repository/templates/addCustomRepository.groovy
b/infrastructure-provisioning/scripts/deploy_repository/templates/addCustomRepository.groovy
index e488bee..769d842 100644
---
a/infrastructure-provisioning/scripts/deploy_repository/templates/addCustomRepository.groovy
+++
b/infrastructure-provisioning/scripts/deploy_repository/templates/addCustomRepository.groovy
@@ -1,3 +1,19 @@
+/*
+ * Copyright (c) 2019, EPAM SYSTEMS INC
+ *
+ * Licensed 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.
+ */
+
import org.sonatype.nexus.repository.config.Configuration
import org.sonatype.nexus.blobstore.api.BlobStoreManager
import org.sonatype.nexus.repository.storage.WritePolicy
diff --git
a/infrastructure-provisioning/scripts/deploy_repository/templates/configureNexus.groovy
b/infrastructure-provisioning/scripts/deploy_repository/templates/configureNexus.groovy
index 83082b5..df30440 100644
---
a/infrastructure-provisioning/scripts/deploy_repository/templates/configureNexus.groovy
+++
b/infrastructure-provisioning/scripts/deploy_repository/templates/configureNexus.groovy
@@ -1,3 +1,19 @@
+/*
+ * Copyright (c) 2019, EPAM SYSTEMS INC
+ *
+ * Licensed 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.
+ */
+
import org.sonatype.nexus.repository.storage.WritePolicy
import org.sonatype.nexus.repository.maven.VersionPolicy
import org.sonatype.nexus.repository.maven.LayoutPolicy
diff --git
a/infrastructure-provisioning/scripts/deploy_repository/templates/jetty-https.xml
b/infrastructure-provisioning/scripts/deploy_repository/templates/jetty-https.xml
index a46e3a5..6c080b7 100644
---
a/infrastructure-provisioning/scripts/deploy_repository/templates/jetty-https.xml
+++
b/infrastructure-provisioning/scripts/deploy_repository/templates/jetty-https.xml
@@ -1,4 +1,21 @@
<?xml version="1.0"?>
+<!--
+
+Copyright (c) 2019, EPAM SYSTEMS INC
+
+Licensed 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.
+
+-->
<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN"
"http://www.eclipse.org/jetty/configure_9_0.dtd">
<Configure id="Server" class="org.eclipse.jetty.server.Server">
diff --git
a/infrastructure-provisioning/scripts/deploy_repository/templates/nexus.conf
b/infrastructure-provisioning/scripts/deploy_repository/templates/nexus.conf
index 8b7b1b3..ba2b9a9 100644
--- a/infrastructure-provisioning/scripts/deploy_repository/templates/nexus.conf
+++ b/infrastructure-provisioning/scripts/deploy_repository/templates/nexus.conf
@@ -1,3 +1,21 @@
+# *****************************************************************************
+#
+# Copyright (c) 2019, EPAM SYSTEMS INC
+#
+# Licensed 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.
+#
+#
******************************************************************************
+
server {
listen 80;
server_name SUBDOMAIN.HOSTZONE;
diff --git
a/infrastructure-provisioning/scripts/deploy_repository/templates/squid.conf
b/infrastructure-provisioning/scripts/deploy_repository/templates/squid.conf
index ea6ecf2..dd3b0a7 100644
--- a/infrastructure-provisioning/scripts/deploy_repository/templates/squid.conf
+++ b/infrastructure-provisioning/scripts/deploy_repository/templates/squid.conf
@@ -1,3 +1,21 @@
+# *****************************************************************************
+#
+# Copyright (c) 2019, EPAM SYSTEMS INC
+#
+# Licensed 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.
+#
+#
******************************************************************************
+
VPC_CIDRS
ALLOWED_CIDRS
acl maven dstdomain search.maven.org
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]