Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeyson Giovanni Correa Martinez committed Apr 12, 2024
1 parent c911ec3 commit cf90d53
Show file tree
Hide file tree
Showing 295 changed files with 23,755 additions and 8 deletions.
15 changes: 13 additions & 2 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ ARG VARIANT="17"
FROM mcr.microsoft.com/vscode/devcontainers/java:0-${VARIANT}

# [Option] Install Maven
ARG INSTALL_MAVEN="false"
ARG MAVEN_VERSION=""
ARG INSTALL_MAVEN="true"
ARG MAVEN_VERSION="3.8.6"
# [Option] Install Gradle
ARG INSTALL_GRADLE="false"
ARG GRADLE_VERSION=""
Expand All @@ -17,6 +17,17 @@ RUN if [ "${INSTALL_MAVEN}" = "true" ]; then su vscode -c "umask 0002 && . /usr/
ARG NODE_VERSION="none"
RUN if [ "${NODE_VERSION}" != "none" ]; then su vscode -c "umask 0002 && . /usr/local/share/nvm/nvm.sh && nvm install ${NODE_VERSION} 2>&1"; fi

# Install JHipster globally
# RUN su vscode -c "source /usr/local/share/nvm/nvm.sh && npm install -g generator-jhipster" 2>&1

# Set up automatic project generation command
# RUN echo 'jhipster --blueprints kotlin --skip-checks --skip-git --skip-install --default' > /usr/local/bin/generate-jhipster-app.sh \
# && chmod +x /usr/local/bin/generate-jhipster-app.sh

# Run the generation script on container start
# CMD ["/usr/local/bin/generate-jhipster-app.sh"]


