This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{{- $root := . -}} | |
{{- range $w := .Values.edxapp.celeryworkers.EDXAPP_CELERY_WORKERS }} | |
--- | |
apiVersion: keda.sh/v1alpha1 | |
kind: ScaledObject | |
metadata: | |
name: {{ include "edx-base.fullname" $root }}-{{ $w.service_variant }}-{{ $w.queue | replace "_" "-" }}-scaledobject | |
namespace: {{ $.Release.Namespace }} | |
spec: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
celeryworkers: | |
replicaCount: 1 | |
maxReplicaCount: 150 | |
maxMessageRate: 40 | |
resources: | |
requests: | |
cpu: 150m | |
memory: 400Mi | |
limits: | |
cpu: 950m |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{{- $root := . -}} | |
{{- range $w := .Values.edxapp.celeryworkers.EDXAPP_CELERY_WORKERS }} | |
--- | |
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: {{ include "edx-base.fullname" $root }}-{{ $w.service_variant }}-{{ $w.queue | replace "_" "-" }} | |
labels: | |
{{ include "edx-base.labels" $root | indent 4 }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
packages: | |
- "app/*" | |
- "linked_modules/*" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Exception is: | |
org.gradle.api.internal.tasks.TaskDependencyResolveException: Could not determine the dependencies of task ':OpenEdXMobile:compileProdDebuggableJavaWithJavac'. | |
at org.gradle.api.internal.tasks.CachingTaskDependencyResolveContext.getDependencies(CachingTaskDependencyResolveContext.java:71) | |
at org.gradle.execution.plan.TaskDependencyResolver.resolveDependenciesFor(TaskDependencyResolver.java:46) | |
at org.gradle.execution.plan.LocalTaskNode.getDependencies(LocalTaskNode.java:161) | |
at org.gradle.execution.plan.LocalTaskNode.resolveDependencies(LocalTaskNode.java:129) | |
at org.gradle.execution.plan.DefaultExecutionPlan.doAddNodes(DefaultExecutionPlan.java:186) | |
at org.gradle.execution.plan.DefaultExecutionPlan.addEntryTasks(DefaultExecutionPlan.java:150) | |
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph.addEntryTasks(DefaultTaskExecutionGraph.java:146) | |
at org.gradle.execution.TaskNameResolvingBuildConfigurationAction.configure(Task |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
E/AndroidRuntime: FATAL EXCEPTION: main | |
Process: org.edx.mobile, PID: 17189 | |
java.lang.NullPointerException: baseUrl == null | |
at java.util.Objects.requireNonNull(Objects.java:245) | |
at retrofit2.Retrofit$Builder.baseUrl(Retrofit.java:505) | |
at org.edx.mobile.http.provider.RetrofitProvider$Impl.get(RetrofitProvider.java:80) | |
at org.edx.mobile.http.provider.RetrofitProvider$Impl.getIAPAuth(RetrofitProvider.java:71) | |
at org.edx.mobile.inapppurchases.InAppPurchasesService$Provider.get(InAppPurchasesService.kt:28) | |
at org.edx.mobile.inapppurchases.InAppPurchasesService_Provider_GetFactory.proxyGet(InAppPurchasesService_Provider_GetFactory.java:42) | |
at org.edx.mobile.base.DaggerMainApplication_HiltComponents_SingletonC$SwitchingProvider.get(DaggerMainApplication_HiltComponents_SingletonC.java:2406) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FEATURES.update({ | |
"RG_GAMIFICATION": { | |
"ENABLED": True, | |
"RG_GAMIFICATION_ENDPOINT": "https://gamma.domain.in/", | |
"KEY": "key", | |
"SECRET": "secret", | |
"IGNORED_EVENT_TYPES": [] | |
} | |
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CACHES: | |
celery: | |
BACKEND: django.core.cache.backends.memcached.MemcachedCache | |
KEY_FUNCTION: common.djangoapps.util.memcache.safe_key | |
KEY_PREFIX: celery | |
LOCATION: | |
- memcached-2:11211 | |
TIMEOUT: '7200' | |
configuration: | |
BACKEND: django.core.cache.backends.memcached.MemcachedCache |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
# Add cache alias for fix session disappearance | |
SESSION_CACHE_ALIAS = ENV_TOKENS.get('SESSION_CACHE_ALIAS', 'default') | |
... |
NewerOlder