Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ED-4185] merge Release 6.0.0 to 7.0.1 #4015

Merged
merged 48 commits into from
Jul 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
408c8c4
Fix syntax (#3894)
santhosh-tg Sep 14, 2023
d6c6875
Updated vars for cron schedule (#3895)
raghupathiguduri Sep 19, 2023
8dc81f6
[ED-2793] Fix: release-6.0.0 installation issues (#3900)
santhosh-tg Sep 25, 2023
6320664
Update main.yml with cassandra (#3845) (#3901)
santhosh-tg Sep 25, 2023
6ce00cf
ED-2838: ##Release-6.0.0 new variables (#3899)
tsprasath Sep 26, 2023
3924727
[ED-2793] Fix installation issues (#3905)
santhosh-tg Sep 29, 2023
bf876cc
[ED-2793] Add OCI specific vars (#3912)
santhosh-tg Oct 27, 2023
d8d4479
Add ml_core_internal_access_token for private repo template
aks30 Nov 3, 2023
2101224
Merge pull request #3918 from aks30/patch-9
santhosh-tg Nov 3, 2023
22eaac2
Update cassandra jenkins job config (#3927)
santhosh-tg Nov 30, 2023
b8d7b88
saving changes (#3935)
ankit1shahu Dec 11, 2023
2df0fe4
Update repository-oci.yml
akulavasu Dec 21, 2023
7c59bce
#OB-553 fix: Analytics service issue fixes for OCI
sowmya-dixit Feb 14, 2024
5af4495
#OB-553 fix: Analytics service issue fixes for OCI
sowmya-dixit Feb 15, 2024
3fb0c3e
ED-3534:- Adoption Changes in ML service (#3963)
ankit1shahu Feb 20, 2024
0d2daa4
ED-3079: deploy nginx to support cors for s3 compatible object storag…
ddevadat Feb 28, 2024
eb6d21a
Added new kafka topics in main.yml and config.j2 (#3970)
prashanthShiksha Feb 28, 2024
463de74
Issue #CO-824: dynamic redirect URL
Mar 13, 2024
856963b
Issue #CO-824: dynamic redirect URL
Mar 14, 2024
cc13e08
Issue #CO-824: SSO Isse condition update
Mar 15, 2024
6c55e1a
Merge pull request #3972 from shubhambansaltarento/bug/CO-CO-824
santhosh-tg Mar 15, 2024
e647be6
Merge pull request #3961 from sowmya-dixit/release-6.0.0
santhosh-tg Mar 28, 2024
bd77480
Issue ED-0000 report service env update
rajeevsathish Apr 2, 2024
c474dce
Issue ED-0000 report service env update (#3977)
rajeevsathish Apr 2, 2024
1e2d9ed
Issue ED-0000 report service env update
rajeevsathish Apr 3, 2024
d4b852e
Issue ED-0000 report service env update
rajeevsathish Apr 3, 2024
bdccf0e
Merge pull request #3979 from rajeevsathish/6.0.0
santhosh-tg Apr 3, 2024
ac243f7
Issue ED-0000 report service env update (#3981)
rajeevsathish Apr 4, 2024
7183cce
ED-3534:- Adoption Changes in ML service (#3983)
Vivek-M-08 Apr 15, 2024
d14902b
Issue #IQ-750 fix: added script for inquiry schema upload
krgauraw Apr 15, 2024
e0169de
Merge pull request #3985 from krgauraw/release-6.0.0
santhosh-tg Apr 15, 2024
890d5a8
Issue #IQ-750 fix: updated jenkins file
krgauraw Apr 15, 2024
ce7f1e7
Merge pull request #3986 from krgauraw/release-6.0.0
santhosh-tg Apr 15, 2024
9d27bff
added the faust related changes
Apr 16, 2024
17fcae4
Issue #IQ-750 fix: updated jenkins script
krgauraw Apr 16, 2024
669e9b5
Merge pull request #3987 from krgauraw/release-6.0.0
santhosh-tg Apr 16, 2024
4a20409
added the value to ml_analytics_faust_applications_list
Apr 16, 2024
b65d398
Update secrets.yml
ankit1shahu Apr 17, 2024
70c69d1
Merge pull request #3988 from Vivek-M-08/release-6.0.0
santhosh-tg Apr 17, 2024
b4a3248
Merge pull request #3990 from ankitpws/patch-1
santhosh-tg Apr 17, 2024
06cc35a
ED-3534:- Adoption Changes in ML service (#3993)
Vivek-M-08 Apr 19, 2024
7e703a9
Add release-6.0.0 missing vars (#3995)
santhosh-tg May 6, 2024
876c23f
hpa apiversion changes (#4012)
sanketnagdive Jun 28, 2024
4859e5c
LR-437 | legacy certificate migrator flink job name added (#3830)
kumarks1122 Jul 3, 2024
9669630
Add ml_core_internal_access_token for pvt repo template (#3917)
aks30 Jul 3, 2024
b10b5ca
Removed free monitoring for mongo (#3942)
akulavasu Jul 3, 2024
74793b6
Merge pull request #3944 from akulavasu/release-6.0.0
santhosh-tg Jul 3, 2024
d1a9dc0
ED-3458: Oci infra provisioning ansible scripts (#3959)
ddevadat Jul 3, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3159,6 +3159,7 @@ var handleGoogleAuthEvent = () => {
redirectToLib();
}
};

var redirectToPortal = (redirectUrlPath) => { // redirectUrlPath for sso and self signUp
const curUrlObj = window.location;
var redirect_uri = getValueFromSession('redirect_uri');
Expand All @@ -3171,9 +3172,7 @@ var redirectToPortal = (redirectUrlPath) => { // redirectUrlPath for sso and sel
const redirect_uriLocation = new URL(redirect_uri);
if (client_id === 'android' || client_id === 'desktop') {
window.location.href = sessionUrlObj.protocol + '//' + sessionUrlObj.host + redirectUrlPath + updatedQuery;
} else if(client_id === 'portal' &&
redirectUrlPath === '/sign-in/sso/select-org' &&
(redirect_uri.includes('dock.sunbirded.org') || redirect_uri.includes('dockstaging.sunbirded.org'))) {
} else if(client_id === 'portal' && redirectUrlPath === '/sign-in/sso/select-org' && (sessionUrlObj.host !== redirect_uriLocation.host)) {
window.location.href = sessionUrlObj.protocol + '//' + sessionUrlObj.host + redirectUrlPath + updatedQuery;
} else {
window.location.href = redirect_uriLocation.protocol + '//' + redirect_uriLocation.host +
Expand Down
4 changes: 2 additions & 2 deletions ansible/roles/cassandra/defaults/main.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
user_home: "/home/{{ ansible_ssh_user }}/"
cassandra_repo: 'deb http://www.apache.org/dist/cassandra/debian 311x main'
cassandra_repo_key: 'https://www.apache.org/dist/cassandra/KEYS'
cassandra_repo: 'deb https://debian.cassandra.apache.org 311x main'
cassandra_repo_key: 'https://downloads.apache.org/cassandra/KEYS'
resource_crunch: "yes" # make this value yes if heap size should be quarter of the Server Memory when you are deploying multiple databases, else make this value no to have 50% of the value as per the best practice of cassandra
cassandra_home_directory: "/var/lib/cassandra"
21 changes: 21 additions & 0 deletions ansible/roles/kong-api/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8237,6 +8237,27 @@ kong_apis:
config.required: false
config.enabled: false

- name: uploadFileToCloud
uris: "{{ cloud_service_prefix }}/mlcore/v1/files/upload"
upstream_url: "{{ ml_core_service_url }}/v1/cloud-services/files/upload"
strip_uri: true
plugins:
- name: jwt
- name: cors
- "{{ statsd_pulgin }}"
- name: acl
config.whitelist:
- cloudUrlsCreate
- name: rate-limiting
config.policy: local
config.hour: "{{ medium_rate_limit_per_hour }}"
config.limit_by: credential
- name: request-size-limiting
config.allowed_payload_size: "{{ small_request_size_limit }}"
- name: opa-checks
config.required: false
config.enabled: false

- name: listPlatformPrograms
uris: "{{ user_extension_prefix }}/mlcore/v1/programsByPlatformRoles"
upstream_url: "{{ ml_core_service_url }}/v1/user-extension/programsByPlatformRoles"
Expand Down
10 changes: 5 additions & 5 deletions ansible/roles/log-es6/tasks/plugins/repository-oci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,33 +4,33 @@
shell: echo "{{ cloud_management_storage_accountname }}" | {{ es_home }}/bin/elasticsearch-keystore add -f s3.client.default.access_key
no_log: True
environment:
ES_PATH_CONF: "{{ conf_dir }}"
ES_PATH_CONF: "{{ es_conf_dir }}"

- name: Add default oci account key for backups
become: yes
shell: echo "{{ cloud_management_storage_secret }}" | {{ es_home }}/bin/elasticsearch-keystore add -f s3.client.default.secret_key
no_log: True
environment:
ES_PATH_CONF: "{{ conf_dir }}"
ES_PATH_CONF: "{{ es_conf_dir }}"


- name: Add default oci endpoint for backups
become: yes
shell: echo "{{ cloud_management_storage_endpoint }}" | {{ es_home }}/bin/elasticsearch-keystore add -f s3.client.default.endpoint
no_log: True
environment:
ES_PATH_CONF: "{{ conf_dir }}"
ES_PATH_CONF: "{{ es_conf_dir }}"

- name: Add default oci region for backups
become: yes
shell: echo "{{ cloud_management_storage_region }}" | {{ es_home }}/bin/elasticsearch-keystore add -f s3.client.default.region
no_log: True
environment:
ES_PATH_CONF: "{{ conf_dir }}"
ES_PATH_CONF: "{{ es_conf_dir }}"

- name: Add default path-style access for backups
become: yes
shell: echo "{{ cloud_management_storage_path_style_access }}" | {{ es_home }}/bin/elasticsearch-keystore add -f s3.client.default.path_style_access
no_log: True
environment:
ES_PATH_CONF: "{{ conf_dir }}"
ES_PATH_CONF: "{{ es_conf_dir }}"
6 changes: 6 additions & 0 deletions ansible/roles/ml-analytics-service/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,3 +133,9 @@ ml_analytics_reports_store: "{{ cloud_service_provider }}"
ml_analytics_reports_container: "{{ cloud_storage_privatereports_bucketname }}"
ml_analytics_driver_memory: "{{ ml_analytics_default_driver_memory | default('5g') }}"
ml_analytics_executor_memory: "{{ ml_analytics_default_executor_memory | default('5g') }}"
ml_analytics_batch_cron_minute: "{{ ml_batch_cron_minute | default('30') }}"
ml_analytics_batch_cron_hour: "{{ ml_batch_cron_hour | default('18') }}"
ml_analytics_nvsk_cron_minute: "{{ ml_nvsk_cron_minute | default('30') }}"
ml_analytics_nvsk_cron_hour: "{{ ml_nvsk_cron_hour | default('7') }}"
ml_analytics_nvsk_cron_weekday: "{{ ml_nvsk_cron_weekday | default('4') }}"
ml_analytics_faust_applications_list: "'observations/py_observation_streaming observations/', 'observations/py_observation_evidence_streaming observations/', 'survey/py_survey_streaming survey/', 'survey/py_survey_evidence_streaming survey/'"
11 changes: 6 additions & 5 deletions ansible/roles/ml-analytics-service/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
- python3-virtualenv
- zip
- unzip
- acl
state: present

- name: CHANGE THE OWNERSHIP FOR THIS {{ BASEPATH }} DIRECTORY
Expand Down Expand Up @@ -135,15 +136,15 @@
cron:
name: "Run Batch Ingestion Job"
user: "{{ USER }}"
minute: "30"
hour: "18"
minute: "{{ ml_analytics_batch_cron_minute }}"
hour: "{{ ml_analytics_batch_cron_hour }}"
job: "{{ BASEPATH }}/ml-analytics-service/run.sh > {{ BASEPATH }}/ml-analytics-service/crontab_job.log"

- name: CREATE THE CRON NVSK Data Upload
cron:
name: "NVSK Data Upload JOB"
user: "{{ USER }}"
minute: "30"
hour: "7"
weekday: "4"
minute: "{{ ml_analytics_nvsk_cron_minute }}"
hour: "{{ ml_analytics_nvsk_cron_hour }}"
weekday: "{{ ml_analytics_nvsk_cron_weekday }}"
job: "{{ BASEPATH }}/ml-analytics-service/run_weekly.sh > {{ BASEPATH }}/ml-analytics-service/nvsk_data_weekly.logs"
5 changes: 5 additions & 0 deletions ansible/roles/ml-analytics-service/templates/config.j2
Original file line number Diff line number Diff line change
Expand Up @@ -263,3 +263,8 @@ store = {{ ml_analytics_reports_store }}
[ML_CORE_SERVICE_URL]

url = {{ ml_analytics_core_service }}


[SERVICES]

faust_applications_list = {{ ml_analytics_faust_applications_list }}
4 changes: 2 additions & 2 deletions ansible/roles/mongodb-cluster/templates/mongod.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ operationProfiling:
{% endfor %}
{% endif %}

{% if mongodb_major_version is version("4.0", ">=") -%}
{# {% if mongodb_major_version is version("4.0", ">=") -%}
cloud:
monitoring:
free:
Expand All @@ -116,7 +116,7 @@ cloud:
{{ item }}
{% endfor %}
{% endif %}
{% endif %}
{% endif %} #}

{% if mongodb_set_parameters -%}
setParameter:
Expand Down
1 change: 1 addition & 0 deletions ansible/roles/stack-sunbird/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,7 @@ service_env:
ml-reports-service: ../../../../ansible/roles/stack-sunbird/templates/ml-reports-service.env
ml-core-service: ../../../../ansible/roles/stack-sunbird/templates/ml-core-service.env
ml-projects-service: ../../../../ansible/roles/stack-sunbird/templates/ml-projects-service.env
ml-analytics-service: ../../../../ansible/roles/stack-sunbird/templates/ml-analytics-service.conf
inbound: ../../../../ansible/roles/stack-sunbird/templates/inbound.env
outbound:
- ../../../../ansible/roles/stack-sunbird/templates/outbound.env
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -201,10 +201,10 @@ public {
}
}
cloud_storage_type="{{cloud_service_provider}}"
storage.key.config="{{cloud_public_storage_accountname}}"
storage.secret.config="{{cloud_public_storage_secret}}"
public.storage.key.config="{{cloud_public_storage_accountname}}"
public.storage.secret.config="{{cloud_public_storage_secret}}"
storage.key.config="cloud_storage_key"
storage.secret.config="cloud_storage_secret"
public.storage.key.config="public_cloud_storage_key"
public.storage.secret.config="public_cloud_storage_secret"
cloud_storage_endpoint_with_protocol="{{cloud_storage_url}}"
metrics.time.interval.min=30
cache.refresh.time.interval.min=1440
Expand Down
Loading
Loading