Commit 4b6c8cd4 authored by Raphaël Flores's avatar Raphaël Flores
Browse files

Merge branch 'chore/rename_rare-with-basket' into 'master'

Rename 'rare-with-basket' in 'brc4env'. GNP-5796.

See merge request urgi-is/data-discovery!314
parents 3027022d 76aaf5c3
...@@ -205,9 +205,9 @@ build-rare: ...@@ -205,9 +205,9 @@ build-rare:
APP_NAME: ${RARE_APP_NAME} APP_NAME: ${RARE_APP_NAME}
<<: *build_app # Merge the contents of the 'build_app' alias <<: *build_app # Merge the contents of the 'build_app' alias
build-rare-with-basket: build-brc4env:
variables: variables:
APP_NAME: "rare-with-basket" APP_NAME: "brc4env"
<<: *build_app # Merge the contents of the 'build_app' alias <<: *build_app # Merge the contents of the 'build_app' alias
build-wheatis: build-wheatis:
...@@ -309,11 +309,11 @@ build-data-discovery: ...@@ -309,11 +309,11 @@ build-data-discovery:
ES_PORT: ${ES_DEV_PORT} # TODO: TO BE FIXED WHEN PROD CLUSTER AVAILABLE IN OPENSTACK ES_PORT: ${ES_DEV_PORT} # TODO: TO BE FIXED WHEN PROD CLUSTER AVAILABLE IN OPENSTACK
APP_CONTEXT: ${APP_NAME} APP_CONTEXT: ${APP_NAME}
.variables-rare-with-basket-beta-openstack: &variables-rare-with-basket-beta-openstack .variables-brc4env-beta-openstack: &variables-brc4env-beta-openstack
variables: variables:
ENV: beta ENV: beta
APP_NAME: rare-with-basket APP_NAME: brc4env
APP_PORT: ${BETA_RARE_WITH_BASKET_PORT} APP_PORT: ${BETA_BRC4ENV_PORT}
DATA_DIR: rare DATA_DIR: rare
SERVER_IP: ${SERVER_IP_OPENSTACK} SERVER_IP: ${SERVER_IP_OPENSTACK}
SERVER_USER: ${SERVER_USER_OPENSTACK} SERVER_USER: ${SERVER_USER_OPENSTACK}
...@@ -322,11 +322,11 @@ build-data-discovery: ...@@ -322,11 +322,11 @@ build-data-discovery:
ES_PORT: ${ES_DEV_PORT} ES_PORT: ${ES_DEV_PORT}
APP_CONTEXT: ${APP_NAME} APP_CONTEXT: ${APP_NAME}
.variables-rare-with-basket-staging-openstack: &variables-rare-with-basket-staging-openstack .variables-brc4env-staging-openstack: &variables-brc4env-staging-openstack
variables: variables:
ENV: staging ENV: staging
APP_NAME: rare-with-basket APP_NAME: brc4env
APP_PORT: ${STAGING_RARE_WITH_BASKET_PORT} APP_PORT: ${STAGING_BRC4ENV_PORT}
DATA_DIR: rare DATA_DIR: rare
SERVER_IP: ${SERVER_IP_OPENSTACK} SERVER_IP: ${SERVER_IP_OPENSTACK}
SERVER_USER: ${SERVER_USER_OPENSTACK} SERVER_USER: ${SERVER_USER_OPENSTACK}
...@@ -336,13 +336,13 @@ build-data-discovery: ...@@ -336,13 +336,13 @@ build-data-discovery:
APP_CONTEXT: ${APP_NAME} APP_CONTEXT: ${APP_NAME}
# ALPHA # ALPHA
.variables-rare-with-basket-prod-openstack: &variables-rare-with-basket-prod-openstack .variables-brc4env-prod-openstack: &variables-brc4env-prod-openstack
variables: variables:
ENV: prod ENV: prod
APP_NAME: rare-with-basket APP_NAME: brc4env
APP_PORT: ${PROD_RARE_WITH_BASKET_PORT} APP_PORT: ${PROD_BRC4ENV_PORT}
DATA_DIR: rare DATA_DIR: rare
SERVER_IP: ${SERVER_IP_OPENSTACK} SERVER_IP: ${SERVER_IP_OPENSTACK_PROD}
SERVER_USER: ${SERVER_USER_OPENSTACK} SERVER_USER: ${SERVER_USER_OPENSTACK}
ES_HOST: ${ES_PROD_HOST_OPENSTACK} # TODO: TO BE FIXED WHEN PROD CLUSTER AVAILABLE IN OPENSTACK ES_HOST: ${ES_PROD_HOST_OPENSTACK} # TODO: TO BE FIXED WHEN PROD CLUSTER AVAILABLE IN OPENSTACK
ES_HOSTS: ${ES_PROD_HOSTS_OPENSTACK} # TODO: TO BE FIXED WHEN PROD CLUSTER AVAILABLE IN OPENSTACK ES_HOSTS: ${ES_PROD_HOSTS_OPENSTACK} # TODO: TO BE FIXED WHEN PROD CLUSTER AVAILABLE IN OPENSTACK
...@@ -516,11 +516,11 @@ deploy-rare-to-prod-openstack: ...@@ -516,11 +516,11 @@ deploy-rare-to-prod-openstack:
when: manual when: manual
allow_failure: false allow_failure: false
deploy-rare-with-basket-to-beta-openstack: deploy-brc4env-to-beta-openstack:
stage: deploy-beta stage: deploy-beta
tags: tags:
- openstack - openstack
<<: *variables-rare-with-basket-beta-openstack <<: *variables-brc4env-beta-openstack
<<: *deploy_to_vm_openstack <<: *deploy_to_vm_openstack
only: only:
changes: changes:
...@@ -533,11 +533,11 @@ deploy-rare-with-basket-to-beta-openstack: ...@@ -533,11 +533,11 @@ deploy-rare-with-basket-to-beta-openstack:
- master - master
allow_failure: false # mandatory to block the execution of the pipeline allow_failure: false # mandatory to block the execution of the pipeline
deploy-rare-with-basket-to-staging-openstack: deploy-brc4env-to-staging-openstack:
stage: deploy-staging stage: deploy-staging
tags: tags:
- openstack - openstack
<<: *variables-rare-with-basket-staging-openstack <<: *variables-brc4env-staging-openstack
<<: *deploy_to_vm_openstack <<: *deploy_to_vm_openstack
only: only:
changes: changes:
...@@ -551,11 +551,11 @@ deploy-rare-with-basket-to-staging-openstack: ...@@ -551,11 +551,11 @@ deploy-rare-with-basket-to-staging-openstack:
when: manual when: manual
# ALPHA # ALPHA
deploy-rare-with-basket-to-prod-openstack: deploy-brc4env-to-prod-openstack:
stage: deploy-production stage: deploy-production
tags: tags:
- openstack - openstack
<<: *variables-rare-with-basket-prod-openstack <<: *variables-brc4env-prod-openstack
<<: *deploy_to_vm_openstack <<: *deploy_to_vm_openstack
only: only:
changes: changes:
...@@ -794,16 +794,16 @@ data-integration-rare-prod-openstack: ...@@ -794,16 +794,16 @@ data-integration-rare-prod-openstack:
refs: refs:
- master - master
data-integration-rare-with-basket-beta-openstack: data-integration-brc4env-beta-openstack:
stage: data-integration-beta stage: data-integration-beta
tags: tags:
- openstack - openstack
<<: *variables-rare-with-basket-beta-openstack <<: *variables-brc4env-beta-openstack
<<: *data-integration-openstack <<: *data-integration-openstack
only: only:
changes: changes:
- data/rare/*.json.gz - data/rare/*.json.gz
- data/rare/suggestions/rare-with-basket_bulk*.json.gz - data/rare/suggestions/brc4env_bulk*.json.gz
- scripts/* - scripts/*
refs: refs:
- branches - branches
...@@ -811,16 +811,16 @@ data-integration-rare-with-basket-beta-openstack: ...@@ -811,16 +811,16 @@ data-integration-rare-with-basket-beta-openstack:
refs: refs:
- master - master
data-integration-rare-with-basket-staging-openstack: data-integration-brc4env-staging-openstack:
stage: data-integration-staging stage: data-integration-staging
tags: tags:
- openstack - openstack
<<: *variables-rare-with-basket-staging-openstack <<: *variables-brc4env-staging-openstack
<<: *data-integration-openstack <<: *data-integration-openstack
only: only:
changes: changes:
- data/rare/*.json.gz - data/rare/*.json.gz
- data/rare/suggestions/rare-with-basket_bulk*.json.gz - data/rare/suggestions/brc4env_bulk*.json.gz
- scripts/* - scripts/*
refs: refs:
- branches - branches
...@@ -830,16 +830,16 @@ data-integration-rare-with-basket-staging-openstack: ...@@ -830,16 +830,16 @@ data-integration-rare-with-basket-staging-openstack:
when: manual when: manual
# ALPHA # ALPHA
data-integration-rare-with-basket-prod-openstack: data-integration-brc4env-prod-openstack:
stage: data-integration-production stage: data-integration-production
tags: tags:
- openstack - openstack
<<: *variables-rare-with-basket-prod-openstack <<: *variables-brc4env-prod-openstack
<<: *data-integration-openstack <<: *data-integration-openstack
only: only:
changes: changes:
- data/rare/*.json.gz - data/rare/*.json.gz
- data/rare/suggestions/rare-with-basket_bulk*.json.gz - data/rare/suggestions/brc4env_bulk*.json.gz
- scripts/* - scripts/*
refs: refs:
- master - master
......
...@@ -102,7 +102,7 @@ Then run `yarn start` to start the app, using the proxy conf to reroute calls to ...@@ -102,7 +102,7 @@ Then run `yarn start` to start the app, using the proxy conf to reroute calls to
The application will be available on: The application will be available on:
- <http://localhost:4000/rare-dev> for RARe (runs with: `yarn start:rare` or simply `yarn start`) - <http://localhost:4000/rare-dev> for RARe (runs with: `yarn start:rare` or simply `yarn start`)
- <http://localhost:4000/rare-dev> for RARe with basket (runs with: `yarn start:rare-with-basket`) - <http://localhost:4000/rare-dev> for RARe with basket (runs with: `yarn start:brc4env`)
- <http://localhost:4100/wheatis-dev> for WheatIS (runs with: `yarn start:wheatis`) - <http://localhost:4100/wheatis-dev> for WheatIS (runs with: `yarn start:wheatis`)
- <http://localhost:4200/data-discovery-dev> for DataDiscovery (runs with: `yarn start:data-discovery`) - <http://localhost:4200/data-discovery-dev> for DataDiscovery (runs with: `yarn start:data-discovery`)
...@@ -125,14 +125,14 @@ or ...@@ -125,14 +125,14 @@ or
or or
```sh ```sh
./gradlew assemble -Papp=rare-with-basket ./gradlew assemble -Papp=brc4env
``` ```
This will build a standalone jar at `backend/build/libs/`, that you can run with either: This will build a standalone jar at `backend/build/libs/`, that you can run with either:
```sh ```sh
java -jar backend/build/libs/rare.jar java -jar backend/build/libs/rare.jar
java -jar backend/build/libs/rare-with-basket.jar java -jar backend/build/libs/brc4env.jar
java -jar backend/build/libs/wheatis.jar java -jar backend/build/libs/wheatis.jar
java -jar backend/build/libs/data-discovery.jar java -jar backend/build/libs/data-discovery.jar
``` ```
...@@ -142,7 +142,7 @@ And the full app running on: ...@@ -142,7 +142,7 @@ And the full app running on:
- <http://localhost:8080/rare-dev> - <http://localhost:8080/rare-dev>
- <http://localhost:8180/wheatis-dev> - <http://localhost:8180/wheatis-dev>
- <http://localhost:8280/data-discovery-dev> - <http://localhost:8280/data-discovery-dev>
- <http://localhost:8580/rare-with-basket-dev> - <http://localhost:8580/brc4env-dev>
## CI ## CI
...@@ -264,20 +264,20 @@ You can also run the backend WheatIS application using ...@@ -264,20 +264,20 @@ You can also run the backend WheatIS application using
To assemble the RARe app with support for adding accessions to a basket, run the following command To assemble the RARe app with support for adding accessions to a basket, run the following command
```sh ```sh
./gradlew assemble -Papp=rare-with-basket ./gradlew assemble -Papp=brc4env
``` ```
You can also run the backend RARe application with basket support using You can also run the backend RARe application with basket support using
```sh ```sh
./gradlew bootRun -Papp=rare-with-basket ./gradlew bootRun -Papp=brc4env
``` ```
Adding this property has the following consequences: Adding this property has the following consequences:
- the generated jar file (in `backend/build/libs`) is named `wheatis.jar` (resp. `rare-with-basket.jar` instead of `rare.jar`; - the generated jar file (in `backend/build/libs`) is named `wheatis.jar` (resp. `brc4env.jar` instead of `rare.jar`;
- the Spring active profile in `bootstrap.yml` is `wheatis-app` (resp. `rare-with-basket-app`) instead of `rare-app`; - the Spring active profile in `bootstrap.yml` is `wheatis-app` (resp. `brc4env-app`) instead of `rare-app`;
- the frontend application built and embedded inside the jar file is the WheatIS frontend application (resp. the RARe application with basket support) instead of the RARe frontend application, i.e. the frontend command `yarn build:wheatis` (resp. `yarn build:rare-with-basket`) is executed instead of the command `yarn:rare`. - the frontend application built and embedded inside the jar file is the WheatIS frontend application (resp. the RARe application with basket support) instead of the RARe frontend application, i.e. the frontend command `yarn build:wheatis` (resp. `yarn build:brc4env`) is executed instead of the command `yarn:rare`.
Since the active Spring profile is different, all the properties specific to this profile Since the active Spring profile is different, all the properties specific to this profile
are applied. In particular: are applied. In particular:
......
...@@ -9,7 +9,7 @@ package fr.inra.urgi.datadiscovery.config; ...@@ -9,7 +9,7 @@ package fr.inra.urgi.datadiscovery.config;
public final class AppProfile { public final class AppProfile {
public static final String RARE = "rare-app"; public static final String RARE = "rare-app";
public static final String RARE_WITH_BASKET = "rare-with-basket-app"; public static final String BRC4ENV = "brc4env-app";
public static final String WHEATIS = "wheatis-app"; public static final String WHEATIS = "wheatis-app";
public static final String DATADISCOVERY = "data-discovery-app"; public static final String DATADISCOVERY = "data-discovery-app";
......
...@@ -8,7 +8,7 @@ import fr.inra.urgi.datadiscovery.dao.rare.RareImplicitAggregation; ...@@ -8,7 +8,7 @@ import fr.inra.urgi.datadiscovery.dao.rare.RareImplicitAggregation;
import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Profile; import org.springframework.context.annotation.Profile;
@Profile({AppProfile.RARE, AppProfile.RARE_WITH_BASKET}) @Profile({AppProfile.RARE, AppProfile.BRC4ENV})
@ConfigurationProperties(prefix = "rare") @ConfigurationProperties(prefix = "rare")
public class RareImplicitRefinementsProperties { public class RareImplicitRefinementsProperties {
private Map<RareImplicitAggregation, Set<String>> implicitTerms = new HashMap<>(); private Map<RareImplicitAggregation, Set<String>> implicitTerms = new HashMap<>();
......
...@@ -17,7 +17,7 @@ import org.springframework.stereotype.Component; ...@@ -17,7 +17,7 @@ import org.springframework.stereotype.Component;
* @author JB Nizet * @author JB Nizet
*/ */
@Component @Component
@Profile({AppProfile.RARE, AppProfile.RARE_WITH_BASKET}) @Profile({AppProfile.RARE, AppProfile.BRC4ENV})
public class RareAggregationAnalyzer implements AggregationAnalyzer { public class RareAggregationAnalyzer implements AggregationAnalyzer {
private static final List<AppAggregation> AGGREGATIONS = private static final List<AppAggregation> AGGREGATIONS =
Collections.unmodifiableList(Arrays.asList(RareAggregation.values())); Collections.unmodifiableList(Arrays.asList(RareAggregation.values()));
......
...@@ -9,7 +9,7 @@ import org.springframework.context.annotation.Profile; ...@@ -9,7 +9,7 @@ import org.springframework.context.annotation.Profile;
/** /**
* DAO for {@link RareDocument} * DAO for {@link RareDocument}
*/ */
@Profile({AppProfile.RARE, AppProfile.RARE_WITH_BASKET}) @Profile({AppProfile.RARE, AppProfile.BRC4ENV})
public interface RareDocumentDao public interface RareDocumentDao
extends DocumentDao<RareDocument, RareIndexedDocument>, RareDocumentDaoCustom { extends DocumentDao<RareDocument, RareIndexedDocument>, RareDocumentDaoCustom {
} }
...@@ -48,7 +48,6 @@ spring: ...@@ -48,7 +48,6 @@ spring:
data-discovery: data-discovery:
elasticsearch-prefix: 'rare-dev-' elasticsearch-prefix: 'rare-dev-'
resource-dir: /tmp/rare-dev/resources
server: server:
port: 8080 port: 8080
...@@ -57,28 +56,27 @@ server: ...@@ -57,28 +56,27 @@ server:
--- ---
spring: spring:
profiles: rare-with-basket-app profiles: brc4env-app
cloud.config.name: rare-with-basket cloud.config.name: brc4env
security.user: security.user:
name: rare name: rare
password: f01a7031fc17 password: f01a7031fc17
## Below properties should not be enabled here because it makes tests failing. ## Below properties should not be enabled here because it makes tests failing.
## But they may be enabled in cloud-config server if relevant to apply the ## But they may be enabled in cloud-config server if relevant to apply the
## filter (for rare-with-basket) or not (for main rare application) ## filter (for brc4env) or not (for main rare application)
# rare: # rare:
# implicit-terms: # implicit-terms:
# PILLAR: # PILLAR:
# - Pilier Environnement # - Pilier Environnement
data-discovery: data-discovery:
elasticsearch-prefix: 'rare-with-basket-dev-' elasticsearch-prefix: 'brc4env-dev-'
resource-dir: /tmp/rare-dev/resources
server: server:
port: 8580 port: 8580
servlet: servlet:
context-path: /rare-with-basket-dev context-path: /brc4env-dev
--- ---
spring: spring:
...@@ -90,7 +88,6 @@ spring: ...@@ -90,7 +88,6 @@ spring:
data-discovery: data-discovery:
elasticsearch-prefix: 'wheatis-dev-' elasticsearch-prefix: 'wheatis-dev-'
resource-dir: /tmp/wheatis-dev/resources
server: server:
port: 8180 port: 8180
...@@ -107,7 +104,6 @@ spring: ...@@ -107,7 +104,6 @@ spring:
data-discovery: data-discovery:
elasticsearch-prefix: 'data-discovery-dev-' elasticsearch-prefix: 'data-discovery-dev-'
resource-dir: /tmp/data-discovery-dev/resources
server: server:
port: 8280 port: 8280
......
...@@ -15,7 +15,7 @@ import org.springframework.test.context.junit.jupiter.SpringExtension; ...@@ -15,7 +15,7 @@ import org.springframework.test.context.junit.jupiter.SpringExtension;
@ExtendWith(SpringExtension.class) @ExtendWith(SpringExtension.class)
@SpringBootTest @SpringBootTest
@TestPropertySource("/test-rare.properties") @TestPropertySource("/test-rare.properties")
@ActiveProfiles(AppProfile.RARE_WITH_BASKET) @ActiveProfiles(AppProfile.BRC4ENV)
public class RareWithBasketApplicationTest { public class RareWithBasketApplicationTest {
@Test @Test
public void shouldLoadContext() {} public void shouldLoadContext() {}
......
...@@ -42,7 +42,7 @@ import org.springframework.test.context.junit.jupiter.SpringExtension; ...@@ -42,7 +42,7 @@ import org.springframework.test.context.junit.jupiter.SpringExtension;
@Import(ElasticSearchConfig.class) @Import(ElasticSearchConfig.class)
@JsonTest @JsonTest
@TestInstance(TestInstance.Lifecycle.PER_CLASS) @TestInstance(TestInstance.Lifecycle.PER_CLASS)
@ActiveProfiles({AppProfile.RARE, AppProfile.RARE_WITH_BASKET}) @ActiveProfiles({AppProfile.RARE, AppProfile.BRC4ENV})
class RareDocumentDaoTest extends DocumentDaoTest { class RareDocumentDaoTest extends DocumentDaoTest {
private static final String PHYSICAL_INDEX = "test-rare-resource-physical-index"; private static final String PHYSICAL_INDEX = "test-rare-resource-physical-index";
......
...@@ -39,7 +39,7 @@ import org.springframework.test.context.junit.jupiter.SpringExtension; ...@@ -39,7 +39,7 @@ import org.springframework.test.context.junit.jupiter.SpringExtension;
@Import(ElasticSearchConfig.class) @Import(ElasticSearchConfig.class)
@JsonTest @JsonTest
@TestInstance(TestInstance.Lifecycle.PER_CLASS) @TestInstance(TestInstance.Lifecycle.PER_CLASS)
@ActiveProfiles({AppProfile.RARE, AppProfile.RARE_WITH_BASKET}) @ActiveProfiles({AppProfile.RARE, AppProfile.BRC4ENV})
class RareDocumentDaoWithImplicitTermsTest extends DocumentDaoTest { class RareDocumentDaoWithImplicitTermsTest extends DocumentDaoTest {
private static final String PHYSICAL_INDEX = "test-rare-resource-physical-index"; private static final String PHYSICAL_INDEX = "test-rare-resource-physical-index";
......
import org.gradle.api.* import org.gradle.api.*
private val acceptableValues = setOf("rare", "rare-with-basket", "wheatis", "data-discovery") private val acceptableValues = setOf("rare", "brc4env", "wheatis", "data-discovery")
val Project.app: String val Project.app: String
get() = findProperty("app") get() = findProperty("app")
......
...@@ -112,7 +112,7 @@ ...@@ -112,7 +112,7 @@
} }
] ]
}, },
"rare-with-basket": { "brc4env": {
"budgets": [ "budgets": [
{ {
"type": "anyComponentStyle", "type": "anyComponentStyle",
...@@ -122,7 +122,7 @@ ...@@ -122,7 +122,7 @@
"fileReplacements": [ "fileReplacements": [
{ {
"replace": "src/environments/environment.ts", "replace": "src/environments/environment.ts",
"with": "src/environments/environment.rare-with-basket.ts" "with": "src/environments/environment.brc4env.ts"
}, },
{ {
"replace": "src/assets/rare/band.jpg", "replace": "src/assets/rare/band.jpg",
...@@ -133,13 +133,13 @@ ...@@ -133,13 +133,13 @@
"with": "src/environments/rare-with-basket.ts" "with": "src/environments/rare-with-basket.ts"
} }
], ],
"baseHref": "/rare-with-basket-dev/" "baseHref": "/brc4env-dev/"
}, },
"rare-with-basket-production": { "brc4env-production": {
"fileReplacements": [ "fileReplacements": [
{ {
"replace": "src/environments/environment.ts", "replace": "src/environments/environment.ts",
"with": "src/environments/environment.rare-with-basket.prod.ts" "with": "src/environments/environment.brc4env.prod.ts"
}, },
{ {
"replace": "src/assets/rare/band.jpg", "replace": "src/assets/rare/band.jpg",
...@@ -319,11 +319,11 @@ ...@@ -319,11 +319,11 @@
"rare-production": { "rare-production": {
"browserTarget": "data-discovery-frontend:build:rare-production" "browserTarget": "data-discovery-frontend:build:rare-production"
}, },
"rare-with-basket": { "brc4env": {
"browserTarget": "data-discovery-frontend:build:rare-with-basket" "browserTarget": "data-discovery-frontend:build:brc4env"
}, },
"rare-with-basket-production": { "brc4env-production": {
"browserTarget": "data-discovery-frontend:build:rare-with-basket-production" "browserTarget": "data-discovery-frontend:build:brc4env-production"
}, },
"wheatis": { "wheatis": {
"browserTarget": "data-discovery-frontend:build:wheatis" "browserTarget": "data-discovery-frontend:build:wheatis"
......
...@@ -5,13 +5,13 @@ ...@@ -5,13 +5,13 @@
"ng": "ng", "ng": "ng",
"start": "ng serve --configuration=rare --port=4000", "start": "ng serve --configuration=rare --port=4000",
"start:rare": "ng serve --configuration=rare --port=4000", "start:rare": "ng serve --configuration=rare --port=4000",
"start:rare-with-basket": "ng serve --configuration=rare-with-basket --port=4000", "start:brc4env": "ng serve --configuration=brc4env --port=4000",
"start:wheatis": "ng serve --configuration=wheatis --port=4100", "start:wheatis": "ng serve --configuration=wheatis --port=4100",
"start:wheatis-production": "ng serve --configuration=wheatis-production --port=4101", "start:wheatis-production": "ng serve --configuration=wheatis-production --port=4101",
"start:data-discovery": "ng serve --configuration=data-discovery --port=4200", "start:data-discovery": "ng serve --configuration=data-discovery --port=4200",
"build": "ng build --configuration=rare-production --no-progress", "build": "ng build --configuration=rare-production --no-progress",
"build:rare": "ng build --configuration=rare-production --no-progress", "build:rare": "ng build --configuration=rare-production --no-progress",