gooddata 2.1.11 → 2.1.17
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gdc-ii-config.yaml +1 -1
- data/.sonar.settings +4 -0
- data/.travis.yml +4 -3
- data/CHANGELOG.md +34 -0
- data/Dockerfile +9 -3
- data/LICENSE +30 -22
- data/LICENSE.rb +1 -1
- data/README.md +19 -1
- data/Rakefile +8 -1
- data/SDK_VERSION +1 -1
- data/VERSION +1 -1
- data/bin/run_brick.rb +3 -0
- data/bin/test_projects_cleanup.rb +7 -3
- data/ci/postgresql/pom.xml +57 -0
- data/dev-gooddata-sso.pub.encrypted +40 -40
- data/gdc_fossa_lcm.yaml +2 -0
- data/gdc_fossa_ruby_sdk.yaml +5 -0
- data/gooddata.gemspec +4 -5
- data/k8s/charts/lcm-bricks/Chart.yaml +1 -1
- data/k8s/charts/lcm-bricks/templates/prometheus/alertingRules.yaml +32 -12
- data/lib/gooddata.rb +2 -0
- data/lib/gooddata/cloud_resources/{cloud_resouce_factory.rb → cloud_resource_factory.rb} +8 -0
- data/lib/gooddata/cloud_resources/cloud_resources.rb +1 -1
- data/lib/gooddata/cloud_resources/postgresql/drivers/.gitkeepme +0 -0
- data/lib/gooddata/cloud_resources/postgresql/postgresql_client.rb +107 -0
- data/lib/gooddata/commands/scaffold.rb +9 -10
- data/lib/gooddata/core/nil_logger.rb +3 -1
- data/lib/gooddata/helpers/data_helper.rb +1 -2
- data/lib/gooddata/helpers/global_helpers.rb +6 -5
- data/lib/gooddata/helpers/global_helpers_params.rb +2 -2
- data/lib/gooddata/lcm/actions/base_action.rb +0 -2
- data/lib/gooddata/lcm/actions/collect_tagged_objects.rb +2 -1
- data/lib/gooddata/lcm/actions/migrate_gdc_date_dimension.rb +116 -0
- data/lib/gooddata/lcm/actions/synchronize_ldm.rb +10 -1
- data/lib/gooddata/lcm/actions/synchronize_user_filters.rb +4 -0
- data/lib/gooddata/lcm/actions/synchronize_users.rb +7 -6
- data/lib/gooddata/lcm/lcm2.rb +1 -2
- data/lib/gooddata/lcm/types/base_type.rb +0 -2
- data/lib/gooddata/mixins/md_object_query.rb +8 -6
- data/lib/gooddata/models/blueprint/project_blueprint.rb +0 -2
- data/lib/gooddata/models/client.rb +14 -12
- data/lib/gooddata/models/data_source.rb +664 -0
- data/lib/gooddata/models/domain.rb +1 -2
- data/lib/gooddata/models/from_wire.rb +1 -0
- data/lib/gooddata/models/metadata/scheduled_mail.rb +1 -1
- data/lib/gooddata/models/process.rb +11 -3
- data/lib/gooddata/models/project.rb +128 -19
- data/lib/gooddata/models/user_filters/user_filter_builder.rb +0 -1
- data/lib/gooddata/models/user_group.rb +0 -1
- data/lib/gooddata/rest/connection.rb +6 -4
- data/rubydev_public.gpg.encrypted +51 -51
- data/rubydev_secret_keys.gpg.encrypted +109 -109
- metadata +17 -25
- data/DEPENDENCIES.md +0 -880
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f14e76f590c86838c60c538ccd73ba636da3ab812658e76211a148f2e195b4da
|
4
|
+
data.tar.gz: 2261df5e9488e38560209c2a8df0048f5aad04d3451ba6b637146eb3a3118704
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cfdfca51d63852aec59a46ce18f5e746018106f69847bf31cf7b8f845d41ef88d85c9c585af2010164116aab7fc1aa4d5b3ad75199b6c56fe9107d5ed353dcaa
|
7
|
+
data.tar.gz: 97916ca5253a378319414a9fe7f4a5d673f08168085e629ff2462df6a3f0b173f62501529eb965c69d6e361333467e7340842fa217c08075950c34b8f9f2e05e
|
data/.gdc-ii-config.yaml
CHANGED
data/.sonar.settings
ADDED
data/.travis.yml
CHANGED
@@ -233,15 +233,15 @@ jobs:
|
|
233
233
|
- &cleanup
|
234
234
|
stage: after-merge
|
235
235
|
name: staging1 - test environment clean-up
|
236
|
-
script: bundle exec ruby bin/test_projects_cleanup.rb -f
|
236
|
+
script: travis_wait 30 bundle exec ruby bin/test_projects_cleanup.rb -f
|
237
237
|
env: GD_ENV=staging
|
238
238
|
|
239
239
|
- <<: *cleanup
|
240
|
-
name: staging2 - test environment clean-up
|
240
|
+
name: travis_wait 30 staging2 - test environment clean-up
|
241
241
|
env: GD_ENV=testing
|
242
242
|
|
243
243
|
- <<: *cleanup
|
244
|
-
name: staging3 - test environment clean-up
|
244
|
+
name: travis_wait 30 staging3 - test environment clean-up
|
245
245
|
env: GD_ENV=development
|
246
246
|
|
247
247
|
# AFTER MERGE UNIT TESTS ON ALTERNATIVE PLATFORM
|
@@ -279,6 +279,7 @@ jobs:
|
|
279
279
|
script: bundle exec rake test:unit
|
280
280
|
os: osx
|
281
281
|
rvm: jruby-9.1.14
|
282
|
+
osx_image: xcode7.3
|
282
283
|
|
283
284
|
- stage: gem-release
|
284
285
|
name: deploy MRI gem
|
data/CHANGELOG.md
CHANGED
@@ -1,4 +1,38 @@
|
|
1
1
|
# GoodData Ruby SDK Changelog
|
2
|
+
## 2.1.17
|
3
|
+
- BUGFIX:TMA-1704 - Enhance error message when not found clientId in source table
|
4
|
+
- BUGFIX: TMA-1694 [UsersBrick] Enhance messages add more log for missing users when running remove_from_organization
|
5
|
+
- FEATURE:TMA-1717 - replace Erbis by standard ERB
|
6
|
+
- BUGFIX: MSF-20222 Fixing issue using find function of Enumerator
|
7
|
+
- LR-428: Update the license file for Gooddata-ruby
|
8
|
+
- BUGFIX: TMA-1714 Fixed test failed due to deleting master project and increase timeout
|
9
|
+
|
10
|
+
## 2.1.15
|
11
|
+
- FEATURE: BCO-1119 Introduce data sources API
|
12
|
+
- Upgrade active_support to be able used with Rails 6.1
|
13
|
+
|
14
|
+
## 2.1.14
|
15
|
+
- BUGFIX: MSF-18892 Change default option of recurrency field to valid value
|
16
|
+
- FEATURE:TMA-1687 - Release/Rollout sync theme object
|
17
|
+
- CONFIG: MSF-18574 Add support notice to the readme
|
18
|
+
- BUGFIX: MSF-18223 - Update param placeholder pattern
|
19
|
+
|
20
|
+
## 2.1.13
|
21
|
+
- FEATURE: TMA-1676 Support LCM release across domain
|
22
|
+
- FEATURE: TMA-1672 Support sync process with generic datasource
|
23
|
+
- FEATURE: MSF-17743 upgrade custom v2 for rollout brick
|
24
|
+
- BUGFIX: MSF-17975 Introduce gdcshare to lcm bricks
|
25
|
+
- BUGFIX: TMA-1673 Update params processing to accept dot and space
|
26
|
+
|
27
|
+
## 2.1.12
|
28
|
+
- FEATURE: MSF-17621 Apply patched version for activesupport to fix vulnerable issue
|
29
|
+
- CONFIG: SETI-4379 Add gdc-fossa configuration for gooddata-ruby
|
30
|
+
- CONFIG: MSF-17345 Set umask 0002 for lcm brick
|
31
|
+
- BUGFIX: TMA-1015 check case sensitivity for group name
|
32
|
+
- BUGFIX: MSF-17219 Fixed incorrect client used in domain.users
|
33
|
+
- BUGFIX: TMA-1022 Add more logs for case roll out without LDM change in master
|
34
|
+
- FEATURE: TMA-1640 Add alert for CPU limit hit
|
35
|
+
|
2
36
|
## 2.1.11
|
3
37
|
- FEATURE: TMA-1647 Set VCR version to 5.0.0 due to incompatible license of the latest version
|
4
38
|
|
data/Dockerfile
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
FROM harbor.intgdc.com/tools/gdc-java-8-jre:
|
1
|
+
FROM harbor.intgdc.com/tools/gdc-java-8-jre:89999e9
|
2
2
|
|
3
3
|
ARG RVM_VERSION=stable
|
4
4
|
ARG JRUBY_VERSION=9.2.5.0
|
@@ -6,7 +6,7 @@ ARG JRUBY_VERSION=9.2.5.0
|
|
6
6
|
LABEL image_name="GDC LCM Bricks"
|
7
7
|
LABEL maintainer="LCM <lcm@gooddata.com>"
|
8
8
|
LABEL git_repository_url="https://github.com/gooddata/gooddata-ruby/"
|
9
|
-
LABEL parent_image="harbor.intgdc.com/tools/gdc-java-8-jre:
|
9
|
+
LABEL parent_image="harbor.intgdc.com/tools/gdc-java-8-jre:89999e9"
|
10
10
|
|
11
11
|
# which is required by RVM
|
12
12
|
RUN yum install -y curl which patch make git maven \
|
@@ -14,7 +14,7 @@ RUN yum install -y curl which patch make git maven \
|
|
14
14
|
&& rm -rf /var/cache/yum
|
15
15
|
|
16
16
|
# Install + verify RVM with gpg (https://rvm.io/rvm/security)
|
17
|
-
RUN gpg2 --quiet --no-tty --logger-fd 1 --keyserver hkp://
|
17
|
+
RUN gpg2 --quiet --no-tty --logger-fd 1 --keyserver hkp://ipv4.pool.sks-keyservers.net \
|
18
18
|
--recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 \
|
19
19
|
7D2BAF1CF37B13E2069D6956105BD0E739499BDB \
|
20
20
|
&& echo 409B6B1796C275462A1703113804BB82D39DC0E3:6: | \
|
@@ -37,7 +37,9 @@ RUN rvm install jruby-${JRUBY_VERSION} && gem update --system \
|
|
37
37
|
WORKDIR /src
|
38
38
|
|
39
39
|
RUN groupadd -g 48 apache \
|
40
|
+
&& groupadd -g 65065 gdcshare \
|
40
41
|
&& useradd -u 48 -m --no-log-init -r -g apache -G rvm apache \
|
42
|
+
&& usermod -a -G gdcshare apache \
|
41
43
|
&& chown apache: /src
|
42
44
|
|
43
45
|
USER apache
|
@@ -62,6 +64,10 @@ RUN cp -rf ci/snowflake/target/*.jar ./lib/gooddata/cloud_resources/snowflake/dr
|
|
62
64
|
RUN mvn -f ci/bigquery/pom.xml clean install -P binary-packaging
|
63
65
|
RUN cp -rf ci/bigquery/target/*.jar ./lib/gooddata/cloud_resources/bigquery/drivers/
|
64
66
|
|
67
|
+
#build postgresql dependencies
|
68
|
+
RUN mvn -f ci/postgresql/pom.xml clean install -P binary-packaging
|
69
|
+
RUN cp -rf ci/postgresql/target/*.jar ./lib/gooddata/cloud_resources/postgresql/drivers/
|
70
|
+
|
65
71
|
RUN bundle install
|
66
72
|
|
67
73
|
ARG GIT_COMMIT=unspecified
|
data/LICENSE
CHANGED
@@ -1,22 +1,30 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
1
|
+
GOODDATA LCM END USER LICENSE AGREEMENT
|
2
|
+
|
3
|
+
GoodData Corporation ("GoodData") provides this "LCM", hereafter referred to as the "Software", to you subject to the following terms and conditions. By using the Software you agree to the terms and conditions of this Agreement. If you do not agree with any of the following terms, then do not use the Software.
|
4
|
+
|
5
|
+
1. Use Rights. Subject to the restrictions below, you may download and modify the Software contents for your use solely for the purpose of creating applications related to Your use of the GoodData subscription services platform (“Application(s)”). Open source software components provided with or used by the Software are licensed to you under the terms of the applicable license agreements included with such open source software components, which accompany this Software.
|
6
|
+
|
7
|
+
2. No Duty to Support; Reservation of Rights. You expressly acknowledge that GoodData has no duty or obligation to support the Software, or to provide updates or bug fixes to the Software and that GoodData otherwise reserves all rights not expressly granted to you hereunder in connection with Software.
|
8
|
+
|
9
|
+
3. Restrictions You agree that you will not (i) use the Software to create, design or develop any functionality other than as set forth above in Section 1; (ii) allow third parties other than those performing work solely on your behalf within the scope of the license herein to modify, create derivative works of, reverse engineer, reverse compile, or disassemble the Software; (iii) distribute, sell, lease, rent, lend, or sublicense any part of the Software to any third party except as incorporated into your Application; or (iv) upload or otherwise transmit any material containing software viruses or other computer code, files or programs designed to interrupt, destroy, or limit the functionality of any software or hardware.
|
10
|
+
|
11
|
+
The restrictions in this Section 3 shall not apply if and to the extent they contradict mandatory local law (including, but not limited to, law implementing the EC Software Directive) provided that, before you exercise any rights that you believe to be entitled to based on mandatory law, you provide GoodData with 30 days prior written notice and provide all reasonably requested information to allow GoodData to assess your claim and, at GoodData's sole discretion, to provide alternatives that reduce any adverse impact on GoodData's intellectual property or other rights.
|
12
|
+
|
13
|
+
4. GoodData Ownership. Except for those portions licensed to GoodData by third parties, GoodData retains ownership of the Software, including without limitation all copyrights and other intellectual property rights therein. You may not remove, delete or modify any of the GoodData copyright statements in the Software.
|
14
|
+
|
15
|
+
|
16
|
+
5. Trademarks. Your use of GoodData product names and trademarks shall comply with the branding guidelines that may be distributed by GoodData from time to time. You may not use GoodData product names and trademarks, however, except where GoodData provides you express, prior written permission to use such product names and trademarks. All other marks are the property of third parties subject to applicable use terms such entities may provide.
|
17
|
+
6. Term, Termination, and Changes. This Agreement shall continue as long as you are in compliance with the terms specified herein or until otherwise terminated. You and or GoodData each may terminate this Agreement for any reason at any time. This Agreement shall automatically terminate upon the expiration or termination of the agreement that governs your use of the GoodData subscription services. You agree, upon termination, to destroy all copies of the Software within your possession or control. The Limitations of Warranties, Liability and Indemnification sections set out in this Agreement shall survive any termination or expiration of this Agreement.
|
18
|
+
|
19
|
+
7. Limitations of Warranties and Liability
|
20
|
+
THE SOFTWARE AND ITS SOURCE CODE IS PROVIDED "AS IS" WITHOUT ANY WARRANTIES OF ANY KIND. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, GOODDATA DISCLAIMS ANY IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT OF INTELLECTUAL PROPERTY RIGHTS. YOU MAY BE ABLE TO EXERCISE ADDITIONAL WARRANTY RIGHTS OFFERED BY THIRD PARTY COMMERCIAL SOFTWARE VENDORS WHOSE COMPONENTS ARE USED BY THE SOFTWARE. IN THOSE INSTANCES, YOUR SOLE REMEDY AND RECOURSE SHALL BE AGAINST THE LICENSORS OF SUCH COMMERCIAL SOFTWARE, AND NOT AGAINST GOODDATA.
|
21
|
+
|
22
|
+
TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, IN NO EVENT WILL GOODDATA BE LIABLE FOR ANY LOST PROFITS OR BUSINESS OPPORTUNITIES, LOSS OF USE, BUSINESS INTERRUPTION, LOSS OF DATA, OR ANY OTHER INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR FROM THE SOFTWARE OR YOUR USE OF THE SOFTWARE, UNDER ANY THEORY OF LIABILITY, WHETHER BASED IN CONTRACT, TORT, NEGLIGENCE, PRODUCT LIABILITY, OR OTHERWISE. BECAUSE SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES, THE PRECEDING LIMITATION MAY NOT APPLY TO YOU. GOODDATA'S LIABILITY ARISING OUT OF THE SOFTWARE PROVIDED HEREUNDER WILL NOT, IN ANY EVENT, EXCEED US$100.00.
|
23
|
+
|
24
|
+
THE FOREGOING LIMITATIONS SHALL APPLY TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, REGARDLESS OF WHETHER GOODDATA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES AND REGARDLESS OF WHETHER ANY REMEDY FAILS OF ITS ESSENTIAL PURPOSE.
|
25
|
+
|
26
|
+
8. Export Control. The Software is provided subject to the U.S. Export Administration Regulations and the regulations of other jurisdictions (e.g., the European Union). Diversion contrary to applicable law is prohibited. Without limiting the foregoing, you agree that (i) you are not acting on behalf of any person who is a citizen, national, or resident of, or who is controlled by the government of any country to which the United States or other applicable government body has prohibited export transactions (e.g., Iran, North Korea, etc.); (ii) you are not acting on behalf of, any person or entity listed on a relevant list of persons to whom export is prohibited (e.g., the U.S. Treasury Department list of Specially Designated Nationals and Blocked Persons, the U.S. Commerce Department Denied Persons List or Entity List, etc.); and (iii) you will not use the Software for any purpose prohibited by applicable law.
|
27
|
+
|
28
|
+
9. Indemnification You agree to defend, indemnify and hold harmless GoodData, and any of its directors, officers, employees, affiliates, subsidiaries or agents, from and against any and all claims, losses, damages, liabilities and other expenses (including reasonable attorneys' fees), arising from or related to: i) your use of the Software; ii) any derivative works you create using Software source code, and iii) your breach of this Agreement.
|
29
|
+
|
30
|
+
10. Governing Law These terms are governed by the laws of the State of California and the United States of America without regard to conflict of laws principles. You may not assign any part of this Agreement without the prior written consent of GoodData. Any attempted assignment without consent shall be void. These terms constitute the entire agreement between you and GoodData with respect to the Software and supersede all prior written or oral communications, understandings and agreements. Any waiver of these terms must be in writing to be effective. If any provision of these terms is found to be invalid or unenforceable, the remaining terms will continue to be valid and enforceable to the fullest extent permitted by law.
|
data/LICENSE.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: UTF-8
|
2
2
|
#
|
3
|
-
# Copyright (c) 2010-
|
3
|
+
# Copyright (c) 2010-2021 GoodData Corporation. All rights reserved.
|
4
4
|
# This source code is licensed under the BSD-style license found in the
|
5
5
|
# LICENSE file in the root directory of this source tree.
|
data/README.md
CHANGED
@@ -9,6 +9,8 @@ The best documentation for the GoodData API can be found using these resources:
|
|
9
9
|
* http://developer.gooddata.com/api
|
10
10
|
* https://secure.gooddata.com/gdc
|
11
11
|
* http://rubydoc.info/gems/gooddata/frames
|
12
|
+
|
13
|
+
Feel free to check out the [GoodData community website](http://community.gooddata.com/) if you have any questions about the GoodData Analytics platform, our API, or this library.
|
12
14
|
|
13
15
|
## Status
|
14
16
|
|
@@ -19,6 +21,21 @@ The best documentation for the GoodData API can be found using these resources:
|
|
19
21
|
[![Build Status](https://travis-ci.org/gooddata/gooddata-ruby.png)](https://travis-ci.org/gooddata/gooddata-ruby)
|
20
22
|
[![Coverage Status](https://coveralls.io/repos/gooddata/gooddata-ruby/badge.png)](https://coveralls.io/r/gooddata/gooddata-ruby)
|
21
23
|
|
24
|
+
## Supported versions
|
25
|
+
|
26
|
+
In order to make the user experience with integrating GoodData Ruby SDK as smooth and secure as possible and to ensure that the SDK is using the latest features of the platform, we only provide support to the two most recent major versions of Ruby SDK.
|
27
|
+
|
28
|
+
The most recent majors will be supported in the following modes:
|
29
|
+
|
30
|
+
- The latest major version will receive all new functionality and all bug fixes.
|
31
|
+
- The previous major version will only receive fixes to critical issues and security fixes. These fixes will be applied on top of last released version of the previous major.
|
32
|
+
- GoodData customer support will provide support for the latest major and previous major version only.
|
33
|
+
|
34
|
+
- The customers are encouraged to always use the latest version of the Ruby SDK.
|
35
|
+
- In case of using older versions, the user might face API incompatibility, performance or security issues.
|
36
|
+
|
37
|
+
Please follow the installation instructions in the repository to update to the newest version.
|
38
|
+
|
22
39
|
## Install
|
23
40
|
|
24
41
|
If you are using bundler, add
|
@@ -78,4 +95,5 @@ For full contributor info see [contributors page](https://github.com/gooddata/go
|
|
78
95
|
|
79
96
|
## Copyright
|
80
97
|
|
81
|
-
|
98
|
+
(c) 2010-2021 GoodData Corporation
|
99
|
+
This repository is governed by the terms and conditions in the LICENSE. This repository contains a number of open source packages detailed in NOTICES, including the GoodData Ruby SDK, which is licensed under the BSD-3-Clause license and contains additional open source components detailed in the file called LICENSE_FOR_RUBY_SDK_COMPONENT.
|
data/Rakefile
CHANGED
@@ -33,7 +33,14 @@ namespace :gem do
|
|
33
33
|
desc "Release gem version #{GoodData::VERSION} to rubygems"
|
34
34
|
task :release do
|
35
35
|
gem = "gooddata-#{GoodData::VERSION}.gem"
|
36
|
-
|
36
|
+
origin_license_file = 'LICENSE'
|
37
|
+
new_license_file = 'LICENSE_FOR_RUBY_SDK_COMPONENT.txt'
|
38
|
+
notices_file = 'NOTICES.txt'
|
39
|
+
File.delete(origin_license_file) if File.exist?(origin_license_file)
|
40
|
+
File.delete(notices_file) if File.exist?(notices_file)
|
41
|
+
puts "Deleted files: #{origin_license_file} and #{notices_file}"
|
42
|
+
File.rename(new_license_file, origin_license_file) if File.exists?(new_license_file)
|
43
|
+
puts "Renamed file #{new_license_file} to #{origin_license_file}"
|
37
44
|
puts "Building #{gem} ..."
|
38
45
|
res = `gem build ./gooddata.gemspec`
|
39
46
|
file = res.match('File: (.*)')[1]
|
data/SDK_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.1.
|
1
|
+
2.1.17
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.7.
|
1
|
+
3.7.25
|
data/bin/run_brick.rb
CHANGED
@@ -8,6 +8,9 @@ DEFAULT_BRICK = 'hello_world_brick'
|
|
8
8
|
BRICK_PARAM_PREFIX = 'BRICK_PARAM_'
|
9
9
|
HIDDEN_BRICK_PARAMS_PREFIX = 'HIDDEN_BRICK_PARAM_'
|
10
10
|
|
11
|
+
# MSF-17345 Set umask so files are group-writable
|
12
|
+
File.umask(0002)
|
13
|
+
|
11
14
|
brick_type = !ARGV.empty? ? ARGV[0] : DEFAULT_BRICK
|
12
15
|
|
13
16
|
def get_brick_params(prefix)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
require 'optparse'
|
2
2
|
|
3
|
-
example = 'Usage example: GD_ENV=testing GD_SPEC_PASSWORD=
|
3
|
+
example = 'Usage example: GD_ENV=testing GD_SPEC_PASSWORD= bundle exec ruby bin/test_projects_cleanup.rb'
|
4
4
|
|
5
5
|
options = {}
|
6
6
|
OptionParser.new do |opts|
|
@@ -90,7 +90,11 @@ def clean_up!(client, force, days)
|
|
90
90
|
delete_project_by_title(/LCM spec Client With Conflicting LDM Changes/, projects, days, force)
|
91
91
|
delete_project_by_title(/LCM spec master project/, projects, days, force)
|
92
92
|
delete_project_by_title(/users brick load test/, projects, days, force)
|
93
|
-
delete_project_by_title(
|
93
|
+
delete_project_by_title(/transfer_processes and #transfer_schedules test/, projects, days, force)
|
94
|
+
delete_project_by_title(/DailyUse Project for gooddata-ruby integration tests/, projects, days, force)
|
95
|
+
delete_project_by_title(/^New project$/, projects, days, force)
|
96
|
+
delete_project_by_title(/RubyGem Dev Week test/, projects, days, force)
|
97
|
+
delete_project_by_title(/My project from blueprint/, projects, days, force)
|
94
98
|
delete_ads_by_title(/Development ADS/, client, days, force)
|
95
99
|
delete_ads_by_title(/Production ADS/, client, days, force)
|
96
100
|
delete_ads_by_title(/TEST ADS/, client, days, force)
|
@@ -112,7 +116,7 @@ dev_client = init_client(username, password, "https://#{config[:dev_server]}")
|
|
112
116
|
prod_client = init_client(username, password, "https://#{config[:prod_server]}")
|
113
117
|
|
114
118
|
force = options[:force]
|
115
|
-
days = options[:days] ||
|
119
|
+
days = options[:days] || 3
|
116
120
|
clean_up!(dev_client, force, days)
|
117
121
|
clean_up!(prod_client, force, days)
|
118
122
|
|
@@ -0,0 +1,57 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
3
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
4
|
+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
5
|
+
<modelVersion>4.0.0</modelVersion>
|
6
|
+
|
7
|
+
<groupId>com.gooddata.lcm</groupId>
|
8
|
+
<artifactId>lcm-postgresql-driver</artifactId>
|
9
|
+
<version>1.0-SNAPSHOT</version>
|
10
|
+
|
11
|
+
<dependencies>
|
12
|
+
<dependency>
|
13
|
+
<groupId>org.postgresql</groupId>
|
14
|
+
<artifactId>postgresql</artifactId>
|
15
|
+
<version>42.2.19</version>
|
16
|
+
</dependency>
|
17
|
+
<dependency>
|
18
|
+
<groupId>org.slf4j</groupId>
|
19
|
+
<artifactId>slf4j-api</artifactId>
|
20
|
+
<version>1.7.2</version>
|
21
|
+
</dependency>
|
22
|
+
</dependencies>
|
23
|
+
|
24
|
+
<profiles>
|
25
|
+
<profile>
|
26
|
+
<id>binary-packaging</id>
|
27
|
+
<build>
|
28
|
+
<plugins>
|
29
|
+
<plugin>
|
30
|
+
<artifactId>maven-dependency-plugin</artifactId>
|
31
|
+
<executions>
|
32
|
+
<execution>
|
33
|
+
<phase>package</phase>
|
34
|
+
<goals>
|
35
|
+
<goal>copy-dependencies</goal>
|
36
|
+
</goals>
|
37
|
+
<configuration>
|
38
|
+
<outputDirectory>${project.build.directory}</outputDirectory>
|
39
|
+
<!-- compile scope gives runtime and compile dependencies (skips test deps) -->
|
40
|
+
<includeScope>runtime</includeScope>
|
41
|
+
</configuration>
|
42
|
+
</execution>
|
43
|
+
</executions>
|
44
|
+
</plugin>
|
45
|
+
</plugins>
|
46
|
+
</build>
|
47
|
+
</profile>
|
48
|
+
</profiles>
|
49
|
+
|
50
|
+
<repositories>
|
51
|
+
<repository>
|
52
|
+
<id>my-repo1</id>
|
53
|
+
<name>my custom repo</name>
|
54
|
+
<url>https://repository.mulesoft.org/nexus/content/repositories/public/</url>
|
55
|
+
</repository>
|
56
|
+
</repositories>
|
57
|
+
</project>
|
@@ -1,40 +1,40 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
+
|
28
|
-
|
29
|
-
+
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
1
|
+
IGvcUqcTKzKvWUTKZu1Y1zRjvE/7XSaYUBNyEXzt/KMR9u2UivSVlVN+tcvR
|
2
|
+
mCWNTtzjXWQQN8dn16ea/1qecJYqxrSLdT1emNRYlSxcJkm7MXUMglo3whpG
|
3
|
+
ZR7pH+vFljwcPHXPDq88RFilNjnz0eepHrw526ES/KVBZ6ISyIcibaCvF75F
|
4
|
+
4jvRpxEqGl0ATJyCe4i3EixgZm3JpXG8Eoc76epv02MOlFHn0BHUg8vZxj/1
|
5
|
+
7xn0/hxHVZrA1BnhNAhIHVM4zV/HPWezzcYGBq8zz+3LNTYKTtmpx7OLP4hQ
|
6
|
+
1sN5h+Y69BnygDtWfgX4HdZQ6+rJ+X6TytTsP+m9+22BY/0wVuhB+xg+oLjS
|
7
|
+
dqOUfG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