2019-09-04 21:01:54 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
class JiraTrackerData < ApplicationRecord
|
2020-04-22 19:07:51 +05:30
|
|
|
include Services::DataFields
|
2021-04-29 21:17:54 +05:30
|
|
|
include IgnorableColumns
|
|
|
|
|
|
|
|
ignore_columns %i[
|
|
|
|
encrypted_proxy_address
|
|
|
|
encrypted_proxy_address_iv
|
|
|
|
encrypted_proxy_port
|
|
|
|
encrypted_proxy_port_iv
|
|
|
|
encrypted_proxy_username
|
|
|
|
encrypted_proxy_username_iv
|
|
|
|
encrypted_proxy_password
|
|
|
|
encrypted_proxy_password_iv
|
|
|
|
], remove_with: '14.0', remove_after: '2021-05-22'
|
2019-09-04 21:01:54 +05:30
|
|
|
|
|
|
|
attr_encrypted :url, encryption_options
|
|
|
|
attr_encrypted :api_url, encryption_options
|
|
|
|
attr_encrypted :username, encryption_options
|
|
|
|
attr_encrypted :password, encryption_options
|
2020-10-24 23:57:45 +05:30
|
|
|
|
|
|
|
enum deployment_type: { unknown: 0, server: 1, cloud: 2 }, _prefix: :deployment
|
2019-09-04 21:01:54 +05:30
|
|
|
end
|