# [Optional] Uncomment this section to install additional OS packages.
# RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
# && apt-get -y install --no-install-recommends <your-package-list-here>
Expand Down
1 change: 1 addition & 0 deletions .java-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
20.0.1
23 changes: 23 additions & 0 deletions .jhipster/Country.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"annotations": {
"changelogDate": "20240405141356"
},
"applications": "*",
"fields": [
{
"fieldName": "countryName",
"fieldType": "String"
}
],
"name": "Country",
"relationships": [
{
"otherEntityName": "region",
"relationshipName": "region",
"relationshipSide": "left",
"relationshipType": "one-to-one"
}
],
"searchEngine": "no",
"service": "serviceImpl"
}
32 changes: 32 additions & 0 deletions .jhipster/Department.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"annotations": {
"changelogDate": "20240405141358"
},
"applications": "*",
"fields": [
{
"fieldName": "departmentName",
"fieldType": "String",
"fieldValidateRules": ["required"]
}
],
"name": "Department",
"relationships": [
{
"otherEntityName": "location",
"relationshipName": "location",
"relationshipSide": "left",
"relationshipType": "one-to-one"
},
{
"documentation": "A relationship",
"otherEntityName": "employee",
"otherEntityRelationshipName": "department",
"relationshipName": "employee",
"relationshipSide": "left",
"relationshipType": "one-to-many"
}
],
"searchEngine": "no",
"service": "serviceImpl"
}
63 changes: 63 additions & 0 deletions .jhipster/Employee.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
{
"annotations": {
"changelogDate": "20240405141400"
},
"applications": "*",
"documentation": "The Employee entity.",
"fields": [
{
"documentation": "The firstname attribute.",
"fieldName": "firstName",
"fieldType": "String"
},
{
"fieldName": "lastName",
"fieldType": "String"
},
{
"fieldName": "email",
"fieldType": "String"
},
{
"fieldName": "phoneNumber",
"fieldType": "String"
},
{
"fieldName": "hireDate",
"fieldType": "Instant"
},
{
"fieldName": "salary",
"fieldType": "Long"
},
{
"fieldName": "commissionPct",
"fieldType": "Long"
}
],
"name": "Employee",
"pagination": "infinite-scroll",
"relationships": [
{
"otherEntityName": "job",
"otherEntityRelationshipName": "employee",
"relationshipName": "job",
"relationshipSide": "left",
"relationshipType": "one-to-many"
},
{
"otherEntityName": "employee",
"relationshipName": "manager",
"relationshipSide": "left",
"relationshipType": "many-to-one"
},
{
"documentation": "Another side of the same relationship",
"otherEntityName": "department",
"relationshipName": "department",
"relationshipSide": "right",
"relationshipType": "many-to-one"
}
],
"searchEngine": "no"
}
39 changes: 39 additions & 0 deletions .jhipster/Job.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"annotations": {
"changelogDate": "20240405141401"
},
"applications": "*",
"fields": [
{
"fieldName": "jobTitle",
"fieldType": "String"
},
{
"fieldName": "minSalary",
"fieldType": "Long"
},
{
"fieldName": "maxSalary",
"fieldType": "Long"
}
],
"name": "Job",
"pagination": "pagination",
"relationships": [
{
"otherEntityField": "title",
"otherEntityName": "task",
"otherEntityRelationshipName": "job",
"relationshipName": "task",
"relationshipSide": "left",
"relationshipType": "many-to-many"
},
{
"otherEntityName": "employee",
"relationshipName": "employee",
"relationshipSide": "right",
"relationshipType": "many-to-one"
}
],
"searchEngine": "no"
}
45 changes: 45 additions & 0 deletions .jhipster/JobHistory.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"annotations": {
"changelogDate": "20240405141402"
},
"applications": "*",
"fields": [
{
"fieldName": "startDate",
"fieldType": "Instant"
},
{
"fieldName": "endDate",
"fieldType": "Instant"
},
{
"fieldName": "language",
"fieldType": "Language",
"fieldValues": "FRENCH,ENGLISH,SPANISH"
}
],
"name": "JobHistory",
"pagination": "infinite-scroll",
"relationships": [
{
"otherEntityName": "job",
"relationshipName": "job",
"relationshipSide": "left",
"relationshipType": "one-to-one"
},
{
"otherEntityName": "department",
"relationshipName": "department",
"relationshipSide": "left",
"relationshipType": "one-to-one"
},
{
"otherEntityName": "employee",
"relationshipName": "employee",
"relationshipSide": "left",
"relationshipType": "one-to-one"
}
],
"searchEngine": "no",
"service": "serviceImpl"
}
36 changes: 36 additions & 0 deletions .jhipster/Location.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"annotations": {
"changelogDate": "20240405141357"
},
"applications": "*",
"documentation": "not an ignored comment",
"fields": [
{
"fieldName": "streetAddress",
"fieldType": "String"
},
{
"fieldName": "postalCode",
"fieldType": "String"
},
{
"fieldName": "city",
"fieldType": "String"
},
{
"fieldName": "stateProvince",
"fieldType": "String"
}
],
"name": "Location",
"relationships": [
{
"otherEntityName": "country",
"relationshipName": "country",
"relationshipSide": "left",
"relationshipType": "one-to-one"
}
],
"searchEngine": "no",
"service": "serviceImpl"
}
16 changes: 16 additions & 0 deletions .jhipster/Region.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"annotations": {
"changelogDate": "20240405141355"
},
"applications": "*",
"fields": [
{
"fieldName": "regionName",
"fieldType": "String"
}
],
"name": "Region",
"relationships": [],
"searchEngine": "no",
"service": "serviceImpl"
}
29 changes: 29 additions & 0 deletions .jhipster/Task.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"annotations": {
"changelogDate": "20240405141359"
},
"applications": "*",
"documentation": "Task entity.\\n@author The JHipster team.",
"fields": [
{
"fieldName": "title",
"fieldType": "String"
},
{
"fieldName": "description",
"fieldType": "String"
}
],
"name": "Task",
"relationships": [
{
"otherEntityName": "job",
"otherEntityRelationshipName": "task",
"relationshipName": "job",
"relationshipSide": "right",
"relationshipType": "many-to-many"
}
],
"searchEngine": "no",
"service": "serviceImpl"
}
18 changes: 18 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"configurations": [
{
"type": "java",
"name": "JHisterProyectApp",
"request": "launch",
"mainClass": "com.desarrollo.independinte.JHisterProyectApp",
"projectName": "j-hister-proyect"
},
{
"type": "java",
"name": "Run with AppMap",
"request": "launch",
"mainClass": "",
"vmArgs": "-javaagent:${userHome}/.appmap/lib/java/appmap.jar"
}
]
}
6 changes: 6 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
{
"java.test.config": [
{
"name": "Test with AppMap",
"vmArgs": ["-javaagent:${userHome}/.appmap/lib/java/appmap.jar", "-Dappmap.output.directory=${command:appmap.getAppmapDir}"]
}
],
"java.compile.nullAnalysis.mode": "automatic"
}
3 changes: 2 additions & 1 deletion .yo-rc.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,13 @@
"enableHibernateCache": true,
"enableSwaggerCodegen": false,
"enableTranslation": true,
"entities": [],
"entities": ["Region", "Country", "Location", "Department", "Task", "Employee", "Job", "JobHistory"],
"feignClient": null,
"gradleEnterpriseHost": null,
"jhipsterVersion": "8.2.1",
"jwtSecretKey": "YzcwOWIxMDM5NTUzNmJlYWZjZDYxZWQ0YWU0ODZkZDdkYWJiYWZhOTI4NDllMTUyZGI1MDQyOWNhYmUzNjRhN2IwZDUwM2YwODI4MTVjZmJlY2VmYTQ5N2M4M2MwYTQ2YjBjM2NkZWQxNDAyMWVmZDMzNDgyMWMyM2ZkMmMzYTk=",
"languages": ["en"],
"lastLiquibaseTimestamp": 1712326442000,
"messageBroker": false,
"microfrontend": null,
"microfrontends": [],
Expand Down
3 changes: 2 additions & 1 deletion angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@
"path": "./target/angular/",
"environment": "all"
},
"packageManager": "npm"
"packageManager": "npm",
"analytics": "91798222-cf29-49c0-acd0-a9996ec1f19d"
}
}
Loading

0 comments on commit cf90d53

Please sign in to comment.